From 1238d2bfc42aba8cd341f6060ed33c260c51d057 Mon Sep 17 00:00:00 2001 From: SecurityJedi Date: Wed, 23 Oct 2024 21:26:45 -0400 Subject: [PATCH 1/4] 0.0.15-preview --- Dockerfile | 13 +- help/zeronetworks/Add-ZNAssetManager.md | 154 + .../zeronetworks/Add-ZNAssetOtAssetManager.md | 154 + help/zeronetworks/Add-ZNAssetRpcMonitoring.md | 136 + .../zeronetworks}/Add-ZNAssetRpcSegment.md | 21 +- help/zeronetworks/Add-ZNCustomGroupsMember.md | 125 + help/zeronetworks/Add-ZNGroupsAssetManager.md | 168 + help/zeronetworks/Add-ZNGroupsManagedAsset.md | 168 + help/zeronetworks/Add-ZNTagGroupsMember.md | 141 + help/zeronetworks/Add-ZNUsersManagedAsset.md | 153 + .../Approve-ZNAssetInboundRuleReview.md | 337 + .../Approve-ZNAssetOutboundRuleReview.md | 337 + .../Approve-ZNInboundRuleReview.md | 319 + .../Approve-ZNOutboundRuleReview.md | 319 + help/zeronetworks/Connect-ZN.md | 116 + .../Deny-ZNAssetInboundRuleReview.md | 168 + .../Deny-ZNAssetOutboundRuleReview.md | 168 + help/zeronetworks/Deny-ZNInboundRuleReview.md | 152 + .../zeronetworks/Deny-ZNOutboundRuleReview.md | 152 + help/zeronetworks/Disconnect-ZN.md | 77 + help/zeronetworks/Enable-ZNAssetQuarantine.md | 167 + .../zeronetworks/Enable-ZNAssetsQuarantine.md | 173 + .../zeronetworks/Get-ZNAeExclusionsInbound.md | 279 + .../Get-ZNAeExclusionsOutbound.md | 239 + .../Get-ZNAiExclusionNetworkBoth.md | 69 + .../Get-ZNAiExclusionNetworkClient.md | 68 + .../Get-ZNAiExclusionNetworkServer.md | 68 + .../Get-ZNAiExclusionSourceCandidate.md | 123 + .../Get-ZNAiExclusionSourceEntity.md | 68 + help/zeronetworks/Get-ZNAiNextBatch.md | 68 + help/zeronetworks/Get-ZNAsset.md | 267 + help/zeronetworks/Get-ZNAssetAnalysis.md | 165 + help/zeronetworks/Get-ZNAssetAudit.md | 131 + help/zeronetworks/Get-ZNAssetClusterInfo.md | 83 + .../Get-ZNAssetExternalAccessPolicy.md | 293 + ...lAccessPolicyDestinationAssetsCandidate.md | 139 + ...ExternalAccessPolicySourceUserCandidate.md | 142 + ...t-ZNAssetExternalAccessPolicyStatistics.md | 83 + help/zeronetworks/Get-ZNAssetHealthState.md | 83 + help/zeronetworks/Get-ZNAssetIdentityRule.md | 253 + ...Get-ZNAssetIdentityRulesAssetsCandidate.md | 146 + ...setIdentityRulesExcludedAssetsCandidate.md | 143 + .../Get-ZNAssetIdentityRulesUserCandidate.md | 149 + help/zeronetworks/Get-ZNAssetInboundRule.md | 315 + ...ZNAssetInboundRulesDestinationCandidate.md | 152 + ...nboundRulesExcludedDestinationCandidate.md | 149 + .../Get-ZNAssetInboundRulesSourceCandidate.md | 165 + help/zeronetworks/Get-ZNAssetListeningPort.md | 101 + help/zeronetworks/Get-ZNAssetManager.md | 115 + .../Get-ZNAssetManagersCandidate.md | 145 + help/zeronetworks/Get-ZNAssetMemberOf.md | 88 + .../Get-ZNAssetMemberOfGroupCandidate.md | 85 + ...MfaIdentityPoliciesDestinationCandidate.md | 142 + ...IdentityPoliciesExcludedSourceCandidate.md | 154 + ...Get-ZNAssetMfaIdentityPoliciesMfamethod.md | 84 + ...AssetMfaIdentityPoliciesSourceCandidate.md | 139 + ...tMfaIdentityPoliciesSourceUserCandidate.md | 143 + .../Get-ZNAssetMfaIdentityPolicy.md | 296 + ...tMfaInboundPoliciesDestinationCandidate.md | 152 + ...aInboundPoliciesExcludedSourceCandidate.md | 167 + .../Get-ZNAssetMfaInboundPoliciesMfamethod.md | 85 + ...NAssetMfaInboundPoliciesSourceCandidate.md | 152 + ...etMfaInboundPoliciesSourceUserCandidate.md | 149 + .../Get-ZNAssetMfaInboundPolicy.md | 244 + ...MfaOutboundPoliciesDestinationCandidate.md | 150 + ...OutboundPoliciesExcludedSourceCandidate.md | 164 + ...Get-ZNAssetMfaOutboundPoliciesMfamethod.md | 85 + ...AssetMfaOutboundPoliciesSourceCandidate.md | 149 + ...tMfaOutboundPoliciesSourceUserCandidate.md | 149 + .../Get-ZNAssetMfaOutboundPolicy.md | 233 + help/zeronetworks/Get-ZNAssetOt.md | 92 + .../zeronetworks/Get-ZNAssetOtAssetManager.md | 115 + .../Get-ZNAssetOtAssetManagersCandidate.md | 145 + help/zeronetworks/Get-ZNAssetOtAudit.md | 139 + help/zeronetworks/Get-ZNAssetOtMemberOf.md | 86 + .../Get-ZNAssetOtMemberOfGroupCandidate.md | 86 + ...Get-ZNAssetOtOutboundRulesUserCandidate.md | 138 + help/zeronetworks/Get-ZNAssetOtTag.md | 85 + help/zeronetworks/Get-ZNAssetOutboundRule.md | 317 + ...NAssetOutboundRulesDestinationCandidate.md | 165 + ...setOutboundRulesExcludedSourceCandidate.md | 149 + ...Get-ZNAssetOutboundRulesSourceCandidate.md | 152 + .../Get-ZNAssetOutboundRulesUserCandidate.md | 138 + .../Get-ZNAssetPreferredSegmentServer.md | 84 + help/zeronetworks/Get-ZNAssetRpcRule.md | 258 + ...Get-ZNAssetRpcRulesDestinationCandidate.md | 151 + ...setRpcRulesExcludedDestinationCandidate.md | 148 + .../Get-ZNAssetRpcRulesSourceCandidate.md | 149 + .../Get-ZNAssetRpcRulesUserCandidate.md | 149 + .../Get-ZNAssetRulesDistribution.md | 145 + help/zeronetworks/Get-ZNAssetTag.md | 86 + .../Get-ZNAssetsIdentityQueued.md | 159 + .../Get-ZNAssetsIdentitySegmented.md | 159 + help/zeronetworks/Get-ZNAssetsInactive.md | 183 + help/zeronetworks/Get-ZNAssetsMonitored.md | 201 + .../zeronetworks/Get-ZNAssetsNetworkQueued.md | 181 + .../Get-ZNAssetsNetworkSegmented.md | 183 + help/zeronetworks/Get-ZNAssetsOt.md | 197 + .../zeronetworks}/Get-ZNAssetsProtected.md | 38 +- help/zeronetworks/Get-ZNAssetsRpcMonitored.md | 174 + help/zeronetworks/Get-ZNAssetsRpcQueued.md | 174 + help/zeronetworks/Get-ZNAssetsRpcSegmented.md | 182 + .../Get-ZNAssetsStatesStatistics.md | 66 + help/zeronetworks/Get-ZNAssetsStatistics.md | 78 + help/zeronetworks/Get-ZNAudit.md | 222 + .../Get-ZNCustomGroupsCandidate.md | 137 + .../Get-ZNExternalAccessPolicy.md | 277 + ...lAccessPolicyDestinationAssetsCandidate.md | 123 + ...ExternalAccessPolicySourceUserCandidate.md | 127 + .../Get-ZNExternalAccessPolicyStatistics.md | 68 + help/zeronetworks/Get-ZNGroup.md | 225 + help/zeronetworks/Get-ZNGroupAudit.md | 145 + help/zeronetworks/Get-ZNGroupMemberOf.md | 98 + .../Get-ZNGroupMemberOfGroupCandidate.md | 99 + help/zeronetworks/Get-ZNGroupsAssetManager.md | 129 + .../Get-ZNGroupsAssetManagersCandidate.md | 158 + help/zeronetworks/Get-ZNGroupsByType.md | 185 + .../Get-ZNGroupsExternalAccessPolicy.md | 308 + ...lAccessPolicyDestinationAssetsCandidate.md | 153 + ...ExternalAccessPolicySourceUserCandidate.md | 157 + ...-ZNGroupsExternalAccessPolicyStatistics.md | 99 + help/zeronetworks/Get-ZNGroupsIdentityRule.md | 268 + ...et-ZNGroupsIdentityRulesAssetsCandidate.md | 160 + ...upsIdentityRulesExcludedAssetsCandidate.md | 157 + .../Get-ZNGroupsIdentityRulesUserCandidate.md | 163 + help/zeronetworks/Get-ZNGroupsInboundRule.md | 331 + ...NGroupsInboundRulesDestinationCandidate.md | 167 + ...nboundRulesExcludedDestinationCandidate.md | 164 + ...Get-ZNGroupsInboundRulesSourceCandidate.md | 180 + help/zeronetworks/Get-ZNGroupsManagedAsset.md | 129 + .../Get-ZNGroupsManagedAssetsCandidate.md | 161 + help/zeronetworks/Get-ZNGroupsMember.md | 169 + ...MfaIdentityPoliciesDestinationCandidate.md | 157 + ...IdentityPoliciesExcludedSourceCandidate.md | 170 + ...et-ZNGroupsMfaIdentityPoliciesMfamethod.md | 99 + ...roupsMfaIdentityPoliciesSourceCandidate.md | 154 + ...sMfaIdentityPoliciesSourceUserCandidate.md | 163 + .../Get-ZNGroupsMfaIdentityPolicy.md | 311 + ...sMfaInboundPoliciesDestinationCandidate.md | 167 + ...aInboundPoliciesExcludedSourceCandidate.md | 180 + ...Get-ZNGroupsMfaInboundPoliciesMfamethod.md | 101 + ...GroupsMfaInboundPoliciesSourceCandidate.md | 166 + ...psMfaInboundPoliciesSourceUserCandidate.md | 165 + .../Get-ZNGroupsMfaInboundPolicy.md | 262 + ...MfaOutboundPoliciesDestinationCandidate.md | 165 + ...OutboundPoliciesExcludedSourceCandidate.md | 180 + ...et-ZNGroupsMfaOutboundPoliciesMfamethod.md | 101 + ...roupsMfaOutboundPoliciesSourceCandidate.md | 166 + ...sMfaOutboundPoliciesSourceUserCandidate.md | 165 + .../Get-ZNGroupsMfaOutboundPolicy.md | 247 + help/zeronetworks/Get-ZNGroupsOutboundRule.md | 334 + ...GroupsOutboundRulesDestinationCandidate.md | 180 + ...upsOutboundRulesExcludedSourceCandidate.md | 164 + ...et-ZNGroupsOutboundRulesSourceCandidate.md | 167 + .../Get-ZNGroupsOutboundRulesUserCandidate.md | 153 + help/zeronetworks/Get-ZNGroupsRpcRule.md | 274 + ...et-ZNGroupsRpcRulesDestinationCandidate.md | 166 + ...upsRpcRulesExcludedDestinationCandidate.md | 163 + .../Get-ZNGroupsRpcRulesSourceCandidate.md | 164 + .../Get-ZNGroupsRpcRulesUserCandidate.md | 164 + .../Get-ZNGroupsRulesDistribution.md | 160 + help/zeronetworks/Get-ZNGroupsStatistics.md | 68 + ...dentityOnboardingPoliciesGroupCandidate.md | 133 + .../Get-ZNIdentityOnboardingPolicy.md | 127 + help/zeronetworks/Get-ZNIdentityRule.md | 237 + .../Get-ZNIdentityRulesAssetsCandidate.md | 130 + ...-ZNIdentityRulesExcludedAssetsCandidate.md | 127 + .../Get-ZNIdentityRulesUserCandidate.md | 133 + help/zeronetworks/Get-ZNInboundRule.md | 297 + .../Get-ZNInboundRulesDestinationCandidate.md | 147 + ...nboundRulesExcludedDestinationCandidate.md | 144 + .../Get-ZNInboundRulesSourceCandidate.md | 147 + ...MfaIdentityPoliciesDestinationCandidate.md | 126 + ...IdentityPoliciesExcludedSourceCandidate.md | 138 + .../Get-ZNMfaIdentityPoliciesMfamethod.md | 68 + ...et-ZNMfaIdentityPoliciesSourceCandidate.md | 123 + ...NMfaIdentityPoliciesSourceUserCandidate.md | 133 + help/zeronetworks/Get-ZNMfaIdentityPolicy.md | 278 + ...NMfaInboundPoliciesDestinationCandidate.md | 147 + ...aInboundPoliciesExcludedSourceCandidate.md | 162 + .../Get-ZNMfaInboundPoliciesMfamethod.md | 76 + ...Get-ZNMfaInboundPoliciesSourceCandidate.md | 146 + ...ZNMfaInboundPoliciesSourceUserCandidate.md | 149 + help/zeronetworks/Get-ZNMfaInboundPolicy.md | 220 + ...MfaOutboundPoliciesDestinationCandidate.md | 129 + ...OutboundPoliciesExcludedSourceCandidate.md | 144 + .../Get-ZNMfaOutboundPoliciesMfamethod.md | 76 + ...et-ZNMfaOutboundPoliciesSourceCandidate.md | 147 + ...NMfaOutboundPoliciesSourceUserCandidate.md | 149 + help/zeronetworks/Get-ZNMfaOutboundPolicy.md | 198 + .../Get-ZNMfaPoliciesDistribution.md | 99 + .../Get-ZNMfaPoliciesStatistics.md | 66 + ...NetworkOnboardingPoliciesGroupCandidate.md | 143 + .../Get-ZNNetworkOnboardingPolicy.md | 117 + .../zeronetworks/Get-ZNOtRule.md | 26 +- help/zeronetworks/Get-ZNOutboundRule.md | 277 + ...Get-ZNOutboundRulesDestinationCandidate.md | 160 + ...-ZNOutboundRulesExcludedSourceCandidate.md | 144 + .../Get-ZNOutboundRulesSourceCandidate.md | 147 + .../Get-ZNOutboundRulesUserCandidate.md | 123 + help/zeronetworks/Get-ZNRpcRule.md | 243 + .../Get-ZNRpcRulesDestinationCandidate.md | 133 + ...-ZNRpcRulesExcludedDestinationCandidate.md | 133 + .../Get-ZNRpcRulesSourceCandidate.md | 134 + .../Get-ZNRpcRulesUserCandidate.md | 134 + help/zeronetworks/Get-ZNRulesDistribution.md | 129 + help/zeronetworks/Get-ZNRulesStatistics.md | 97 + help/zeronetworks/Get-ZNSegmentServer.md | 74 + help/zeronetworks/Get-ZNSession.md | 114 + help/zeronetworks/Get-ZNSettingsAad.md | 68 + help/zeronetworks/Get-ZNSettingsAd.md | 87 + .../Get-ZNSettingsAdMonitoredCandidate.md | 142 + .../Get-ZNSettingsAdProtectedCandidate.md | 139 + help/zeronetworks/Get-ZNSettingsAnsible.md | 68 + .../Get-ZNSettingsAssetManager.md | 98 + help/zeronetworks/Get-ZNSettingsAuth.md | 66 + help/zeronetworks/Get-ZNSettingsBreakGlass.md | 71 + .../Get-ZNSettingsClientSubnet.md | 68 + .../Get-ZNSettingsClientsTrustedInternet.md | 68 + .../Get-ZNSettingsClientsUntrustedInternet.md | 68 + .../Get-ZNSettingsClusterStrategy.md | 68 + .../Get-ZNSettingsConnectClientAutoUpdate.md | 66 + .../Get-ZNSettingsConnectRegion.md | 99 + .../Get-ZNSettingsConnectServer.md | 114 + .../Get-ZNSettingsConnectUserAccessConfig.md | 99 + ...UserAccessConfigAllowedRegionsCandidate.md | 116 + ...sConnectUserAccessConfigAssetsCandidate.md | 134 + ...ctUserAccessConfigDestinationsCandidate.md | 134 + ...UserAccessConfigExcludedAssetsCandidate.md | 138 + ...ccessConfigExcludedSourceUsersCandidate.md | 130 + ...ectUserAccessConfigSourceUsersCandidate.md | 131 + .../Get-ZNSettingsDefaultApplication.md | 66 + help/zeronetworks/Get-ZNSettingsFirewall.md | 66 + .../Get-ZNSettingsFirewallIgnoredGpo.md | 68 + .../Get-ZNSettingsFirewallIgnoredRule.md | 68 + .../Get-ZNSettingsFirewallProfile.md | 74 + help/zeronetworks/Get-ZNSettingsIdp.md | 68 + .../Get-ZNSettingsInactiveAsset.md | 68 + .../Get-ZNSettingsInternalSubnet.md | 72 + .../Get-ZNSettingsJamfCredentials.md | 62 + .../Get-ZNSettingsLearningConfig.md | 68 + help/zeronetworks/Get-ZNSettingsLicense.md | 115 + help/zeronetworks/Get-ZNSettingsLinuxSetup.md | 66 + help/zeronetworks/Get-ZNSettingsLinuxUser.md | 66 + .../Get-ZNSettingsMaintenanceWindow.md | 120 + .../Get-ZNSettingsMfaAuthentication.md | 68 + help/zeronetworks/Get-ZNSettingsMfaCache.md | 114 + .../Get-ZNSettingsMfaCacheCandidate.md | 141 + .../Get-ZNSettingsMfaDetection.md | 66 + .../Get-ZNSettingsNotification.md | 68 + .../Get-ZNSettingsPrivilegedPort.md | 68 + .../Get-ZNSettingsPushNotification.md | 68 + .../Get-ZNSettingsServersTrustedInternet.md | 68 + .../Get-ZNSettingsServersUntrustedInternet.md | 68 + .../Get-ZNSettingsTrustedInternetAddress.md | 66 + help/zeronetworks/Get-ZNSettingsZpa.md | 68 + help/zeronetworks/Get-ZNSwitch.md | 77 + help/zeronetworks/Get-ZNSwitchInterface.md | 105 + help/zeronetworks/Get-ZNTagGroupsCandidate.md | 242 + help/zeronetworks/Get-ZNUser.md | 253 + help/zeronetworks/Get-ZNUserAudit.md | 159 + .../Get-ZNUserExternalAccessPolicy.md | 293 + ...lAccessPolicyDestinationAssetsCandidate.md | 138 + ...ExternalAccessPolicySourceUserCandidate.md | 142 + ...et-ZNUserExternalAccessPolicyStatistics.md | 83 + help/zeronetworks/Get-ZNUserIdentityRule.md | 251 + .../Get-ZNUserIdentityRulesAssetsCandidate.md | 145 + ...serIdentityRulesExcludedAssetsCandidate.md | 142 + .../Get-ZNUserIdentityRulesUserCandidate.md | 148 + help/zeronetworks/Get-ZNUserMemberOf.md | 86 + .../Get-ZNUserMemberOfGroupCandidate.md | 83 + ...MfaIdentityPoliciesDestinationCandidate.md | 142 + ...IdentityPoliciesExcludedSourceCandidate.md | 154 + .../Get-ZNUserMfaIdentityPoliciesMfamethod.md | 83 + ...NUserMfaIdentityPoliciesSourceCandidate.md | 139 + ...rMfaIdentityPoliciesSourceUserCandidate.md | 143 + .../Get-ZNUserMfaIdentityPolicy.md | 294 + .../Get-ZNUserRulesDistribution.md | 145 + help/zeronetworks/Get-ZNUserStatistics.md | 68 + .../zeronetworks/Get-ZNUsersIdentityQueued.md | 174 + .../Get-ZNUsersIdentitySegmented.md | 174 + help/zeronetworks/Get-ZNUsersInactive.md | 215 + help/zeronetworks/Get-ZNUsersManagedAsset.md | 115 + .../Get-ZNUsersManagedAssetsCandidate.md | 148 + help/zeronetworks/Get-ZNUsersPrivileged.md | 233 + .../zeronetworks/Get-ZNUsersServiceAccount.md | 216 + .../Initialize-ZNAssetBreakGlass.md | 138 + .../Invoke-ZNAssetDeactivateBreakGlass.md | 138 + .../Invoke-ZNAssetIdentityExtendQueue.md | 176 + .../Invoke-ZNAssetIdentityQueue.md | 161 + .../Invoke-ZNAssetNetworkExtendQueue.md | 169 + .../Invoke-ZNAssetNetworkQueue.md | 154 + .../Invoke-ZNAssetOtNetworkExtendQueue.md | 169 + .../Invoke-ZNAssetOtNetworkQueue.md | 154 + .../Invoke-ZNAssetRpcExtendQueue.md | 143 + help/zeronetworks/Invoke-ZNAssetRpcQueue.md | 128 + ...nvoke-ZNDownloadCloudConnectorInstaller.md | 68 + .../Invoke-ZNDownloadConnectClient.md | 84 + .../Invoke-ZNDownloadConnectServer.md | 68 + .../Invoke-ZNDownloadSegmentServer.md | 68 + help/zeronetworks/Invoke-ZNEncodeEntityIP.md | 81 + .../Invoke-ZNEncodeEntityIPRange.md | 81 + .../Invoke-ZNEncodeEntitySubnet.md | 81 + .../Invoke-ZNInvokeAssetsMirror.md | 173 + help/zeronetworks/Invoke-ZNMirrorAsset.md | 146 + help/zeronetworks/Invoke-ZNOtRule.md | 276 + help/zeronetworks/Invoke-ZNRediscoverAd.md | 93 + help/zeronetworks/Invoke-ZNRediscoverLinux.md | 93 + .../zeronetworks/Invoke-ZNResyncAzureAd.md | 32 +- .../Invoke-ZNUserIdentityQueue.md | 124 + .../New-ZNAssetExternalAccessPolicy.md | 283 + help/zeronetworks/New-ZNAssetIdentityRule.md | 232 + help/zeronetworks/New-ZNAssetInboundRule.md | 327 + .../New-ZNAssetMfaIdentityPolicy.md | 358 + .../New-ZNAssetMfaInboundPolicy.md | 441 + .../New-ZNAssetMfaOutboundPolicy.md | 441 + help/zeronetworks/New-ZNAssetOutboundRule.md | 327 + help/zeronetworks/New-ZNAssetRpcRule.md | 306 + help/zeronetworks/New-ZNAssetsLinux.md | 124 + help/zeronetworks/New-ZNAssetsOt.md | 212 + help/zeronetworks/New-ZNCustomGroup.md | 140 + .../New-ZNExternalAccessPolicy.md | 268 + .../New-ZNGroupsExternalAccessPolicy.md | 297 + help/zeronetworks/New-ZNGroupsIdentityRule.md | 248 + help/zeronetworks/New-ZNGroupsInboundRule.md | 342 + .../New-ZNGroupsMfaIdentityPolicy.md | 373 + .../New-ZNGroupsMfaInboundPolicy.md | 456 + .../New-ZNGroupsMfaOutboundPolicy.md | 456 + help/zeronetworks/New-ZNGroupsOutboundRule.md | 342 + help/zeronetworks/New-ZNGroupsRpcRule.md | 322 + .../New-ZNIdentityOnboardingPolicy.md | 225 + help/zeronetworks/New-ZNIdentityRule.md | 217 + help/zeronetworks/New-ZNInboundRule.md | 303 + help/zeronetworks/New-ZNMfaIdentityPolicy.md | 343 + help/zeronetworks/New-ZNMfaInboundPolicy.md | 406 + help/zeronetworks/New-ZNMfaOutboundPolicy.md | 407 + .../New-ZNNetworkOnboardingPolicy.md | 225 + help/zeronetworks/New-ZNOutboundRule.md | 303 + help/zeronetworks/New-ZNPortsList.md | 116 + help/zeronetworks/New-ZNRpcRule.md | 291 + help/zeronetworks/New-ZNSettingsAd.md | 202 + .../zeronetworks/New-ZNSettingsAdSecondary.md | 141 + .../New-ZNSettingsConnectRegion.md | 155 + .../New-ZNSettingsConnectUserAccessConfig.md | 295 + help/zeronetworks/New-ZNSettingsIdp.md | 169 + .../New-ZNSettingsMaintenanceWindow.md | 169 + .../zeronetworks/New-ZNSettingsMfaCache.md | 45 +- .../New-ZNSettingsPushNotification.md | 236 + .../New-ZNUserExternalAccessPolicy.md | 283 + help/zeronetworks/New-ZNUserIdentityRule.md | 233 + .../New-ZNUserMfaIdentityPolicy.md | 358 + .../zeronetworks}/Protect-ZNAssetIdentity.md | 21 +- .../Protect-ZNAssetIdentitySegment.md | 139 + .../Protect-ZNAssetNetworkSegment.md | 138 + .../Protect-ZNAssetOtNetworkSegment.md | 138 + .../zeronetworks/Protect-ZNAssetRpcSegment.md | 136 + .../zeronetworks}/Protect-ZNUserIdentity.md | 19 +- .../Protect-ZNUserIdentitySegment.md | 109 + help/zeronetworks/README.md | 11 + help/zeronetworks/Read-ZNJWTtoken.md | 73 + .../Remove-ZNAeExclusionsInbound.md | 122 + .../Remove-ZNAeExclusionsOutbound.md | 122 + help/zeronetworks/Remove-ZNApiKey.md | 77 + .../Remove-ZNAssetExternalAccessPolicy.md | 137 + .../Remove-ZNAssetIdentityRule.md | 138 + .../zeronetworks/Remove-ZNAssetInboundRule.md | 138 + help/zeronetworks/Remove-ZNAssetManager.md | 138 + .../Remove-ZNAssetMfaIdentityPolicy.md | 138 + .../Remove-ZNAssetMfaInboundPolicy.md | 138 + .../Remove-ZNAssetMfaOutboundPolicy.md | 138 + .../Remove-ZNAssetOtAssetManager.md | 138 + .../Remove-ZNAssetOutboundRule.md | 138 + .../Remove-ZNAssetRpcMonitoring.md | 138 + help/zeronetworks/Remove-ZNAssetRpcRule.md | 137 + .../zeronetworks}/Remove-ZNAssetRpcSegment.md | 28 +- help/zeronetworks/Remove-ZNCustomGroup.md | 122 + .../Remove-ZNCustomGroupsMember.md | 137 + .../Remove-ZNExternalAccessPolicy.md | 122 + .../Remove-ZNGroupsAssetManager.md | 152 + .../Remove-ZNGroupsExternalAccessPolicy.md | 152 + .../Remove-ZNGroupsIdentityRule.md | 153 + .../Remove-ZNGroupsInboundRule.md | 153 + .../Remove-ZNGroupsManagedAsset.md | 152 + .../Remove-ZNGroupsMfaIdentityPolicy.md | 153 + .../Remove-ZNGroupsMfaInboundPolicy.md | 153 + .../Remove-ZNGroupsMfaOutboundPolicy.md | 153 + .../Remove-ZNGroupsOutboundRule.md | 153 + help/zeronetworks/Remove-ZNGroupsRpcRule.md | 152 + .../Remove-ZNIdentityOnboardingPolicy.md | 122 + help/zeronetworks/Remove-ZNIdentityRule.md | 122 + help/zeronetworks/Remove-ZNInboundRule.md | 122 + .../Remove-ZNMfaIdentityPolicy.md | 122 + .../zeronetworks/Remove-ZNMfaInboundPolicy.md | 122 + .../Remove-ZNMfaOutboundPolicy.md | 122 + .../Remove-ZNNetworkOnboardingPolicy.md | 122 + help/zeronetworks/Remove-ZNOtRule.md | 136 + help/zeronetworks/Remove-ZNOutboundRule.md | 122 + help/zeronetworks/Remove-ZNRpcRule.md | 122 + help/zeronetworks/Remove-ZNSettingsAad.md | 93 + help/zeronetworks/Remove-ZNSettingsAd.md | 109 + help/zeronetworks/Remove-ZNSettingsAdLinux.md | 137 + .../Remove-ZNSettingsAdSecondary.md | 49 +- .../Remove-ZNSettingsConnectRegion.md | 123 + .../Remove-ZNSettingsConnectServer.md | 122 + ...emove-ZNSettingsConnectUserAccessConfig.md | 123 + help/zeronetworks/Remove-ZNSettingsIdp.md | 122 + .../Remove-ZNSettingsJamfCredentials.md | 106 + .../Remove-ZNSettingsMaintenanceWindow.md | 122 + .../zeronetworks/Remove-ZNSettingsMfaCache.md | 122 + .../Remove-ZNSettingsPushNotification.md | 122 + help/zeronetworks/Remove-ZNSwitch.md | 137 + help/zeronetworks/Remove-ZNTagGroupsMember.md | 138 + .../Remove-ZNUserExternalAccessPolicy.md | 137 + .../zeronetworks/Remove-ZNUserIdentityRule.md | 138 + .../Remove-ZNUserMfaIdentityPolicy.md | 138 + .../Remove-ZNUsersManagedAsset.md | 137 + help/zeronetworks/Revoke-ZNSession.md | 122 + help/zeronetworks/Search-ZNAsset.md | 81 + .../zeronetworks}/Search-ZNAssetProtected.md | 21 +- .../Search-ZNAssetsNetworkSegmented.md | 92 + help/zeronetworks/Search-ZNAssetsSegmented.md | 92 + .../zeronetworks/Search-ZNGroupsExternalId.md | 112 + help/zeronetworks/Search-ZNUser.md | 105 + help/zeronetworks/Set-ZNApiKey.md | 92 + .../Test-ZNAssetIdentityProtect.md | 140 + .../Test-ZNAssetIdentityUnprotect.md | 140 + .../Test-ZNAssetNetworkSegment.md | 167 + .../Test-ZNAssetNetworkUnprotect.md | 169 + .../Unprotect-ZNAssetIdentity.md | 21 +- .../Unprotect-ZNAssetIdentitySegment.md | 139 + .../Unprotect-ZNAssetNetworkSegment.md | 131 + .../Unprotect-ZNAssetOtNetworkSegment.md | 131 + .../Unprotect-ZNAssetRpcSegment.md | 138 + .../zeronetworks}/Unprotect-ZNUserIdentity.md | 19 +- .../Unprotect-ZNUserIdentitySegment.md | 109 + .../Update-ZNAiExclusionNetworkBoth.md | 174 + .../Update-ZNAiExclusionNetworkClient.md | 174 + .../Update-ZNAiExclusionNetworkServer.md | 174 + help/zeronetworks/Update-ZNAssetActive.md | 153 + .../Update-ZNAssetExternalAccessPolicy.md | 298 + .../Update-ZNAssetIdentityRule.md | 244 + help/zeronetworks/Update-ZNAssetInactive.md | 153 + .../zeronetworks/Update-ZNAssetInboundRule.md | 320 + help/zeronetworks/Update-ZNAssetManager.md | 167 + .../Update-ZNAssetMfaIdentityPolicy.md | 374 + .../Update-ZNAssetMfaInboundPolicy.md | 449 + .../Update-ZNAssetMfaOutboundPolicy.md | 438 + help/zeronetworks/Update-ZNAssetMirror.md | 173 + help/zeronetworks/Update-ZNAssetOSType.md | 159 + help/zeronetworks/Update-ZNAssetOt.md | 155 + .../Update-ZNAssetOtAssetManager.md | 167 + .../Update-ZNAssetOutboundRestriction.md | 170 + .../Update-ZNAssetOutboundRule.md | 341 + .../Update-ZNAssetPreferredSegmentServer.md | 146 + help/zeronetworks/Update-ZNAssetRpcRule.md | 338 + help/zeronetworks/Update-ZNAssetType.md | 138 + help/zeronetworks/Update-ZNAssetsOSType.md | 137 + .../Update-ZNAssetsOutboundRestriction.md | 152 + help/zeronetworks/Update-ZNCustomGroup.md | 152 + .../Update-ZNExternalAccessPolicy.md | 282 + .../Update-ZNGroupsAssetManager.md | 182 + .../Update-ZNGroupsExternalAccessPolicy.md | 313 + .../Update-ZNGroupsIdentityRule.md | 274 + .../Update-ZNGroupsInboundRule.md | 335 + .../Update-ZNGroupsManagedAsset.md | 182 + .../Update-ZNGroupsMfaIdentityPolicy.md | 389 + .../Update-ZNGroupsMfaInboundPolicy.md | 464 + .../Update-ZNGroupsMfaOutboundPolicy.md | 453 + .../Update-ZNGroupsOutboundRule.md | 356 + help/zeronetworks/Update-ZNGroupsRpcRule.md | 351 + .../Update-ZNIdentityOnboardingPolicy.md | 225 + help/zeronetworks/Update-ZNIdentityRule.md | 243 + help/zeronetworks/Update-ZNInboundRule.md | 300 + .../Update-ZNMfaIdentityPolicy.md | 358 + .../zeronetworks/Update-ZNMfaInboundPolicy.md | 429 + .../Update-ZNMfaOutboundPolicy.md | 419 + .../Update-ZNNetworkOnboardingPolicy.md | 225 + help/zeronetworks/Update-ZNOSType.md | 152 + help/zeronetworks/Update-ZNOtRule.md | 255 + help/zeronetworks/Update-ZNOutboundRule.md | 320 + help/zeronetworks/Update-ZNRpcRule.md | 321 + help/zeronetworks/Update-ZNSettingsAd.md | 218 + help/zeronetworks/Update-ZNSettingsAdLinux.md | 213 + ...Update-ZNSettingsAdLinuxAutomationGroup.md | 137 + .../Update-ZNSettingsAdSecondary.md | 156 + ...date-ZNSettingsAdWindowsAutomationGroup.md | 153 + help/zeronetworks/Update-ZNSettingsAnsible.md | 200 + help/zeronetworks/Update-ZNSettingsAuth.md | 123 + .../Update-ZNSettingsBreakGlass.md | 198 + .../Update-ZNSettingsClientSubnet.md | 122 + ...Update-ZNSettingsClientsTrustedInternet.md | 133 + ...date-ZNSettingsClientsUntrustedInternet.md | 133 + .../Update-ZNSettingsClusterStrategy.md | 124 + ...pdate-ZNSettingsConnectClientAutoUpdate.md | 122 + .../Update-ZNSettingsConnectRegion.md | 184 + .../Update-ZNSettingsConnectServer.md | 125 + ...pdate-ZNSettingsConnectUserAccessConfig.md | 310 + .../Update-ZNSettingsDefaultApplication.md | 123 + .../zeronetworks/Update-ZNSettingsFirewall.md | 123 + .../Update-ZNSettingsFirewallIgnoredGpo.md | 131 + .../Update-ZNSettingsFirewallIgnoredRule.md | 131 + .../Update-ZNSettingsFirewallProfile.md | 244 + help/zeronetworks/Update-ZNSettingsIdp.md | 192 + .../Update-ZNSettingsInactiveAsset.md | 109 + .../Update-ZNSettingsInternalSubnet.md | 137 + .../Update-ZNSettingsJamfCredentials.md | 139 + .../Update-ZNSettingsLearningConfig.md | 137 + .../Update-ZNSettingsLinuxSetup.md | 109 + .../Update-ZNSettingsLinuxUser.md | 139 + .../Update-ZNSettingsMaintenanceWindow.md | 184 + .../Update-ZNSettingsMfaAuthentication.md | 140 + .../Update-ZNSettingsMfaDetection.md | 113 + .../Update-ZNSettingsNotification.md | 160 + .../Update-ZNSettingsPrivilegedPort.md | 144 + ...Update-ZNSettingsServersTrustedInternet.md | 133 + ...date-ZNSettingsServersUntrustedInternet.md | 133 + ...Update-ZNSettingsTrustedInternetAddress.md | 124 + help/zeronetworks/Update-ZNSettingsZpa.md | 184 + help/zeronetworks/Update-ZNSwitch.md | 322 + .../Update-ZNUserExternalAccessPolicy.md | 298 + .../zeronetworks/Update-ZNUserIdentityRule.md | 259 + .../Update-ZNUserMfaIdentityPolicy.md | 374 + help/zeronetworks/Update-ZNUserType.md | 162 + .../Update-ZNUsersManagedAsset.md | 167 + help/zeronetworks/ZeroNetworks.md | 1509 + help/zeronetworks/readme.md | 11 + src/ZN/README.md | 146 +- src/ZN/ZeroNetworks.psd1 | 4 +- .../Approve-ZNAssetInboundRuleReview.ps1 | 36 +- .../Approve-ZNAssetOutboundRuleReview.ps1 | 38 +- src/ZN/custom/Approve-ZNInboundRuleReview.ps1 | 38 +- .../custom/Approve-ZNOutboundRuleReview.ps1 | 36 +- src/ZN/custom/Connect-ZN.ps1 | 11 +- .../custom/Deny-ZNAssetInboundRuleReview.ps1 | 2 +- .../custom/Deny-ZNAssetOutboundRuleReview.ps1 | 2 +- src/ZN/custom/Deny-ZNInboundRuleReview.ps1 | 2 +- src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 | 2 +- src/ZN/custom/Disconnect-ZN.ps1 | 2 +- src/ZN/custom/New-ZNPortsList.ps1 | 2 +- .../custom/New-ZNSettingsPushNotification.ps1 | 2 +- src/ZN/custom/Read-ZNJWT.ps1 | 37 + src/ZN/custom/Remove-ZNAPIKey.ps1 | 2 +- src/ZN/custom/Set-ZNAPIKey.ps1 | 11 +- .../Update-ZNAssetExternalAccessPolicy.ps1 | 223 + src/ZN/custom/Update-ZNAssetIdentityRule.ps1 | 2 +- src/ZN/custom/Update-ZNAssetInboundRule.ps1 | 22 +- .../Update-ZNAssetMfaIdentityPolicy.ps1 | 17 +- .../custom/Update-ZNAssetMfaInboundPolicy.ps1 | 17 +- .../Update-ZNAssetMfaOutboundPolicy.ps1 | 17 +- src/ZN/custom/Update-ZNAssetOutboundRule.ps1 | 37 +- src/ZN/custom/Update-ZNAssetRpcRule.ps1 | 2 +- src/ZN/custom/Update-ZNCustomGroup.ps1 | 2 +- .../custom/Update-ZNExternalAccessPolicy.ps1 | 217 + .../Update-ZNGroupsExternalAccessPolicy.ps1 | 230 + src/ZN/custom/Update-ZNGroupsIdentityRule.ps1 | 2 +- src/ZN/custom/Update-ZNGroupsInboundRule.ps1 | 22 +- .../Update-ZNGroupsMfaIdentityPolicy.ps1 | 17 +- .../Update-ZNGroupsMfaInboundPolicy.ps1 | 17 +- .../Update-ZNGroupsMfaOutboundPolicy.ps1 | 17 +- src/ZN/custom/Update-ZNGroupsOutboundRule.ps1 | 37 +- src/ZN/custom/Update-ZNGroupsRpcRule.ps1 | 2 +- src/ZN/custom/Update-ZNIdentityRule.ps1 | 2 +- src/ZN/custom/Update-ZNInboundRule.ps1 | 22 +- src/ZN/custom/Update-ZNMfaIdentityPolicy.ps1 | 17 +- src/ZN/custom/Update-ZNMfaInboundPolicy.ps1 | 17 +- src/ZN/custom/Update-ZNMfaOutboundPolicy.ps1 | 17 +- src/ZN/custom/Update-ZNOutboundRule.ps1 | 37 +- src/ZN/custom/Update-ZNRpcRule.ps1 | 2 +- .../Update-ZNUserExternalAccessPolicy.ps1 | 223 + src/ZN/custom/Update-ZNUserIdentityRule.ps1 | 2 +- .../custom/Update-ZNUserMfaIdentityPolicy.ps1 | 17 +- src/ZN/docs/Add-ZNAssetManager.md | 36 +- src/ZN/docs/Add-ZNAssetOtAssetManager.md | 36 +- src/ZN/docs/Add-ZNAssetRpcMonitoring.md | 21 +- src/ZN/docs/Add-ZNCustomGroupsMember.md | 20 +- src/ZN/docs/Add-ZNGroupsAssetManager.md | 36 +- src/ZN/docs/Add-ZNGroupsManagedAsset.md | 36 +- src/ZN/docs/Add-ZNTagGroupsMember.md | 21 +- src/ZN/docs/Add-ZNUsersManagedAsset.md | 36 +- .../docs/Approve-ZNAssetInboundRuleReview.md | 30 +- .../docs/Approve-ZNAssetOutboundRuleReview.md | 30 +- src/ZN/docs/Approve-ZNInboundRuleReview.md | 25 +- src/ZN/docs/Approve-ZNOutboundRuleReview.md | 25 +- src/ZN/docs/Connect-ZN.md | 21 +- src/ZN/docs/Deny-ZNAssetInboundRuleReview.md | 4 +- src/ZN/docs/Deny-ZNAssetOutboundRuleReview.md | 4 +- src/ZN/docs/Deny-ZNInboundRuleReview.md | 4 +- src/ZN/docs/Deny-ZNOutboundRuleReview.md | 4 +- src/ZN/docs/Disconnect-ZN.md | 4 +- src/ZN/docs/Enable-ZNAssetQuarantine.md | 167 + src/ZN/docs/Get-ZNAeExclusionsInbound.md | 279 + src/ZN/docs/Get-ZNAeExclusionsOutbound.md | 239 + src/ZN/docs/Get-ZNAiExclusionNetworkBoth.md | 19 +- src/ZN/docs/Get-ZNAiExclusionNetworkClient.md | 19 +- src/ZN/docs/Get-ZNAiExclusionNetworkServer.md | 19 +- .../docs/Get-ZNAiExclusionSourceCandidate.md | 22 +- src/ZN/docs/Get-ZNAiExclusionSourceEntity.md | 19 +- src/ZN/docs/Get-ZNAiNextBatch.md | 19 +- src/ZN/docs/Get-ZNAsset.md | 27 +- src/ZN/docs/Get-ZNAssetAnalysis.md | 23 +- src/ZN/docs/Get-ZNAssetAudit.md | 20 +- src/ZN/docs/Get-ZNAssetClusterInfo.md | 19 +- .../docs/Get-ZNAssetExternalAccessPolicy.md | 293 + ...lAccessPolicyDestinationAssetsCandidate.md | 139 + ...ExternalAccessPolicySourceUserCandidate.md | 142 + ...t-ZNAssetExternalAccessPolicyStatistics.md | 83 + src/ZN/docs/Get-ZNAssetHealthState.md | 19 +- src/ZN/docs/Get-ZNAssetIdentityRule.md | 25 +- ...Get-ZNAssetIdentityRulesAssetsCandidate.md | 23 +- ...setIdentityRulesExcludedAssetsCandidate.md | 23 +- .../Get-ZNAssetIdentityRulesUserCandidate.md | 23 +- src/ZN/docs/Get-ZNAssetInboundRule.md | 72 +- ...ZNAssetInboundRulesDestinationCandidate.md | 25 +- ...nboundRulesExcludedDestinationCandidate.md | 25 +- .../Get-ZNAssetInboundRulesSourceCandidate.md | 21 +- src/ZN/docs/Get-ZNAssetListeningPort.md | 19 +- src/ZN/docs/Get-ZNAssetManager.md | 22 +- src/ZN/docs/Get-ZNAssetManagersCandidate.md | 23 +- src/ZN/docs/Get-ZNAssetMemberOf.md | 19 +- .../docs/Get-ZNAssetMemberOfGroupCandidate.md | 85 + ...MfaIdentityPoliciesDestinationCandidate.md | 23 +- ...IdentityPoliciesExcludedSourceCandidate.md | 23 +- ...Get-ZNAssetMfaIdentityPoliciesMfamethod.md | 19 +- ...AssetMfaIdentityPoliciesSourceCandidate.md | 23 +- ...tMfaIdentityPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNAssetMfaIdentityPolicy.md | 30 +- ...tMfaInboundPoliciesDestinationCandidate.md | 27 +- ...aInboundPoliciesExcludedSourceCandidate.md | 23 +- .../Get-ZNAssetMfaInboundPoliciesMfamethod.md | 19 +- ...NAssetMfaInboundPoliciesSourceCandidate.md | 23 +- ...etMfaInboundPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNAssetMfaInboundPolicy.md | 28 +- ...MfaOutboundPoliciesDestinationCandidate.md | 23 +- ...OutboundPoliciesExcludedSourceCandidate.md | 23 +- ...Get-ZNAssetMfaOutboundPoliciesMfamethod.md | 19 +- ...AssetMfaOutboundPoliciesSourceCandidate.md | 23 +- ...tMfaOutboundPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNAssetMfaOutboundPolicy.md | 28 +- src/ZN/docs/Get-ZNAssetOt.md | 19 +- src/ZN/docs/Get-ZNAssetOtAssetManager.md | 22 +- .../Get-ZNAssetOtAssetManagersCandidate.md | 23 +- src/ZN/docs/Get-ZNAssetOtAudit.md | 21 +- src/ZN/docs/Get-ZNAssetOtMemberOf.md | 19 +- .../Get-ZNAssetOtMemberOfGroupCandidate.md | 86 + src/ZN/docs/Get-ZNAssetOtTag.md | 19 +- src/ZN/docs/Get-ZNAssetOutboundRule.md | 72 +- ...NAssetOutboundRulesDestinationCandidate.md | 21 +- ...setOutboundRulesExcludedSourceCandidate.md | 21 +- ...Get-ZNAssetOutboundRulesSourceCandidate.md | 21 +- .../Get-ZNAssetOutboundRulesUserCandidate.md | 138 + .../docs/Get-ZNAssetPreferredSegmentServer.md | 84 + src/ZN/docs/Get-ZNAssetRpcRule.md | 27 +- ...Get-ZNAssetRpcRulesDestinationCandidate.md | 25 +- ...setRpcRulesExcludedDestinationCandidate.md | 25 +- .../Get-ZNAssetRpcRulesSourceCandidate.md | 21 +- .../docs/Get-ZNAssetRpcRulesUserCandidate.md | 23 +- src/ZN/docs/Get-ZNAssetRulesDistribution.md | 20 +- src/ZN/docs/Get-ZNAssetTag.md | 19 +- src/ZN/docs/Get-ZNAssetsIdentityQueued.md | 159 + src/ZN/docs/Get-ZNAssetsIdentitySegmented.md | 29 +- src/ZN/docs/Get-ZNAssetsInactive.md | 25 +- src/ZN/docs/Get-ZNAssetsMonitored.md | 40 +- src/ZN/docs/Get-ZNAssetsNetworkQueued.md | 40 +- src/ZN/docs/Get-ZNAssetsNetworkSegmented.md | 183 + src/ZN/docs/Get-ZNAssetsOt.md | 41 +- src/ZN/docs/Get-ZNAssetsRpcMonitored.md | 40 +- src/ZN/docs/Get-ZNAssetsRpcQueued.md | 174 + src/ZN/docs/Get-ZNAssetsRpcSegmented.md | 40 +- src/ZN/docs/Get-ZNAssetsStatesStatistics.md | 19 +- src/ZN/docs/Get-ZNAssetsStatistics.md | 19 +- src/ZN/docs/Get-ZNAudit.md | 23 +- src/ZN/docs/Get-ZNCustomGroupsCandidate.md | 23 +- src/ZN/docs/Get-ZNExternalAccessPolicy.md | 277 + ...lAccessPolicyDestinationAssetsCandidate.md | 123 + ...ExternalAccessPolicySourceUserCandidate.md | 127 + .../Get-ZNExternalAccessPolicyStatistics.md | 68 + src/ZN/docs/Get-ZNGroup.md | 27 +- src/ZN/docs/Get-ZNGroupAudit.md | 21 +- src/ZN/docs/Get-ZNGroupMemberOf.md | 19 +- .../docs/Get-ZNGroupMemberOfGroupCandidate.md | 99 + src/ZN/docs/Get-ZNGroupsAssetManager.md | 23 +- .../Get-ZNGroupsAssetManagersCandidate.md | 23 +- src/ZN/docs/Get-ZNGroupsByType.md | 40 +- .../docs/Get-ZNGroupsExternalAccessPolicy.md | 308 + ...lAccessPolicyDestinationAssetsCandidate.md | 153 + ...ExternalAccessPolicySourceUserCandidate.md | 157 + ...-ZNGroupsExternalAccessPolicyStatistics.md | 99 + src/ZN/docs/Get-ZNGroupsIdentityRule.md | 27 +- ...et-ZNGroupsIdentityRulesAssetsCandidate.md | 23 +- ...upsIdentityRulesExcludedAssetsCandidate.md | 23 +- .../Get-ZNGroupsIdentityRulesUserCandidate.md | 23 +- src/ZN/docs/Get-ZNGroupsInboundRule.md | 74 +- ...NGroupsInboundRulesDestinationCandidate.md | 25 +- ...nboundRulesExcludedDestinationCandidate.md | 25 +- ...Get-ZNGroupsInboundRulesSourceCandidate.md | 19 +- src/ZN/docs/Get-ZNGroupsManagedAsset.md | 23 +- .../Get-ZNGroupsManagedAssetsCandidate.md | 23 +- src/ZN/docs/Get-ZNGroupsMember.md | 23 +- ...MfaIdentityPoliciesDestinationCandidate.md | 23 +- ...IdentityPoliciesExcludedSourceCandidate.md | 22 +- ...et-ZNGroupsMfaIdentityPoliciesMfamethod.md | 20 +- ...roupsMfaIdentityPoliciesSourceCandidate.md | 23 +- ...sMfaIdentityPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNGroupsMfaIdentityPolicy.md | 29 +- ...sMfaInboundPoliciesDestinationCandidate.md | 27 +- ...aInboundPoliciesExcludedSourceCandidate.md | 22 +- ...Get-ZNGroupsMfaInboundPoliciesMfamethod.md | 20 +- ...GroupsMfaInboundPoliciesSourceCandidate.md | 23 +- ...psMfaInboundPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNGroupsMfaInboundPolicy.md | 28 +- ...MfaOutboundPoliciesDestinationCandidate.md | 23 +- ...OutboundPoliciesExcludedSourceCandidate.md | 22 +- ...et-ZNGroupsMfaOutboundPoliciesMfamethod.md | 20 +- ...roupsMfaOutboundPoliciesSourceCandidate.md | 23 +- ...sMfaOutboundPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNGroupsMfaOutboundPolicy.md | 27 +- src/ZN/docs/Get-ZNGroupsOutboundRule.md | 74 +- ...GroupsOutboundRulesDestinationCandidate.md | 19 +- ...upsOutboundRulesExcludedSourceCandidate.md | 21 +- ...et-ZNGroupsOutboundRulesSourceCandidate.md | 21 +- .../Get-ZNGroupsOutboundRulesUserCandidate.md | 153 + src/ZN/docs/Get-ZNGroupsRpcRule.md | 28 +- ...et-ZNGroupsRpcRulesDestinationCandidate.md | 25 +- ...upsRpcRulesExcludedDestinationCandidate.md | 25 +- .../Get-ZNGroupsRpcRulesSourceCandidate.md | 21 +- .../docs/Get-ZNGroupsRpcRulesUserCandidate.md | 23 +- src/ZN/docs/Get-ZNGroupsRulesDistribution.md | 19 +- src/ZN/docs/Get-ZNGroupsStatistics.md | 19 +- ...dentityOnboardingPoliciesGroupCandidate.md | 133 + src/ZN/docs/Get-ZNIdentityOnboardingPolicy.md | 127 + src/ZN/docs/Get-ZNIdentityRule.md | 25 +- .../Get-ZNIdentityRulesAssetsCandidate.md | 22 +- ...-ZNIdentityRulesExcludedAssetsCandidate.md | 23 +- .../docs/Get-ZNIdentityRulesUserCandidate.md | 22 +- src/ZN/docs/Get-ZNInboundRule.md | 71 +- .../Get-ZNInboundRulesDestinationCandidate.md | 25 +- ...nboundRulesExcludedDestinationCandidate.md | 25 +- .../docs/Get-ZNInboundRulesSourceCandidate.md | 21 +- ...MfaIdentityPoliciesDestinationCandidate.md | 23 +- ...IdentityPoliciesExcludedSourceCandidate.md | 23 +- .../Get-ZNMfaIdentityPoliciesMfamethod.md | 19 +- ...et-ZNMfaIdentityPoliciesSourceCandidate.md | 23 +- ...NMfaIdentityPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNMfaIdentityPolicy.md | 28 +- ...NMfaInboundPoliciesDestinationCandidate.md | 23 +- ...aInboundPoliciesExcludedSourceCandidate.md | 23 +- .../docs/Get-ZNMfaInboundPoliciesMfamethod.md | 19 +- ...Get-ZNMfaInboundPoliciesSourceCandidate.md | 23 +- ...ZNMfaInboundPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNMfaInboundPolicy.md | 27 +- ...MfaOutboundPoliciesDestinationCandidate.md | 23 +- ...OutboundPoliciesExcludedSourceCandidate.md | 23 +- .../Get-ZNMfaOutboundPoliciesMfamethod.md | 19 +- ...et-ZNMfaOutboundPoliciesSourceCandidate.md | 23 +- ...NMfaOutboundPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNMfaOutboundPolicy.md | 27 +- src/ZN/docs/Get-ZNMfaPoliciesDistribution.md | 23 +- src/ZN/docs/Get-ZNMfaPoliciesStatistics.md | 19 +- ...NetworkOnboardingPoliciesGroupCandidate.md | 143 + src/ZN/docs/Get-ZNNetworkOnboardingPolicy.md | 117 + src/ZN/docs/Get-ZNOutboundRule.md | 71 +- ...Get-ZNOutboundRulesDestinationCandidate.md | 21 +- ...-ZNOutboundRulesExcludedSourceCandidate.md | 21 +- .../Get-ZNOutboundRulesSourceCandidate.md | 20 +- .../docs/Get-ZNOutboundRulesUserCandidate.md | 123 + .../Get-ZNProtectionPoliciesGroupCandidate.md | 121 - src/ZN/docs/Get-ZNRpcRule.md | 27 +- .../Get-ZNRpcRulesDestinationCandidate.md | 24 +- ...-ZNRpcRulesExcludedDestinationCandidate.md | 25 +- src/ZN/docs/Get-ZNRpcRulesSourceCandidate.md | 20 +- src/ZN/docs/Get-ZNRpcRulesUserCandidate.md | 22 +- src/ZN/docs/Get-ZNRulesDistribution.md | 19 +- src/ZN/docs/Get-ZNRulesStatistics.md | 19 +- src/ZN/docs/Get-ZNSegmentServer.md | 19 +- src/ZN/docs/Get-ZNSession.md | 24 +- src/ZN/docs/Get-ZNSettingsAad.md | 19 +- src/ZN/docs/Get-ZNSettingsAd.md | 48 +- .../Get-ZNSettingsAdMonitoredCandidate.md | 21 +- .../Get-ZNSettingsAdProtectedCandidate.md | 21 +- src/ZN/docs/Get-ZNSettingsAnsible.md | 23 +- src/ZN/docs/Get-ZNSettingsAssetManager.md | 21 +- src/ZN/docs/Get-ZNSettingsAuth.md | 19 +- src/ZN/docs/Get-ZNSettingsBreakGlass.md | 19 +- src/ZN/docs/Get-ZNSettingsClientSubnet.md | 19 +- .../Get-ZNSettingsClientsTrustedInternet.md | 19 +- .../Get-ZNSettingsClientsUntrustedInternet.md | 19 +- src/ZN/docs/Get-ZNSettingsClusterStrategy.md | 19 +- .../Get-ZNSettingsConnectClientAutoUpdate.md | 19 +- src/ZN/docs/Get-ZNSettingsConnectRegion.md | 21 +- src/ZN/docs/Get-ZNSettingsConnectServer.md | 24 +- .../Get-ZNSettingsConnectUserAccessConfig.md | 22 +- ...UserAccessConfigAllowedRegionsCandidate.md | 23 +- ...sConnectUserAccessConfigAssetsCandidate.md | 23 +- ...ctUserAccessConfigDestinationsCandidate.md | 23 +- ...UserAccessConfigExcludedAssetsCandidate.md | 23 +- ...ccessConfigExcludedSourceUsersCandidate.md | 23 +- ...ectUserAccessConfigSourceUsersCandidate.md | 23 +- .../docs/Get-ZNSettingsDefaultApplication.md | 19 +- src/ZN/docs/Get-ZNSettingsFirewall.md | 19 +- .../docs/Get-ZNSettingsFirewallIgnoredGpo.md | 19 +- .../docs/Get-ZNSettingsFirewallIgnoredRule.md | 19 +- src/ZN/docs/Get-ZNSettingsFirewallProfile.md | 19 +- src/ZN/docs/Get-ZNSettingsIdp.md | 19 +- src/ZN/docs/Get-ZNSettingsInactiveAsset.md | 19 +- src/ZN/docs/Get-ZNSettingsInternalSubnet.md | 19 +- src/ZN/docs/Get-ZNSettingsJamfCredentials.md | 19 +- src/ZN/docs/Get-ZNSettingsLearningConfig.md | 19 +- src/ZN/docs/Get-ZNSettingsLicense.md | 23 +- src/ZN/docs/Get-ZNSettingsLinuxSetup.md | 23 +- src/ZN/docs/Get-ZNSettingsLinuxUser.md | 23 +- .../docs/Get-ZNSettingsMaintenanceWindow.md | 120 + .../docs/Get-ZNSettingsMfaAuthentication.md | 19 +- src/ZN/docs/Get-ZNSettingsMfaCache.md | 114 + .../docs/Get-ZNSettingsMfaCacheCandidate.md | 141 + src/ZN/docs/Get-ZNSettingsMfaDetection.md | 19 +- src/ZN/docs/Get-ZNSettingsNotification.md | 19 +- src/ZN/docs/Get-ZNSettingsPrivilegedPort.md | 19 +- src/ZN/docs/Get-ZNSettingsPushNotification.md | 21 +- .../Get-ZNSettingsServersTrustedInternet.md | 19 +- .../Get-ZNSettingsServersUntrustedInternet.md | 19 +- .../Get-ZNSettingsTrustedInternetAddress.md | 19 +- src/ZN/docs/Get-ZNSettingsZpa.md | 19 +- src/ZN/docs/Get-ZNTagGroupsCandidate.md | 23 +- src/ZN/docs/Get-ZNUser.md | 27 +- src/ZN/docs/Get-ZNUserAudit.md | 23 +- src/ZN/docs/Get-ZNUserExternalAccessPolicy.md | 293 + ...lAccessPolicyDestinationAssetsCandidate.md | 138 + ...ExternalAccessPolicySourceUserCandidate.md | 142 + ...et-ZNUserExternalAccessPolicyStatistics.md | 83 + src/ZN/docs/Get-ZNUserIdentityRule.md | 25 +- .../Get-ZNUserIdentityRulesAssetsCandidate.md | 23 +- ...serIdentityRulesExcludedAssetsCandidate.md | 23 +- .../Get-ZNUserIdentityRulesUserCandidate.md | 23 +- src/ZN/docs/Get-ZNUserMemberOf.md | 19 +- .../docs/Get-ZNUserMemberOfGroupCandidate.md | 83 + ...MfaIdentityPoliciesDestinationCandidate.md | 23 +- ...IdentityPoliciesExcludedSourceCandidate.md | 23 +- .../Get-ZNUserMfaIdentityPoliciesMfamethod.md | 19 +- ...NUserMfaIdentityPoliciesSourceCandidate.md | 23 +- ...rMfaIdentityPoliciesSourceUserCandidate.md | 23 +- src/ZN/docs/Get-ZNUserMfaIdentityPolicy.md | 30 +- src/ZN/docs/Get-ZNUserRulesDistribution.md | 20 +- src/ZN/docs/Get-ZNUserStatistics.md | 19 +- src/ZN/docs/Get-ZNUsersIdentityQueued.md | 25 +- src/ZN/docs/Get-ZNUsersIdentitySegmented.md | 25 +- src/ZN/docs/Get-ZNUsersInactive.md | 215 + src/ZN/docs/Get-ZNUsersManagedAsset.md | 22 +- .../docs/Get-ZNUsersManagedAssetsCandidate.md | 23 +- src/ZN/docs/Get-ZNUsersPrivileged.md | 233 + src/ZN/docs/Get-ZNUsersServiceAccount.md | 25 +- src/ZN/docs/Initialize-ZNAssetBreakGlass.md | 27 +- .../Invoke-ZNAssetDeactivateBreakGlass.md | 27 +- .../docs/Invoke-ZNAssetIdentityExtendQueue.md | 176 + src/ZN/docs/Invoke-ZNAssetIdentityQueue.md | 161 + .../docs/Invoke-ZNAssetNetworkExtendQueue.md | 33 +- src/ZN/docs/Invoke-ZNAssetNetworkQueue.md | 31 +- .../Invoke-ZNAssetOtNetworkExtendQueue.md | 33 +- src/ZN/docs/Invoke-ZNAssetOtNetworkQueue.md | 31 +- src/ZN/docs/Invoke-ZNAssetRpcExtendQueue.md | 143 + src/ZN/docs/Invoke-ZNAssetRpcQueue.md | 128 + ...nvoke-ZNDownloadCloudConnectorInstaller.md | 19 +- src/ZN/docs/Invoke-ZNDownloadConnectClient.md | 19 +- src/ZN/docs/Invoke-ZNDownloadConnectServer.md | 19 +- src/ZN/docs/Invoke-ZNDownloadSegmentServer.md | 19 +- src/ZN/docs/Invoke-ZNEncodeEntityIP.md | 19 +- src/ZN/docs/Invoke-ZNEncodeEntityIPRange.md | 19 +- src/ZN/docs/Invoke-ZNEncodeEntitySubnet.md | 19 +- src/ZN/docs/Invoke-ZNMirrorAsset.md | 146 + src/ZN/docs/Invoke-ZNRediscoverAd.md | 19 +- src/ZN/docs/Invoke-ZNRediscoverLinux.md | 19 +- src/ZN/docs/Invoke-ZNResyncAzureAd.md | 19 +- src/ZN/docs/Invoke-ZNUserIdentityQueue.md | 20 +- .../docs/New-ZNAssetExternalAccessPolicy.md | 283 + src/ZN/docs/New-ZNAssetIdentityRule.md | 22 +- src/ZN/docs/New-ZNAssetInboundRule.md | 58 +- src/ZN/docs/New-ZNAssetMfaIdentityPolicy.md | 39 +- src/ZN/docs/New-ZNAssetMfaInboundPolicy.md | 41 +- src/ZN/docs/New-ZNAssetMfaOutboundPolicy.md | 39 +- src/ZN/docs/New-ZNAssetOutboundRule.md | 58 +- src/ZN/docs/New-ZNAssetRpcRule.md | 23 +- src/ZN/docs/New-ZNAssetsLinux.md | 20 +- src/ZN/docs/New-ZNAssetsOt.md | 65 +- src/ZN/docs/New-ZNCustomGroup.md | 21 +- src/ZN/docs/New-ZNExternalAccessPolicy.md | 268 + .../docs/New-ZNGroupsExternalAccessPolicy.md | 297 + src/ZN/docs/New-ZNGroupsIdentityRule.md | 22 +- src/ZN/docs/New-ZNGroupsInboundRule.md | 58 +- src/ZN/docs/New-ZNGroupsMfaIdentityPolicy.md | 37 +- src/ZN/docs/New-ZNGroupsMfaInboundPolicy.md | 41 +- src/ZN/docs/New-ZNGroupsMfaOutboundPolicy.md | 39 +- src/ZN/docs/New-ZNGroupsOutboundRule.md | 58 +- src/ZN/docs/New-ZNGroupsRpcRule.md | 22 +- src/ZN/docs/New-ZNIdentityOnboardingPolicy.md | 225 + src/ZN/docs/New-ZNIdentityRule.md | 21 +- src/ZN/docs/New-ZNInboundRule.md | 59 +- src/ZN/docs/New-ZNMfaIdentityPolicy.md | 39 +- src/ZN/docs/New-ZNMfaInboundPolicy.md | 39 +- src/ZN/docs/New-ZNMfaOutboundPolicy.md | 41 +- src/ZN/docs/New-ZNNetworkOnboardingPolicy.md | 225 + src/ZN/docs/New-ZNOutboundRule.md | 59 +- src/ZN/docs/New-ZNPortsList.md | 2 +- src/ZN/docs/New-ZNRpcRule.md | 23 +- src/ZN/docs/New-ZNSettingsAd.md | 39 +- src/ZN/docs/New-ZNSettingsAdSecondary.md | 26 +- src/ZN/docs/New-ZNSettingsConnectRegion.md | 22 +- .../New-ZNSettingsConnectUserAccessConfig.md | 23 +- src/ZN/docs/New-ZNSettingsIdp.md | 21 +- .../docs/New-ZNSettingsMaintenanceWindow.md | 169 + ...ionPolicy.md => New-ZNSettingsMfaCache.md} | 63 +- src/ZN/docs/New-ZNSettingsPushNotification.md | 25 +- src/ZN/docs/New-ZNUserExternalAccessPolicy.md | 283 + src/ZN/docs/New-ZNUserIdentityRule.md | 22 +- src/ZN/docs/New-ZNUserMfaIdentityPolicy.md | 39 +- src/ZN/docs/Protect-ZNAssetIdentitySegment.md | 139 + src/ZN/docs/Protect-ZNAssetNetworkSegment.md | 27 +- .../docs/Protect-ZNAssetOtNetworkSegment.md | 27 +- src/ZN/docs/Protect-ZNAssetRpcSegment.md | 136 + src/ZN/docs/Protect-ZNUserIdentitySegment.md | 109 + src/ZN/docs/Read-ZNJWTtoken.md | 73 + src/ZN/docs/Remove-ZNAeExclusionsInbound.md | 122 + src/ZN/docs/Remove-ZNAeExclusionsOutbound.md | 122 + src/ZN/docs/Remove-ZNApiKey.md | 4 +- .../Remove-ZNAssetExternalAccessPolicy.md | 137 + src/ZN/docs/Remove-ZNAssetIdentityRule.md | 21 +- src/ZN/docs/Remove-ZNAssetInboundRule.md | 21 +- src/ZN/docs/Remove-ZNAssetManager.md | 21 +- .../docs/Remove-ZNAssetMfaIdentityPolicy.md | 21 +- src/ZN/docs/Remove-ZNAssetMfaInboundPolicy.md | 21 +- .../docs/Remove-ZNAssetMfaOutboundPolicy.md | 21 +- src/ZN/docs/Remove-ZNAssetOtAssetManager.md | 21 +- src/ZN/docs/Remove-ZNAssetOutboundRule.md | 21 +- src/ZN/docs/Remove-ZNAssetRpcMonitoring.md | 23 +- src/ZN/docs/Remove-ZNAssetRpcRule.md | 20 +- src/ZN/docs/Remove-ZNCustomGroup.md | 20 +- src/ZN/docs/Remove-ZNCustomGroupsMember.md | 21 +- src/ZN/docs/Remove-ZNExternalAccessPolicy.md | 122 + src/ZN/docs/Remove-ZNGroupsAssetManager.md | 21 +- .../Remove-ZNGroupsExternalAccessPolicy.md | 152 + src/ZN/docs/Remove-ZNGroupsIdentityRule.md | 21 +- src/ZN/docs/Remove-ZNGroupsInboundRule.md | 21 +- src/ZN/docs/Remove-ZNGroupsManagedAsset.md | 21 +- .../docs/Remove-ZNGroupsMfaIdentityPolicy.md | 21 +- .../docs/Remove-ZNGroupsMfaInboundPolicy.md | 21 +- .../docs/Remove-ZNGroupsMfaOutboundPolicy.md | 21 +- src/ZN/docs/Remove-ZNGroupsOutboundRule.md | 21 +- src/ZN/docs/Remove-ZNGroupsRpcRule.md | 21 +- .../docs/Remove-ZNIdentityOnboardingPolicy.md | 122 + src/ZN/docs/Remove-ZNIdentityRule.md | 20 +- src/ZN/docs/Remove-ZNInboundRule.md | 20 +- src/ZN/docs/Remove-ZNMfaIdentityPolicy.md | 20 +- src/ZN/docs/Remove-ZNMfaInboundPolicy.md | 20 +- src/ZN/docs/Remove-ZNMfaOutboundPolicy.md | 20 +- .../docs/Remove-ZNNetworkOnboardingPolicy.md | 122 + src/ZN/docs/Remove-ZNOutboundRule.md | 20 +- src/ZN/docs/Remove-ZNRpcRule.md | 20 +- src/ZN/docs/Remove-ZNSettingsAad.md | 19 +- src/ZN/docs/Remove-ZNSettingsAd.md | 19 +- src/ZN/docs/Remove-ZNSettingsAdLinux.md | 137 + src/ZN/docs/Remove-ZNSettingsAdSecondary.md | 25 +- src/ZN/docs/Remove-ZNSettingsConnectRegion.md | 20 +- src/ZN/docs/Remove-ZNSettingsConnectServer.md | 122 + ...emove-ZNSettingsConnectUserAccessConfig.md | 21 +- src/ZN/docs/Remove-ZNSettingsIdp.md | 24 +- .../docs/Remove-ZNSettingsJamfCredentials.md | 19 +- .../Remove-ZNSettingsMaintenanceWindow.md | 122 + src/ZN/docs/Remove-ZNSettingsMfaCache.md | 122 + .../docs/Remove-ZNSettingsPushNotification.md | 25 +- src/ZN/docs/Remove-ZNTagGroupsMember.md | 21 +- .../docs/Remove-ZNUserExternalAccessPolicy.md | 137 + src/ZN/docs/Remove-ZNUserIdentityRule.md | 21 +- src/ZN/docs/Remove-ZNUserMfaIdentityPolicy.md | 21 +- src/ZN/docs/Remove-ZNUsersManagedAsset.md | 21 +- src/ZN/docs/Revoke-ZNSession.md | 20 +- src/ZN/docs/Search-ZNAsset.md | 21 +- .../docs/Search-ZNAssetsNetworkSegmented.md | 92 + src/ZN/docs/Search-ZNGroupsExternalId.md | 112 + src/ZN/docs/Search-ZNUser.md | 21 +- src/ZN/docs/Set-ZNApiKey.md | 4 +- src/ZN/docs/Test-ZNAssetIdentityProtect.md | 27 +- src/ZN/docs/Test-ZNAssetIdentityUnprotect.md | 27 +- src/ZN/docs/Test-ZNAssetNetworkSegment.md | 32 +- src/ZN/docs/Test-ZNAssetNetworkUnprotect.md | 34 +- .../docs/Unprotect-ZNAssetIdentitySegment.md | 139 + .../docs/Unprotect-ZNAssetNetworkSegment.md | 27 +- .../docs/Unprotect-ZNAssetOtNetworkSegment.md | 27 +- src/ZN/docs/Unprotect-ZNAssetRpcSegment.md | 138 + .../docs/Unprotect-ZNUserIdentitySegment.md | 109 + .../docs/Update-ZNAiExclusionNetworkBoth.md | 21 +- .../docs/Update-ZNAiExclusionNetworkClient.md | 21 +- .../docs/Update-ZNAiExclusionNetworkServer.md | 21 +- src/ZN/docs/Update-ZNAssetActive.md | 27 +- .../Update-ZNAssetExternalAccessPolicy.md | 298 + src/ZN/docs/Update-ZNAssetIdentityRule.md | 2 +- src/ZN/docs/Update-ZNAssetInactive.md | 29 +- src/ZN/docs/Update-ZNAssetInboundRule.md | 4 +- src/ZN/docs/Update-ZNAssetManager.md | 167 + .../docs/Update-ZNAssetMfaIdentityPolicy.md | 21 +- src/ZN/docs/Update-ZNAssetMfaInboundPolicy.md | 26 +- .../docs/Update-ZNAssetMfaOutboundPolicy.md | 27 +- src/ZN/docs/Update-ZNAssetOSType.md | 159 + src/ZN/docs/Update-ZNAssetOt.md | 36 +- src/ZN/docs/Update-ZNAssetOtAssetManager.md | 167 + .../docs/Update-ZNAssetOutboundRestriction.md | 170 + src/ZN/docs/Update-ZNAssetOutboundRule.md | 27 +- .../Update-ZNAssetPreferredSegmentServer.md | 146 + src/ZN/docs/Update-ZNAssetRpcRule.md | 2 +- src/ZN/docs/Update-ZNAssetType.md | 20 +- src/ZN/docs/Update-ZNCustomGroup.md | 2 +- src/ZN/docs/Update-ZNExternalAccessPolicy.md | 282 + src/ZN/docs/Update-ZNGroupsAssetManager.md | 182 + .../Update-ZNGroupsExternalAccessPolicy.md | 313 + src/ZN/docs/Update-ZNGroupsIdentityRule.md | 2 +- src/ZN/docs/Update-ZNGroupsInboundRule.md | 4 +- src/ZN/docs/Update-ZNGroupsManagedAsset.md | 182 + .../docs/Update-ZNGroupsMfaIdentityPolicy.md | 21 +- .../docs/Update-ZNGroupsMfaInboundPolicy.md | 26 +- .../docs/Update-ZNGroupsMfaOutboundPolicy.md | 27 +- src/ZN/docs/Update-ZNGroupsOutboundRule.md | 27 +- src/ZN/docs/Update-ZNGroupsRpcRule.md | 2 +- .../docs/Update-ZNIdentityOnboardingPolicy.md | 225 + src/ZN/docs/Update-ZNIdentityRule.md | 2 +- src/ZN/docs/Update-ZNInboundRule.md | 4 +- src/ZN/docs/Update-ZNMfaIdentityPolicy.md | 21 +- src/ZN/docs/Update-ZNMfaInboundPolicy.md | 27 +- src/ZN/docs/Update-ZNMfaOutboundPolicy.md | 21 +- .../docs/Update-ZNNetworkOnboardingPolicy.md | 225 + src/ZN/docs/Update-ZNOutboundRule.md | 27 +- src/ZN/docs/Update-ZNRpcRule.md | 2 +- src/ZN/docs/Update-ZNSettingsAd.md | 41 +- src/ZN/docs/Update-ZNSettingsAdLinux.md | 213 + ...Update-ZNSettingsAdLinuxAutomationGroup.md | 137 + src/ZN/docs/Update-ZNSettingsAdSecondary.md | 23 +- ...date-ZNSettingsAdWindowsAutomationGroup.md | 153 + src/ZN/docs/Update-ZNSettingsAnsible.md | 27 +- src/ZN/docs/Update-ZNSettingsAuth.md | 20 +- src/ZN/docs/Update-ZNSettingsBreakGlass.md | 23 +- src/ZN/docs/Update-ZNSettingsClientSubnet.md | 25 +- ...Update-ZNSettingsClientsTrustedInternet.md | 23 +- ...date-ZNSettingsClientsUntrustedInternet.md | 23 +- .../docs/Update-ZNSettingsClusterStrategy.md | 21 +- ...pdate-ZNSettingsConnectClientAutoUpdate.md | 21 +- src/ZN/docs/Update-ZNSettingsConnectRegion.md | 23 +- src/ZN/docs/Update-ZNSettingsConnectServer.md | 21 +- ...pdate-ZNSettingsConnectUserAccessConfig.md | 24 +- .../Update-ZNSettingsDefaultApplication.md | 21 +- src/ZN/docs/Update-ZNSettingsFirewall.md | 20 +- .../Update-ZNSettingsFirewallIgnoredGpo.md | 21 +- .../Update-ZNSettingsFirewallIgnoredRule.md | 21 +- .../docs/Update-ZNSettingsFirewallProfile.md | 24 +- src/ZN/docs/Update-ZNSettingsIdp.md | 22 +- src/ZN/docs/Update-ZNSettingsInactiveAsset.md | 20 +- .../docs/Update-ZNSettingsInternalSubnet.md | 40 +- .../docs/Update-ZNSettingsJamfCredentials.md | 27 +- .../docs/Update-ZNSettingsLearningConfig.md | 21 +- src/ZN/docs/Update-ZNSettingsLinuxSetup.md | 24 +- src/ZN/docs/Update-ZNSettingsLinuxUser.md | 25 +- .../Update-ZNSettingsMaintenanceWindow.md | 184 + .../Update-ZNSettingsMfaAuthentication.md | 25 +- src/ZN/docs/Update-ZNSettingsMfaDetection.md | 20 +- src/ZN/docs/Update-ZNSettingsNotification.md | 21 +- .../docs/Update-ZNSettingsPrivilegedPort.md | 21 +- ...Update-ZNSettingsServersTrustedInternet.md | 23 +- ...date-ZNSettingsServersUntrustedInternet.md | 23 +- ...Update-ZNSettingsTrustedInternetAddress.md | 21 +- src/ZN/docs/Update-ZNSettingsZpa.md | 22 +- .../docs/Update-ZNUserExternalAccessPolicy.md | 298 + src/ZN/docs/Update-ZNUserIdentityRule.md | 2 +- src/ZN/docs/Update-ZNUserMfaIdentityPolicy.md | 21 +- src/ZN/docs/Update-ZNUserType.md | 37 +- src/ZN/docs/Update-ZNUsersManagedAsset.md | 167 + src/ZN/docs/ZeroNetworks.md | 362 +- .../examples/Deny-ZNAssetInboundRuleReview.md | 2 +- .../Deny-ZNAssetOutboundRuleReview.md | 2 +- src/ZN/examples/Deny-ZNInboundRuleReview.md | 2 +- src/ZN/examples/Deny-ZNOutboundRuleReview.md | 2 +- src/ZN/examples/Enable-ZNAssetQuarantine.md | 43 + src/ZN/examples/Get-ZNAeExclusionsInbound.md | 86 + src/ZN/examples/Get-ZNAeExclusionsOutbound.md | 46 + .../Get-ZNAssetExternalAccessPolicy.md | 61 + ...lAccessPolicyDestinationAssetsCandidate.md | 22 + ...ExternalAccessPolicySourceUserCandidate.md | 25 + ...t-ZNAssetExternalAccessPolicyStatistics.md | 12 + .../Get-ZNAssetMemberOfGroupCandidate.md | 14 + .../Get-ZNAssetOtMemberOfGroupCandidate.md | 15 + .../Get-ZNAssetOutboundRulesUserCandidate.md | 21 + .../Get-ZNAssetPreferredSegmentServer.md | 12 + src/ZN/examples/Get-ZNAssetsIdentityQueued.md | 12 + .../examples/Get-ZNAssetsNetworkSegmented.md | 22 + src/ZN/examples/Get-ZNAssetsProtected.md | 30 - src/ZN/examples/Get-ZNAssetsRpcQueued.md | 12 + src/ZN/examples/Get-ZNExternalAccessPolicy.md | 61 + ...lAccessPolicyDestinationAssetsCandidate.md | 21 + ...ExternalAccessPolicySourceUserCandidate.md | 25 + .../Get-ZNExternalAccessPolicyStatistics.md | 12 + .../Get-ZNGroupMemberOfGroupCandidate.md | 12 + .../Get-ZNGroupsExternalAccessPolicy.md | 61 + ...lAccessPolicyDestinationAssetsCandidate.md | 21 + ...ExternalAccessPolicySourceUserCandidate.md | 25 + ...-ZNGroupsExternalAccessPolicyStatistics.md | 12 + .../Get-ZNGroupsOutboundRulesUserCandidate.md | 21 + ...dentityOnboardingPoliciesGroupCandidate.md | 31 + .../Get-ZNIdentityOnboardingPolicy.md | 42 + ...NetworkOnboardingPoliciesGroupCandidate.md | 41 + .../examples/Get-ZNNetworkOnboardingPolicy.md | 31 + .../Get-ZNOutboundRulesUserCandidate.md | 21 + .../Get-ZNProtectionPoliciesGroupCandidate.md | 35 - src/ZN/examples/Get-ZNProtectionPolicy.md | 13 - src/ZN/examples/Get-ZNSettingsAd.md | 25 +- .../Get-ZNSettingsMaintenanceWindow.md | 41 + src/ZN/examples/Get-ZNSettingsMfaCache.md | 12 + .../Get-ZNSettingsMfaCacheCandidate.md | 40 + .../Get-ZNUserExternalAccessPolicy.md | 61 + ...lAccessPolicyDestinationAssetsCandidate.md | 21 + ...ExternalAccessPolicySourceUserCandidate.md | 25 + ...et-ZNUserExternalAccessPolicyStatistics.md | 12 + .../Get-ZNUserMemberOfGroupCandidate.md | 12 + src/ZN/examples/Get-ZNUsersInactive.md | 35 + src/ZN/examples/Get-ZNUsersPrivileged.md | 71 + .../Invoke-ZNAssetIdentityExtendQueue.md | 21 + .../examples/Invoke-ZNAssetIdentityQueue.md | 21 + .../examples/Invoke-ZNAssetRpcExtendQueue.md | 10 + src/ZN/examples/Invoke-ZNAssetRpcQueue.md | 10 + src/ZN/examples/Invoke-ZNMirrorAsset.md | 10 + .../New-ZNAssetExternalAccessPolicy.md | 33 + src/ZN/examples/New-ZNExternalAccessPolicy.md | 33 + .../New-ZNGroupsExternalAccessPolicy.md | 32 + .../New-ZNIdentityOnboardingPolicy.md | 31 + .../examples/New-ZNNetworkOnboardingPolicy.md | 31 + src/ZN/examples/New-ZNProtectionPolicy.md | 12 - .../New-ZNSettingsMaintenanceWindow.md | 20 + src/ZN/examples/New-ZNSettingsMfaCache.md | 12 + .../New-ZNUserExternalAccessPolicy.md | 33 + ...y.md => Protect-ZNAssetIdentitySegment.md} | 6 +- ...egment.md => Protect-ZNAssetRpcSegment.md} | 6 +- ...ty.md => Protect-ZNUserIdentitySegment.md} | 2 +- src/ZN/examples/Read-ZNJWTtoken.md | 19 + .../examples/Remove-ZNAeExclusionsInbound.md | 10 + .../examples/Remove-ZNAeExclusionsOutbound.md | 10 + .../Remove-ZNAssetExternalAccessPolicy.md | 10 + .../examples/Remove-ZNExternalAccessPolicy.md | 10 + .../Remove-ZNGroupsExternalAccessPolicy.md | 10 + .../Remove-ZNIdentityOnboardingPolicy.md | 10 + .../Remove-ZNNetworkOnboardingPolicy.md | 10 + src/ZN/examples/Remove-ZNProtectionPolicy.md | 10 - src/ZN/examples/Remove-ZNSettingsAdLinux.md | 10 + .../Remove-ZNSettingsConnectServer.md | 10 + .../Remove-ZNSettingsMaintenanceWindow.md | 10 + src/ZN/examples/Remove-ZNSettingsMfaCache.md | 10 + .../Remove-ZNUserExternalAccessPolicy.md | 10 + src/ZN/examples/Search-ZNAssetProtected.md | 10 - .../Search-ZNAssetsNetworkSegmented.md | 22 + src/ZN/examples/Search-ZNGroupsExternalId.md | 25 + ...md => Unprotect-ZNAssetIdentitySegment.md} | 6 +- ...ment.md => Unprotect-ZNAssetRpcSegment.md} | 6 +- ....md => Unprotect-ZNUserIdentitySegment.md} | 2 +- .../Update-ZNAssetExternalAccessPolicy.md | 30 + src/ZN/examples/Update-ZNAssetManager.md | 22 + src/ZN/examples/Update-ZNAssetOSType.md | 10 + .../examples/Update-ZNAssetOtAssetManager.md | 22 + .../Update-ZNAssetOutboundRestriction.md | 22 + .../Update-ZNAssetPreferredSegmentServer.md | 10 + .../examples/Update-ZNExternalAccessPolicy.md | 30 + .../examples/Update-ZNGroupsAssetManager.md | 22 + .../Update-ZNGroupsExternalAccessPolicy.md | 30 + .../examples/Update-ZNGroupsManagedAsset.md | 22 + .../Update-ZNIdentityOnboardingPolicy.md | 31 + .../Update-ZNNetworkOnboardingPolicy.md | 31 + src/ZN/examples/Update-ZNProtectionPolicy.md | 24 - .../Update-ZNSettingsAdAutomationGroup.md | 12 - src/ZN/examples/Update-ZNSettingsAdLinux.md | 10 + ...Update-ZNSettingsAdLinuxAutomationGroup.md | 10 + ...date-ZNSettingsAdWindowsAutomationGroup.md | 10 + .../Update-ZNSettingsMaintenanceWindow.md | 20 + .../Update-ZNUserExternalAccessPolicy.md | 30 + src/ZN/examples/Update-ZNUsersManagedAsset.md | 22 + src/ZN/test/Add-ZNAssetManager.Tests.ps1 | 2 +- .../test/Add-ZNAssetOtAssetManager.Tests.ps1 | 2 +- .../test/Add-ZNCustomGroupsMember.Tests.ps1 | 2 +- .../test/Add-ZNGroupsAssetManager.Tests.ps1 | 2 +- .../test/Add-ZNGroupsManagedAsset.Tests.ps1 | 2 +- src/ZN/test/Add-ZNUsersManagedAsset.Tests.ps1 | 2 +- ...Approve-ZNAssetInboundRuleReview.Tests.ps1 | 2 +- ...pprove-ZNAssetOutboundRuleReview.Tests.ps1 | 2 +- .../Approve-ZNInboundRuleReview.Tests.ps1 | 2 +- .../Approve-ZNOutboundRuleReview.Tests.ps1 | 2 +- .../Deny-ZNAssetInboundRuleReview.Tests.ps1 | 2 +- .../Deny-ZNAssetOutboundRuleReview.Tests.ps1 | 2 +- .../test/Deny-ZNInboundRuleReview.Tests.ps1 | 2 +- .../test/Deny-ZNOutboundRuleReview.Tests.ps1 | 2 +- .../test/Enable-ZNAssetQuarantine.Tests.ps1 | 33 + ...s1 => Get-ZNAeExclusionsInbound.Tests.ps1} | 8 +- .../test/Get-ZNAeExclusionsOutbound.Tests.ps1 | 21 + .../Get-ZNAiExclusionNetworkBoth.Tests.ps1 | 2 +- .../Get-ZNAiExclusionNetworkClient.Tests.ps1 | 2 +- .../Get-ZNAiExclusionNetworkServer.Tests.ps1 | 2 +- ...Get-ZNAiExclusionSourceCandidate.Tests.ps1 | 2 +- .../Get-ZNAiExclusionSourceEntity.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAiNextBatch.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetAnalysis.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetClusterInfo.Tests.ps1 | 5 +- .../Get-ZNAssetExternalAccessPolicy.Tests.ps1 | 29 + ...PolicyDestinationAssetsCandidate.Tests.ps1 | 22 + ...lAccessPolicySourceUserCandidate.Tests.ps1 | 22 + ...etExternalAccessPolicyStatistics.Tests.ps1 | 22 + src/ZN/test/Get-ZNAssetHealthState.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetIdentityRule.Tests.ps1 | 2 +- ...ssetIdentityRulesAssetsCandidate.Tests.ps1 | 2 +- ...tityRulesExcludedAssetsCandidate.Tests.ps1 | 2 +- ...NAssetIdentityRulesUserCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetInboundRule.Tests.ps1 | 6 +- ...InboundRulesDestinationCandidate.Tests.ps1 | 2 +- ...ulesExcludedDestinationCandidate.Tests.ps1 | 2 +- ...AssetInboundRulesSourceCandidate.Tests.ps1 | 2 +- .../test/Get-ZNAssetListeningPort.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetManager.Tests.ps1 | 4 +- .../Get-ZNAssetManagersCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetMemberOf.Tests.ps1 | 2 +- ...et-ZNAssetMemberOfGroupCandidate.Tests.ps1 | 22 + ...tityPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...yPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...ssetMfaIdentityPoliciesMfamethod.Tests.ps1 | 2 +- ...aIdentityPoliciesSourceCandidate.Tests.ps1 | 2 +- ...ntityPoliciesSourceUserCandidate.Tests.ps1 | 2 +- .../Get-ZNAssetMfaIdentityPolicy.Tests.ps1 | 4 +- ...oundPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...dPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...AssetMfaInboundPoliciesMfamethod.Tests.ps1 | 2 +- ...faInboundPoliciesSourceCandidate.Tests.ps1 | 2 +- ...boundPoliciesSourceUserCandidate.Tests.ps1 | 2 +- .../Get-ZNAssetMfaInboundPolicy.Tests.ps1 | 8 +- ...oundPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...dPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...ssetMfaOutboundPoliciesMfamethod.Tests.ps1 | 2 +- ...aOutboundPoliciesSourceCandidate.Tests.ps1 | 2 +- ...boundPoliciesSourceUserCandidate.Tests.ps1 | 2 +- .../Get-ZNAssetMfaOutboundPolicy.Tests.ps1 | 8 +- src/ZN/test/Get-ZNAssetOt.Tests.ps1 | 2 +- .../test/Get-ZNAssetOtAssetManager.Tests.ps1 | 4 +- ...-ZNAssetOtAssetManagersCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetOtMemberOf.Tests.ps1 | 2 +- ...-ZNAssetOtMemberOfGroupCandidate.Tests.ps1 | 22 + src/ZN/test/Get-ZNAssetOtTag.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetOutboundRule.Tests.ps1 | 4 +- ...utboundRulesDestinationCandidate.Tests.ps1 | 2 +- ...oundRulesExcludedSourceCandidate.Tests.ps1 | 4 +- ...ssetOutboundRulesSourceCandidate.Tests.ps1 | 4 +- ...NAssetOutboundRulesUserCandidate.Tests.ps1 | 22 + ...et-ZNAssetPreferredSegmentServer.Tests.ps1 | 22 + src/ZN/test/Get-ZNAssetRpcRule.Tests.ps1 | 2 +- .../Get-ZNAssetRulesDistribution.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetTag.Tests.ps1 | 2 +- .../test/Get-ZNAssetsIdentityQueued.Tests.ps1 | 26 + .../Get-ZNAssetsIdentitySegmented.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetsMonitored.Tests.ps1 | 2 +- .../Get-ZNAssetsNetworkSegmented.Tests.ps1 | 21 + src/ZN/test/Get-ZNAssetsOt.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetsProtected.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetsRpcQueued.Tests.ps1 | 21 + .../Get-ZNAssetsStatesStatistics.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAssetsStatistics.Tests.ps1 | 2 +- src/ZN/test/Get-ZNAudit.Tests.ps1 | 2 +- .../Get-ZNCustomGroupsCandidate.Tests.ps1 | 2 +- .../test/Get-ZNExternalAccessPolicy.Tests.ps1 | 27 + ...PolicyDestinationAssetsCandidate.Tests.ps1 | 21 + ...lAccessPolicySourceUserCandidate.Tests.ps1 | 21 + ...ZNExternalAccessPolicyStatistics.Tests.ps1 | 21 + src/ZN/test/Get-ZNGroupAudit.Tests.ps1 | 2 +- src/ZN/test/Get-ZNGroupMemberOf.Tests.ps1 | 2 +- ...et-ZNGroupMemberOfGroupCandidate.Tests.ps1 | 22 + .../test/Get-ZNGroupsAssetManager.Tests.ps1 | 2 +- ...t-ZNGroupsAssetManagersCandidate.Tests.ps1 | 2 +- ...Get-ZNGroupsExternalAccessPolicy.Tests.ps1 | 29 + ...PolicyDestinationAssetsCandidate.Tests.ps1 | 22 + ...lAccessPolicySourceUserCandidate.Tests.ps1 | 22 + ...psExternalAccessPolicyStatistics.Tests.ps1 | 22 + ...oupsIdentityRulesAssetsCandidate.Tests.ps1 | 2 +- ...tityRulesExcludedAssetsCandidate.Tests.ps1 | 2 +- ...GroupsIdentityRulesUserCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNGroupsInboundRule.Tests.ps1 | 6 +- ...InboundRulesDestinationCandidate.Tests.ps1 | 2 +- ...ulesExcludedDestinationCandidate.Tests.ps1 | 2 +- ...roupsInboundRulesSourceCandidate.Tests.ps1 | 2 +- .../test/Get-ZNGroupsManagedAsset.Tests.ps1 | 2 +- ...t-ZNGroupsManagedAssetsCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNGroupsMember.Tests.ps1 | 2 +- ...tityPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...yPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...oupsMfaIdentityPoliciesMfamethod.Tests.ps1 | 2 +- ...aIdentityPoliciesSourceCandidate.Tests.ps1 | 2 +- ...ntityPoliciesSourceUserCandidate.Tests.ps1 | 2 +- .../Get-ZNGroupsMfaIdentityPolicy.Tests.ps1 | 4 +- ...oundPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...dPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...roupsMfaInboundPoliciesMfamethod.Tests.ps1 | 2 +- ...faInboundPoliciesSourceCandidate.Tests.ps1 | 2 +- ...boundPoliciesSourceUserCandidate.Tests.ps1 | 2 +- .../Get-ZNGroupsMfaInboundPolicy.Tests.ps1 | 8 +- ...oundPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...dPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...oupsMfaOutboundPoliciesMfamethod.Tests.ps1 | 2 +- ...aOutboundPoliciesSourceCandidate.Tests.ps1 | 2 +- ...boundPoliciesSourceUserCandidate.Tests.ps1 | 2 +- .../Get-ZNGroupsMfaOutboundPolicy.Tests.ps1 | 8 +- .../test/Get-ZNGroupsOutboundRule.Tests.ps1 | 6 +- ...utboundRulesDestinationCandidate.Tests.ps1 | 2 +- ...oundRulesExcludedSourceCandidate.Tests.ps1 | 2 +- ...oupsOutboundRulesSourceCandidate.Tests.ps1 | 2 +- ...GroupsOutboundRulesUserCandidate.Tests.ps1 | 22 + src/ZN/test/Get-ZNGroupsRpcRule.Tests.ps1 | 2 +- .../Get-ZNGroupsRulesDistribution.Tests.ps1 | 2 +- src/ZN/test/Get-ZNGroupsStatistics.Tests.ps1 | 2 +- ...OnboardingPoliciesGroupCandidate.Tests.ps1 | 21 + .../Get-ZNIdentityOnboardingPolicy.Tests.ps1 | 21 + ...t-ZNIdentityRulesAssetsCandidate.Tests.ps1 | 2 +- ...tityRulesExcludedAssetsCandidate.Tests.ps1 | 2 +- ...Get-ZNIdentityRulesUserCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNInboundRule.Tests.ps1 | 6 +- ...InboundRulesDestinationCandidate.Tests.ps1 | 2 +- ...ulesExcludedDestinationCandidate.Tests.ps1 | 2 +- ...et-ZNInboundRulesSourceCandidate.Tests.ps1 | 2 +- ...tityPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...yPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...t-ZNMfaIdentityPoliciesMfamethod.Tests.ps1 | 2 +- ...aIdentityPoliciesSourceCandidate.Tests.ps1 | 2 +- ...ntityPoliciesSourceUserCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNMfaIdentityPolicy.Tests.ps1 | 4 +- ...oundPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...dPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...et-ZNMfaInboundPoliciesMfamethod.Tests.ps1 | 2 +- ...faInboundPoliciesSourceCandidate.Tests.ps1 | 2 +- ...boundPoliciesSourceUserCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNMfaInboundPolicy.Tests.ps1 | 8 +- ...oundPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...dPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...t-ZNMfaOutboundPoliciesMfamethod.Tests.ps1 | 2 +- ...aOutboundPoliciesSourceCandidate.Tests.ps1 | 2 +- ...boundPoliciesSourceUserCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNMfaOutboundPolicy.Tests.ps1 | 8 +- .../Get-ZNMfaPoliciesDistribution.Tests.ps1 | 2 +- .../Get-ZNMfaPoliciesStatistics.Tests.ps1 | 2 +- ...OnboardingPoliciesGroupCandidate.Tests.ps1 | 21 + .../Get-ZNNetworkOnboardingPolicy.Tests.ps1 | 21 + src/ZN/test/Get-ZNOutboundRule.Tests.ps1 | 4 +- ...utboundRulesDestinationCandidate.Tests.ps1 | 2 +- ...oundRulesExcludedSourceCandidate.Tests.ps1 | 2 +- ...t-ZNOutboundRulesSourceCandidate.Tests.ps1 | 2 +- ...Get-ZNOutboundRulesUserCandidate.Tests.ps1 | 21 + src/ZN/test/Get-ZNRpcRule.Tests.ps1 | 2 +- src/ZN/test/Get-ZNRulesDistribution.Tests.ps1 | 2 +- src/ZN/test/Get-ZNRulesStatistics.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSegmentServer.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsAad.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsAd.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsAnsible.Tests.ps1 | 2 +- .../test/Get-ZNSettingsAssetManager.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsAuth.Tests.ps1 | 2 +- .../test/Get-ZNSettingsBreakGlass.Tests.ps1 | 2 +- .../test/Get-ZNSettingsClientSubnet.Tests.ps1 | 2 +- ...ZNSettingsClientsTrustedInternet.Tests.ps1 | 2 +- ...SettingsClientsUntrustedInternet.Tests.ps1 | 2 +- ...NSettingsConnectClientAutoUpdate.Tests.ps1 | 2 +- ...essConfigExcludedAssetsCandidate.Tests.ps1 | 2 +- ...Get-ZNSettingsDefaultApplication.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsFirewall.Tests.ps1 | 2 +- ...Get-ZNSettingsFirewallIgnoredGpo.Tests.ps1 | 2 +- ...et-ZNSettingsFirewallIgnoredRule.Tests.ps1 | 2 +- .../Get-ZNSettingsFirewallProfile.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsIdp.Tests.ps1 | 2 +- .../Get-ZNSettingsInactiveAsset.Tests.ps1 | 2 +- .../Get-ZNSettingsInternalSubnet.Tests.ps1 | 2 +- .../Get-ZNSettingsLearningConfig.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsLicense.Tests.ps1 | 2 +- .../test/Get-ZNSettingsLinuxSetup.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsLinuxUser.Tests.ps1 | 2 +- .../Get-ZNSettingsMaintenanceWindow.Tests.ps1 | 27 + .../Get-ZNSettingsMfaAuthentication.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsMfaCache.Tests.ps1 | 21 + .../Get-ZNSettingsMfaCacheCandidate.Tests.ps1 | 21 + .../test/Get-ZNSettingsMfaDetection.Tests.ps1 | 2 +- .../test/Get-ZNSettingsNotification.Tests.ps1 | 2 +- .../Get-ZNSettingsPrivilegedPort.Tests.ps1 | 2 +- ...ZNSettingsServersTrustedInternet.Tests.ps1 | 2 +- ...SettingsServersUntrustedInternet.Tests.ps1 | 2 +- ...ZNSettingsTrustedInternetAddress.Tests.ps1 | 2 +- src/ZN/test/Get-ZNSettingsZpa.Tests.ps1 | 2 +- .../test/Get-ZNTagGroupsCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNUser.Tests.ps1 | 2 +- src/ZN/test/Get-ZNUserAudit.Tests.ps1 | 2 +- .../Get-ZNUserExternalAccessPolicy.Tests.ps1 | 29 + ...PolicyDestinationAssetsCandidate.Tests.ps1 | 22 + ...lAccessPolicySourceUserCandidate.Tests.ps1 | 22 + ...erExternalAccessPolicyStatistics.Tests.ps1 | 22 + ...UserIdentityRulesAssetsCandidate.Tests.ps1 | 2 +- ...tityRulesExcludedAssetsCandidate.Tests.ps1 | 2 +- ...ZNUserIdentityRulesUserCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNUserMemberOf.Tests.ps1 | 4 +- ...Get-ZNUserMemberOfGroupCandidate.Tests.ps1 | 22 + ...tityPoliciesDestinationCandidate.Tests.ps1 | 2 +- ...yPoliciesExcludedSourceCandidate.Tests.ps1 | 2 +- ...UserMfaIdentityPoliciesMfamethod.Tests.ps1 | 2 +- ...aIdentityPoliciesSourceCandidate.Tests.ps1 | 2 +- ...ntityPoliciesSourceUserCandidate.Tests.ps1 | 2 +- .../Get-ZNUserMfaIdentityPolicy.Tests.ps1 | 4 +- src/ZN/test/Get-ZNUserStatistics.Tests.ps1 | 2 +- .../test/Get-ZNUsersIdentityQueued.Tests.ps1 | 4 +- .../Get-ZNUsersIdentitySegmented.Tests.ps1 | 4 +- ...ests.ps1 => Get-ZNUsersInactive.Tests.ps1} | 8 +- src/ZN/test/Get-ZNUsersManagedAsset.Tests.ps1 | 2 +- ...et-ZNUsersManagedAssetsCandidate.Tests.ps1 | 2 +- src/ZN/test/Get-ZNUsersPrivileged.Tests.ps1 | 21 + ...nvoke-ZNAssetIdentityExtendQueue.Tests.ps1 | 31 + .../Invoke-ZNAssetIdentityQueue.Tests.ps1 | 29 + .../Invoke-ZNAssetRpcExtendQueue.Tests.ps1 | 29 + src/ZN/test/Invoke-ZNAssetRpcQueue.Tests.ps1 | 28 + ...NDownloadCloudConnectorInstaller.Tests.ps1 | 2 +- .../Invoke-ZNDownloadConnectClient.Tests.ps1 | 2 +- .../Invoke-ZNDownloadConnectServer.Tests.ps1 | 2 +- .../Invoke-ZNDownloadSegmentServer.Tests.ps1 | 2 +- src/ZN/test/Invoke-ZNEncodeEntityIP.Tests.ps1 | 2 +- .../Invoke-ZNEncodeEntityIPRange.Tests.ps1 | 2 +- .../Invoke-ZNEncodeEntitySubnet.Tests.ps1 | 2 +- src/ZN/test/Invoke-ZNMirrorAsset.Tests.ps1 | 25 + .../test/Invoke-ZNUserIdentityQueue.Tests.ps1 | 2 +- .../New-ZNAssetExternalAccessPolicy.Tests.ps1 | 27 + src/ZN/test/New-ZNAssetInboundRule.Tests.ps1 | 2 +- .../New-ZNAssetMfaIdentityPolicy.Tests.ps1 | 4 +- .../New-ZNAssetMfaInboundPolicy.Tests.ps1 | 4 +- .../New-ZNAssetMfaOutboundPolicy.Tests.ps1 | 4 +- src/ZN/test/New-ZNAssetOutboundRule.Tests.ps1 | 2 +- src/ZN/test/New-ZNAssetRpcRule.Tests.ps1 | 4 +- src/ZN/test/New-ZNAssetsOt.Tests.ps1 | 4 +- .../test/New-ZNExternalAccessPolicy.Tests.ps1 | 26 + ...New-ZNGroupsExternalAccessPolicy.Tests.ps1 | 26 + src/ZN/test/New-ZNGroupsInboundRule.Tests.ps1 | 2 +- .../New-ZNGroupsMfaIdentityPolicy.Tests.ps1 | 4 +- .../New-ZNGroupsMfaInboundPolicy.Tests.ps1 | 4 +- .../New-ZNGroupsMfaOutboundPolicy.Tests.ps1 | 4 +- .../test/New-ZNGroupsOutboundRule.Tests.ps1 | 2 +- src/ZN/test/New-ZNGroupsRpcRule.Tests.ps1 | 4 +- .../New-ZNIdentityOnboardingPolicy.Tests.ps1 | 24 + src/ZN/test/New-ZNInboundRule.Tests.ps1 | 2 +- src/ZN/test/New-ZNMfaIdentityPolicy.Tests.ps1 | 4 +- src/ZN/test/New-ZNMfaInboundPolicy.Tests.ps1 | 4 +- src/ZN/test/New-ZNMfaOutboundPolicy.Tests.ps1 | 4 +- .../New-ZNNetworkOnboardingPolicy.Tests.ps1 | 24 + src/ZN/test/New-ZNOutboundRule.Tests.ps1 | 3 +- src/ZN/test/New-ZNProtectionPolicy.Tests.ps1 | 24 - src/ZN/test/New-ZNRpcRule.Tests.ps1 | 4 +- .../New-ZNSettingsMaintenanceWindow.Tests.ps1 | 23 + src/ZN/test/New-ZNSettingsMfaCache.Tests.ps1 | 23 + .../New-ZNUserExternalAccessPolicy.Tests.ps1 | 26 + .../New-ZNUserMfaIdentityPolicy.Tests.ps1 | 4 +- ... Protect-ZNAssetIdentitySegment.Tests.ps1} | 14 +- ...s1 => Protect-ZNAssetRpcSegment.Tests.ps1} | 22 +- ...> Protect-ZNUserIdentitySegment.Tests.ps1} | 10 +- src/ZN/test/Read-ZNJWTtoken.Tests.ps1 | 21 + .../Remove-ZNAeExclusionsInbound.Tests.ps1 | 23 + .../Remove-ZNAeExclusionsOutbound.Tests.ps1 | 23 + ...move-ZNAssetExternalAccessPolicy.Tests.ps1 | 25 + .../test/Remove-ZNAssetInboundRule.Tests.ps1 | 2 +- src/ZN/test/Remove-ZNAssetManager.Tests.ps1 | 2 +- .../Remove-ZNAssetMfaIdentityPolicy.Tests.ps1 | 2 +- .../Remove-ZNAssetMfaInboundPolicy.Tests.ps1 | 2 +- .../Remove-ZNAssetMfaOutboundPolicy.Tests.ps1 | 2 +- .../Remove-ZNAssetOtAssetManager.Tests.ps1 | 2 +- .../test/Remove-ZNAssetOutboundRule.Tests.ps1 | 2 +- src/ZN/test/Remove-ZNAssetRpcRule.Tests.ps1 | 2 +- .../Remove-ZNExternalAccessPolicy.Tests.ps1 | 25 + .../Remove-ZNGroupsAssetManager.Tests.ps1 | 2 +- ...ove-ZNGroupsExternalAccessPolicy.Tests.ps1 | 25 + .../test/Remove-ZNGroupsInboundRule.Tests.ps1 | 2 +- .../Remove-ZNGroupsManagedAsset.Tests.ps1 | 2 +- ...Remove-ZNGroupsMfaIdentityPolicy.Tests.ps1 | 2 +- .../Remove-ZNGroupsMfaInboundPolicy.Tests.ps1 | 2 +- ...Remove-ZNGroupsMfaOutboundPolicy.Tests.ps1 | 2 +- .../Remove-ZNGroupsOutboundRule.Tests.ps1 | 2 +- src/ZN/test/Remove-ZNGroupsRpcRule.Tests.ps1 | 2 +- ...emove-ZNIdentityOnboardingPolicy.Tests.ps1 | 23 + src/ZN/test/Remove-ZNInboundRule.Tests.ps1 | 2 +- .../test/Remove-ZNMfaIdentityPolicy.Tests.ps1 | 4 +- .../test/Remove-ZNMfaInboundPolicy.Tests.ps1 | 2 +- .../test/Remove-ZNMfaOutboundPolicy.Tests.ps1 | 2 +- ...Remove-ZNNetworkOnboardingPolicy.Tests.ps1 | 23 + src/ZN/test/Remove-ZNOutboundRule.Tests.ps1 | 2 +- .../test/Remove-ZNProtectionPolicy.Tests.ps1 | 23 - src/ZN/test/Remove-ZNRpcRule.Tests.ps1 | 2 +- .../test/Remove-ZNSettingsAdLinux.Tests.ps1 | 25 + .../Remove-ZNSettingsConnectServer.Tests.ps1 | 23 + ...move-ZNSettingsMaintenanceWindow.Tests.ps1 | 22 + .../test/Remove-ZNSettingsMfaCache.Tests.ps1 | 22 + ...emove-ZNUserExternalAccessPolicy.Tests.ps1 | 25 + .../Remove-ZNUserMfaIdentityPolicy.Tests.ps1 | 2 +- .../test/Remove-ZNUsersManagedAsset.Tests.ps1 | 2 +- src/ZN/test/Search-ZNAssetProtected.Tests.ps1 | 18 - .../Search-ZNAssetsNetworkSegmented.Tests.ps1 | 21 + .../test/Search-ZNGroupsExternalId.Tests.ps1 | 24 + ...nprotect-ZNAssetIdentitySegment.Tests.ps1} | 14 +- ... => Unprotect-ZNAssetRpcSegment.Tests.ps1} | 20 +- ...Unprotect-ZNUserIdentitySegment.Tests.ps1} | 10 +- src/ZN/test/Update-ZNAssetActive.Tests.ps1 | 4 +- ...date-ZNAssetExternalAccessPolicy.Tests.ps1 | 30 + src/ZN/test/Update-ZNAssetInactive.Tests.ps1 | 18 +- .../test/Update-ZNAssetInboundRule.Tests.ps1 | 8 +- src/ZN/test/Update-ZNAssetManager.Tests.ps1 | 29 + .../Update-ZNAssetMfaIdentityPolicy.Tests.ps1 | 2 +- .../Update-ZNAssetMfaInboundPolicy.Tests.ps1 | 2 +- .../Update-ZNAssetMfaOutboundPolicy.Tests.ps1 | 2 +- src/ZN/test/Update-ZNAssetOSType.Tests.ps1 | 23 + .../Update-ZNAssetOtAssetManager.Tests.ps1 | 28 + ...pdate-ZNAssetOutboundRestriction.Tests.ps1 | 23 + .../test/Update-ZNAssetOutboundRule.Tests.ps1 | 7 +- ...te-ZNAssetPreferredSegmentServer.Tests.ps1 | 30 + src/ZN/test/Update-ZNAssetRpcRule.Tests.ps1 | 2 +- src/ZN/test/Update-ZNAssetType.Tests.ps1 | 18 +- .../Update-ZNExternalAccessPolicy.Tests.ps1 | 30 + .../Update-ZNGroupsAssetManager.Tests.ps1 | 30 + ...ate-ZNGroupsExternalAccessPolicy.Tests.ps1 | 29 + .../test/Update-ZNGroupsInboundRule.Tests.ps1 | 8 +- .../Update-ZNGroupsManagedAsset.Tests.ps1 | 21 + ...Update-ZNGroupsMfaIdentityPolicy.Tests.ps1 | 2 +- .../Update-ZNGroupsMfaInboundPolicy.Tests.ps1 | 2 +- ...Update-ZNGroupsMfaOutboundPolicy.Tests.ps1 | 2 +- .../Update-ZNGroupsOutboundRule.Tests.ps1 | 7 +- src/ZN/test/Update-ZNGroupsRpcRule.Tests.ps1 | 2 +- ...pdate-ZNIdentityOnboardingPolicy.Tests.ps1 | 25 + src/ZN/test/Update-ZNInboundRule.Tests.ps1 | 5 +- .../test/Update-ZNMfaIdentityPolicy.Tests.ps1 | 2 +- .../test/Update-ZNMfaInboundPolicy.Tests.ps1 | 2 +- .../test/Update-ZNMfaOutboundPolicy.Tests.ps1 | 2 +- ...Update-ZNNetworkOnboardingPolicy.Tests.ps1 | 25 + src/ZN/test/Update-ZNOutboundRule.Tests.ps1 | 5 +- .../test/Update-ZNProtectionPolicy.Tests.ps1 | 31 - src/ZN/test/Update-ZNRpcRule.Tests.ps1 | 2 +- .../test/Update-ZNSettingsAdLinux.Tests.ps1 | 25 + ...ZNSettingsAdLinuxAutomationGroup.Tests.ps1 | 26 + ...ettingsAdWindowsAutomationGroup.Tests.ps1} | 11 +- .../Update-ZNSettingsClientSubnet.Tests.ps1 | 4 +- .../Update-ZNSettingsInternalSubnet.Tests.ps1 | 4 +- ...date-ZNSettingsMaintenanceWindow.Tests.ps1 | 25 + ...pdate-ZNUserExternalAccessPolicy.Tests.ps1 | 29 + .../Update-ZNUserMfaIdentityPolicy.Tests.ps1 | 2 +- ...1 => Update-ZNUsersManagedAsset.Tests.ps1} | 8 +- src/ZN/test/localEnv.json | 2 +- src/ZN/test/utils.ps1 | 86 +- src/cmdlets/0.0.13-preview-syntax.md | 2306 ++ src/cmdlets/0.0.13-preview.md | 440 + src/cmdlets/0.0.14-preview-syntax.md | 2307 ++ src/cmdlets/0.0.14-preview.md | 440 + src/cmdlets/0.0.15-preview-syntax.md | 2607 ++ src/cmdlets/0.0.15-preview.md | 497 + src/openapi.yaml | 26996 ++++++++++------ src/readme.noprofile.md | 2 +- tools/Build-ModuleWithAutorest.ps1 | 25 +- 1553 files changed, 141925 insertions(+), 12510 deletions(-) create mode 100644 help/zeronetworks/Add-ZNAssetManager.md create mode 100644 help/zeronetworks/Add-ZNAssetOtAssetManager.md create mode 100644 help/zeronetworks/Add-ZNAssetRpcMonitoring.md rename {src/ZN/docs => help/zeronetworks}/Add-ZNAssetRpcSegment.md (77%) create mode 100644 help/zeronetworks/Add-ZNCustomGroupsMember.md create mode 100644 help/zeronetworks/Add-ZNGroupsAssetManager.md create mode 100644 help/zeronetworks/Add-ZNGroupsManagedAsset.md create mode 100644 help/zeronetworks/Add-ZNTagGroupsMember.md create mode 100644 help/zeronetworks/Add-ZNUsersManagedAsset.md create mode 100644 help/zeronetworks/Approve-ZNAssetInboundRuleReview.md create mode 100644 help/zeronetworks/Approve-ZNAssetOutboundRuleReview.md create mode 100644 help/zeronetworks/Approve-ZNInboundRuleReview.md create mode 100644 help/zeronetworks/Approve-ZNOutboundRuleReview.md create mode 100644 help/zeronetworks/Connect-ZN.md create mode 100644 help/zeronetworks/Deny-ZNAssetInboundRuleReview.md create mode 100644 help/zeronetworks/Deny-ZNAssetOutboundRuleReview.md create mode 100644 help/zeronetworks/Deny-ZNInboundRuleReview.md create mode 100644 help/zeronetworks/Deny-ZNOutboundRuleReview.md create mode 100644 help/zeronetworks/Disconnect-ZN.md create mode 100644 help/zeronetworks/Enable-ZNAssetQuarantine.md create mode 100644 help/zeronetworks/Enable-ZNAssetsQuarantine.md create mode 100644 help/zeronetworks/Get-ZNAeExclusionsInbound.md create mode 100644 help/zeronetworks/Get-ZNAeExclusionsOutbound.md create mode 100644 help/zeronetworks/Get-ZNAiExclusionNetworkBoth.md create mode 100644 help/zeronetworks/Get-ZNAiExclusionNetworkClient.md create mode 100644 help/zeronetworks/Get-ZNAiExclusionNetworkServer.md create mode 100644 help/zeronetworks/Get-ZNAiExclusionSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAiExclusionSourceEntity.md create mode 100644 help/zeronetworks/Get-ZNAiNextBatch.md create mode 100644 help/zeronetworks/Get-ZNAsset.md create mode 100644 help/zeronetworks/Get-ZNAssetAnalysis.md create mode 100644 help/zeronetworks/Get-ZNAssetAudit.md create mode 100644 help/zeronetworks/Get-ZNAssetClusterInfo.md create mode 100644 help/zeronetworks/Get-ZNAssetExternalAccessPolicy.md create mode 100644 help/zeronetworks/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetExternalAccessPolicyStatistics.md create mode 100644 help/zeronetworks/Get-ZNAssetHealthState.md create mode 100644 help/zeronetworks/Get-ZNAssetIdentityRule.md create mode 100644 help/zeronetworks/Get-ZNAssetIdentityRulesAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetIdentityRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetInboundRule.md create mode 100644 help/zeronetworks/Get-ZNAssetInboundRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetInboundRulesExcludedDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetInboundRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetListeningPort.md create mode 100644 help/zeronetworks/Get-ZNAssetManager.md create mode 100644 help/zeronetworks/Get-ZNAssetManagersCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMemberOf.md create mode 100644 help/zeronetworks/Get-ZNAssetMemberOfGroupCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaInboundPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaInboundPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaInboundPolicy.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Get-ZNAssetOt.md create mode 100644 help/zeronetworks/Get-ZNAssetOtAssetManager.md create mode 100644 help/zeronetworks/Get-ZNAssetOtAssetManagersCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetOtAudit.md create mode 100644 help/zeronetworks/Get-ZNAssetOtMemberOf.md create mode 100644 help/zeronetworks/Get-ZNAssetOtMemberOfGroupCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetOtOutboundRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetOtTag.md create mode 100644 help/zeronetworks/Get-ZNAssetOutboundRule.md create mode 100644 help/zeronetworks/Get-ZNAssetOutboundRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetOutboundRulesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetOutboundRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetOutboundRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetPreferredSegmentServer.md create mode 100644 help/zeronetworks/Get-ZNAssetRpcRule.md create mode 100644 help/zeronetworks/Get-ZNAssetRpcRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetRpcRulesExcludedDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetRpcRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetRpcRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNAssetRulesDistribution.md create mode 100644 help/zeronetworks/Get-ZNAssetTag.md create mode 100644 help/zeronetworks/Get-ZNAssetsIdentityQueued.md create mode 100644 help/zeronetworks/Get-ZNAssetsIdentitySegmented.md create mode 100644 help/zeronetworks/Get-ZNAssetsInactive.md create mode 100644 help/zeronetworks/Get-ZNAssetsMonitored.md create mode 100644 help/zeronetworks/Get-ZNAssetsNetworkQueued.md create mode 100644 help/zeronetworks/Get-ZNAssetsNetworkSegmented.md create mode 100644 help/zeronetworks/Get-ZNAssetsOt.md rename {src/ZN/docs => help/zeronetworks}/Get-ZNAssetsProtected.md (82%) create mode 100644 help/zeronetworks/Get-ZNAssetsRpcMonitored.md create mode 100644 help/zeronetworks/Get-ZNAssetsRpcQueued.md create mode 100644 help/zeronetworks/Get-ZNAssetsRpcSegmented.md create mode 100644 help/zeronetworks/Get-ZNAssetsStatesStatistics.md create mode 100644 help/zeronetworks/Get-ZNAssetsStatistics.md create mode 100644 help/zeronetworks/Get-ZNAudit.md create mode 100644 help/zeronetworks/Get-ZNCustomGroupsCandidate.md create mode 100644 help/zeronetworks/Get-ZNExternalAccessPolicy.md create mode 100644 help/zeronetworks/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNExternalAccessPolicySourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNExternalAccessPolicyStatistics.md create mode 100644 help/zeronetworks/Get-ZNGroup.md create mode 100644 help/zeronetworks/Get-ZNGroupAudit.md create mode 100644 help/zeronetworks/Get-ZNGroupMemberOf.md create mode 100644 help/zeronetworks/Get-ZNGroupMemberOfGroupCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsAssetManager.md create mode 100644 help/zeronetworks/Get-ZNGroupsAssetManagersCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsByType.md create mode 100644 help/zeronetworks/Get-ZNGroupsExternalAccessPolicy.md create mode 100644 help/zeronetworks/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsExternalAccessPolicyStatistics.md create mode 100644 help/zeronetworks/Get-ZNGroupsIdentityRule.md create mode 100644 help/zeronetworks/Get-ZNGroupsIdentityRulesAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsIdentityRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsInboundRule.md create mode 100644 help/zeronetworks/Get-ZNGroupsInboundRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsInboundRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsManagedAsset.md create mode 100644 help/zeronetworks/Get-ZNGroupsManagedAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMember.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaInboundPolicy.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Get-ZNGroupsOutboundRule.md create mode 100644 help/zeronetworks/Get-ZNGroupsOutboundRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsOutboundRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsOutboundRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsRpcRule.md create mode 100644 help/zeronetworks/Get-ZNGroupsRpcRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsRpcRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsRpcRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNGroupsRulesDistribution.md create mode 100644 help/zeronetworks/Get-ZNGroupsStatistics.md create mode 100644 help/zeronetworks/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md create mode 100644 help/zeronetworks/Get-ZNIdentityOnboardingPolicy.md create mode 100644 help/zeronetworks/Get-ZNIdentityRule.md create mode 100644 help/zeronetworks/Get-ZNIdentityRulesAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNIdentityRulesExcludedAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNIdentityRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNInboundRule.md create mode 100644 help/zeronetworks/Get-ZNInboundRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNInboundRulesExcludedDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNInboundRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaIdentityPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaIdentityPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNMfaIdentityPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaIdentityPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Get-ZNMfaInboundPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaInboundPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNMfaInboundPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaInboundPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaInboundPolicy.md create mode 100644 help/zeronetworks/Get-ZNMfaOutboundPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaOutboundPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNMfaOutboundPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaOutboundPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Get-ZNMfaPoliciesDistribution.md create mode 100644 help/zeronetworks/Get-ZNMfaPoliciesStatistics.md create mode 100644 help/zeronetworks/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md create mode 100644 help/zeronetworks/Get-ZNNetworkOnboardingPolicy.md rename src/ZN/docs/Get-ZNProtectionPolicy.md => help/zeronetworks/Get-ZNOtRule.md (72%) create mode 100644 help/zeronetworks/Get-ZNOutboundRule.md create mode 100644 help/zeronetworks/Get-ZNOutboundRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNOutboundRulesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNOutboundRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNOutboundRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNRpcRule.md create mode 100644 help/zeronetworks/Get-ZNRpcRulesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNRpcRulesExcludedDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNRpcRulesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNRpcRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNRulesDistribution.md create mode 100644 help/zeronetworks/Get-ZNRulesStatistics.md create mode 100644 help/zeronetworks/Get-ZNSegmentServer.md create mode 100644 help/zeronetworks/Get-ZNSession.md create mode 100644 help/zeronetworks/Get-ZNSettingsAad.md create mode 100644 help/zeronetworks/Get-ZNSettingsAd.md create mode 100644 help/zeronetworks/Get-ZNSettingsAdMonitoredCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsAdProtectedCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsAnsible.md create mode 100644 help/zeronetworks/Get-ZNSettingsAssetManager.md create mode 100644 help/zeronetworks/Get-ZNSettingsAuth.md create mode 100644 help/zeronetworks/Get-ZNSettingsBreakGlass.md create mode 100644 help/zeronetworks/Get-ZNSettingsClientSubnet.md create mode 100644 help/zeronetworks/Get-ZNSettingsClientsTrustedInternet.md create mode 100644 help/zeronetworks/Get-ZNSettingsClientsUntrustedInternet.md create mode 100644 help/zeronetworks/Get-ZNSettingsClusterStrategy.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectClientAutoUpdate.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectRegion.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectServer.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectUserAccessConfig.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsDefaultApplication.md create mode 100644 help/zeronetworks/Get-ZNSettingsFirewall.md create mode 100644 help/zeronetworks/Get-ZNSettingsFirewallIgnoredGpo.md create mode 100644 help/zeronetworks/Get-ZNSettingsFirewallIgnoredRule.md create mode 100644 help/zeronetworks/Get-ZNSettingsFirewallProfile.md create mode 100644 help/zeronetworks/Get-ZNSettingsIdp.md create mode 100644 help/zeronetworks/Get-ZNSettingsInactiveAsset.md create mode 100644 help/zeronetworks/Get-ZNSettingsInternalSubnet.md create mode 100644 help/zeronetworks/Get-ZNSettingsJamfCredentials.md create mode 100644 help/zeronetworks/Get-ZNSettingsLearningConfig.md create mode 100644 help/zeronetworks/Get-ZNSettingsLicense.md create mode 100644 help/zeronetworks/Get-ZNSettingsLinuxSetup.md create mode 100644 help/zeronetworks/Get-ZNSettingsLinuxUser.md create mode 100644 help/zeronetworks/Get-ZNSettingsMaintenanceWindow.md create mode 100644 help/zeronetworks/Get-ZNSettingsMfaAuthentication.md create mode 100644 help/zeronetworks/Get-ZNSettingsMfaCache.md create mode 100644 help/zeronetworks/Get-ZNSettingsMfaCacheCandidate.md create mode 100644 help/zeronetworks/Get-ZNSettingsMfaDetection.md create mode 100644 help/zeronetworks/Get-ZNSettingsNotification.md create mode 100644 help/zeronetworks/Get-ZNSettingsPrivilegedPort.md create mode 100644 help/zeronetworks/Get-ZNSettingsPushNotification.md create mode 100644 help/zeronetworks/Get-ZNSettingsServersTrustedInternet.md create mode 100644 help/zeronetworks/Get-ZNSettingsServersUntrustedInternet.md create mode 100644 help/zeronetworks/Get-ZNSettingsTrustedInternetAddress.md create mode 100644 help/zeronetworks/Get-ZNSettingsZpa.md create mode 100644 help/zeronetworks/Get-ZNSwitch.md create mode 100644 help/zeronetworks/Get-ZNSwitchInterface.md create mode 100644 help/zeronetworks/Get-ZNTagGroupsCandidate.md create mode 100644 help/zeronetworks/Get-ZNUser.md create mode 100644 help/zeronetworks/Get-ZNUserAudit.md create mode 100644 help/zeronetworks/Get-ZNUserExternalAccessPolicy.md create mode 100644 help/zeronetworks/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserExternalAccessPolicySourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserExternalAccessPolicyStatistics.md create mode 100644 help/zeronetworks/Get-ZNUserIdentityRule.md create mode 100644 help/zeronetworks/Get-ZNUserIdentityRulesAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserIdentityRulesExcludedAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserIdentityRulesUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserMemberOf.md create mode 100644 help/zeronetworks/Get-ZNUserMemberOfGroupCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserMfaIdentityPoliciesMfamethod.md create mode 100644 help/zeronetworks/Get-ZNUserMfaIdentityPoliciesSourceCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md create mode 100644 help/zeronetworks/Get-ZNUserMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Get-ZNUserRulesDistribution.md create mode 100644 help/zeronetworks/Get-ZNUserStatistics.md create mode 100644 help/zeronetworks/Get-ZNUsersIdentityQueued.md create mode 100644 help/zeronetworks/Get-ZNUsersIdentitySegmented.md create mode 100644 help/zeronetworks/Get-ZNUsersInactive.md create mode 100644 help/zeronetworks/Get-ZNUsersManagedAsset.md create mode 100644 help/zeronetworks/Get-ZNUsersManagedAssetsCandidate.md create mode 100644 help/zeronetworks/Get-ZNUsersPrivileged.md create mode 100644 help/zeronetworks/Get-ZNUsersServiceAccount.md create mode 100644 help/zeronetworks/Initialize-ZNAssetBreakGlass.md create mode 100644 help/zeronetworks/Invoke-ZNAssetDeactivateBreakGlass.md create mode 100644 help/zeronetworks/Invoke-ZNAssetIdentityExtendQueue.md create mode 100644 help/zeronetworks/Invoke-ZNAssetIdentityQueue.md create mode 100644 help/zeronetworks/Invoke-ZNAssetNetworkExtendQueue.md create mode 100644 help/zeronetworks/Invoke-ZNAssetNetworkQueue.md create mode 100644 help/zeronetworks/Invoke-ZNAssetOtNetworkExtendQueue.md create mode 100644 help/zeronetworks/Invoke-ZNAssetOtNetworkQueue.md create mode 100644 help/zeronetworks/Invoke-ZNAssetRpcExtendQueue.md create mode 100644 help/zeronetworks/Invoke-ZNAssetRpcQueue.md create mode 100644 help/zeronetworks/Invoke-ZNDownloadCloudConnectorInstaller.md create mode 100644 help/zeronetworks/Invoke-ZNDownloadConnectClient.md create mode 100644 help/zeronetworks/Invoke-ZNDownloadConnectServer.md create mode 100644 help/zeronetworks/Invoke-ZNDownloadSegmentServer.md create mode 100644 help/zeronetworks/Invoke-ZNEncodeEntityIP.md create mode 100644 help/zeronetworks/Invoke-ZNEncodeEntityIPRange.md create mode 100644 help/zeronetworks/Invoke-ZNEncodeEntitySubnet.md create mode 100644 help/zeronetworks/Invoke-ZNInvokeAssetsMirror.md create mode 100644 help/zeronetworks/Invoke-ZNMirrorAsset.md create mode 100644 help/zeronetworks/Invoke-ZNOtRule.md create mode 100644 help/zeronetworks/Invoke-ZNRediscoverAd.md create mode 100644 help/zeronetworks/Invoke-ZNRediscoverLinux.md rename src/ZN/docs/Remove-ZNProtectionPolicy.md => help/zeronetworks/Invoke-ZNResyncAzureAd.md (75%) create mode 100644 help/zeronetworks/Invoke-ZNUserIdentityQueue.md create mode 100644 help/zeronetworks/New-ZNAssetExternalAccessPolicy.md create mode 100644 help/zeronetworks/New-ZNAssetIdentityRule.md create mode 100644 help/zeronetworks/New-ZNAssetInboundRule.md create mode 100644 help/zeronetworks/New-ZNAssetMfaIdentityPolicy.md create mode 100644 help/zeronetworks/New-ZNAssetMfaInboundPolicy.md create mode 100644 help/zeronetworks/New-ZNAssetMfaOutboundPolicy.md create mode 100644 help/zeronetworks/New-ZNAssetOutboundRule.md create mode 100644 help/zeronetworks/New-ZNAssetRpcRule.md create mode 100644 help/zeronetworks/New-ZNAssetsLinux.md create mode 100644 help/zeronetworks/New-ZNAssetsOt.md create mode 100644 help/zeronetworks/New-ZNCustomGroup.md create mode 100644 help/zeronetworks/New-ZNExternalAccessPolicy.md create mode 100644 help/zeronetworks/New-ZNGroupsExternalAccessPolicy.md create mode 100644 help/zeronetworks/New-ZNGroupsIdentityRule.md create mode 100644 help/zeronetworks/New-ZNGroupsInboundRule.md create mode 100644 help/zeronetworks/New-ZNGroupsMfaIdentityPolicy.md create mode 100644 help/zeronetworks/New-ZNGroupsMfaInboundPolicy.md create mode 100644 help/zeronetworks/New-ZNGroupsMfaOutboundPolicy.md create mode 100644 help/zeronetworks/New-ZNGroupsOutboundRule.md create mode 100644 help/zeronetworks/New-ZNGroupsRpcRule.md create mode 100644 help/zeronetworks/New-ZNIdentityOnboardingPolicy.md create mode 100644 help/zeronetworks/New-ZNIdentityRule.md create mode 100644 help/zeronetworks/New-ZNInboundRule.md create mode 100644 help/zeronetworks/New-ZNMfaIdentityPolicy.md create mode 100644 help/zeronetworks/New-ZNMfaInboundPolicy.md create mode 100644 help/zeronetworks/New-ZNMfaOutboundPolicy.md create mode 100644 help/zeronetworks/New-ZNNetworkOnboardingPolicy.md create mode 100644 help/zeronetworks/New-ZNOutboundRule.md create mode 100644 help/zeronetworks/New-ZNPortsList.md create mode 100644 help/zeronetworks/New-ZNRpcRule.md create mode 100644 help/zeronetworks/New-ZNSettingsAd.md create mode 100644 help/zeronetworks/New-ZNSettingsAdSecondary.md create mode 100644 help/zeronetworks/New-ZNSettingsConnectRegion.md create mode 100644 help/zeronetworks/New-ZNSettingsConnectUserAccessConfig.md create mode 100644 help/zeronetworks/New-ZNSettingsIdp.md create mode 100644 help/zeronetworks/New-ZNSettingsMaintenanceWindow.md rename src/ZN/docs/New-ZNProtectionPolicy.md => help/zeronetworks/New-ZNSettingsMfaCache.md (64%) create mode 100644 help/zeronetworks/New-ZNSettingsPushNotification.md create mode 100644 help/zeronetworks/New-ZNUserExternalAccessPolicy.md create mode 100644 help/zeronetworks/New-ZNUserIdentityRule.md create mode 100644 help/zeronetworks/New-ZNUserMfaIdentityPolicy.md rename {src/ZN/docs => help/zeronetworks}/Protect-ZNAssetIdentity.md (78%) create mode 100644 help/zeronetworks/Protect-ZNAssetIdentitySegment.md create mode 100644 help/zeronetworks/Protect-ZNAssetNetworkSegment.md create mode 100644 help/zeronetworks/Protect-ZNAssetOtNetworkSegment.md create mode 100644 help/zeronetworks/Protect-ZNAssetRpcSegment.md rename {src/ZN/docs => help/zeronetworks}/Protect-ZNUserIdentity.md (76%) create mode 100644 help/zeronetworks/Protect-ZNUserIdentitySegment.md create mode 100644 help/zeronetworks/README.md create mode 100644 help/zeronetworks/Read-ZNJWTtoken.md create mode 100644 help/zeronetworks/Remove-ZNAeExclusionsInbound.md create mode 100644 help/zeronetworks/Remove-ZNAeExclusionsOutbound.md create mode 100644 help/zeronetworks/Remove-ZNApiKey.md create mode 100644 help/zeronetworks/Remove-ZNAssetExternalAccessPolicy.md create mode 100644 help/zeronetworks/Remove-ZNAssetIdentityRule.md create mode 100644 help/zeronetworks/Remove-ZNAssetInboundRule.md create mode 100644 help/zeronetworks/Remove-ZNAssetManager.md create mode 100644 help/zeronetworks/Remove-ZNAssetMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Remove-ZNAssetMfaInboundPolicy.md create mode 100644 help/zeronetworks/Remove-ZNAssetMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Remove-ZNAssetOtAssetManager.md create mode 100644 help/zeronetworks/Remove-ZNAssetOutboundRule.md create mode 100644 help/zeronetworks/Remove-ZNAssetRpcMonitoring.md create mode 100644 help/zeronetworks/Remove-ZNAssetRpcRule.md rename {src/ZN/docs => help/zeronetworks}/Remove-ZNAssetRpcSegment.md (81%) create mode 100644 help/zeronetworks/Remove-ZNCustomGroup.md create mode 100644 help/zeronetworks/Remove-ZNCustomGroupsMember.md create mode 100644 help/zeronetworks/Remove-ZNExternalAccessPolicy.md create mode 100644 help/zeronetworks/Remove-ZNGroupsAssetManager.md create mode 100644 help/zeronetworks/Remove-ZNGroupsExternalAccessPolicy.md create mode 100644 help/zeronetworks/Remove-ZNGroupsIdentityRule.md create mode 100644 help/zeronetworks/Remove-ZNGroupsInboundRule.md create mode 100644 help/zeronetworks/Remove-ZNGroupsManagedAsset.md create mode 100644 help/zeronetworks/Remove-ZNGroupsMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Remove-ZNGroupsMfaInboundPolicy.md create mode 100644 help/zeronetworks/Remove-ZNGroupsMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Remove-ZNGroupsOutboundRule.md create mode 100644 help/zeronetworks/Remove-ZNGroupsRpcRule.md create mode 100644 help/zeronetworks/Remove-ZNIdentityOnboardingPolicy.md create mode 100644 help/zeronetworks/Remove-ZNIdentityRule.md create mode 100644 help/zeronetworks/Remove-ZNInboundRule.md create mode 100644 help/zeronetworks/Remove-ZNMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Remove-ZNMfaInboundPolicy.md create mode 100644 help/zeronetworks/Remove-ZNMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Remove-ZNNetworkOnboardingPolicy.md create mode 100644 help/zeronetworks/Remove-ZNOtRule.md create mode 100644 help/zeronetworks/Remove-ZNOutboundRule.md create mode 100644 help/zeronetworks/Remove-ZNRpcRule.md create mode 100644 help/zeronetworks/Remove-ZNSettingsAad.md create mode 100644 help/zeronetworks/Remove-ZNSettingsAd.md create mode 100644 help/zeronetworks/Remove-ZNSettingsAdLinux.md rename src/ZN/docs/Update-ZNSettingsAdAutomationGroup.md => help/zeronetworks/Remove-ZNSettingsAdSecondary.md (70%) create mode 100644 help/zeronetworks/Remove-ZNSettingsConnectRegion.md create mode 100644 help/zeronetworks/Remove-ZNSettingsConnectServer.md create mode 100644 help/zeronetworks/Remove-ZNSettingsConnectUserAccessConfig.md create mode 100644 help/zeronetworks/Remove-ZNSettingsIdp.md create mode 100644 help/zeronetworks/Remove-ZNSettingsJamfCredentials.md create mode 100644 help/zeronetworks/Remove-ZNSettingsMaintenanceWindow.md create mode 100644 help/zeronetworks/Remove-ZNSettingsMfaCache.md create mode 100644 help/zeronetworks/Remove-ZNSettingsPushNotification.md create mode 100644 help/zeronetworks/Remove-ZNSwitch.md create mode 100644 help/zeronetworks/Remove-ZNTagGroupsMember.md create mode 100644 help/zeronetworks/Remove-ZNUserExternalAccessPolicy.md create mode 100644 help/zeronetworks/Remove-ZNUserIdentityRule.md create mode 100644 help/zeronetworks/Remove-ZNUserMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Remove-ZNUsersManagedAsset.md create mode 100644 help/zeronetworks/Revoke-ZNSession.md create mode 100644 help/zeronetworks/Search-ZNAsset.md rename {src/ZN/docs => help/zeronetworks}/Search-ZNAssetProtected.md (70%) create mode 100644 help/zeronetworks/Search-ZNAssetsNetworkSegmented.md create mode 100644 help/zeronetworks/Search-ZNAssetsSegmented.md create mode 100644 help/zeronetworks/Search-ZNGroupsExternalId.md create mode 100644 help/zeronetworks/Search-ZNUser.md create mode 100644 help/zeronetworks/Set-ZNApiKey.md create mode 100644 help/zeronetworks/Test-ZNAssetIdentityProtect.md create mode 100644 help/zeronetworks/Test-ZNAssetIdentityUnprotect.md create mode 100644 help/zeronetworks/Test-ZNAssetNetworkSegment.md create mode 100644 help/zeronetworks/Test-ZNAssetNetworkUnprotect.md rename {src/ZN/docs => help/zeronetworks}/Unprotect-ZNAssetIdentity.md (78%) create mode 100644 help/zeronetworks/Unprotect-ZNAssetIdentitySegment.md create mode 100644 help/zeronetworks/Unprotect-ZNAssetNetworkSegment.md create mode 100644 help/zeronetworks/Unprotect-ZNAssetOtNetworkSegment.md create mode 100644 help/zeronetworks/Unprotect-ZNAssetRpcSegment.md rename {src/ZN/docs => help/zeronetworks}/Unprotect-ZNUserIdentity.md (76%) create mode 100644 help/zeronetworks/Unprotect-ZNUserIdentitySegment.md create mode 100644 help/zeronetworks/Update-ZNAiExclusionNetworkBoth.md create mode 100644 help/zeronetworks/Update-ZNAiExclusionNetworkClient.md create mode 100644 help/zeronetworks/Update-ZNAiExclusionNetworkServer.md create mode 100644 help/zeronetworks/Update-ZNAssetActive.md create mode 100644 help/zeronetworks/Update-ZNAssetExternalAccessPolicy.md create mode 100644 help/zeronetworks/Update-ZNAssetIdentityRule.md create mode 100644 help/zeronetworks/Update-ZNAssetInactive.md create mode 100644 help/zeronetworks/Update-ZNAssetInboundRule.md create mode 100644 help/zeronetworks/Update-ZNAssetManager.md create mode 100644 help/zeronetworks/Update-ZNAssetMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Update-ZNAssetMfaInboundPolicy.md create mode 100644 help/zeronetworks/Update-ZNAssetMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Update-ZNAssetMirror.md create mode 100644 help/zeronetworks/Update-ZNAssetOSType.md create mode 100644 help/zeronetworks/Update-ZNAssetOt.md create mode 100644 help/zeronetworks/Update-ZNAssetOtAssetManager.md create mode 100644 help/zeronetworks/Update-ZNAssetOutboundRestriction.md create mode 100644 help/zeronetworks/Update-ZNAssetOutboundRule.md create mode 100644 help/zeronetworks/Update-ZNAssetPreferredSegmentServer.md create mode 100644 help/zeronetworks/Update-ZNAssetRpcRule.md create mode 100644 help/zeronetworks/Update-ZNAssetType.md create mode 100644 help/zeronetworks/Update-ZNAssetsOSType.md create mode 100644 help/zeronetworks/Update-ZNAssetsOutboundRestriction.md create mode 100644 help/zeronetworks/Update-ZNCustomGroup.md create mode 100644 help/zeronetworks/Update-ZNExternalAccessPolicy.md create mode 100644 help/zeronetworks/Update-ZNGroupsAssetManager.md create mode 100644 help/zeronetworks/Update-ZNGroupsExternalAccessPolicy.md create mode 100644 help/zeronetworks/Update-ZNGroupsIdentityRule.md create mode 100644 help/zeronetworks/Update-ZNGroupsInboundRule.md create mode 100644 help/zeronetworks/Update-ZNGroupsManagedAsset.md create mode 100644 help/zeronetworks/Update-ZNGroupsMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Update-ZNGroupsMfaInboundPolicy.md create mode 100644 help/zeronetworks/Update-ZNGroupsMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Update-ZNGroupsOutboundRule.md create mode 100644 help/zeronetworks/Update-ZNGroupsRpcRule.md create mode 100644 help/zeronetworks/Update-ZNIdentityOnboardingPolicy.md create mode 100644 help/zeronetworks/Update-ZNIdentityRule.md create mode 100644 help/zeronetworks/Update-ZNInboundRule.md create mode 100644 help/zeronetworks/Update-ZNMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Update-ZNMfaInboundPolicy.md create mode 100644 help/zeronetworks/Update-ZNMfaOutboundPolicy.md create mode 100644 help/zeronetworks/Update-ZNNetworkOnboardingPolicy.md create mode 100644 help/zeronetworks/Update-ZNOSType.md create mode 100644 help/zeronetworks/Update-ZNOtRule.md create mode 100644 help/zeronetworks/Update-ZNOutboundRule.md create mode 100644 help/zeronetworks/Update-ZNRpcRule.md create mode 100644 help/zeronetworks/Update-ZNSettingsAd.md create mode 100644 help/zeronetworks/Update-ZNSettingsAdLinux.md create mode 100644 help/zeronetworks/Update-ZNSettingsAdLinuxAutomationGroup.md create mode 100644 help/zeronetworks/Update-ZNSettingsAdSecondary.md create mode 100644 help/zeronetworks/Update-ZNSettingsAdWindowsAutomationGroup.md create mode 100644 help/zeronetworks/Update-ZNSettingsAnsible.md create mode 100644 help/zeronetworks/Update-ZNSettingsAuth.md create mode 100644 help/zeronetworks/Update-ZNSettingsBreakGlass.md create mode 100644 help/zeronetworks/Update-ZNSettingsClientSubnet.md create mode 100644 help/zeronetworks/Update-ZNSettingsClientsTrustedInternet.md create mode 100644 help/zeronetworks/Update-ZNSettingsClientsUntrustedInternet.md create mode 100644 help/zeronetworks/Update-ZNSettingsClusterStrategy.md create mode 100644 help/zeronetworks/Update-ZNSettingsConnectClientAutoUpdate.md create mode 100644 help/zeronetworks/Update-ZNSettingsConnectRegion.md create mode 100644 help/zeronetworks/Update-ZNSettingsConnectServer.md create mode 100644 help/zeronetworks/Update-ZNSettingsConnectUserAccessConfig.md create mode 100644 help/zeronetworks/Update-ZNSettingsDefaultApplication.md create mode 100644 help/zeronetworks/Update-ZNSettingsFirewall.md create mode 100644 help/zeronetworks/Update-ZNSettingsFirewallIgnoredGpo.md create mode 100644 help/zeronetworks/Update-ZNSettingsFirewallIgnoredRule.md create mode 100644 help/zeronetworks/Update-ZNSettingsFirewallProfile.md create mode 100644 help/zeronetworks/Update-ZNSettingsIdp.md create mode 100644 help/zeronetworks/Update-ZNSettingsInactiveAsset.md create mode 100644 help/zeronetworks/Update-ZNSettingsInternalSubnet.md create mode 100644 help/zeronetworks/Update-ZNSettingsJamfCredentials.md create mode 100644 help/zeronetworks/Update-ZNSettingsLearningConfig.md create mode 100644 help/zeronetworks/Update-ZNSettingsLinuxSetup.md create mode 100644 help/zeronetworks/Update-ZNSettingsLinuxUser.md create mode 100644 help/zeronetworks/Update-ZNSettingsMaintenanceWindow.md create mode 100644 help/zeronetworks/Update-ZNSettingsMfaAuthentication.md create mode 100644 help/zeronetworks/Update-ZNSettingsMfaDetection.md create mode 100644 help/zeronetworks/Update-ZNSettingsNotification.md create mode 100644 help/zeronetworks/Update-ZNSettingsPrivilegedPort.md create mode 100644 help/zeronetworks/Update-ZNSettingsServersTrustedInternet.md create mode 100644 help/zeronetworks/Update-ZNSettingsServersUntrustedInternet.md create mode 100644 help/zeronetworks/Update-ZNSettingsTrustedInternetAddress.md create mode 100644 help/zeronetworks/Update-ZNSettingsZpa.md create mode 100644 help/zeronetworks/Update-ZNSwitch.md create mode 100644 help/zeronetworks/Update-ZNUserExternalAccessPolicy.md create mode 100644 help/zeronetworks/Update-ZNUserIdentityRule.md create mode 100644 help/zeronetworks/Update-ZNUserMfaIdentityPolicy.md create mode 100644 help/zeronetworks/Update-ZNUserType.md create mode 100644 help/zeronetworks/Update-ZNUsersManagedAsset.md create mode 100644 help/zeronetworks/ZeroNetworks.md create mode 100644 help/zeronetworks/readme.md create mode 100644 src/ZN/custom/Read-ZNJWT.ps1 create mode 100644 src/ZN/custom/Update-ZNAssetExternalAccessPolicy.ps1 create mode 100644 src/ZN/custom/Update-ZNExternalAccessPolicy.ps1 create mode 100644 src/ZN/custom/Update-ZNGroupsExternalAccessPolicy.ps1 create mode 100644 src/ZN/custom/Update-ZNUserExternalAccessPolicy.ps1 create mode 100644 src/ZN/docs/Enable-ZNAssetQuarantine.md create mode 100644 src/ZN/docs/Get-ZNAeExclusionsInbound.md create mode 100644 src/ZN/docs/Get-ZNAeExclusionsOutbound.md create mode 100644 src/ZN/docs/Get-ZNAssetExternalAccessPolicy.md create mode 100644 src/ZN/docs/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 src/ZN/docs/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md create mode 100644 src/ZN/docs/Get-ZNAssetExternalAccessPolicyStatistics.md create mode 100644 src/ZN/docs/Get-ZNAssetMemberOfGroupCandidate.md create mode 100644 src/ZN/docs/Get-ZNAssetOtMemberOfGroupCandidate.md create mode 100644 src/ZN/docs/Get-ZNAssetOutboundRulesUserCandidate.md create mode 100644 src/ZN/docs/Get-ZNAssetPreferredSegmentServer.md create mode 100644 src/ZN/docs/Get-ZNAssetsIdentityQueued.md create mode 100644 src/ZN/docs/Get-ZNAssetsNetworkSegmented.md create mode 100644 src/ZN/docs/Get-ZNAssetsRpcQueued.md create mode 100644 src/ZN/docs/Get-ZNExternalAccessPolicy.md create mode 100644 src/ZN/docs/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 src/ZN/docs/Get-ZNExternalAccessPolicySourceUserCandidate.md create mode 100644 src/ZN/docs/Get-ZNExternalAccessPolicyStatistics.md create mode 100644 src/ZN/docs/Get-ZNGroupMemberOfGroupCandidate.md create mode 100644 src/ZN/docs/Get-ZNGroupsExternalAccessPolicy.md create mode 100644 src/ZN/docs/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 src/ZN/docs/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md create mode 100644 src/ZN/docs/Get-ZNGroupsExternalAccessPolicyStatistics.md create mode 100644 src/ZN/docs/Get-ZNGroupsOutboundRulesUserCandidate.md create mode 100644 src/ZN/docs/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md create mode 100644 src/ZN/docs/Get-ZNIdentityOnboardingPolicy.md create mode 100644 src/ZN/docs/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md create mode 100644 src/ZN/docs/Get-ZNNetworkOnboardingPolicy.md create mode 100644 src/ZN/docs/Get-ZNOutboundRulesUserCandidate.md delete mode 100644 src/ZN/docs/Get-ZNProtectionPoliciesGroupCandidate.md create mode 100644 src/ZN/docs/Get-ZNSettingsMaintenanceWindow.md create mode 100644 src/ZN/docs/Get-ZNSettingsMfaCache.md create mode 100644 src/ZN/docs/Get-ZNSettingsMfaCacheCandidate.md create mode 100644 src/ZN/docs/Get-ZNUserExternalAccessPolicy.md create mode 100644 src/ZN/docs/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 src/ZN/docs/Get-ZNUserExternalAccessPolicySourceUserCandidate.md create mode 100644 src/ZN/docs/Get-ZNUserExternalAccessPolicyStatistics.md create mode 100644 src/ZN/docs/Get-ZNUserMemberOfGroupCandidate.md create mode 100644 src/ZN/docs/Get-ZNUsersInactive.md create mode 100644 src/ZN/docs/Get-ZNUsersPrivileged.md create mode 100644 src/ZN/docs/Invoke-ZNAssetIdentityExtendQueue.md create mode 100644 src/ZN/docs/Invoke-ZNAssetIdentityQueue.md create mode 100644 src/ZN/docs/Invoke-ZNAssetRpcExtendQueue.md create mode 100644 src/ZN/docs/Invoke-ZNAssetRpcQueue.md create mode 100644 src/ZN/docs/Invoke-ZNMirrorAsset.md create mode 100644 src/ZN/docs/New-ZNAssetExternalAccessPolicy.md create mode 100644 src/ZN/docs/New-ZNExternalAccessPolicy.md create mode 100644 src/ZN/docs/New-ZNGroupsExternalAccessPolicy.md create mode 100644 src/ZN/docs/New-ZNIdentityOnboardingPolicy.md create mode 100644 src/ZN/docs/New-ZNNetworkOnboardingPolicy.md create mode 100644 src/ZN/docs/New-ZNSettingsMaintenanceWindow.md rename src/ZN/docs/{Update-ZNProtectionPolicy.md => New-ZNSettingsMfaCache.md} (56%) create mode 100644 src/ZN/docs/New-ZNUserExternalAccessPolicy.md create mode 100644 src/ZN/docs/Protect-ZNAssetIdentitySegment.md create mode 100644 src/ZN/docs/Protect-ZNAssetRpcSegment.md create mode 100644 src/ZN/docs/Protect-ZNUserIdentitySegment.md create mode 100644 src/ZN/docs/Read-ZNJWTtoken.md create mode 100644 src/ZN/docs/Remove-ZNAeExclusionsInbound.md create mode 100644 src/ZN/docs/Remove-ZNAeExclusionsOutbound.md create mode 100644 src/ZN/docs/Remove-ZNAssetExternalAccessPolicy.md create mode 100644 src/ZN/docs/Remove-ZNExternalAccessPolicy.md create mode 100644 src/ZN/docs/Remove-ZNGroupsExternalAccessPolicy.md create mode 100644 src/ZN/docs/Remove-ZNIdentityOnboardingPolicy.md create mode 100644 src/ZN/docs/Remove-ZNNetworkOnboardingPolicy.md create mode 100644 src/ZN/docs/Remove-ZNSettingsAdLinux.md create mode 100644 src/ZN/docs/Remove-ZNSettingsConnectServer.md create mode 100644 src/ZN/docs/Remove-ZNSettingsMaintenanceWindow.md create mode 100644 src/ZN/docs/Remove-ZNSettingsMfaCache.md create mode 100644 src/ZN/docs/Remove-ZNUserExternalAccessPolicy.md create mode 100644 src/ZN/docs/Search-ZNAssetsNetworkSegmented.md create mode 100644 src/ZN/docs/Search-ZNGroupsExternalId.md create mode 100644 src/ZN/docs/Unprotect-ZNAssetIdentitySegment.md create mode 100644 src/ZN/docs/Unprotect-ZNAssetRpcSegment.md create mode 100644 src/ZN/docs/Unprotect-ZNUserIdentitySegment.md create mode 100644 src/ZN/docs/Update-ZNAssetExternalAccessPolicy.md create mode 100644 src/ZN/docs/Update-ZNAssetManager.md create mode 100644 src/ZN/docs/Update-ZNAssetOSType.md create mode 100644 src/ZN/docs/Update-ZNAssetOtAssetManager.md create mode 100644 src/ZN/docs/Update-ZNAssetOutboundRestriction.md create mode 100644 src/ZN/docs/Update-ZNAssetPreferredSegmentServer.md create mode 100644 src/ZN/docs/Update-ZNExternalAccessPolicy.md create mode 100644 src/ZN/docs/Update-ZNGroupsAssetManager.md create mode 100644 src/ZN/docs/Update-ZNGroupsExternalAccessPolicy.md create mode 100644 src/ZN/docs/Update-ZNGroupsManagedAsset.md create mode 100644 src/ZN/docs/Update-ZNIdentityOnboardingPolicy.md create mode 100644 src/ZN/docs/Update-ZNNetworkOnboardingPolicy.md create mode 100644 src/ZN/docs/Update-ZNSettingsAdLinux.md create mode 100644 src/ZN/docs/Update-ZNSettingsAdLinuxAutomationGroup.md create mode 100644 src/ZN/docs/Update-ZNSettingsAdWindowsAutomationGroup.md create mode 100644 src/ZN/docs/Update-ZNSettingsMaintenanceWindow.md create mode 100644 src/ZN/docs/Update-ZNUserExternalAccessPolicy.md create mode 100644 src/ZN/docs/Update-ZNUsersManagedAsset.md create mode 100644 src/ZN/examples/Enable-ZNAssetQuarantine.md create mode 100644 src/ZN/examples/Get-ZNAeExclusionsInbound.md create mode 100644 src/ZN/examples/Get-ZNAeExclusionsOutbound.md create mode 100644 src/ZN/examples/Get-ZNAssetExternalAccessPolicy.md create mode 100644 src/ZN/examples/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 src/ZN/examples/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md create mode 100644 src/ZN/examples/Get-ZNAssetExternalAccessPolicyStatistics.md create mode 100644 src/ZN/examples/Get-ZNAssetMemberOfGroupCandidate.md create mode 100644 src/ZN/examples/Get-ZNAssetOtMemberOfGroupCandidate.md create mode 100644 src/ZN/examples/Get-ZNAssetOutboundRulesUserCandidate.md create mode 100644 src/ZN/examples/Get-ZNAssetPreferredSegmentServer.md create mode 100644 src/ZN/examples/Get-ZNAssetsIdentityQueued.md create mode 100644 src/ZN/examples/Get-ZNAssetsNetworkSegmented.md delete mode 100644 src/ZN/examples/Get-ZNAssetsProtected.md create mode 100644 src/ZN/examples/Get-ZNAssetsRpcQueued.md create mode 100644 src/ZN/examples/Get-ZNExternalAccessPolicy.md create mode 100644 src/ZN/examples/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 src/ZN/examples/Get-ZNExternalAccessPolicySourceUserCandidate.md create mode 100644 src/ZN/examples/Get-ZNExternalAccessPolicyStatistics.md create mode 100644 src/ZN/examples/Get-ZNGroupMemberOfGroupCandidate.md create mode 100644 src/ZN/examples/Get-ZNGroupsExternalAccessPolicy.md create mode 100644 src/ZN/examples/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 src/ZN/examples/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md create mode 100644 src/ZN/examples/Get-ZNGroupsExternalAccessPolicyStatistics.md create mode 100644 src/ZN/examples/Get-ZNGroupsOutboundRulesUserCandidate.md create mode 100644 src/ZN/examples/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md create mode 100644 src/ZN/examples/Get-ZNIdentityOnboardingPolicy.md create mode 100644 src/ZN/examples/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md create mode 100644 src/ZN/examples/Get-ZNNetworkOnboardingPolicy.md create mode 100644 src/ZN/examples/Get-ZNOutboundRulesUserCandidate.md delete mode 100644 src/ZN/examples/Get-ZNProtectionPoliciesGroupCandidate.md delete mode 100644 src/ZN/examples/Get-ZNProtectionPolicy.md create mode 100644 src/ZN/examples/Get-ZNSettingsMaintenanceWindow.md create mode 100644 src/ZN/examples/Get-ZNSettingsMfaCache.md create mode 100644 src/ZN/examples/Get-ZNSettingsMfaCacheCandidate.md create mode 100644 src/ZN/examples/Get-ZNUserExternalAccessPolicy.md create mode 100644 src/ZN/examples/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md create mode 100644 src/ZN/examples/Get-ZNUserExternalAccessPolicySourceUserCandidate.md create mode 100644 src/ZN/examples/Get-ZNUserExternalAccessPolicyStatistics.md create mode 100644 src/ZN/examples/Get-ZNUserMemberOfGroupCandidate.md create mode 100644 src/ZN/examples/Get-ZNUsersInactive.md create mode 100644 src/ZN/examples/Get-ZNUsersPrivileged.md create mode 100644 src/ZN/examples/Invoke-ZNAssetIdentityExtendQueue.md create mode 100644 src/ZN/examples/Invoke-ZNAssetIdentityQueue.md create mode 100644 src/ZN/examples/Invoke-ZNAssetRpcExtendQueue.md create mode 100644 src/ZN/examples/Invoke-ZNAssetRpcQueue.md create mode 100644 src/ZN/examples/Invoke-ZNMirrorAsset.md create mode 100644 src/ZN/examples/New-ZNAssetExternalAccessPolicy.md create mode 100644 src/ZN/examples/New-ZNExternalAccessPolicy.md create mode 100644 src/ZN/examples/New-ZNGroupsExternalAccessPolicy.md create mode 100644 src/ZN/examples/New-ZNIdentityOnboardingPolicy.md create mode 100644 src/ZN/examples/New-ZNNetworkOnboardingPolicy.md delete mode 100644 src/ZN/examples/New-ZNProtectionPolicy.md create mode 100644 src/ZN/examples/New-ZNSettingsMaintenanceWindow.md create mode 100644 src/ZN/examples/New-ZNSettingsMfaCache.md create mode 100644 src/ZN/examples/New-ZNUserExternalAccessPolicy.md rename src/ZN/examples/{Protect-ZNAssetIdentity.md => Protect-ZNAssetIdentitySegment.md} (64%) rename src/ZN/examples/{Add-ZNAssetRpcSegment.md => Protect-ZNAssetRpcSegment.md} (57%) rename src/ZN/examples/{Protect-ZNUserIdentity.md => Protect-ZNUserIdentitySegment.md} (70%) create mode 100644 src/ZN/examples/Read-ZNJWTtoken.md create mode 100644 src/ZN/examples/Remove-ZNAeExclusionsInbound.md create mode 100644 src/ZN/examples/Remove-ZNAeExclusionsOutbound.md create mode 100644 src/ZN/examples/Remove-ZNAssetExternalAccessPolicy.md create mode 100644 src/ZN/examples/Remove-ZNExternalAccessPolicy.md create mode 100644 src/ZN/examples/Remove-ZNGroupsExternalAccessPolicy.md create mode 100644 src/ZN/examples/Remove-ZNIdentityOnboardingPolicy.md create mode 100644 src/ZN/examples/Remove-ZNNetworkOnboardingPolicy.md delete mode 100644 src/ZN/examples/Remove-ZNProtectionPolicy.md create mode 100644 src/ZN/examples/Remove-ZNSettingsAdLinux.md create mode 100644 src/ZN/examples/Remove-ZNSettingsConnectServer.md create mode 100644 src/ZN/examples/Remove-ZNSettingsMaintenanceWindow.md create mode 100644 src/ZN/examples/Remove-ZNSettingsMfaCache.md create mode 100644 src/ZN/examples/Remove-ZNUserExternalAccessPolicy.md delete mode 100644 src/ZN/examples/Search-ZNAssetProtected.md create mode 100644 src/ZN/examples/Search-ZNAssetsNetworkSegmented.md create mode 100644 src/ZN/examples/Search-ZNGroupsExternalId.md rename src/ZN/examples/{Unprotect-ZNAssetIdentity.md => Unprotect-ZNAssetIdentitySegment.md} (64%) rename src/ZN/examples/{Remove-ZNAssetRpcSegment.md => Unprotect-ZNAssetRpcSegment.md} (57%) rename src/ZN/examples/{Unprotect-ZNUserIdentity.md => Unprotect-ZNUserIdentitySegment.md} (73%) create mode 100644 src/ZN/examples/Update-ZNAssetExternalAccessPolicy.md create mode 100644 src/ZN/examples/Update-ZNAssetManager.md create mode 100644 src/ZN/examples/Update-ZNAssetOSType.md create mode 100644 src/ZN/examples/Update-ZNAssetOtAssetManager.md create mode 100644 src/ZN/examples/Update-ZNAssetOutboundRestriction.md create mode 100644 src/ZN/examples/Update-ZNAssetPreferredSegmentServer.md create mode 100644 src/ZN/examples/Update-ZNExternalAccessPolicy.md create mode 100644 src/ZN/examples/Update-ZNGroupsAssetManager.md create mode 100644 src/ZN/examples/Update-ZNGroupsExternalAccessPolicy.md create mode 100644 src/ZN/examples/Update-ZNGroupsManagedAsset.md create mode 100644 src/ZN/examples/Update-ZNIdentityOnboardingPolicy.md create mode 100644 src/ZN/examples/Update-ZNNetworkOnboardingPolicy.md delete mode 100644 src/ZN/examples/Update-ZNProtectionPolicy.md delete mode 100644 src/ZN/examples/Update-ZNSettingsAdAutomationGroup.md create mode 100644 src/ZN/examples/Update-ZNSettingsAdLinux.md create mode 100644 src/ZN/examples/Update-ZNSettingsAdLinuxAutomationGroup.md create mode 100644 src/ZN/examples/Update-ZNSettingsAdWindowsAutomationGroup.md create mode 100644 src/ZN/examples/Update-ZNSettingsMaintenanceWindow.md create mode 100644 src/ZN/examples/Update-ZNUserExternalAccessPolicy.md create mode 100644 src/ZN/examples/Update-ZNUsersManagedAsset.md create mode 100644 src/ZN/test/Enable-ZNAssetQuarantine.Tests.ps1 rename src/ZN/test/{Get-ZNProtectionPoliciesGroupCandidate.Tests.ps1 => Get-ZNAeExclusionsInbound.Tests.ps1} (59%) create mode 100644 src/ZN/test/Get-ZNAeExclusionsOutbound.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetExternalAccessPolicySourceUserCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetExternalAccessPolicyStatistics.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetMemberOfGroupCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetOtMemberOfGroupCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetOutboundRulesUserCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetPreferredSegmentServer.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetsIdentityQueued.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetsNetworkSegmented.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNAssetsRpcQueued.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNExternalAccessPolicySourceUserCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNExternalAccessPolicyStatistics.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNGroupMemberOfGroupCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNGroupsExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNGroupsExternalAccessPolicyStatistics.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNGroupsOutboundRulesUserCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNIdentityOnboardingPoliciesGroupCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNIdentityOnboardingPolicy.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNNetworkOnboardingPoliciesGroupCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNNetworkOnboardingPolicy.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNOutboundRulesUserCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNSettingsMaintenanceWindow.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNSettingsMfaCache.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNSettingsMfaCacheCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNUserExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNUserExternalAccessPolicySourceUserCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNUserExternalAccessPolicyStatistics.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNUserMemberOfGroupCandidate.Tests.ps1 rename src/ZN/test/{Get-ZNProtectionPolicy.Tests.ps1 => Get-ZNUsersInactive.Tests.ps1} (65%) create mode 100644 src/ZN/test/Get-ZNUsersPrivileged.Tests.ps1 create mode 100644 src/ZN/test/Invoke-ZNAssetIdentityExtendQueue.Tests.ps1 create mode 100644 src/ZN/test/Invoke-ZNAssetIdentityQueue.Tests.ps1 create mode 100644 src/ZN/test/Invoke-ZNAssetRpcExtendQueue.Tests.ps1 create mode 100644 src/ZN/test/Invoke-ZNAssetRpcQueue.Tests.ps1 create mode 100644 src/ZN/test/Invoke-ZNMirrorAsset.Tests.ps1 create mode 100644 src/ZN/test/New-ZNAssetExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/New-ZNExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/New-ZNGroupsExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/New-ZNIdentityOnboardingPolicy.Tests.ps1 create mode 100644 src/ZN/test/New-ZNNetworkOnboardingPolicy.Tests.ps1 delete mode 100644 src/ZN/test/New-ZNProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/New-ZNSettingsMaintenanceWindow.Tests.ps1 create mode 100644 src/ZN/test/New-ZNSettingsMfaCache.Tests.ps1 create mode 100644 src/ZN/test/New-ZNUserExternalAccessPolicy.Tests.ps1 rename src/ZN/test/{Protect-ZNAssetIdentity.Tests.ps1 => Protect-ZNAssetIdentitySegment.Tests.ps1} (67%) rename src/ZN/test/{Add-ZNAssetRpcSegment.Tests.ps1 => Protect-ZNAssetRpcSegment.Tests.ps1} (61%) rename src/ZN/test/{Protect-ZNUserIdentity.Tests.ps1 => Protect-ZNUserIdentitySegment.Tests.ps1} (74%) create mode 100644 src/ZN/test/Read-ZNJWTtoken.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNAeExclusionsInbound.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNAeExclusionsOutbound.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNAssetExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNGroupsExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNIdentityOnboardingPolicy.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNNetworkOnboardingPolicy.Tests.ps1 delete mode 100644 src/ZN/test/Remove-ZNProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNSettingsAdLinux.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNSettingsConnectServer.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNSettingsMaintenanceWindow.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNSettingsMfaCache.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNUserExternalAccessPolicy.Tests.ps1 delete mode 100644 src/ZN/test/Search-ZNAssetProtected.Tests.ps1 create mode 100644 src/ZN/test/Search-ZNAssetsNetworkSegmented.Tests.ps1 create mode 100644 src/ZN/test/Search-ZNGroupsExternalId.Tests.ps1 rename src/ZN/test/{Unprotect-ZNAssetIdentity.Tests.ps1 => Unprotect-ZNAssetIdentitySegment.Tests.ps1} (67%) rename src/ZN/test/{Remove-ZNAssetRpcSegment.Tests.ps1 => Unprotect-ZNAssetRpcSegment.Tests.ps1} (61%) rename src/ZN/test/{Unprotect-ZNUserIdentity.Tests.ps1 => Unprotect-ZNUserIdentitySegment.Tests.ps1} (74%) create mode 100644 src/ZN/test/Update-ZNAssetExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNAssetManager.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNAssetOSType.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNAssetOtAssetManager.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNAssetOutboundRestriction.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNAssetPreferredSegmentServer.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNGroupsAssetManager.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNGroupsExternalAccessPolicy.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNGroupsManagedAsset.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNIdentityOnboardingPolicy.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNNetworkOnboardingPolicy.Tests.ps1 delete mode 100644 src/ZN/test/Update-ZNProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNSettingsAdLinux.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNSettingsAdLinuxAutomationGroup.Tests.ps1 rename src/ZN/test/{Update-ZNSettingsAdAutomationGroup.Tests.ps1 => Update-ZNSettingsAdWindowsAutomationGroup.Tests.ps1} (77%) create mode 100644 src/ZN/test/Update-ZNSettingsMaintenanceWindow.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNUserExternalAccessPolicy.Tests.ps1 rename src/ZN/test/{New-AzPortsListItemObject.Tests.ps1 => Update-ZNUsersManagedAsset.Tests.ps1} (69%) create mode 100644 src/cmdlets/0.0.13-preview-syntax.md create mode 100644 src/cmdlets/0.0.13-preview.md create mode 100644 src/cmdlets/0.0.14-preview-syntax.md create mode 100644 src/cmdlets/0.0.14-preview.md create mode 100644 src/cmdlets/0.0.15-preview-syntax.md create mode 100644 src/cmdlets/0.0.15-preview.md diff --git a/Dockerfile b/Dockerfile index 4396ec1..3443843 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,13 @@ -FROM mcr.microsoft.com/powershell:lts-7.2-ubuntu-18.04 -#FROM mcr.microsoft.com/powershell +FROM mcr.microsoft.com/powershell:lts-7.2-ubuntu-22.04 + # Install dependencies and clean up RUN apt-get update \ && apt-get install -y curl \ - && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \ + && apt-get install -y dotnet-sdk-8.0 \ + && curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash \ && . /root/.bashrc \ - && nvm install 14.15.5 \ - && npm config set unsafe-perm true \ + && nvm install 18.20.4 \ && npm install -g autorest \ - && npm install -g dotnet-sdk-2.1 \ && apt-get -o Acquire::Check-Valid-Until=false install -y \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ @@ -18,4 +17,4 @@ RUN mkdir -p /src WORKDIR /src -CMD [ "bash" ] +CMD [ "bash" ] \ No newline at end of file diff --git a/help/zeronetworks/Add-ZNAssetManager.md b/help/zeronetworks/Add-ZNAssetManager.md new file mode 100644 index 0000000..3c6d5f5 --- /dev/null +++ b/help/zeronetworks/Add-ZNAssetManager.md @@ -0,0 +1,154 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znassetmanager +schema: 2.0.0 +--- + +# Add-ZNAssetManager + +## SYNOPSIS +Add an asset manager of asset + +## SYNTAX + +``` +Add-ZNAssetManager -AssetId -ManagerIds -Permission [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Add an asset manager of asset + +## EXAMPLES + +### Example 1: Add an asset manager to an asset +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +$user = Get-ZNUser -Search test +Add-ZNAssetManager -AssetId $asset -ManagerIds @($user.Id) +``` + +This cmdlet adds an asset manager to an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerIds +managers id + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Add-ZNAssetOtAssetManager.md b/help/zeronetworks/Add-ZNAssetOtAssetManager.md new file mode 100644 index 0000000..08c8035 --- /dev/null +++ b/help/zeronetworks/Add-ZNAssetOtAssetManager.md @@ -0,0 +1,154 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znassetotassetmanager +schema: 2.0.0 +--- + +# Add-ZNAssetOtAssetManager + +## SYNOPSIS +Add an asset manager of asset + +## SYNTAX + +``` +Add-ZNAssetOtAssetManager -AssetId -ManagerIds -Permission [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Add an asset manager of asset + +## EXAMPLES + +### Example 1: Add an asset manager to an OT asset +```powershell +$asset = Get-ZNAssetsOt | where {$_.Fqdn -eq "test"} +$user = Get-ZNUser -Search test +Add-ZNAssetOtAssetManager -AssetId $asset.Id -ManagerIds @($user.Id) +``` + +This cmdlet adds an asset manager to an OT asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerIds +managers id + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Add-ZNAssetRpcMonitoring.md b/help/zeronetworks/Add-ZNAssetRpcMonitoring.md new file mode 100644 index 0000000..b3055c4 --- /dev/null +++ b/help/zeronetworks/Add-ZNAssetRpcMonitoring.md @@ -0,0 +1,136 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znassetrpcmonitoring +schema: 2.0.0 +--- + +# Add-ZNAssetRpcMonitoring + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### Add (Default) +``` +Add-ZNAssetRpcMonitoring -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +### AddExpanded +``` +Add-ZNAssetRpcMonitoring -Items [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Add assets to RPC Monitoring +```powershell +Add-ZNAssetRpcMonitoring -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet adds multiple assets to RPC monitoring. + +### Example 1: Add an asset to RPC Monitoring +```powershell +Add-ZNAssetRpcMonitoring -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet adds an asset to RPC monitoring. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Add +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: AddExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Add-ZNAssetRpcSegment.md b/help/zeronetworks/Add-ZNAssetRpcSegment.md similarity index 77% rename from src/ZN/docs/Add-ZNAssetRpcSegment.md rename to help/zeronetworks/Add-ZNAssetRpcSegment.md index f52cbf4..31fe73f 100644 --- a/src/ZN/docs/Add-ZNAssetRpcSegment.md +++ b/help/zeronetworks/Add-ZNAssetRpcSegment.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-znassetrpcsegment +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znassetrpcsegment schema: 2.0.0 --- @@ -14,12 +14,12 @@ Returns and empty object. ### AddExpanded (Default) ``` -Add-ZNAssetRpcSegment -Items [-Confirm] [-WhatIf] [] +Add-ZNAssetRpcSegment -Items [-AccountName ] [-Confirm] [-WhatIf] [] ``` ### AddExpanded1 ``` -Add-ZNAssetRpcSegment -AssetId [-Confirm] [-WhatIf] [] +Add-ZNAssetRpcSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -43,6 +43,21 @@ This cmdlet adds an asset to RPC segmentation. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/help/zeronetworks/Add-ZNCustomGroupsMember.md b/help/zeronetworks/Add-ZNCustomGroupsMember.md new file mode 100644 index 0000000..dc925e5 --- /dev/null +++ b/help/zeronetworks/Add-ZNCustomGroupsMember.md @@ -0,0 +1,125 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-zncustomgroupsmember +schema: 2.0.0 +--- + +# Add-ZNCustomGroupsMember + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Add-ZNCustomGroupsMember -GroupId -MembersId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Add a member to a custom group +```powershell +$cgroup = Get-ZNCustomGroup | where {$_.Name -eq "test2"} +Add-ZNCustomGroupsMember -GroupId $cgroup.Id -MembersId (Search-ZNAsset -Fqdn dc1.zero.labs) +``` + +This cmdlet adds a member to the custom group in the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MembersId +members id + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Add-ZNGroupsAssetManager.md b/help/zeronetworks/Add-ZNGroupsAssetManager.md new file mode 100644 index 0000000..4de3336 --- /dev/null +++ b/help/zeronetworks/Add-ZNGroupsAssetManager.md @@ -0,0 +1,168 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-zngroupsassetmanager +schema: 2.0.0 +--- + +# Add-ZNGroupsAssetManager + +## SYNOPSIS +Add an asset manager of a group + +## SYNTAX + +``` +Add-ZNGroupsAssetManager -GroupId -GroupType -ManagerIds -Permission + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Add an asset manager of a group + +## EXAMPLES + +### Example 1: Add asset manager to a group +```powershell +Add-ZNGroupsAssetManager -GroupId g:a:cai6Wuyd -GroupType tag -ManagerIds @("u:a:RVVXGo4w") +``` + +This cmdlet adds an asset manager to a group. +An asset manager can be a group or user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerIds +managers id + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Add-ZNGroupsManagedAsset.md b/help/zeronetworks/Add-ZNGroupsManagedAsset.md new file mode 100644 index 0000000..468c5d7 --- /dev/null +++ b/help/zeronetworks/Add-ZNGroupsManagedAsset.md @@ -0,0 +1,168 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-zngroupsmanagedasset +schema: 2.0.0 +--- + +# Add-ZNGroupsManagedAsset + +## SYNOPSIS +Add a managed assets for group + +## SYNTAX + +``` +Add-ZNGroupsManagedAsset -GroupId -GroupType [-AccountName ] [-EntityIds ] + [-Permission ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Add a managed assets for group + +## EXAMPLES + +### Example 1: Add a managed asset to a group +```powershell +Add-ZNGroupsManagedAsset -GroupId g:a:cai6Wuyd -GroupType ad -EntityIds @("g:t:01445453") +``` + +This cmdlet adds a managed asset to a group. +A managed asset can be a group or asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityIds +managed asset ids + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Add-ZNTagGroupsMember.md b/help/zeronetworks/Add-ZNTagGroupsMember.md new file mode 100644 index 0000000..da79ca2 --- /dev/null +++ b/help/zeronetworks/Add-ZNTagGroupsMember.md @@ -0,0 +1,141 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-zntaggroupsmember +schema: 2.0.0 +--- + +# Add-ZNTagGroupsMember + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Add-ZNTagGroupsMember -GroupId -MembersId [-AccountName ] [-Comment ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Add a member to tag group +```powershell +$tagGroup = (Get-ZNGroup -Search "externally facing servers").Items +$asset = (Search-ZNAsset -Fqdn as01.posh.local).AssetId +Add-ZNTagGroupsMember -GroupId $tagGroup.id -MembersId @($asset) +``` + +This cmdlet adds members to a tag group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Comment +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MembersId +members id + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Add-ZNUsersManagedAsset.md b/help/zeronetworks/Add-ZNUsersManagedAsset.md new file mode 100644 index 0000000..9e3a616 --- /dev/null +++ b/help/zeronetworks/Add-ZNUsersManagedAsset.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znusersmanagedasset +schema: 2.0.0 +--- + +# Add-ZNUsersManagedAsset + +## SYNOPSIS +Add a managed assets for user + +## SYNTAX + +``` +Add-ZNUsersManagedAsset -UserId [-AccountName ] [-EntityIds ] [-Permission ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Add a managed assets for user + +## EXAMPLES + +### Example 1: Add managed asset to a user +```powershell +Add-ZNUsersManagedAsset -UserId u:a:RVVXGo4w -EntityIds @("g:t:01445453") +``` + +This cmdlet adds a managed asset to a user. +A managed asset can be a group or asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityIds +managed asset ids + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Approve-ZNAssetInboundRuleReview.md b/help/zeronetworks/Approve-ZNAssetInboundRuleReview.md new file mode 100644 index 0000000..607e591 --- /dev/null +++ b/help/zeronetworks/Approve-ZNAssetInboundRuleReview.md @@ -0,0 +1,337 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNAssetInboundRuleReview +schema: 2.0.0 +--- + +# Approve-ZNAssetInboundRuleReview + +## SYNOPSIS +Approve a "pending review" rule with or without changes + +## SYNTAX + +### ApproveExpanded (Default) +``` +Approve-ZNAssetInboundRuleReview -AssetId -RuleId [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ApproveWithChangesExpanded +``` +Approve-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Description ] + [-Details ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] + [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] + [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Approve a "pending review" rule with or without changes + +## EXAMPLES + +### Example 1: Approve a rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn linux0.posh.local +Approve-ZNAssetInboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' +``` + +This cmdlet approves a rule pending review for a specific asset. + +### Example 2: Approve a rule for a specific asset with changes +```powershell +Approve-ZNAssetInboundRuleReview -AssetId $asset -RuleId 'e4a170be-c192-414a-9d36-380a4483583a' -Description "new description" -Reason "Other" -Details "add description" +``` + +This cmdlet also supports changing the rule details upon approval. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Details +Comments + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +[-RuleInfoDescription \] + excluded destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +[-RuleInfoExcludedLocalIdsList \] + when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ipSecOpt +[-RuleInfoExpiresAt \] + when the rule should expiry. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +[-RuleInfoLocalEntityId \] + the destination process paths. + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +[-RuleInfoLocalProcessesList \] + the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Reason +Review Reason int32 + +```yaml +Type: System.Object +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +[-RuleInfoPortsList \] + the source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +[-RuleInfoRemoteEntityIdsList \] + the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: [-RuleInfoLocalProcessesList ] the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Approve-ZNAssetOutboundRuleReview.md b/help/zeronetworks/Approve-ZNAssetOutboundRuleReview.md new file mode 100644 index 0000000..bf053e0 --- /dev/null +++ b/help/zeronetworks/Approve-ZNAssetOutboundRuleReview.md @@ -0,0 +1,337 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNAssetOutboundRuleReview +schema: 2.0.0 +--- + +# Approve-ZNAssetOutboundRuleReview + +## SYNOPSIS +Approve a "pending review" rule with or without changes + +## SYNTAX + +### ApproveExpanded (Default) +``` +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### ApproveWithChangesExpanded +``` +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Description ] + [-Details ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] + [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] + [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Approve a "pending review" rule with or without changes + +## EXAMPLES + +### Example 1: Approve a rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn linux0.posh.local +Approve-ZNAssetOutboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' +``` + +This cmdlet approves a rule pending review for a specific asset. + +### Example 2: Approve a rule for a specific asset with changes +```powershell +Approve-ZNAssetOutboundRuleReview -AssetId $asset -RuleId 'e4a170be-c192-414a-9d36-380a4483583a' -Description "new description" -Reason "Other" -Details "add description" +``` + +This cmdlet also supports changing the rule details upon approval. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Details +Comments + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +[-RuleInfoDescription \] + excluded destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +[-RuleInfoExcludedLocalIdsList \] + when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ipSecOpt +[-RuleInfoExpiresAt \] + when the rule should expiry. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +[-RuleInfoLocalEntityId \] + the destination process paths. + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +[-RuleInfoLocalProcessesList \] + the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Reason +Review Reason int32 + +```yaml +Type: System.Object +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +[-RuleInfoPortsList \] + the source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +[-RuleInfoRemoteEntityIdsList \] + the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: [-RuleInfoLocalProcessesList ] the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Approve-ZNInboundRuleReview.md b/help/zeronetworks/Approve-ZNInboundRuleReview.md new file mode 100644 index 0000000..a4a2dcb --- /dev/null +++ b/help/zeronetworks/Approve-ZNInboundRuleReview.md @@ -0,0 +1,319 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNInboundRuleReview +schema: 2.0.0 +--- + +# Approve-ZNInboundRuleReview + +## SYNOPSIS +Approve a "pending review" rule with or without changes + +## SYNTAX + +### ApproveExpanded (Default) +``` +Approve-ZNInboundRuleReview -RuleId [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ApproveWithChangesExpanded +``` +Approve-ZNInboundRuleReview -RuleId -Reason [-Description ] [-Details ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] [-LocalEntityId ] + [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Approve a "pending review" rule with or without changes + +## EXAMPLES + +### Example 1: Approve a rule +```powershell +Approve-ZNInboundRuleReview -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' +``` + +This cmdlet approves a rule pending review. + +### Example 2: Approve a rule +```powershell +Approve-ZNInboundRuleReview -RuleId 'e4a170be-c192-414a-9d36-380a4483583a' -Description "new description" -Reason "Other" -Details "add description" +``` + +This cmdlet also supports changing the rule details upon approval. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Details +Comments + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +[-RuleInfoDescription \] + excluded destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +[-RuleInfoExcludedLocalIdsList \] + when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ipSecOpt +[-RuleInfoExpiresAt \] + when the rule should expiry. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +[-RuleInfoLocalEntityId \] + the destination process paths. + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +[-RuleInfoLocalProcessesList \] + the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Reason +Review Reason int32 + +```yaml +Type: System.Object +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +[-RuleInfoPortsList \] + the source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +[-RuleInfoRemoteEntityIdsList \] + the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: [-RuleInfoLocalProcessesList ] the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Approve-ZNOutboundRuleReview.md b/help/zeronetworks/Approve-ZNOutboundRuleReview.md new file mode 100644 index 0000000..3e05357 --- /dev/null +++ b/help/zeronetworks/Approve-ZNOutboundRuleReview.md @@ -0,0 +1,319 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNOutboundRuleReview +schema: 2.0.0 +--- + +# Approve-ZNOutboundRuleReview + +## SYNOPSIS +Approve a "pending review" rule with or without changes + +## SYNTAX + +### ApproveExpanded (Default) +``` +Approve-ZNOutboundRuleReview -RuleId [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### ApproveWithChangesExpanded +``` +Approve-ZNOutboundRuleReview -RuleId -Reason [-Description ] [-Details ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] [-LocalEntityId ] + [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Approve a "pending review" rule with or without changes + +## EXAMPLES + +### Example 1: Approve a rule +```powershell +Approve-ZNOutboundRuleReview -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' +``` + +This cmdlet approves a rule pending review. + +### Example 2: Approve a rule +```powershell +Approve-ZNOutboundRuleReview -RuleId 'e4a170be-c192-414a-9d36-380a4483583a' -Description "new description" -Reason "Other" -Details "add description" +``` + +This cmdlet also supports changing the rule details upon approval. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Details +Comments + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +[-RuleInfoDescription \] + excluded destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +[-RuleInfoExcludedLocalIdsList \] + when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ipSecOpt +[-RuleInfoExpiresAt \] + when the rule should expiry. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +[-RuleInfoLocalEntityId \] + the destination process paths. + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +[-RuleInfoLocalProcessesList \] + the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Reason +Review Reason int32 + +```yaml +Type: System.Object +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +[-RuleInfoPortsList \] + the source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +[-RuleInfoRemoteEntityIdsList \] + the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: [-RuleInfoLocalProcessesList ] the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Connect-ZN.md b/help/zeronetworks/Connect-ZN.md new file mode 100644 index 0000000..73aa0c0 --- /dev/null +++ b/help/zeronetworks/Connect-ZN.md @@ -0,0 +1,116 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/connect-zn +schema: 2.0.0 +--- + +# Connect-ZN + +## SYNOPSIS +Login to Zero Networks to get a token for cmdlet use + +## SYNTAX + +``` +Connect-ZN -AccountName -Email [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Login to Zero Networks to get a token for cmdlet use. +NOTE: If your environment has a IdP set for default authentication, you cannot use this cmdlet and will need to use Set-ZNApiKey cmdlet using an API token. + +#.Link +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Connect-ZN + +## EXAMPLES + +### Example 1: Logs into Zero Networks using email otp +```powershell +Connect-ZN -UserName user@zeronetworks.com +Please enter the OTP code recieved via email +Code: 11111 +``` + +```output +authenticatedVia isPhoneChallengeSupported +---------------- ------------------------- +user@zeronetworks.com False +``` + +This cmdlet logs into Zero Networks + +## PARAMETERS + +### -AccountName +Domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Email +login + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Deny-ZNAssetInboundRuleReview.md b/help/zeronetworks/Deny-ZNAssetInboundRuleReview.md new file mode 100644 index 0000000..855a8d7 --- /dev/null +++ b/help/zeronetworks/Deny-ZNAssetInboundRuleReview.md @@ -0,0 +1,168 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNAssetInboundRuleReview +schema: 2.0.0 +--- + +# Deny-ZNAssetInboundRuleReview + +## SYNOPSIS +Reject a "pending review" rule + +## SYNTAX + +``` +Deny-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Reject a "pending review" rule + +## EXAMPLES + +### Example 1: Deny a rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn linux0.posh.local +Deny-ZNAssetInboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -ReviewReason 'RedundantRule' +``` + +This cmdlet denies a rule pending review for a specific asset. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Details +Comments + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Reason +Review Reason int32 + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Deny-ZNAssetOutboundRuleReview.md b/help/zeronetworks/Deny-ZNAssetOutboundRuleReview.md new file mode 100644 index 0000000..8891e49 --- /dev/null +++ b/help/zeronetworks/Deny-ZNAssetOutboundRuleReview.md @@ -0,0 +1,168 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNAssetOutboundRuleReview +schema: 2.0.0 +--- + +# Deny-ZNAssetOutboundRuleReview + +## SYNOPSIS +Reject a "pending review" rule + +## SYNTAX + +``` +Deny-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Reject a "pending review" rule + +## EXAMPLES + +### Example 1: Deny a rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn linux0.posh.local +Deny-ZNAssetOutboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -ReviewReason 'RedundantRule' +``` + +This cmdlet denies a rule pending review for a specific asset. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Details +Comments + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Reason +Review Reason int32 + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Deny-ZNInboundRuleReview.md b/help/zeronetworks/Deny-ZNInboundRuleReview.md new file mode 100644 index 0000000..9afeb80 --- /dev/null +++ b/help/zeronetworks/Deny-ZNInboundRuleReview.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNInboundRuleReview +schema: 2.0.0 +--- + +# Deny-ZNInboundRuleReview + +## SYNOPSIS +Reject a "pending review" rule + +## SYNTAX + +``` +Deny-ZNInboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Reject a "pending review" rule + +## EXAMPLES + +### Example 1: Reject a pending inbound rule +```powershell +Deny-ZNInboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -ReviewReason MissingPortorProcess +``` + +This cmdlet rejects a pending rule review for inbound rules. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Details +Comments + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Reason +Review Reason int32 + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Deny-ZNOutboundRuleReview.md b/help/zeronetworks/Deny-ZNOutboundRuleReview.md new file mode 100644 index 0000000..5e5c673 --- /dev/null +++ b/help/zeronetworks/Deny-ZNOutboundRuleReview.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNOutboundRuleReview +schema: 2.0.0 +--- + +# Deny-ZNOutboundRuleReview + +## SYNOPSIS +Reject a "pending review" rule + +## SYNTAX + +``` +Deny-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Reject a "pending review" rule + +## EXAMPLES + +### Example 1: Reject a pending outbound rule +```powershell +Deny-ZNOutboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -ReviewReason RedundantRule +``` + +This cmdlet rejects a pending rule review for outbound rules. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Details +Comments + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Reason +Review Reason int32 + +```yaml +Type: System.Object +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Disconnect-ZN.md b/help/zeronetworks/Disconnect-ZN.md new file mode 100644 index 0000000..25b9029 --- /dev/null +++ b/help/zeronetworks/Disconnect-ZN.md @@ -0,0 +1,77 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/disconnect-zn +schema: 2.0.0 +--- + +# Disconnect-ZN + +## SYNOPSIS +Logout of Zero Networks + +## SYNTAX + +``` +Disconnect-ZN [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Logout of Zero Networks + +#.Link +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Disconnect-zn + +## EXAMPLES + +### Example 1: Log out of Zero Networks +```powershell +Disconnect-ZN +``` + +This cmdlet logs out of Zero Networks + +## PARAMETERS + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Enable-ZNAssetQuarantine.md b/help/zeronetworks/Enable-ZNAssetQuarantine.md new file mode 100644 index 0000000..24fea1a --- /dev/null +++ b/help/zeronetworks/Enable-ZNAssetQuarantine.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/enable-znassetquarantine +schema: 2.0.0 +--- + +# Enable-ZNAssetQuarantine + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### EnableExpanded (Default) +``` +Enable-ZNAssetQuarantine -AssetId -Quarantine [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### EnableExpanded1 +``` +Enable-ZNAssetQuarantine -AssetIds -Quarantine [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Quarnatine an asset +```powershell +Enable-ZNAssetQuarantine -AssetId "a:d:FMVqm8jZ" -Quarantine +``` + +This cmdlet enables quarantine for an asset. + +### Example 2: Disable quarantine for an asset +```powershell +Enable-ZNAssetQuarantine -AssetId "a:d:FMVqm8jZ" -Quarantine:$false +``` + +This cmdlet disables quarantine for an asset. + +### Example 3: Quarnatine assets +```powershell +Enable-ZNAssetQuarantine -AssetIds @("a:d:FMVqm8jZ","a:l:4NMHdoaO") -Quarantine +``` + +This cmdlet enables quarantine for assets. + +### Example 2: Disable quarantine for assets +```powershell +Enable-ZNAssetQuarantine -AssetIds @("a:d:FMVqm8jZ","a:l:4NMHdoaO") -Quarantine:$false +``` + +This cmdlet disables quarantine for assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: EnableExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: EnableExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Quarantine +Indicates whether to enable or disable quarantine + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Enable-ZNAssetsQuarantine.md b/help/zeronetworks/Enable-ZNAssetsQuarantine.md new file mode 100644 index 0000000..da7604f --- /dev/null +++ b/help/zeronetworks/Enable-ZNAssetsQuarantine.md @@ -0,0 +1,173 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/enable-znassetsquarantine +schema: 2.0.0 +--- + +# Enable-ZNAssetsQuarantine + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### EnableExpanded (Default) +``` +Enable-ZNAssetsQuarantine -AssetIds -Quarantine [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### Enable +``` +Enable-ZNAssetsQuarantine -Body [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +Array of AssetIds + +```yaml +Type: System.String[] +Parameter Sets: EnableExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsQuarantineBody +Parameter Sets: Enable +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Quarantine +Indicates whether to enable or disable quarantine + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: EnableExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsQuarantineBody + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `AssetIds >`: Array of AssetIds + - `Quarantine `: Indicates whether to enable or disable quarantine + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAeExclusionsInbound.md b/help/zeronetworks/Get-ZNAeExclusionsInbound.md new file mode 100644 index 0000000..f597373 --- /dev/null +++ b/help/zeronetworks/Get-ZNAeExclusionsInbound.md @@ -0,0 +1,279 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaeexclusionsinbound +schema: 2.0.0 +--- + +# Get-ZNAeExclusionsInbound + +## SYNOPSIS +Returns a list of AE exclusions. + +## SYNTAX + +``` +Get-ZNAeExclusionsInbound [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of AE exclusions. + +## EXAMPLES + +### Example 1: List Inbound AE Exclusions +```powershell +(Get-ZNAeExclusionsInbound).Items +``` + +```output +Action : 1 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1709213209409 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1726517957934 +DeltedById : +DeltedByName : +Description : +Direction : 1 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem, + ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:110001} +RemoteEntityInfos : {Any asset} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1726517957934 +UpdatedById : +UpdatedByName : + +Action : 1 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1702254842410 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1723024981263 +DeltedById : +DeltedByName : +Description : Auto-generated rule for tagged traffic +Direction : 1 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : 12726147-20f1-49d3-96b1-1090bbcbe15d +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem, + ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:110001} +RemoteEntityInfos : {Any asset} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1723024981263 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet lists inbound AE Exclusions. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAeExclusionList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAeExclusionsOutbound.md b/help/zeronetworks/Get-ZNAeExclusionsOutbound.md new file mode 100644 index 0000000..1588cf0 --- /dev/null +++ b/help/zeronetworks/Get-ZNAeExclusionsOutbound.md @@ -0,0 +1,239 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaeexclusionsoutbound +schema: 2.0.0 +--- + +# Get-ZNAeExclusionsOutbound + +## SYNOPSIS +Returns a list of AE exclusions. + +## SYNTAX + +``` +Get-ZNAeExclusionsOutbound [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of AE exclusions. + +## EXAMPLES + +### Example 1: List Outbound AE Exclusions +```powershell +(Get-ZNAeExclusionsOutbound).Items +``` + +```output +Action : 2 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1708466176008 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1726517957934 +DeltedById : +DeltedByName : +Description : +Direction : 2 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : a9c77d74-68f5-4205-9219-1e012d317902 +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:120101010120} +RemoteEntityInfos : {1.1.1.1} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1726517957934 +UpdatedById : +UpdatedByName : +``` + +This cmdlet lists outbound AE Exclusions. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAeExclusionList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAiExclusionNetworkBoth.md b/help/zeronetworks/Get-ZNAiExclusionNetworkBoth.md new file mode 100644 index 0000000..8e36336 --- /dev/null +++ b/help/zeronetworks/Get-ZNAiExclusionNetworkBoth.md @@ -0,0 +1,69 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionnetworkboth +schema: 2.0.0 +--- + +# Get-ZNAiExclusionNetworkBoth + +## SYNOPSIS +Get AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## SYNTAX + +``` +Get-ZNAiExclusionNetworkBoth [-AccountName ] [] +``` + +## DESCRIPTION +Get AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## EXAMPLES + +### Example 1: Get the AI Exclusion Setting for all asset types +```powershell +Get-ZNAiExclusionNetworkBoth +``` + +```output + +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +False {} +``` + +This cmdlet returns the AI Exclusion setting for all asset types under Data Collection. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAiExclusionInfo + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAiExclusionNetworkClient.md b/help/zeronetworks/Get-ZNAiExclusionNetworkClient.md new file mode 100644 index 0000000..a1751d4 --- /dev/null +++ b/help/zeronetworks/Get-ZNAiExclusionNetworkClient.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionnetworkclient +schema: 2.0.0 +--- + +# Get-ZNAiExclusionNetworkClient + +## SYNOPSIS +Get AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## SYNTAX + +``` +Get-ZNAiExclusionNetworkClient [-AccountName ] [] +``` + +## DESCRIPTION +Get AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## EXAMPLES + +### Example 1: Get the AI Exclusion Setting for clients +```powershell +Get-ZNAiExclusionNetworkClient +``` + +```output +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +False {} +``` + +This cmdlet returns the AI Exclusion setting for clients under Data Collection. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAiExclusionInfo + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAiExclusionNetworkServer.md b/help/zeronetworks/Get-ZNAiExclusionNetworkServer.md new file mode 100644 index 0000000..0803703 --- /dev/null +++ b/help/zeronetworks/Get-ZNAiExclusionNetworkServer.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionnetworkserver +schema: 2.0.0 +--- + +# Get-ZNAiExclusionNetworkServer + +## SYNOPSIS +Get AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## SYNTAX + +``` +Get-ZNAiExclusionNetworkServer [-AccountName ] [] +``` + +## DESCRIPTION +Get AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## EXAMPLES + +### Example 1: Get the AI Exclusion Setting for servers +```powershell +Get-ZNAiExclusionNetworkServer +``` + +```output +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +False {} +``` + +This cmdlet returns the AI Exclusion setting for servers under Data Collection. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAiExclusionInfo + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAiExclusionSourceCandidate.md b/help/zeronetworks/Get-ZNAiExclusionSourceCandidate.md new file mode 100644 index 0000000..4fd822a --- /dev/null +++ b/help/zeronetworks/Get-ZNAiExclusionSourceCandidate.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAiExclusionSourceCandidate + +## SYNOPSIS +Get AI source candidates to ignore during learning. + +## SYNTAX + +``` +Get-ZNAiExclusionSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Get AI source candidates to ignore during learning. + +## EXAMPLES + +### Example 1: List exclusion candidates for AT settings +```powershell +(Get-ZNAiExclusionSourceCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +0 a:l:K5ZTGaUI linux61067 1 +0 a:l:i3MbKT4B linux456156 1 +0 a:l:Bn5E1jNy linux908049 1 +0 a:l:PRsv0HXF linux982753 1 +0 a:l:Nhu8SvSE linux294710 1 +0 a:l:goXZ3fpT Linux1 1 +0 a:l:jnf66dVn Linux3 1 +0 a:l:hC8rOTo0 Linux0 1 +0 a:l:WHtk9O7L Linux2 1 +0 a:l:FB8CBey8 Linux10 1 +``` + +This cmdlet will list candidates for AI exclusion sources. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetCandidateList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAiExclusionSourceEntity.md b/help/zeronetworks/Get-ZNAiExclusionSourceEntity.md new file mode 100644 index 0000000..1afd243 --- /dev/null +++ b/help/zeronetworks/Get-ZNAiExclusionSourceEntity.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionsourceentity +schema: 2.0.0 +--- + +# Get-ZNAiExclusionSourceEntity + +## SYNOPSIS +Get AI source entities to ignore during learning. + +## SYNTAX + +``` +Get-ZNAiExclusionSourceEntity [-AccountName ] [] +``` + +## DESCRIPTION +Get AI source entities to ignore during learning. + +## EXAMPLES + +### Example 1: Get excluded source entities +```powershell +Get-ZNAiExclusionSourceEntity +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:8ErCHXe8 DC01 3 +``` + +This cmdlet lists the excluded source entities for AI settings under Data Collection. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPaths67UhudSettingsAiExclusionSrcEntitiesGetResponses200ContentApplicationJsonSchema + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAiNextBatch.md b/help/zeronetworks/Get-ZNAiNextBatch.md new file mode 100644 index 0000000..4935fdd --- /dev/null +++ b/help/zeronetworks/Get-ZNAiNextBatch.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znainextbatch +schema: 2.0.0 +--- + +# Get-ZNAiNextBatch + +## SYNOPSIS +Returns a date in epoch(ms) for the next batch of AI rules. + +## SYNTAX + +``` +Get-ZNAiNextBatch [-AccountName ] [] +``` + +## DESCRIPTION +Returns a date in epoch(ms) for the next batch of AI rules. + +## EXAMPLES + +### Example 1: Get the date for the next batch of AI rules creation +```powershell +$aiDate = Get-ZNAiNextBatch +(Get-Date -Date "01-01-1970") + ([System.TimeSpan]::FromMilliseconds($aiDate)) +``` + +```output +Thursday, October 20, 2022 11:59:59 PM +``` + +The date is stored in epoch(MS). +It can easily be converted to human readable date. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.INextBatch + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAsset.md b/help/zeronetworks/Get-ZNAsset.md new file mode 100644 index 0000000..30e2b87 --- /dev/null +++ b/help/zeronetworks/Get-ZNAsset.md @@ -0,0 +1,267 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znasset +schema: 2.0.0 +--- + +# Get-ZNAsset + +## SYNOPSIS +Returns the properties of an asset. + +## SYNTAX + +### List (Default) +``` +Get-ZNAsset [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [] +``` + +### Get +``` +Get-ZNAsset -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an asset. + +## EXAMPLES + +### Example 1: List assets +```powershell +(Get-ZNAsset).Items +``` + +```output +AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source +----------- --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ +6 0 {192.168.219.218} {} a:u:vRZwSRpH Amir Frankel's-Windows10-8fd7 1 2 +2 2 zero.labs dc1.zero.labs {192.168.10.0} {fe80::8863:40e6:ced3:75a8} a:a:ZgBWOMyc DC1 Windows Server 2012 R2 Datacenter 5 3 +2 2 zero.labs fs1.zero.labs {192.168.10.2} {fe80::190f:e8a3:b0de:3fcd} a:a:GnyWAsYs FS1 Windows Server 2008 R2 Datacenter 3 3 +2 2 zero.labs trust1.zero.labs {192.168.10.1} {} a:a:EP2KKITZ TRUST1 Windows Server 2019 Standard 3 3 +2 1 zero.labs win10-1.zero.labs {192.168.10.3} {} a:a:6BokfBbU WIN10-1 Windows 10 Pro 3 3 +2 1 zero.labs win10-2.zero.labs {192.168.10.4} {} a:a:HYZhxRzI WIN10-2 Windows 10 Pro 3 3 +2 1 zero.labs win10-3.zero.labs {192.168.10.5} {} a:a:qnRgyRA9 WIN10-3 Windows 10 Pro 3 3 +2 1 zero.labs WIN7.zero.labs {192.168.10.6} {} a:a:5wiknOhs WIN7 Windows 7 Ultimate 3 3 +2 1 zero.labs win8-1.zero.labs {192.168.10.7} {} a:a:cxIJepiA win8-1 Windows 8.1 Enterprise 3 3 +``` + +The cmdlet will list Assets for the environment. + +### Example 2: List next page of assets +```powershell +(Get-ZNAsset -Offset 20).Items +``` + +```output +AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source +----------- --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ +2 2 zero.labs dc1.zero.labs {192.168.10.0} {fe80::8863:40e6:ced3:75a8} a:a:ZgBWOMyc DC1 Windows Server 2012 R2 Datacenter 5 3 +2 2 zero.labs fs1.zero.labs {192.168.10.2} {fe80::190f:e8a3:b0de:3fcd} a:a:GnyWAsYs FS1 Windows Server 2008 R2 Datacenter 3 3 +2 2 zero.labs trust1.zero.labs {192.168.10.1} {} a:a:EP2KKITZ TRUST1 Windows Server 2019 Standard 3 3 +2 1 zero.labs win10-1.zero.labs {192.168.10.3} {} a:a:6BokfBbU WIN10-1 Windows 10 Pro 3 3 +2 1 zero.labs win10-2.zero.labs {192.168.10.4} {} a:a:HYZhxRzI WIN10-2 Windows 10 Pro 3 3 +2 1 zero.labs win10-3.zero.labs {192.168.10.5} {} a:a:qnRgyRA9 WIN10-3 Windows 10 Pro 3 3 +2 1 zero.labs WIN7.zero.labs {192.168.10.6} {} a:a:5wiknOhs WIN7 Windows 7 Ultimate 3 3 +2 1 zero.labs win8-1.zero.labs {192.168.10.7} {} a:a:cxIJepiA win8-1 Windows 8.1 Enterprise 3 3 +``` + +Use offset to get the next page of assets. + +### Example 3: Get an asset by Id +```powershell +Get-ZNAsset -AssetId a:a:ZgBWOMyc +``` + +```output +EntityAssetStatus : 2 +EntityAssetType : 2 +EntityDomain : zero.labs +EntityFqdn : dc1.zero.labs +EntityId : a:a:ZgBWOMyc +EntityIpv4Addresses : {192.168.10.0} +EntityIpv6Addresses : {fe80::8863:40e6:ced3:75a8} +EntityManagers : +EntityName : DC1 +EntityOperatingSystem : Windows Server 2012 R2 Datacenter +EntityProtectionState : 5 +EntitySource : 3 +StateAssetId : a:a:ZgBWOMyc +StateIsAssetConnected : False +StateLasDisconnectedAt : +StateProtectAt : 1678543200000 +StateProtectionState : 5 +``` + +Use the id parameter get an asset's properties. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ShowInactive +show inactive assets + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetAnalysis.md b/help/zeronetworks/Get-ZNAssetAnalysis.md new file mode 100644 index 0000000..a9a903f --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetAnalysis.md @@ -0,0 +1,165 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetanalysis +schema: 2.0.0 +--- + +# Get-ZNAssetAnalysis + +## SYNOPSIS +Returns an object with asset analysis data. + +## SYNTAX + +``` +Get-ZNAssetAnalysis -AssetId -Direction [-AccountName ] [-Connectionstate ] + [-From ] [-Sort ] [-To ] [] +``` + +## DESCRIPTION +Returns an object with asset analysis data. + +## EXAMPLES + +### Example 1: Get asset analysis +```powershell +Get-ZNAssetAnalysis -AssetId a:a:ZgBWOMyc +``` + +```output +CountByAsset : 0 +CountByPort : 0 +CountByProcess : 0 +CountByUser : 0 +ItemByAsset : {} +ItemByPort : {} +ItemByProcess : {} +ItemByUser : {} +ItemConnectionState : +``` + +This cmdlet gets an asset analysis. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Connectionstate +connection state for the query + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Direction +direction for the query, incoming or outgoing + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -From +startTime in epoch(ms) + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sort +sort for the query + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -To +endTime in epoch(ms) + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetAnalysis + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetAudit.md b/help/zeronetworks/Get-ZNAssetAudit.md new file mode 100644 index 0000000..e41aac0 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetAudit.md @@ -0,0 +1,131 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetaudit +schema: 2.0.0 +--- + +# Get-ZNAssetAudit + +## SYNOPSIS +Returns a list of audits for the asset. + +## SYNTAX + +``` +Get-ZNAssetAudit -AssetId [-AccountName ] [-Cursor ] [-Order ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of audits for the asset. + +## EXAMPLES + +### Example 1: Get audits for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn "wc01.posh.local" +Get-ZNAssetAudit -AssetId $asset).items +``` + +```output +AuditType DestinationEntitiesList EnforcementSource PerformedByName +--------- ----------------------- ----------------- --------------- +74 {WC01} 6 ModuleTesting +8 {WC01} 6 test +``` + +This cmdlet gets audits for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAuditList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetClusterInfo.md b/help/zeronetworks/Get-ZNAssetClusterInfo.md new file mode 100644 index 0000000..60efc4c --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetClusterInfo.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetclusterinfo +schema: 2.0.0 +--- + +# Get-ZNAssetClusterInfo + +## SYNOPSIS +Returns an object of cluster name and cluster members + +## SYNTAX + +``` +Get-ZNAssetClusterInfo -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns an object of cluster name and cluster members + +## EXAMPLES + +### Example 1: Get Asset cluster information +```powershell +Get-ZNAssetClusterInfo -AssetId a:a:P0GVm1iZ +``` + +```output +ClusterInfoClusterMembersList ClusterInfoClusterName +----------------------------- ---------------------- +{fs01, fs02} FS +``` + +This cmdlet gets cluster information for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IClusterInfo + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetExternalAccessPolicy.md b/help/zeronetworks/Get-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..45c45c3 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,293 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetexternalaccesspolicy +schema: 2.0.0 +--- + +# Get-ZNAssetExternalAccessPolicy + +## SYNOPSIS +Returns an external access policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetExternalAccessPolicy -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNAssetExternalAccessPolicy -AssetId -PolicyId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns an external access policy. + +## EXAMPLES + +### Example 1: List external access policies for an asset +```powershell +(Get-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40).Items +``` + +```output +CreatedAt : 1726598869813 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:JBy1jmUL +Name : Ansible Server +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1726600514080 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +Url : https://ansible.test.local +``` + +This cmdlet lists all external access policies for an asset. + +### Example 2: Get an external access policy for an asset +```powershell +Get-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:JBy1jmUL +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1726600514080 +ItemUrl : https://ansible.test.local +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an external access policy for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md b/help/zeronetworks/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..0a8e5e3 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetexternalaccesspolicydestinationassetscandidate +schema: 2.0.0 +--- + +# Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate + +## SYNOPSIS +Returns a list of destunation assets candidates for an external access policy. + +## SYNTAX + +``` +Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate -AssetId [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destunation assets candidates for an external access policy. + +## EXAMPLES + +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Address + es +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md b/help/zeronetworks/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..b832b28 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetexternalaccesspolicysourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetExternalAccessPolicySourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for external access policies. + +## SYNTAX + +``` +Get-ZNAssetExternalAccessPolicySourceUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for external access policies. + +## EXAMPLES + +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNAssetExternalAccessPolicySourceUserCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetExternalAccessPolicyStatistics.md b/help/zeronetworks/Get-ZNAssetExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..5115aa1 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetExternalAccessPolicyStatistics.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetexternalaccesspolicystatistics +schema: 2.0.0 +--- + +# Get-ZNAssetExternalAccessPolicyStatistics + +## SYNOPSIS +Returns statistics for an external access policy. + +## SYNTAX + +``` +Get-ZNAssetExternalAccessPolicyStatistics -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns statistics for an external access policy. + +## EXAMPLES + +### Example 1: Get external access policy statistics +```powershell +Get-ZNAssetExternalAccessPolicyStatistics -AssetId a:n:3Odw9d40 +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyStatistics + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetHealthState.md b/help/zeronetworks/Get-ZNAssetHealthState.md new file mode 100644 index 0000000..558148e --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetHealthState.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassethealthstate +schema: 2.0.0 +--- + +# Get-ZNAssetHealthState + +## SYNOPSIS +Get asset health state + +## SYNTAX + +``` +Get-ZNAssetHealthState -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Get asset health state + +## EXAMPLES + +### Example 1: Get Health State +```powershell +Get-ZNAssetHealthState -AssetId a:d:FMVqm8jZ +``` + +```output +HealthIssuesList HealthStatus +---------------- ------------ + +``` + +This cmdlet gets an asset health state. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IHealthStateObject + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetIdentityRule.md b/help/zeronetworks/Get-ZNAssetIdentityRule.md new file mode 100644 index 0000000..115898e --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetIdentityRule.md @@ -0,0 +1,253 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetidentityrule +schema: 2.0.0 +--- + +# Get-ZNAssetIdentityRule + +## SYNOPSIS +Returns the properties of an Identity rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetIdentityRule -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Cursor ] [-Filters ] [-Limit ] [-Search ] [-WithCount] [] +``` + +### Get +``` +Get-ZNAssetIdentityRule -AssetId -RuleId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an Identity rule. + +## EXAMPLES + +### Example 1: List asset identity rules +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetIdentityRule -AssetId $asset).ITems +``` + +```output +CreatedAt Id UserInfos AssetInfoName ExcludedAssetInfos IdentityProtectionCategoryList ExpiresAt Rule + clas + s +--------- -- --------- ------------- ------------------ ------------------------------ --------- ---- +1700672773316 8f1fb334-a9bd-4037-930a-d72aee11cecb {Domain Admins} Domain controllers {} {1, 5} 0 +``` + +This cmdlet lists identity rules for an asset. + +### Example 2: Get an identity rule for an asset. +```powershell +Get-ZNAssetIdentityRule -AssetId $asset -RuleId ff9cc79c-21b6-4363-82e1-da6bc6bbdaf0 +``` + +```output +AssetInfoId : +AssetInfoName : +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:b12c928ed7b931203e027dfb7147356fe7824412 +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemAssetId : a:a:TeGEW52g +ItemCreatedAt : 1700752866802 +ItemDescription : test +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : ff9cc79c-21b6-4363-82e1-da6bc6bbdaf0 +ItemIdentityProtectionCategoryList : {5} +ItemParentId : +ItemParentType : 0 +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +ItemUserIdsList : {u:a:mACDNWcW} +ItemUserInfos : +UpdatedByEmail : +UpdatedByEnforcementSource : +UpdatedById : +UpdatedByName : +UpdatedByUserRole : +``` + +This cmdlet gets an identity rule for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetIdentityRulesAssetsCandidate.md b/help/zeronetworks/Get-ZNAssetIdentityRulesAssetsCandidate.md new file mode 100644 index 0000000..a492920 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetIdentityRulesAssetsCandidate.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetidentityrulesassetscandidate +schema: 2.0.0 +--- + +# Get-ZNAssetIdentityRulesAssetsCandidate + +## SYNOPSIS +Returns a list of assets candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNAssetIdentityRulesAssetsCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of assets candidates for Identity rules. + +## EXAMPLES + +### Example 1: List asset candidates for identity rules +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetIdentityRulesAssetsCandidate -AssetId $asset +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses Sou + rce +-- ---- ---- ----------- ------------------ ------------- ------------- --- +b:110002 All segmented assets +b:110004 All segmented servers +b:110005 All segmented clients +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 +a:a:t8SZ1cp2 TS01 +a:a:OtfLGUBq WC01 +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +``` + +This cmdlet lists the asset candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md b/help/zeronetworks/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md new file mode 100644 index 0000000..5486b42 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md @@ -0,0 +1,143 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetidentityrulesexcludedassetscandidate +schema: 2.0.0 +--- + +# Get-ZNAssetIdentityRulesExcludedAssetsCandidate + +## SYNOPSIS +Returns a list of excluded assets candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded assets candidates for Identity rules. + +## EXAMPLES + +### Example 1: List excluded asset candidates for identity rule +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId $asset +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses Source AssetStatus ProtectionStat + e +-- ---- ---- ----------- ------------------ ------------- ------------- ------ ----------- -------------- +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 1 +a:a:t8SZ1cp2 TS01 3 +a:a:OtfLGUBq WC01 1 +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +``` + +This cmdlet lists excluded asset candidates for identity rules for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetIdentityRulesUserCandidate.md b/help/zeronetworks/Get-ZNAssetIdentityRulesUserCandidate.md new file mode 100644 index 0000000..f244f45 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetIdentityRulesUserCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetidentityrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetIdentityRulesUserCandidate + +## SYNOPSIS +Returns a list of user candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNAssetIdentityRulesUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of user candidates for Identity rules. + +## EXAMPLES + +### Example 1: List user candidates for identity rules +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetIdentityRulesUserCandidate -AssetId $asset +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +u:a:0jsjkic1 User14 +u:a:ATiwG34z User30 +u:a:4UydfhAS backups +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +u:a:IiObBkVQ krbtgt +u:a:6ZWP4tbK User53 +u:a:gOqRM6QW User21 +u:a:DiXg7R5u User51 +u:a:E1yQF2eJ User13 +u:a:h9ePwNQg User69 +u:a:hC3Ylccx User79 +``` + +This cmdlet lists the user candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetInboundRule.md b/help/zeronetworks/Get-ZNAssetInboundRule.md new file mode 100644 index 0000000..91c5a49 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetInboundRule.md @@ -0,0 +1,315 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetinboundrule +schema: 2.0.0 +--- + +# Get-ZNAssetInboundRule + +## SYNOPSIS +Returns the properties of an Inbound rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetInboundRule -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Direction ] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNAssetInboundRule -AssetId -RuleId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an Inbound rule. + +## EXAMPLES + +### Example 1: List rules for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetInboundRule -AssetId $asset +``` + +```output +CreatedAt RemoteEntityInfos LocalEntityInfoName Ruleclass ActivitiesCount Id CreatedByEnforcementSource State Description +--------- ----------------- ------------------- --------- --------------- -- -------------------------- ----- ----------- +1677252137875 {Any asset} Domain controllers 17941 6764bd86-f3c6-4949-a827-64e1499b1b86 5 1 Auto-gener… +``` + +This cmdlet gets rules for a specific asset. + +### Example 2: Get a specific rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetInboundRule -AssetId $asset -RuleId 6764bd86-f3c6-4949-a827-64e1499b1b86 +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemAction : 1 +ItemActivitiesCount : 17941 +ItemApprovedAt : +ItemCreatedAt : 1677252137875 +ItemDescription : Auto-generated rule for tag groups +ItemDirection : 1 +ItemExcludedEntityInfos : {} +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 6764bd86-f3c6-4949-a827-64e1499b1b86 +ItemLocalEntityId : g:t:01445453 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem, ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {b:110001} +ItemRemoteEntityInfos : {Any asset} +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : 1684704013889 +LocalEntityInfoId : g:t:01445453 +LocalEntityInfoName : Domain controllers +UpdatedById : +UpdatedByName : +``` + +This cmdlet can get a specific rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Direction +direction for the query, incoming or outgoing + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 1 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityParams +JSON string URI encoded object {id: string, direction: AssetDirection} + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetInboundRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNAssetInboundRulesDestinationCandidate.md new file mode 100644 index 0000000..cf06c5a --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetInboundRulesDestinationCandidate.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetinboundrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetInboundRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNAssetInboundRulesDestinationCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for Inbound rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetInboundAllowRulesDestinationCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110002 All segmented assets + b:110004 All segmented servers + b:110005 All segmented clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible destination candidates for a rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetInboundRulesExcludedDestinationCandidate.md b/help/zeronetworks/Get-ZNAssetInboundRulesExcludedDestinationCandidate.md new file mode 100644 index 0000000..8989eac --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetInboundRulesExcludedDestinationCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetinboundrulesexcludeddestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetInboundRulesExcludedDestinationCandidate + +## SYNOPSIS +Returns a list of excluded destination candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNAssetInboundRulesExcludedDestinationCandidate -AssetId [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded destination candidates for Inbound rules. + +## EXAMPLES + +### Example 1: Get destination candidates that can be excluded for an rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetInboundAllowRulesExcludedDestinationCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible destination candidates to exclude for a rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetInboundRulesSourceCandidate.md b/help/zeronetworks/Get-ZNAssetInboundRulesSourceCandidate.md new file mode 100644 index 0000000..a6cf937 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetInboundRulesSourceCandidate.md @@ -0,0 +1,165 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetinboundrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetInboundRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNAssetInboundRulesSourceCandidate -AssetId -RuleType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates for Inbound rules. + +## EXAMPLES + +### Example 1: Get source candidates for an rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetInboundAllowRulesSourceCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +OT/IoT False g:o:0T445453 Biometric entry systems + a:l:aayoPnNJ CS01 +OT/IoT False g:o:04445453 Cameras +OT/IoT False g:o:0A445453 Card readers +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local a:a:8ErCHXe8 DC01 + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible source candidates for a rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleType +rule type to filter on + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetListeningPort.md b/help/zeronetworks/Get-ZNAssetListeningPort.md new file mode 100644 index 0000000..d4a946b --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetListeningPort.md @@ -0,0 +1,101 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetlisteningport +schema: 2.0.0 +--- + +# Get-ZNAssetListeningPort + +## SYNOPSIS +List listening ports of an asset + +## SYNTAX + +``` +Get-ZNAssetListeningPort -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +List listening ports of an asset + +## EXAMPLES + +### Example 1: Get listening ports for an asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetListeningPort -AssetId $asset +``` + +```output +ProcessId ProcessName Username +--------- ----------- -------- +4 System NT AUTHORITY\SYSTEM +580 C:\Windows\System32\wininit.exe NT AUTHORITY\SYSTEM +716 C:\Windows\System32\services.exe NT AUTHORITY\SYSTEM +736 C:\Windows\System32\lsass.exe NT AUTHORITY\SYSTEM +964 C:\Windows\System32\svchost.exe (RpcEptMapper, RpcSs) NT AUTHORITY\NETWORK SERVICE +1072 C:\Windows\System32\svchost.exe (TermService) NT AUTHORITY\NETWORK SERVICE +1168 C:\Windows\System32\svchost.exe (W32Time) NT AUTHORITY\LOCAL SERVICE +1320 C:\Windows\System32\svchost.exe (Dnscache) NT AUTHORITY\NETWORK SERVICE +1360 C:\Windows\System32\svchost.exe (EventLog) NT AUTHORITY\LOCAL SERVICE +1916 C:\Windows\System32\svchost.exe (Schedule) NT AUTHORITY\SYSTEM +2376 C:\Windows\System32\spoolsv.exe NT AUTHORITY\SYSTEM +2388 C:\Windows\System32\svchost.exe (SessionEnv) NT AUTHORITY\SYSTEM +2464 C:\Windows\System32\dfsrs.exe NT AUTHORITY\SYSTEM +2680 C:\Windows\System32\svchost.exe (FDResPub) NT AUTHORITY\LOCAL SERVICE +2768 C:\Windows\ADWS\Microsoft.ActiveDirectory.WebServices.exe NT AUTHORITY\SYSTEM +3108 C:\Windows\System32\dns.exe NT AUTHORITY\SYSTEM +3156 C:\Windows\System32\svchost.exe (IKEEXT) NT AUTHORITY\SYSTEM +6436 C:\Windows\System32\wsmprovhost.exe POSH\ZNRemoteManagement +``` + +This cmdlet lists the listening ports for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IListeningPortsList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetManager.md b/help/zeronetworks/Get-ZNAssetManager.md new file mode 100644 index 0000000..55ef9ba --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetManager.md @@ -0,0 +1,115 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmanager +schema: 2.0.0 +--- + +# Get-ZNAssetManager + +## SYNOPSIS +Get asset managers of asset + +## SYNTAX + +``` +Get-ZNAssetManager -AssetId [-AccountName ] [-Limit ] [-Offset ] + [] +``` + +## DESCRIPTION +Get asset managers of asset + +## EXAMPLES + +### Example 1: Get asset managers for an asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetManager -AssetId $asset +``` + +```output +ManagerId Relation +--------- -------- +g:a:cai6Wuyd 3 +``` + +This cmdlet lists asset managers for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IManagersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetManagersCandidate.md b/help/zeronetworks/Get-ZNAssetManagersCandidate.md new file mode 100644 index 0000000..f3103d8 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetManagersCandidate.md @@ -0,0 +1,145 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmanagerscandidate +schema: 2.0.0 +--- + +# Get-ZNAssetManagersCandidate + +## SYNOPSIS +Get manager candidates for asset managers + +## SYNTAX + +``` +Get-ZNAssetManagersCandidate -AssetId [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Get manager candidates for asset managers + +## EXAMPLES + +### Example 1: Get asset manager candidates for an asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetManagersCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +VPN False g:v:2IoMjM9F Default's excluded members group +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:w27loY5p nicholas +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:r6ZkL5Y0 Guest +posh.local u:a:V61t0gZB ZNRemoteManagement +``` + +This cmdlet lists asset manager candidates for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMemberOf.md b/help/zeronetworks/Get-ZNAssetMemberOf.md new file mode 100644 index 0000000..49cde34 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMemberOf.md @@ -0,0 +1,88 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmemberof +schema: 2.0.0 +--- + +# Get-ZNAssetMemberOf + +## SYNOPSIS +Returns a list of groups the asset is a member of. + +## SYNTAX + +``` +Get-ZNAssetMemberOf -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the asset is a member of. + +## EXAMPLES + +### Example 1: Get groups an asset is a member of +```powershell +Get-ZNAssetMemberOf -AssetId a:a:ZgBWOMyc +``` + +```output +CreatedAt Description DirectMembersCount Domain Guid +--------- ----------- ------------------ ------ ---- +1656865698131 Includes all Domain Controllers in the environment 1 tag 1246686d-9e06-488a-ae88-414fc3fd… +1656865701309 Includes all servers in the environment 3 system 93cc0251-4c7f-4a2f-80fe-3be0cde8… +1665690993630 test 1 custom 333e66cb-d28e-40a2-ad55-d7a02886… +1646147850799 0 zero.labs cc9609dd-ae64-45ea-a736-02432f54… +1667984779503 Includes all remotely monitored assets in the environment 8 system 0b7e476e-8368-49c1-a066-38078d05… +1675962079610 test3 3 custom 1ed72a4a-8777-4cb8-86bf-4479df01… +``` + +This cmdlet returns the groups an asset is a member of. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAncestors + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMemberOfGroupCandidate.md b/help/zeronetworks/Get-ZNAssetMemberOfGroupCandidate.md new file mode 100644 index 0000000..72e8b09 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMemberOfGroupCandidate.md @@ -0,0 +1,85 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmemberofgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMemberOfGroupCandidate + +## SYNOPSIS +Returns a list of groups the asset can be a member of. + +## SYNTAX + +``` +Get-ZNAssetMemberOfGroupCandidate -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the asset can be a member of. + +## EXAMPLES + +### Example 1: List group candidates for adding an asset to +```powershell +Get-ZNAssetMemberOfGroupCandidate -AssetId a:a:ZgBWOMyc +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +g:t:01669ce2 Domain controllers +g:t:5U669ce2 Externally facing clients +``` + +This cmdlet lists group candidates that an asset can be added to. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdNamePairList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md new file mode 100644 index 0000000..8a73d07 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaIdentityPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of candidates for the destination of an identity MFA policy. + +## SYNTAX + +``` +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the destination of an identity MFA policy. + +## EXAMPLES + +### Example 1: Get Identity MFA Destination Candidates +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId $asset.AssetId).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:112002 All identity segmented assets + b:112004 All identity segmented servers + b:112005 All identity segmented clients +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +``` + +This cmdlet lists destination candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..1f6c5f1 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md @@ -0,0 +1,154 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +## SYNTAX + +``` +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate -AssetId [-AccountName ] + [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +## EXAMPLES + +### Example 1: Get Identity MFA Excluded Sources Candidates +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaIdentityPoliciesExcludedSourcesCandidate -AssetId $asset.AssetId).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:04669ce2 Clients +system False g:s:29669ce2 Client subnets +``` + +This cmdlet lists excluded sources candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesMfamethod.md b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesMfamethod.md new file mode 100644 index 0000000..daf5aa2 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesMfamethod.md @@ -0,0 +1,84 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNAssetMfaIdentityPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods for Identity MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of MFA methods for Identity MFA policies. + +## EXAMPLES + +### Example 1: Get Identity MFA Methods +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId $asset.AssetId +``` + +```output +2 +4 +5 +``` + +This cmdlet lists MFA methods for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md new file mode 100644 index 0000000..4d23e6a --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaIdentityPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on Identity MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaIdentityPoliciesSourceCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on Identity MFA policies. + +## EXAMPLES + +### Example 1: Get Identity MFA Sources Candidates +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaIdentityPoliciesSourcesCandidate -AssetId $asset.AssetId).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:04669ce2 Clients +system False g:s:29669ce2 Client subnets +``` + +This cmdlet lists sources candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..2f60c25 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md @@ -0,0 +1,143 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for Identity MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for Identity MFA policies. + +## EXAMPLES + +### Example 1: Get Identity MFA Source Users Candidates +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaIdentityPoliciesSourcesUserCandidate -AssetId $asset.AssetId).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +posh.local g:a:rZl537o4 Access Control Assistance Operators +posh.local g:a:V9kshIRu Account Operators +posh.local g:a:Q4IYhlTC Administrators +posh.local g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local g:a:Qx5wSzxi Cert Publishers +posh.local g:a:leHDIXAw Cloneable Domain Controllers +posh.local g:a:jF0PdFzE Cryptographic Operators +posh.local g:a:PHBjR5mL Denied RODC Password Replication Group +system g:s:81669ce2 Zero Networks Admins +system g:s:83669ce2 Zero Networks Operators +system g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaIdentityPolicy.md b/help/zeronetworks/Get-ZNAssetMfaIdentityPolicy.md new file mode 100644 index 0000000..ee10d15 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaIdentityPolicy.md @@ -0,0 +1,296 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypolicy +schema: 2.0.0 +--- + +# Get-ZNAssetMfaIdentityPolicy + +## SYNOPSIS +Returns a Identity MFA policy object. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetMfaIdentityPolicy -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] +``` + +### Get +``` +Get-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a Identity MFA policy object. + +## EXAMPLES + +### Example 1: List Identiy MFA Policies +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaIdentityPolicy -AssetId $asset).Items +``` + +```output +CreatedAt : 1711982793191 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : g:t:01669ce2 +DstEntityInfoId : +DstEntityInfoName : +ExcludedDstAssetIdsList : {} +ExcludedSrcAssetIdsList : {} +ExcludedSrcAssetInfos : {} +ExtraIdentityProtectionCategoryList : {} +FallbackToSingleLoggedOnUser : False +Id : 5b0b1349-1714-4a38-ba07-c32a0957ed3b +IdentityProtectionCategoryList : {5} +InnerId : +MfaMethodsList : {2, 4} +OverrideBuiltins : False +RuleDuration : 6 +SrcAssetIdsList : {b:110001} +SrcAssetInfos : {Any asset} +SrcUserIdsList : {g:a:3U1Z38mF} +SrcUserInfos : {Domain Admins} +State : 1 +UpdatedAt : 1712058796790 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet lists Identity MFA policies. + +### Example 2: Get an Identity MFA policy +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetMfaIdentityPolicy -AssetId $asset.AssetId -ReactivePolicyId 5b0b1349-1714-4a38-ba07-c32a0957ed3b +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1711982793191 +ItemDescription : +ItemDstAssetId : g:t:01669ce2 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : False +ItemId : 5b0b1349-1714-4a38-ba07-c32a0957ed3b +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {2, 4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {g:a:3U1Z38mF} +ItemSrcUserInfos : {Domain Admins} +ItemState : 1 +ItemUpdatedAt : 1712058796790 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an Identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md new file mode 100644 index 0000000..0247a34 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaInboundPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of candidates for the destination of an inbound MFA policy. + +## SYNTAX + +``` +Get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the destination of an inbound MFA policy. + +## EXAMPLES + +### Example 1: List destination candidates for inbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110002 All segmented assets + b:110004 All segmented servers + b:110005 All segmented clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet lists the destination candidates for an inbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..341b944 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +## SYNTAX + +``` +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId [-AccountName ] + [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +## EXAMPLES + +### Example 1: List excluded source candidates for inbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110002 All segmented assets + b:110004 All segmented servers + b:110005 All segmented clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet lists the excluded source candidates for an inbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesMfamethod.md b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesMfamethod.md new file mode 100644 index 0000000..8019b3b --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesMfamethod.md @@ -0,0 +1,85 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNAssetMfaInboundPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods for inbound MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of MFA methods for inbound MFA policies. + +## EXAMPLES + +### Example 1: List MFA methods for inbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId $asset +``` + +```output +1 +2 +4 +5 +``` + +This cmdlet lists the MFA methods for an inbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesSourceCandidate.md new file mode 100644 index 0000000..ca6dd82 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesSourceCandidate.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaInboundPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on inbound MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on inbound MFA policies. + +## EXAMPLES + +### Example 1: List source candidates for inbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110002 All segmented assets + b:110004 All segmented servers + b:110005 All segmented clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet lists the source candidates for an inbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..0b23af8 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaInboundPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for inbound MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for inbound MFA policies. + +## EXAMPLES + +### Example 1: List source user candidates for inbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId $asset).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +posh.local g:a:qu04AfTz Access Control Assistance Operators +posh.local g:a:XDRxcVDz Account Operators +posh.local g:a:MBAj0Xfx Administrators +posh.local g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local g:a:JjhBvgRW Backup Operators +posh.local g:a:j4oCHNuP Certificate Service DCOM Access +posh.local g:a:YeUXSDi6 Cert Publishers +posh.local g:a:5uhxEQPp Cloneable Domain Controllers +posh.local g:a:lPQyszKw Cryptographic Operators +VPN g:v:2IoMjM9F Default's excluded members group +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:w27loY5p nicholas +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:r6ZkL5Y0 Guest +posh.local u:a:V61t0gZB ZNRemoteManagement +system g:s:81445453 Zero Networks Admins +system g:s:83445453 Zero Networks Operators +system g:s:82445453 Zero Networks Viewers +``` + +This cmdlet lists the source user candidates for an inbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaInboundPolicy.md b/help/zeronetworks/Get-ZNAssetMfaInboundPolicy.md new file mode 100644 index 0000000..40a54cf --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaInboundPolicy.md @@ -0,0 +1,244 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpolicy +schema: 2.0.0 +--- + +# Get-ZNAssetMfaInboundPolicy + +## SYNOPSIS +Returns a inbound MFA policy object. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetMfaInboundPolicy -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-EntityId ] [-Filters ] [-Limit ] [-Offset ] [] +``` + +### Get +``` +Get-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a inbound MFA policy object. + +## EXAMPLES + +### Example 1: Get inbound MFA polcies for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetMfaInboundPolicy -AssetId $asset +``` + +```output +SrcEntityInfos SrcProcessNames SrcUserInfos DstEntityInfoName DstPort DstProcessNames RuleDuration FallbackToLoggedOnUser MfaMethods +-------------- --------------- ------------ ----------------- ------- --------------- ------------ ---------------------- ---------- +{Any asset} {*} {Any user} Domain controllers 9389 {*} 7 False {4} +``` + +This cmdlet lists inbound MFA policies for a specific asset. + +### Example 2: Get a specific inbound MFA policy for a specific asset +```powershell +Get-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId aec46c4f-4512-4896-91a2-fd360d67c9d2 + +DstEntityInfoAssetStatus : +DstEntityInfoAssetType : +DstEntityInfoDomain : +DstEntityInfoFqdn : +DstEntityInfoId : g:t:01445453 +DstEntityInfoIpv4Addresses : +DstEntityInfoIpv6Addresses : +DstEntityInfoName : Domain controllers +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : +DstEntityInfoSource : +ItemAdditionalPortsList : {} +ItemCreatedAt : 1679404767070 +ItemCreatedBy : 1f352ed0-86f1-454f-90a5-592c197c8000 +ItemCreatedByName : Zero Networks +ItemDescription : Auto-generated rule for tag groups +ItemDstPort : 9389 +ItemDstProcessNames : {*} +ItemEnforcementSource : 5 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : False +ItemId : aec46c4f-4512-4896-91a2-fd360d67c9d2 +ItemMfaMethods : {4} +ItemOverrideBuiltins : False +ItemProtocolType : 6 +ItemRuleDuration : 7 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1679404767070 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet gets a specific inbound MFA policies for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +entityId to filter on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md new file mode 100644 index 0000000..aeff321 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md @@ -0,0 +1,150 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaOutboundPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: List destination candidates for outbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + g:s:17445453 Segmented OT/IoT devices +OT/IoT False g:o:0T445453 Biometric entry systems +OT/IoT False g:o:04445453 Cameras +OT/IoT False g:o:0A445453 Card readers +OT/IoT False g:o:0S445453 Door locks +OT/IoT False g:o:06445453 Factory controllers +OT/IoT False g:o:0L445453 Fire alarms +OT/IoT False g:o:0P445453 Firewall appliance +OT/IoT False g:o:0K445453 Game consoles +OT/IoT False g:o:0J445453 Historians +OT/IoT False g:o:0E445453 HMIs + a:t:OeG7qsVV ot1777 + a:t:u7QxbAUn ot1933845 + a:t:Mid11kmS ot20245 + a:t:cC6njhiS ot202879 + a:t:4bNJaK7P ot261406 + a:t:m9m4JIHj ot274123 + a:t:e9z4KHtm ot285039 + a:t:gVwo8dSe ot302331 + a:t:LLkiZLdF ot357111 + a:t:79SpShM5 ot382777 +``` + +This cmdlet lists the destination candidates for an outbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..bc8d871 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md @@ -0,0 +1,164 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +## SYNTAX + +``` +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId [-AccountName ] + [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +## EXAMPLES + +### Example 1: List excluded source candidates for outbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet lists the excluded source candidates for an outbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesMfamethod.md b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesMfamethod.md new file mode 100644 index 0000000..fe692e8 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesMfamethod.md @@ -0,0 +1,85 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNAssetMfaOutboundPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of MFA methods on outbound MFA policies. + +## EXAMPLES + +### Example 1: List MFA methods for outbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId $asset +``` + +```output +1 +2 +4 +5 +``` + +This cmdlet lists the MFA methods for an outbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md new file mode 100644 index 0000000..bb1bfc7 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaOutboundPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: List source candidates for outbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet lists the source candidates for an outbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..9f43f9d --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source users candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source users candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: List source user candidates for outbound MFA policy for a specific asset. +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId $asset).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +posh.local g:a:qu04AfTz Access Control Assistance Operators +posh.local g:a:XDRxcVDz Account Operators +posh.local g:a:MBAj0Xfx Administrators +posh.local g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local g:a:JjhBvgRW Backup Operators +posh.local g:a:j4oCHNuP Certificate Service DCOM Access +posh.local g:a:YeUXSDi6 Cert Publishers +posh.local g:a:5uhxEQPp Cloneable Domain Controllers +posh.local g:a:lPQyszKw Cryptographic Operators +VPN g:v:2IoMjM9F Default's excluded members group +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:w27loY5p nicholas +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:r6ZkL5Y0 Guest +posh.local u:a:V61t0gZB ZNRemoteManagement +system g:s:81445453 Zero Networks Admins +system g:s:83445453 Zero Networks Operators +system g:s:82445453 Zero Networks Viewers +``` + +This cmdlet lists the source user candidates for an outbound MFA policy for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetMfaOutboundPolicy.md b/help/zeronetworks/Get-ZNAssetMfaOutboundPolicy.md new file mode 100644 index 0000000..cdd1e86 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetMfaOutboundPolicy.md @@ -0,0 +1,233 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpolicy +schema: 2.0.0 +--- + +# Get-ZNAssetMfaOutboundPolicy + +## SYNOPSIS +Returns the properties of an outbound MFA policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetMfaOutboundPolicy -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Filters ] [-Limit ] [-Offset ] [] +``` + +### Get +``` +Get-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns the properties of an outbound MFA policy. + +## EXAMPLES + +### Example 1: List outbound MFA policies for a specific asset +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +Get-ZNAssetMfaOutboundPolicy -AssetId $otasset.Id +``` + +```output +SrcEntityInfos SrcProcessNames SrcUserInfos DstEntityInfoName DstPort DstProcessNames RuleDuration FallbackToLoggedOnUser MfaMethod + s +-------------- --------------- ------------ ----------------- ------- --------------- ------------ ---------------------- --------- +{All segmented assets} {*} {Any user} Segmented OT/IoT devices 80,443 {*} 6 True {4} +{All segmented assets} {*} {Any user} Segmented OT/IoT devices 22 {*} 6 True {4} +``` + +This cmdlet lists the outbound MFA policies for a specific asset. + +### Example 2: Get a specific outbound MFA policy for a specific asset +```powershell +Get-ZNAssetMfaOutboundPolicy -AssetId $otasset.Id -ReactivePolicyId 79b5ed54-16c7-45f1-9a5d-ea1022e1d710 +``` + +```output +DstEntityInfoAssetStatus : +DstEntityInfoAssetType : +DstEntityInfoDomain : +DstEntityInfoFqdn : +DstEntityInfoId : g:s:17445453 +DstEntityInfoIpv4Addresses : +DstEntityInfoIpv6Addresses : +DstEntityInfoName : Segmented OT/IoT devices +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : +DstEntityInfoSource : +ItemAdditionalPortsList : {} +ItemCreatedAt : 1682532554328 +ItemCreatedBy : m:75fae1679ac11d635cd4fbc8921786441ba47a4d +ItemCreatedByName : irtest +ItemDescription : +ItemDstPort : 80,443 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : True +ItemId : 79b5ed54-16c7-45f1-9a5d-ea1022e1d710 +ItemMfaMethods : {4} +ItemOverrideBuiltins : False +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {All segmented assets} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1682532554328 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet lists a specific outbound MFA policies for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOt.md b/help/zeronetworks/Get-ZNAssetOt.md new file mode 100644 index 0000000..89a1bc1 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOt.md @@ -0,0 +1,92 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetot +schema: 2.0.0 +--- + +# Get-ZNAssetOt + +## SYNOPSIS +Returns the properties of an OT asset. + +## SYNTAX + +``` +Get-ZNAssetOt -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an OT asset. + +## EXAMPLES + +### Example 1: Get an OT asset +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +Get-ZNAssetOt -AssetId $otasset.Id +``` + +```output +EntityAssetStatus : 5 +EntityAssetType : 4 +EntityDomain : +EntityFqdn : ot1777 +EntityId : a:t:OeG7qsVV +EntityIpv4Addresses : {230.176.229.143} +EntityIpv6Addresses : {} +EntityName : ot1777 +EntityOperatingSystem : +EntityProtectionState : 3 +EntitySource : 7 +``` + +This cmdlet gets an OT asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetOtResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOtAssetManager.md b/help/zeronetworks/Get-ZNAssetOtAssetManager.md new file mode 100644 index 0000000..a31f0ed --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOtAssetManager.md @@ -0,0 +1,115 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotassetmanager +schema: 2.0.0 +--- + +# Get-ZNAssetOtAssetManager + +## SYNOPSIS +Get asset managers of asset + +## SYNTAX + +``` +Get-ZNAssetOtAssetManager -AssetId [-AccountName ] [-Limit ] [-Offset ] + [] +``` + +## DESCRIPTION +Get asset managers of asset + +## EXAMPLES + +### Example 1: List asset managers for an OT asset +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +Get-ZNAssetOtAssetManager -AssetId $otasset.Id +``` + +```output +ManagerId Relation +--------- -------- +g:a:cai6Wuyd 1 +``` + +This cmdlet lists the asset managers for an OT asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IManagersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOtAssetManagersCandidate.md b/help/zeronetworks/Get-ZNAssetOtAssetManagersCandidate.md new file mode 100644 index 0000000..62e86b3 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOtAssetManagersCandidate.md @@ -0,0 +1,145 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotassetmanagerscandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOtAssetManagersCandidate + +## SYNOPSIS +Get manager candidates for asset managers + +## SYNTAX + +``` +Get-ZNAssetOtAssetManagersCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Get manager candidates for asset managers + +## EXAMPLES + +### Example 1: List asset manager candidates for an OT asset +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +(Get-ZNAssetOtAssetManagersCandidate -AssetId $otasset.Id ).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +VPN False g:v:2IoMjM9F Default's excluded members group +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:w27loY5p nicholas +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:r6ZkL5Y0 Guest +posh.local u:a:V61t0gZB ZNRemoteManagement +``` + +This cmdlet lists the asset manager candidates for an OT asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOtAudit.md b/help/zeronetworks/Get-ZNAssetOtAudit.md new file mode 100644 index 0000000..6968644 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOtAudit.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotaudit +schema: 2.0.0 +--- + +# Get-ZNAssetOtAudit + +## SYNOPSIS +Returns a list of audits for the asset. + +## SYNTAX + +``` +Get-ZNAssetOtAudit -AssetId [-AccountName ] [-Cursor ] [-Order ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of audits for the asset. + +## EXAMPLES + +### Example 1: List audits for an OT asset +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +(Get-ZNAssetOtAudit -AssetId $otasset.id).Items +``` + +```output +AuditType DestinationEntitiesList EnforcementSource PerformedByName +--------- ----------------------- ----------------- --------------- +74 {ot1777} 5 Zero Networks +31 {ot1777} 2 Zero Networks +31 {ot1777} 2 Zero Networks +31 {ot1777} 2 Zero Networks +55 {ot1777} 2 Zero Networks +55 {ot1777} 2 Zero Networks +55 {ot1777} 2 Zero Networks +29 {ot1777} 5 Zero Networks +29 {ot1777} 5 Zero Networks +29 {ot1777} 5 Zero Networks +``` + +This cmdlet returns audits for an OT asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAuditList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOtMemberOf.md b/help/zeronetworks/Get-ZNAssetOtMemberOf.md new file mode 100644 index 0000000..9000457 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOtMemberOf.md @@ -0,0 +1,86 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotmemberof +schema: 2.0.0 +--- + +# Get-ZNAssetOtMemberOf + +## SYNOPSIS +Returns a list of groups the asset is a member of. + +## SYNTAX + +``` +Get-ZNAssetOtMemberOf -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the asset is a member of. + +## EXAMPLES + +### Example 1: List Member of groups for an OT asset +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +Get-ZNAssetOtMemberOf -AssetId $otasset.Id +``` + +```output +Id Name Description DirectMembersCount +-- ---- ----------- ------------------ +g:o:04445453 Cameras Includes all camera devices in the environment 27 +g:s:16445453 OT/IoT devices Includes all OT/IoT devices in the environment 29 +g:s:17445453 Segmented OT/IoT devices Includes all segmented OT/IoT devices in the environment 2 +``` + +This cmdlet returns groups the asset is a member of for an OT asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAncestors + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOtMemberOfGroupCandidate.md b/help/zeronetworks/Get-ZNAssetOtMemberOfGroupCandidate.md new file mode 100644 index 0000000..96a01b9 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOtMemberOfGroupCandidate.md @@ -0,0 +1,86 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotmemberofgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOtMemberOfGroupCandidate + +## SYNOPSIS +Returns a list of groups the asset can be a member of. + +## SYNTAX + +``` +Get-ZNAssetOtMemberOfGroupCandidate -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the asset can be a member of. + +## EXAMPLES + +### Example 1: List group candidates for adding an asset to +```powershell +Get-ZNAssetOTMemberOfGroupCandidate -AssetId a:t:0altpr5J +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +g:t:01669ce2 Domain controllers +g:t:5U669ce2 Externally facing clients +g:t:5V669ce2 Externally facing servers +``` + +This cmdlet lists group candidates that an asset can be added to. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdNamePairList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOtOutboundRulesUserCandidate.md b/help/zeronetworks/Get-ZNAssetOtOutboundRulesUserCandidate.md new file mode 100644 index 0000000..7f26dca --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOtOutboundRulesUserCandidate.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotoutboundrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOtOutboundRulesUserCandidate + +## SYNOPSIS +Returns a list of users candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNAssetOtOutboundRulesUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of users candidates for Outbound rules. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOtTag.md b/help/zeronetworks/Get-ZNAssetOtTag.md new file mode 100644 index 0000000..8c425de --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOtTag.md @@ -0,0 +1,85 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetottag +schema: 2.0.0 +--- + +# Get-ZNAssetOtTag + +## SYNOPSIS +Returns a list of tags for an entity. + +## SYNTAX + +``` +Get-ZNAssetOtTag -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of tags for an entity. + +## EXAMPLES + +### Example 1: List OT asset tags +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +Get-ZNAssetOtTag -AssetId $otasset.Id +``` + +```output +Id Name Description DirectMembersCount +-- ---- ----------- ------------------ +g:t:27445453 Network Scanners Includes network Scanners in the environment 1 +g:t:30445453 Offensive Cyber tools Includes offensive cyber tools in the environment 1 +``` + +This cmdlet lists tags for an OT asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ITags + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOutboundRule.md b/help/zeronetworks/Get-ZNAssetOutboundRule.md new file mode 100644 index 0000000..18875db --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOutboundRule.md @@ -0,0 +1,317 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrule +schema: 2.0.0 +--- + +# Get-ZNAssetOutboundRule + +## SYNOPSIS +Returns the properties of an Outbound rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetOutboundRule -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Direction ] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNAssetOutboundRule -AssetId -RuleId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an Outbound rule. + +## EXAMPLES + +### Example 1: List rules for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Get-ZNAssetOutboundRule -AssetId $asset -AddBuiltins +``` + +```output +CreatedAt RemoteEntityInfos LocalEntityInfoName Ruleclass ActivitiesCount Id CreatedByEnforcementSource State Description +--------- ----------------- ------------------- --------- --------------- -- -------------------------- ----- ----------- +1694372599763 {ot1777} All segmented assets 0 d69a32ec-a5ea-4915-a33f-297c6ec2ceec 5 1 +1675961668454 {Any asset} All segmented assets 0 721c3616-4914-4b66-b987-64af3d50dbae 5 1 Allow DNS and DHCP from all… +1675961668436 {Any asset except segmented OT/IoT devices} All segmented assets 36288 b49360ce-3b4b-4e67-a613-42d4704d097f 5 1 Allow everything to any ass… +``` + +This cmdlet retruns a list of rules for a specific asset. + +### Example 2: Get a specific rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Get-ZNAssetOutboundRule -AssetId $asset -RuleId b49360ce-3b4b-4e67-a613-42d4704d097f +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemAction : 1 +ItemActivitiesCount : 36288 +ItemApprovedAt : +ItemCreatedAt : 1675961668436 +ItemDescription : Allow everything to any asset except segmented OT/IoT devices +ItemDirection : 2 +ItemExcludedEntityInfos : {} +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : b49360ce-3b4b-4e67-a613-42d4704d097f +ItemLocalEntityId : b:110002 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {g:s:18445453} +ItemRemoteEntityInfos : {Any asset except segmented OT/IoT devices} +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : 1690139822111 +LocalEntityInfoId : b:110002 +LocalEntityInfoName : All segmented assets +UpdatedById : +UpdatedByName : +``` + +This cmdlet can get a specific rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Direction +direction for the query, incoming or outgoing + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 2 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityParams +JSON string URI encoded object {id: string, direction: AssetDirection} + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOutboundRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNAssetOutboundRulesDestinationCandidate.md new file mode 100644 index 0000000..bf3508b --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOutboundRulesDestinationCandidate.md @@ -0,0 +1,165 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOutboundRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNAssetOutboundRulesDestinationCandidate -AssetId -RuleType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetOutboundRulesDestinationCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +OT/IoT False g:o:0T445453 Biometric entry systems + a:l:aayoPnNJ CS01 +OT/IoT False g:o:04445453 Cameras +OT/IoT False g:o:0A445453 Card readers +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local a:a:8ErCHXe8 DC01 + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible destination candidates for a rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleType +rule type to filter on + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOutboundRulesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNAssetOutboundRulesExcludedSourceCandidate.md new file mode 100644 index 0000000..3c7591a --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOutboundRulesExcludedSourceCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrulesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOutboundRulesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of excluded source candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded source candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get source candidates that can be excluded for an rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible source candidates to exclude for a rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOutboundRulesSourceCandidate.md b/help/zeronetworks/Get-ZNAssetOutboundRulesSourceCandidate.md new file mode 100644 index 0000000..358e60c --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOutboundRulesSourceCandidate.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOutboundRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNAssetOutboundRulesSourceCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get source candidates for an rule for a specific asset +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +(Get-ZNAssetOutboundRulesSourceCandidate -AssetId $asset).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110002 All segmented assets + b:110004 All segmented servers + b:110005 All segmented clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible source candidates for a rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetOutboundRulesUserCandidate.md b/help/zeronetworks/Get-ZNAssetOutboundRulesUserCandidate.md new file mode 100644 index 0000000..c5d9e3f --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetOutboundRulesUserCandidate.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOutboundRulesUserCandidate + +## SYNOPSIS +Returns a list of users candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNAssetOutboundRulesUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of users candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNAssetOutboundRulesUserCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetPreferredSegmentServer.md b/help/zeronetworks/Get-ZNAssetPreferredSegmentServer.md new file mode 100644 index 0000000..4f6f1a0 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetPreferredSegmentServer.md @@ -0,0 +1,84 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetpreferredsegmentserver +schema: 2.0.0 +--- + +# Get-ZNAssetPreferredSegmentServer + +## SYNOPSIS +Returns the preferred segment server id. + +## SYNTAX + +``` +Get-ZNAssetPreferredSegmentServer -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the preferred segment server id. + +## EXAMPLES + +### Example 1: Get preferred segment server +```powershell +Get-ZNAssetPreferredSegmentServer -AssetId a:a:ZgBWOMyc +``` + +```output +Error1 Message +------ ------- +not found +``` + +This cmdlet gets the preferred segement server for an asset. +If not found is returned, a preferred server has not been set. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsPreferredSegmentServer + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetRpcRule.md b/help/zeronetworks/Get-ZNAssetRpcRule.md new file mode 100644 index 0000000..c9d7312 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetRpcRule.md @@ -0,0 +1,258 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrule +schema: 2.0.0 +--- + +# Get-ZNAssetRpcRule + +## SYNOPSIS +Returns the properties of an RPC rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetRpcRule -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Filters ] [-Limit ] [-Offset ] [-WithCount] [] +``` + +### Get +``` +Get-ZNAssetRpcRule -AssetId -RuleId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an RPC rule. + +## EXAMPLES + +### Example 1: List RPC Rules for a specific asset +```powershell +(Get-ZNAssetRpcRule -AssetId 'a:t:itN4uaLX').Items +``` + +```output +Action : 1 +CreatedAt : 1708005695367 +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +ExcludedAssetIdsList : {} +ExcludedAssetInfos : {} +ExpiresAt : 0 +Id : 9d607d06-73cf-4ab6-a9dc-0ccf72e146f3 +InterfaceUuidsList : {} +LocalAssetId : g:t:01669ce2 +LocalAssetInfoId : g:t:01669ce2 +LocalAssetInfoName : Domain controllers +OpNumbersList : {} +ParentId : +ParentType : 0 +ProtocolsList : {} +RemoteAssetIdsList : {a:t:itN4uaLX, g:t:01669ce2} +RemoteAssetInfos : {switch01, Domain controllers} +RuleClass : 1 +State : 1 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +UserIdsList : {b:111001} +UserInfos : {Any user} +``` + +This cmdlet lists the RPC Rules for a specific asset. + +### Example 2: Get a RPC Rule for a specific asset +```powershell +Get-ZNAssetRpcRule -AssetId 'a:t:itN4uaLX' -RuleId '9d607d06-73cf-4ab6-a9dc-0ccf72e146f3' +``` + +```output +Action : 1 +CreatedAt : 1708005695367 +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +ExcludedAssetIdsList : {} +ExcludedAssetInfos : {} +ExpiresAt : 0 +Id : 9d607d06-73cf-4ab6-a9dc-0ccf72e146f3 +InterfaceUuidsList : {} +LocalAssetId : g:t:01669ce2 +LocalAssetInfoId : g:t:01669ce2 +LocalAssetInfoName : Domain controllers +OpNumbersList : {} +ParentId : +ParentType : 0 +ProtocolsList : {} +RemoteAssetIdsList : {a:t:itN4uaLX, g:t:01669ce2} +RemoteAssetInfos : {switch01, Domain controllers} +RuleClass : 1 +State : 1 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +UserIdsList : {b:111001} +UserInfos : {Any user} +``` + +This cmdlet gets a RPC Rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRuleResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetRpcRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNAssetRpcRulesDestinationCandidate.md new file mode 100644 index 0000000..44120c9 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetRpcRulesDestinationCandidate.md @@ -0,0 +1,151 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetRpcRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNAssetRpcRulesDestinationCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rpc rule for a specific asset +```powershell +(Get-ZNAssetRpcRulesDestinationCandidate -AssetId 'a:t:itN4uaLX').Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:113002 All RPC segmented assets + b:113004 All RPC segmented servers + b:113005 All RPC segmented clients +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +posh.local False g:a:jF0PdFzE Cryptographic Operators +posh.local a:a:VWW2G2C8 dc01 +posh.local a:a:sMnd5NkL ts01 +posh.local a:a:GLUxqjgc wac01 +posh.local a:a:A6PSKQXP ZADCOMP1 +posh.local a:a:fAloyhrG ZADCOMP10 +posh.local a:a:v9j71uhH ZADCOMP2 +posh.local a:a:DOFtbyLr ZADCOMP3 +posh.local a:a:BfAzS2Uc ZADCOMP4 +posh.local a:a:4wiNkC9Z ZADCOMP5 +posh.local a:a:CO4vV7R7 ZADCOMP6 +``` + +This cmdlet gets the possible destination candidates for a rpc rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetRpcRulesExcludedDestinationCandidate.md b/help/zeronetworks/Get-ZNAssetRpcRulesExcludedDestinationCandidate.md new file mode 100644 index 0000000..d72fa79 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetRpcRulesExcludedDestinationCandidate.md @@ -0,0 +1,148 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrulesexcludeddestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetRpcRulesExcludedDestinationCandidate + +## SYNOPSIS +Returns a list of excluded destination candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNAssetRpcRulesExcludedDestinationCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded destination candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get excluded destination candidates for an rpc rule for a specific asset +```powershell +(Get-ZNAssetRpcRulesExcludedDestinationCandidate -AssetId 'a:t:itN4uaLX').Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +posh.local False g:a:jF0PdFzE Cryptographic Operators +posh.local a:a:VWW2G2C8 dc01 +posh.local a:a:sMnd5NkL ts01 +posh.local a:a:GLUxqjgc wac01 +posh.local a:a:A6PSKQXP ZADCOMP1 +posh.local a:a:fAloyhrG ZADCOMP10 +posh.local a:a:v9j71uhH ZADCOMP2 +posh.local a:a:DOFtbyLr ZADCOMP3 +posh.local a:a:BfAzS2Uc ZADCOMP4 +posh.local a:a:4wiNkC9Z ZADCOMP5 +posh.local a:a:CO4vV7R7 ZADCOMP6 +``` + +This cmdlet gets the possible excluded destination candidates for a rpc rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetRpcRulesSourceCandidate.md b/help/zeronetworks/Get-ZNAssetRpcRulesSourceCandidate.md new file mode 100644 index 0000000..6270a6b --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetRpcRulesSourceCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNAssetRpcRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNAssetRpcRulesSourceCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get source candidates for an rpc rule for a specific asset +```powershell +(Get-ZNAssetRpcRulesSourceCandidate -AssetId 'a:t:itN4uaLX').Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +OT/IoT False g:o:0T669ce2 Biometric entry systems +OT/IoT False g:o:04669ce2 Cameras +OT/IoT False g:o:0A669ce2 Card readers +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers + a:n:3Odw9d40 as01 + a:l:qFxq3oOt cs01 +posh.local a:a:VWW2G2C8 dc01 + a:l:4NMHdoaO linux0 + a:l:18VODYZg linux1 + a:l:9TlqfBhM linux_baseit + a:n:u5LRZxRq lm01 + a:l:wEGYa0Cp ls01 + a:t:gN2vxSX1 ot275354 + a:t:CXGwcOOZ ot421163 +``` + +This cmdlet gets the possible source candidates for a rpc rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetRpcRulesUserCandidate.md b/help/zeronetworks/Get-ZNAssetRpcRulesUserCandidate.md new file mode 100644 index 0000000..af931b2 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetRpcRulesUserCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetRpcRulesUserCandidate + +## SYNOPSIS +Returns a list of user candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNAssetRpcRulesUserCandidate -AssetId [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of user candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get user candidates for an rpc rule for a specific asset +```powershell +Get-ZNAssetRpcRulesUserCandidate -AssetId 'a:t:itN4uaLX' +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitl + e +-- ---- ----- ----------- ------------------ ----- ------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:a:PHBjR5mL Denied RODC Password Replication Group +u:a:Tlx1mxp6 zUser1 +u:a:Hk7V9Fp7 zSvcAcct3 +u:a:hCHogv8X zSvcAcct8 +u:a:chEzqYOy zUser3 +u:a:AQPEZKgV zUser5 +u:a:p4xO35Li zUser10 +u:a:lAT1XUpz zSvcAcct9 +u:a:WfuzrUyt krbtgt +u:a:JnQxZS6j nicholas-ad nicholas+poshprd@zeronetworks.com +``` + +This cmdlet gets the possible user candidates for a rpc rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetRulesDistribution.md b/help/zeronetworks/Get-ZNAssetRulesDistribution.md new file mode 100644 index 0000000..b50aa75 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetRulesDistribution.md @@ -0,0 +1,145 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrulesdistribution +schema: 2.0.0 +--- + +# Get-ZNAssetRulesDistribution + +## SYNOPSIS +Returns an object with rules distribution. + +## SYNTAX + +``` +Get-ZNAssetRulesDistribution -AssetId -RuleId -RuleDirection [-AccountName ] + [] +``` + +## DESCRIPTION +Returns an object with rules distribution. + +## EXAMPLES + +### Example 1: List the rules distribution for a rule for an asset +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Get-ZNAssetRulesDistribution -AssetId $asset -RuleId d69a32ec-a5ea-4915-a33f-297c6ec2ceec -RuleDirection 2 +``` + +```output +ActivitiesCount Timestamp +--------------- --------- +0 1691798400000 +0 1691884800000 +0 1691971200000 +0 1692057600000 +0 1692144000000 +0 1692230400000 +0 1692316800000 +0 1692403200000 +0 1692489600000 +0 1692576000000 +0 1692662400000 +0 1692748800000 +0 1692835200000 +0 1692921600000 +0 1693008000000 +0 1693094400000 +0 1693180800000 +0 1693267200000 +0 1693353600000 +0 1693440000000 +0 1693526400000 +0 1693612800000 +0 1693699200000 +0 1693785600000 +0 1693872000000 +0 1693958400000 +0 1694044800000 +0 1694131200000 +0 1694217600000 +0 1694304000000 +16 1694390400000 +``` + +This cmdlet returns the rules distribution for a rule for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDirection +direction of the rule (1-Inbound, 2-Outbound) + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleDistribution + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetTag.md b/help/zeronetworks/Get-ZNAssetTag.md new file mode 100644 index 0000000..921d20f --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetTag.md @@ -0,0 +1,86 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassettag +schema: 2.0.0 +--- + +# Get-ZNAssetTag + +## SYNOPSIS +Returns a list of tags for an entity. + +## SYNTAX + +``` +Get-ZNAssetTag -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of tags for an entity. + +## EXAMPLES + +### Example 1: Get tags for an asset +```powershell +Get-ZNAssetTag -AssetId a:a:ZgBWOMyc +``` + +```output +CreatedAt Description DirectMembersCount Domain Guid HasPro + tectio + nPolic + y +--------- ----------- ------------------ ------ ---- ------ +1656865698131 Includes all Domain Controllers in the environment 1 tag 1246686d-9e06-488a-ae88-414fc3fda24d True +``` + +This cmdlet gets the tags for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ITags + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsIdentityQueued.md b/help/zeronetworks/Get-ZNAssetsIdentityQueued.md new file mode 100644 index 0000000..fcdf1f0 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsIdentityQueued.md @@ -0,0 +1,159 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsidentityqueued +schema: 2.0.0 +--- + +# Get-ZNAssetsIdentityQueued + +## SYNOPSIS +Returns a list of assets that are identity learning. + +## SYNTAX + +``` +Get-ZNAssetsIdentityQueued [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets that are identity learning. + +## EXAMPLES + +### Example 1: List assets in Identity Learning +```powershell +Get-ZNAssetsIdentityQueued +``` + +```output +Count Items NextCursor +----- ----- ---------- + 1 {dc01} +``` + +This cmdlet lists assets in identity learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsIdentitySegmented.md b/help/zeronetworks/Get-ZNAssetsIdentitySegmented.md new file mode 100644 index 0000000..1ae4afd --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsIdentitySegmented.md @@ -0,0 +1,159 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsidentitysegmented +schema: 2.0.0 +--- + +# Get-ZNAssetsIdentitySegmented + +## SYNOPSIS +Returns a list of assets that are identity segmented. + +## SYNTAX + +``` +Get-ZNAssetsIdentitySegmented [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets that are identity segmented. + +## EXAMPLES + +### Example 1: List identity segmented assets +```powershell +(Get-ZNAssetsIdentitySegmented).ITems +``` + +```output +Id Fqdn IPV4Addresses IPV6Addresses Source AssetStatus ProtectionState +-- ---- ------------- ------------- ------ ----------- --------------- +a:a:8ErCHXe8 DC01.posh.local {10.1.0.5} {fe80::dd2c:f725:b57e:a4b1} 3 2 1 +``` + +This cmdlet lists identity segmented assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsInactive.md b/help/zeronetworks/Get-ZNAssetsInactive.md new file mode 100644 index 0000000..1b1e7fe --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsInactive.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsinactive +schema: 2.0.0 +--- + +# Get-ZNAssetsInactive + +## SYNOPSIS +Returns a list of assets that are inactive. + +## SYNTAX + +``` +Get-ZNAssetsInactive [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets that are inactive. + +## EXAMPLES + +### Example 1: List inactive assets +```powershell +(Get-ZNAssetsInactive).Items +``` + +```output +Id Fqdn IPV4Addresses IPV6Addresses Source AssetStatus ProtectionState +-- ---- ------------- ------------- ------ ----------- --------------- +a:a:af4yeaHY zadcomp9.posh.local (inactive) {} {} 3 12 1 +a:l:1hZCLFoh linux323947.posh.local (inactive) {} {} 15 12 1 +``` + +The cmdlet will list inactive Assets for the environment. + +### Example 2: List next page of inactive assets +```powershell +(Get-ZNAssetsInactive -Offset 10).Items + +``` + +Use offset to get the next page of inactive Assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ShowInactive +show inactive assets + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsMonitored.md b/help/zeronetworks/Get-ZNAssetsMonitored.md new file mode 100644 index 0000000..c3904ee --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsMonitored.md @@ -0,0 +1,201 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsmonitored +schema: 2.0.0 +--- + +# Get-ZNAssetsMonitored + +## SYNOPSIS +Returns a list of assets that are monitored. + +## SYNTAX + +``` +Get-ZNAssetsMonitored [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets that are monitored. + +## EXAMPLES + +### Example 1: List monitored assets +```powershell +(Get-ZNAssetsMonitored).Items +``` + +```output +AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source +----------- --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ +2 2 zero.labs dc1.zero.labs {192.168.10.0} {fe80::8863:40e6:ced3:75a8} a:a:ZgBWOMyc DC1 Windows Server 2012 R2 Datacenter 5 3 +2 2 zero.labs fs1.zero.labs {192.168.10.2} {fe80::190f:e8a3:b0de:3fcd} a:a:GnyWAsYs FS1 Windows Server 2008 R2 Datacenter 3 3 +2 2 zero.labs trust1.zero.labs {192.168.10.1} {} a:a:EP2KKITZ TRUST1 Windows Server 2019 Standard 3 3 +2 1 zero.labs win10-1.zero.labs {192.168.10.3} {} a:a:6BokfBbU WIN10-1 Windows 10 Pro 3 3 +2 1 zero.labs win10-2.zero.labs {192.168.10.4} {} a:a:HYZhxRzI WIN10-2 Windows 10 Pro 3 3 +2 1 zero.labs win10-3.zero.labs {192.168.10.5} {} a:a:qnRgyRA9 WIN10-3 Windows 10 Pro 3 3 +2 1 zero.labs WIN7.zero.labs {192.168.10.6} {} a:a:5wiknOhs WIN7 Windows 7 Ultimate 3 3 +2 1 zero.labs win8-1.zero.labs {192.168.10.7} {} a:a:cxIJepiA win8-1 Windows 8.1 Enterprise 3 3 +``` + +The cmdlet will list monitored Assets for the environment. + +### Example 2: List next page of monitored assets +```powershell +(Get-ZNAssetsMonitored -Offset 10).Items +``` + +```output +AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source +----------- --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ +2 2 zero.labs dc1.zero.labs {192.168.10.0} {fe80::8863:40e6:ced3:75a8} a:a:ZgBWOMyc DC1 Windows Server 2012 R2 Datacenter 5 3 +2 2 zero.labs fs1.zero.labs {192.168.10.2} {fe80::190f:e8a3:b0de:3fcd} a:a:GnyWAsYs FS1 Windows Server 2008 R2 Datacenter 3 3 +2 2 zero.labs trust1.zero.labs {192.168.10.1} {} a:a:EP2KKITZ TRUST1 Windows Server 2019 Standard 3 3 +2 1 zero.labs win10-1.zero.labs {192.168.10.3} {} a:a:6BokfBbU WIN10-1 Windows 10 Pro 3 3 +2 1 zero.labs win10-2.zero.labs {192.168.10.4} {} a:a:HYZhxRzI WIN10-2 Windows 10 Pro 3 3 +2 1 zero.labs win10-3.zero.labs {192.168.10.5} {} a:a:qnRgyRA9 WIN10-3 Windows 10 Pro 3 3 +2 1 zero.labs WIN7.zero.labs {192.168.10.6} {} a:a:5wiknOhs WIN7 Windows 7 Ultimate 3 3 +2 1 zero.labs win8-1.zero.labs {192.168.10.7} {} a:a:cxIJepiA win8-1 Windows 8.1 Enterprise 3 3 +``` + +Use offset to get the next page of monitored Assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsNetworkQueued.md b/help/zeronetworks/Get-ZNAssetsNetworkQueued.md new file mode 100644 index 0000000..ed1209f --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsNetworkQueued.md @@ -0,0 +1,181 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsnetworkqueued +schema: 2.0.0 +--- + +# Get-ZNAssetsNetworkQueued + +## SYNOPSIS +Returns a list of assets in network learning. + +## SYNTAX + +``` +Get-ZNAssetsNetworkQueued [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets in network learning. + +## EXAMPLES + +### Example 1: List assets in network learning +```powershell +(Get-ZNAssetsNetworkQueued).Items +``` + +```output +AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source +----------- --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ +2 2 zero.labs dc1.zero.labs {192.168.10.0} {fe80::8863:40e6:ced3:75a8} a:a:ZgBWOMyc DC1 Windows Server 2012 R2 Datacenter 5 3 +``` + +The cmdlet will list Assets in learning for the environment. + +### Example 2: List next page of assets in learning +```powershell +(Get-ZNAssetsNetworkQueued -Offset 10).Items +``` + +Use offset to get the next page of Assets in learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsNetworkSegmented.md b/help/zeronetworks/Get-ZNAssetsNetworkSegmented.md new file mode 100644 index 0000000..39dfa0d --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsNetworkSegmented.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsnetworksegmented +schema: 2.0.0 +--- + +# Get-ZNAssetsNetworkSegmented + +## SYNOPSIS +Returns a list of Protected assets. + +## SYNTAX + +``` +Get-ZNAssetsNetworkSegmented [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of Protected assets. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsOt.md b/help/zeronetworks/Get-ZNAssetsOt.md new file mode 100644 index 0000000..6cae380 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsOt.md @@ -0,0 +1,197 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsot +schema: 2.0.0 +--- + +# Get-ZNAssetsOt + +## SYNOPSIS +Returns a list of OT/IoT assets. + +## SYNTAX + +``` +Get-ZNAssetsOt [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] + [] +``` + +## DESCRIPTION +Returns a list of OT/IoT assets. + +## EXAMPLES + +### Example 1: List OT/IoT Assets +```powershell +(Get-ZNAssetsOt).Items +``` + +```output +AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source +----------- --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ +5 4 webcam {192.168.10.20} {} a:t:oxafRZct webcam 1 7 +``` + +List OT/IoT assets in the enviroment. + +### Example 2: List next page of OT/IoT Assets +```powershell +(Get-ZNAssetsOt -Offset 10).Items +``` + +Use offset to get the next page of OT/IoT Assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ShowInactive +show inactive assets + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetOtList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetsProtected.md b/help/zeronetworks/Get-ZNAssetsProtected.md similarity index 82% rename from src/ZN/docs/Get-ZNAssetsProtected.md rename to help/zeronetworks/Get-ZNAssetsProtected.md index d527907..ed0aa52 100644 --- a/src/ZN/docs/Get-ZNAssetsProtected.md +++ b/help/zeronetworks/Get-ZNAssetsProtected.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsprotected +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsprotected schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of Protected assets. ## SYNTAX ``` -Get-ZNAssetsProtected [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-WithCount] [] +Get-ZNAssetsProtected [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] ``` ## DESCRIPTION @@ -50,8 +50,38 @@ Use offset to get the next page of protected Assets. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String diff --git a/help/zeronetworks/Get-ZNAssetsRpcMonitored.md b/help/zeronetworks/Get-ZNAssetsRpcMonitored.md new file mode 100644 index 0000000..01de6d6 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsRpcMonitored.md @@ -0,0 +1,174 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsrpcmonitored +schema: 2.0.0 +--- + +# Get-ZNAssetsRpcMonitored + +## SYNOPSIS +Returns a list of assets that are RPC monitored. + +## SYNTAX + +``` +Get-ZNAssetsRpcMonitored [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets that are RPC monitored. + +## EXAMPLES + +### Example 1: List RPC Monitored Assets +```powershell +(Get-ZNAssetsRpcMonitored).Items +``` + +```output +Id Fqdn IPV4Addresses IPV6Addresses Source AssetStatus ProtectionState +-- ---- ------------- ------------- ------ ----------- --------------- +a:a:TeGEW52g dc01.posh.local {10.0.0.4} {fe80::c60b:6dd:cd7a:2581} 3 2 1 +``` + +This cmdlet lists RPC monitored assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsRpcQueued.md b/help/zeronetworks/Get-ZNAssetsRpcQueued.md new file mode 100644 index 0000000..4e41a8f --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsRpcQueued.md @@ -0,0 +1,174 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsrpcqueued +schema: 2.0.0 +--- + +# Get-ZNAssetsRpcQueued + +## SYNOPSIS +Returns a list of assets in RPC learning. + +## SYNTAX + +``` +Get-ZNAssetsRpcQueued [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets in RPC learning. + +## EXAMPLES + +### Example 1: List assets in RPC Learning +```powershell +Get-ZNAssetsRpcQueued +``` + +```output +Count Items NextCursor +----- ----- ---------- + 1 {dc01} +``` + +This cmdlet lists assets in RPC learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsRpcSegmented.md b/help/zeronetworks/Get-ZNAssetsRpcSegmented.md new file mode 100644 index 0000000..6381c9e --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsRpcSegmented.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsrpcsegmented +schema: 2.0.0 +--- + +# Get-ZNAssetsRpcSegmented + +## SYNOPSIS +Returns a list of assets that are RPC Segmented. + +## SYNTAX + +``` +Get-ZNAssetsRpcSegmented [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets that are RPC Segmented. + +## EXAMPLES + +### Example 1: List assets in RPC segmentation +```powershell +(Get-ZNAssetsRpcSegmented).Items +``` + +```output +AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source +----------- --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ +2 2 zero.labs dc1.zero.labs {192.168.10.0} {fe80::8863:40e6:ced3:75a8} a:a:ZgBWOMyc DC1 Windows Server 2012 R2 Datacenter 5 3 +``` + +The cmdlet will list Assets in RPC segmentation for the environment. + +### Example 2: List next page of assets in RPC segmentation +```powershell +(Get-ZNAssetsRpcSegmented -Offset 10).Items + +``` + +Use offset to get the next page of Assets in RPC segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsStatesStatistics.md b/help/zeronetworks/Get-ZNAssetsStatesStatistics.md new file mode 100644 index 0000000..4e34037 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsStatesStatistics.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsstatesstatistics +schema: 2.0.0 +--- + +# Get-ZNAssetsStatesStatistics + +## SYNOPSIS +Returns an object with asset state statistics. + +## SYNTAX + +``` +Get-ZNAssetsStatesStatistics [-AccountName ] [] +``` + +## DESCRIPTION +Returns an object with asset state statistics. + +## EXAMPLES + +### Example 1: Get asset connected count +```powershell +Get-ZNAssetsStatesStatistics +``` + +```output +10 +``` + +This cmdlet returns the number of connected assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsStatesStatistics + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAssetsStatistics.md b/help/zeronetworks/Get-ZNAssetsStatistics.md new file mode 100644 index 0000000..d80c4f2 --- /dev/null +++ b/help/zeronetworks/Get-ZNAssetsStatistics.md @@ -0,0 +1,78 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsstatistics +schema: 2.0.0 +--- + +# Get-ZNAssetsStatistics + +## SYNOPSIS +Returns an object with asset statistics. + +## SYNTAX + +``` +Get-ZNAssetsStatistics [-AccountName ] [] +``` + +## DESCRIPTION +Returns an object with asset statistics. + +## EXAMPLES + +### Example 1: List asset statistics +```powershell +Get-ZNAssetsStatistics +``` + +```output +ItemAddingProtectionCount : +ItemDeletedCount : 0 +ItemForceAddingProtectionCount : +ItemForceRemovingProtectionCount : +ItemForcedUnprotectedCount : +ItemMonitoredCount : 8 +ItemNotProtectedLink : {protectionStatus, status} +ItemProtectedCount : +ItemProtectedDueToProtectionPolicyCount : +ItemQueuedCount : +ItemQueuedDueToProtectionPolicyCount : +ItemRemovingProtectionCount : +ItemTotalCount : 12 +``` + +This cmdlet lists the asset statistics for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsStatistics + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNAudit.md b/help/zeronetworks/Get-ZNAudit.md new file mode 100644 index 0000000..eefc179 --- /dev/null +++ b/help/zeronetworks/Get-ZNAudit.md @@ -0,0 +1,222 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaudit +schema: 2.0.0 +--- + +# Get-ZNAudit + +## SYNOPSIS +Returns a list of audit events. + +## SYNTAX + +``` +Get-ZNAudit [-AccountName ] [-Cursor ] [-EntityId ] [-Filters ] [-From ] + [-Limit ] [-Order ] [-Search ] [-To ] [] +``` + +## DESCRIPTION +Returns a list of audit events. + +## EXAMPLES + +### Example 1: List audit events +```powershell +(Get-ZNAudit).Items +``` + +```output +AuditType Details +--------- ------- +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +7 +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +``` + +The cmdlet will list Audits for the environment. + +### Example 2: List next page of Audits +```powershell +$scrollCursor = (Get-ZNAudit).ScrollCursor +(Get-ZNAudit -Cursor $scrollCursor).Items +``` + +```output +AuditType Details +--------- ------- +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","localProcesses":["*"],"created_by":{"id":"1f3… +32 {"rule":{"LocalEntityID":"","localEntityNames":{"id":"b:110002","name":"All protected assets"},"remoteEntityNames":[{"id":"b:12ac10010120","name":"172.16.1.1"},{"id":"b:12ac10020120","name":"172.16.2.1"}],"ports":[{"protocol_type":1}],"expiration":0,"description":"Sentinel Integration - Block Malicous IPs","l… +``` + +Get-ZNAudit returns a body with Items (collection of audit events) and scrollCursor. +scrollCurosor is the epochtime (ms) of the last event and can be used to get the next set of events. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +entityId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -From +startTime in epoch(ms) + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -To +endTime in epoch(ms) + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAuditList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNCustomGroupsCandidate.md b/help/zeronetworks/Get-ZNCustomGroupsCandidate.md new file mode 100644 index 0000000..f1a24bb --- /dev/null +++ b/help/zeronetworks/Get-ZNCustomGroupsCandidate.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zncustomgroupscandidate +schema: 2.0.0 +--- + +# Get-ZNCustomGroupsCandidate + +## SYNOPSIS +Returns a list of candidates for custom group membership. + +## SYNTAX + +``` +Get-ZNCustomGroupsCandidate [-AccountName ] [-GroupId ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for custom group membership. + +## EXAMPLES + +### Example 1: List custom group candidates +```powershell +Get-ZNCustomGroupsCandidate +``` + +```output +Id Name Description DirectMembersCount +-- ---- ----------- ------------------ +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:s:18445453 Any asset except protected OT/IoT devices +g:a:JjhBvgRW Backup Operators +g:o:0T445453 Biometric entry systems +g:o:04445453 Cameras +g:o:0A445453 Card readers +``` + +This cmdlet list candidates for custom group membership. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNExternalAccessPolicy.md b/help/zeronetworks/Get-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..6890e5c --- /dev/null +++ b/help/zeronetworks/Get-ZNExternalAccessPolicy.md @@ -0,0 +1,277 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znexternalaccesspolicy +schema: 2.0.0 +--- + +# Get-ZNExternalAccessPolicy + +## SYNOPSIS +Returns an external access policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNExternalAccessPolicy [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Cursor ] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] +``` + +### Get +``` +Get-ZNExternalAccessPolicy -PolicyId [-AccountName ] [] +``` + +## DESCRIPTION +Returns an external access policy. + +## EXAMPLES + +### Example 1: List external access policies +```powershell +(Get-ZNExternalAccessPolicy).Items +``` + +```output +CreatedAt : 1726598869813 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:JBy1jmUL +Name : Ansible Server +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1726600514080 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +Url : https://ansible.test.local +``` + +This cmdlet lists all external access policies. + +### Example 2: Get an external access policy +```powershell +Get-ZNExternalAccessPolicy -PolicyId p:e:JBy1jmUL +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1726600514080 +ItemUrl : https://ansible.test.local +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md b/help/zeronetworks/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..2bc199e --- /dev/null +++ b/help/zeronetworks/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znexternalaccesspolicydestinationassetscandidate +schema: 2.0.0 +--- + +# Get-ZNExternalAccessPolicyDestinationAssetsCandidate + +## SYNOPSIS +Returns a list of destunation assets candidates for an external access policy. + +## SYNTAX + +``` +Get-ZNExternalAccessPolicyDestinationAssetsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destunation assets candidates for an external access policy. + +## EXAMPLES + +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNExternalAccessPolicyDestinationAssetsCandidate +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNExternalAccessPolicySourceUserCandidate.md b/help/zeronetworks/Get-ZNExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..a03b30b --- /dev/null +++ b/help/zeronetworks/Get-ZNExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,127 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znexternalaccesspolicysourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNExternalAccessPolicySourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for external access policies. + +## SYNTAX + +``` +Get-ZNExternalAccessPolicySourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for external access policies. + +## EXAMPLES + +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNExternalAccessPolicySourceUserCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNExternalAccessPolicyStatistics.md b/help/zeronetworks/Get-ZNExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..3e30090 --- /dev/null +++ b/help/zeronetworks/Get-ZNExternalAccessPolicyStatistics.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znexternalaccesspolicystatistics +schema: 2.0.0 +--- + +# Get-ZNExternalAccessPolicyStatistics + +## SYNOPSIS +Returns statistics for an external access policy. + +## SYNTAX + +``` +Get-ZNExternalAccessPolicyStatistics [-AccountName ] [] +``` + +## DESCRIPTION +Returns statistics for an external access policy. + +## EXAMPLES + +### Example 1: Get external access policy statistics +```powershell +Get-ZNExternalAccessPolicyStatistics +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyStatistics + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroup.md b/help/zeronetworks/Get-ZNGroup.md new file mode 100644 index 0000000..090c4af --- /dev/null +++ b/help/zeronetworks/Get-ZNGroup.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroup +schema: 2.0.0 +--- + +# Get-ZNGroup + +## SYNOPSIS +Returns the properties of an group. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroup [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +### Get +``` +Get-ZNGroup -GroupId -GroupType [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an group. + +## EXAMPLES + +### Example 1: List Groups +```powershell +Get-ZNGroup +``` + +```output +CreatedAt Description DirectMembersCount Domain Guid HasProtectionPolicy Id Name +--------- ----------- ------------------ ------ ---- ------------------- -- ---- +1646147849282 0 zero.labs dfaca10e-9718-4d59-a471-61d3af1bd49a False g:a:yu1gHyge Access Control Assis… +1646147849650 0 zero.labs 0fa70a32-93e7-484d-984b-94c9d4d98d49 False g:a:LXwCiIyG Account Operators +1646147849770 0 zero.labs 84d2ad0c-b06f-44fd-a043-3c1549945246 False g:a:ukYAIg2J Administrators +1646147849525 0 zero.labs 7155e8a9-5818-4bdb-a201-a584f3975b7b False g:a:zpYqGY8G Allowed RODC Passwor… +1661144901938 Includes all IP ranges without protected OT/IoT devices in the environment 3 system 0064a099-bac4-4053-86e9-b8fd0d308094 False g:s:18276c2c Any asset except pro… +1646147849644 0 zero.labs e518320f-5bda-480a-8c44-87f0b0a4ab18 False g:a:GqUGqkiM Backup Operators +1667984801729 Includes all biometric entry systems in the environment 0 OT/IoT 8745f7da-2e00-40b8-adf4-7ab5c2f928d1 False g:o:0T276c2c Biometric entry syst… +1667984801729 Includes all camera devices in the environment 1 OT/IoT 13df7695-9bac-41ea-9437-8fef8dd3f28e False g:o:04276c2c Cameras +1667984801729 Includes all card readers in the environment 0 OT/IoT 80348a50-eae9-48fe-be2f-d12d67a6682d False g:o:0A276c2c Card readers +1646147849235 0 zero.labs a122e408-0192-45e0-b3ca-6e5b26534981 False g:a:zobH4QmN Certificate Service … +``` + +The cmdlet gets all groups for the environment + +### Example 2: Get the next page of custom groups +```powershell +Get-ZNGroup -offset 10 +``` + +```output +CreatedAt Description DirectMembersCount Domain Guid HasProtectionPolicy Id Name Role Sid UpdatedAt +--------- ----------- ------------------ ------ ---- ------------------- -- ---- ---- --- --------- +1646147849235 0 zero.labs a122e408-0192-45e0-b3ca-6e5b26534981 False g:a:zobH4QmN Certificate Service DCOM Access 3 S-1-5-32-574 1646147976815 +1646147849324 0 zero.labs 8d6fd671-2b55-4079-abd3-b882b463ca56 False g:a:v7HrWzxU Cert Publishers 3 S-1-5-21-1655129710-1269081394-587607975-517 1646147976844 +1656865701309 Includes all clients in the environment 5 system 69b42a3a-5fb7-4c04-a93e-6b46cd2c0dd2 False g:s:04276c2c Clients 3 1661145182420 +1646147849536 0 zero.labs afa3ea95-97a5-4690-955f-f771e6884ce0 False g:a:Ddd1JHS6 Cloneable Domain Controllers 3 S-1-5-21-1655129710-1269081394-587607975-522 1646147976895 +1664439304197 Includes all Commvault backup servers in the environment 0 tag 1a4a7dc3-60c3-42ec-81ae-a09af5bfbb1a False g:t:31276c2c Commvault backup 3 1664439304197 +1664439304197 Includes all configuration management servers in the environment 2 tag 78d60713-3c57-48dd-a2c1-be835e2d5103 False g:t:22276c2c Configuration management servers 3 1664439311149 +1646147849184 0 zero.labs 6bdc5f9f-d492-4282-9876-c4579e9cfd56 False g:a:vo645q5C Cryptographic Operators 3 S-1-5-32-569 1646147976808 +1646147849661 0 zero.labs c10ea51c-3f3d-4bcc-a34c-ce1f8c667dc6 False g:a:mn0S6UED Denied RODC Password Replication Group 3 S-1-5-21-1655129710-1269081394-587607975-572 1648643959816 +1664439304197 Includes all DFSR servers in the environment 0 tag 65d7b95e-940a-4c32-9c1f-2d664ddc6cb0 False g:t:44276c2c DFSR 3 1664439304197 +1656865701309 Includes all DHCP servers in the environment 0 tag 6bf2d9eb-fd88-4826-baf0-81c6c42eee8e False g:t:02276c2c DHCP 3 1661144910063 +``` + +Use offset to get the next page of custom groups. + +### Example 3: Find a group +```powershell +Get-ZNGroup -Search Test +``` + +CreatedAt Description DirectMembersCount Domain Guid HasProtectionPolicy Id Name +--------- ----------- ------------------ ------ ---- ------------------- -- ---- +1665444139901 Test servers group 1 custom 68468022-0294-4c48-9e76-3074a14c22f5 False g:c:gP9POclU Test… +```output + +Use the search parameter to search by Name property. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchGroupsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupAudit.md b/help/zeronetworks/Get-ZNGroupAudit.md new file mode 100644 index 0000000..2b75816 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupAudit.md @@ -0,0 +1,145 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupaudit +schema: 2.0.0 +--- + +# Get-ZNGroupAudit + +## SYNOPSIS +Returns a list of audits for the group. + +## SYNTAX + +``` +Get-ZNGroupAudit -GroupId -GroupType [-AccountName ] [-Cursor ] + [-Order ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of audits for the group. + +## EXAMPLES + +### Example 1: Get audits for a group +```powershell +(Get-ZNGroupAudit -GroupId g:c:gP9POclU).Items +``` + +```output +AuditType Details +--------- ------- +18 {"rp":{"enforcementSource":5,"duration":6,"ports":"123","protocol":6,"mfaMethods":[5],"description":"Test Policy","srcProce… +17 {"rp":{"enforcementSource":5,"duration":6,"ports":"123","protocol":6,"mfaMethods":[5],"description":"Test Policy","srcProce… +``` + +This cmdlet get the audits for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAuditList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupMemberOf.md b/help/zeronetworks/Get-ZNGroupMemberOf.md new file mode 100644 index 0000000..6fc5e64 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupMemberOf.md @@ -0,0 +1,98 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupmemberof +schema: 2.0.0 +--- + +# Get-ZNGroupMemberOf + +## SYNOPSIS +Returns a list of groups the group is a member of. + +## SYNTAX + +``` +Get-ZNGroupMemberOf -GroupId -GroupType [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the group is a member of. + +## EXAMPLES + +### Example 1: Get a groups member of +```powershell +Get-ZNGroupMemberOf -GroupId g:c:gP9POclU +``` + +```output +CreatedAt Description DirectMembersCount Domain Guid HasProtectionPolicy Id Name Role +--------- ----------- ------------------ ------ ---- ------------------- -- ---- ---- +1675962079610 test3 4 custom 1ed72a4a-8777-4cb8-86bf-4479df0179cf False g:c:DtglBTHi NewName 3 +``` + +This cmdlet gets the groups a group is a member of + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAncestors + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupMemberOfGroupCandidate.md b/help/zeronetworks/Get-ZNGroupMemberOfGroupCandidate.md new file mode 100644 index 0000000..456516d --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupMemberOfGroupCandidate.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupmemberofgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupMemberOfGroupCandidate + +## SYNOPSIS +Returns a list of groups the asset can be a member of. + +## SYNTAX + +``` +Get-ZNGroupMemberOfGroupCandidate -GroupId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a list of groups the asset can be a member of. + +## EXAMPLES + +### Example 1: List group candidates for adding a group to +```powershell +Get-ZNGroupMemberOfGroupCandidate -GroupId g:t:01669ce2 -GroupType tag +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +``` + +This cmdlet lists group candidates that a group can be added to. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdNamePairList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsAssetManager.md b/help/zeronetworks/Get-ZNGroupsAssetManager.md new file mode 100644 index 0000000..9bc71ba --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsAssetManager.md @@ -0,0 +1,129 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsassetmanager +schema: 2.0.0 +--- + +# Get-ZNGroupsAssetManager + +## SYNOPSIS +Get asset managers of group + +## SYNTAX + +``` +Get-ZNGroupsAssetManager -GroupId -GroupType [-AccountName ] [-Limit ] + [-Offset ] [] +``` + +## DESCRIPTION +Get asset managers of group + +## EXAMPLES + +### Example 1: List asset managers for a group +```powershell +Get-ZNGroupsAssetManager -Groupid g:t:01445453 -GroupType tag +``` + +```output +ManagerId Relation +--------- -------- +g:a:cai6Wuyd 1 +``` + +This cmdlet lists the asset managers for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IManagersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsAssetManagersCandidate.md b/help/zeronetworks/Get-ZNGroupsAssetManagersCandidate.md new file mode 100644 index 0000000..fbbfde7 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsAssetManagersCandidate.md @@ -0,0 +1,158 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsassetmanagerscandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsAssetManagersCandidate + +## SYNOPSIS +Get manager candidates for group managers + +## SYNTAX + +``` +Get-ZNGroupsAssetManagersCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Get manager candidates for group managers + +## EXAMPLES + +### Example 1: List asset manager candidates for a group +```powershell +(Get-ZNGroupsAssetManagersCandidate -Groupid g:t:01445453 -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local u:a:r6ZkL5Y0 Guest +custom False g:c:a3ULHEya cgroup33184 +custom False g:c:loCbciM7 cgroup420354 +custom False g:c:dhbMSNxu cgroup565306 +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:V61t0gZB ZNRemoteManagement +``` + +This cmdlet lists asset manager candidates for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsByType.md b/help/zeronetworks/Get-ZNGroupsByType.md new file mode 100644 index 0000000..710ee5e --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsByType.md @@ -0,0 +1,185 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsbytype +schema: 2.0.0 +--- + +# Get-ZNGroupsByType + +## SYNOPSIS +Returns a list of groups. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + +## SYNTAX + +``` +Get-ZNGroupsByType -GroupType [-AccountName ] [-Cursor ] [-Filters ] + [-Limit ] [-Offset ] [-Search ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of groups. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + +## EXAMPLES + +### Example 1: List Groups by type +```powershell +Get-ZNGroupsByType -GroupType AD +``` + +```output +Id Name Description DirectMembersCount +-- ---- ----------- ------------------ +g:a:qu04AfTz Access Control Assistance Operators 0 +g:a:XDRxcVDz Account Operators 0 +g:a:MBAj0Xfx Administrators 4 +g:a:u6xPbBLg Allowed RODC Password Replication Group 0 +g:a:JjhBvgRW Backup Operators 0 +g:a:j4oCHNuP Certificate Service DCOM Access 0 +g:a:YeUXSDi6 Cert Publishers 0 +g:a:5uhxEQPp Cloneable Domain Controllers 0 +g:a:lPQyszKw Cryptographic Operators 0 +g:a:Ymj7i8np Denied RODC Password Replication Group 8 +``` + +This cmdlet lists groups by type. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchGroupsResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsExternalAccessPolicy.md b/help/zeronetworks/Get-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..ffdebd0 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,308 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsexternalaccesspolicy +schema: 2.0.0 +--- + +# Get-ZNGroupsExternalAccessPolicy + +## SYNOPSIS +Returns an external access policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsExternalAccessPolicy -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNGroupsExternalAccessPolicy -GroupId -GroupType -PolicyId + [-AccountName ] [] +``` + +## DESCRIPTION +Returns an external access policy. + +## EXAMPLES + +### Example 1: List external access policies for a group +```powershell +(Get-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag).Items +``` + +```output +CreatedAt : 1728091784452 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +Description : +DstAssetId : g:t:5V669ce2 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:EhAz2WVR +Name : External Servers +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1728091784452 +UpdatedById : +UpdatedByName : +Url : https://external.posh.local +``` + +This cmdlet lists external access policies for a group. + +### Example 2: Get an external access policy for a group +```powershell +Get-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag -PolicyId p:e:EhAz2WVR +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +ItemCreatedAt : 1728091784452 +ItemDescription : +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:EhAz2WVR +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728091784452 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet gets an external access policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md b/help/zeronetworks/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..a20b4fd --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsexternalaccesspolicydestinationassetscandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate + +## SYNOPSIS +Returns a list of destunation assets candidates for an external access policy. + +## SYNTAX + +``` +Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destunation assets candidates for an external access policy. + +## EXAMPLES + +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md b/help/zeronetworks/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..7dd3577 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,157 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsexternalaccesspolicysourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsExternalAccessPolicySourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for external access policies. + +## SYNTAX + +``` +Get-ZNGroupsExternalAccessPolicySourceUserCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for external access policies. + +## EXAMPLES + +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNGroupsExternalAccessPolicySourceUserCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsExternalAccessPolicyStatistics.md b/help/zeronetworks/Get-ZNGroupsExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..dfc9cec --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsExternalAccessPolicyStatistics.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsexternalaccesspolicystatistics +schema: 2.0.0 +--- + +# Get-ZNGroupsExternalAccessPolicyStatistics + +## SYNOPSIS +Returns statistics for an external access policy. + +## SYNTAX + +``` +Get-ZNGroupsExternalAccessPolicyStatistics -GroupId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns statistics for an external access policy. + +## EXAMPLES + +### Example 1: Get external access policy statistics +```powershell +Get-ZNGroupsExternalAccessPolicyStatistics -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyStatistics + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsIdentityRule.md b/help/zeronetworks/Get-ZNGroupsIdentityRule.md new file mode 100644 index 0000000..48ffb39 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsIdentityRule.md @@ -0,0 +1,268 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsidentityrule +schema: 2.0.0 +--- + +# Get-ZNGroupsIdentityRule + +## SYNOPSIS +Returns an identity segmentation rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsIdentityRule -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Cursor ] [-Filters ] [-Limit ] [-Search ] [-WithCount] + [] +``` + +### Get +``` +Get-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns an identity segmentation rule. + +## EXAMPLES + +### Example 1: Get identity rules for a group +```powershell +(Get-ZNGroupsIdentityRule -GroupId g:t:018cf3ae -GroupType tag).Items +``` + +```output +CreatedAt Id UserInfos AssetInfoName ExcludedAssetInfos IdentityProtect + ionCategoryList +--------- -- --------- ------------- ------------------ --------------- +1700673565762 9b3b398c-e5d6-47f9-831f-617752549d1f {Domain Admins} Domain controllers {} {1, 5} +``` + +This cmdlet lists identity rules for a group. + +### Example 2: Get an identity rule for a group +```powershell +Get-ZNGroupsIdentityRule -GroupId g:t:018cf3ae -GroupType tag -RuleId 9b3b398c-e5d6-47f9-831f-617752549d1f +``` + +```output +AssetInfoId : +AssetInfoName : +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:b12c928ed7b931203e027dfb7147356fe7824412 +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemAssetId : g:t:018cf3ae +ItemCreatedAt : 1700673565762 +ItemDescription : +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : 9b3b398c-e5d6-47f9-831f-617752549d1f +ItemIdentityProtectionCategoryList : {1, 5} +ItemParentId : +ItemParentType : 0 +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +ItemUserIdsList : {g:a:kuxROJQU} +ItemUserInfos : +UpdatedByEmail : +UpdatedByEnforcementSource : +UpdatedById : +UpdatedByName : +UpdatedByUserRole : +``` + +This cmdlet gets an identity rule for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsIdentityRulesAssetsCandidate.md b/help/zeronetworks/Get-ZNGroupsIdentityRulesAssetsCandidate.md new file mode 100644 index 0000000..5eb610e --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsIdentityRulesAssetsCandidate.md @@ -0,0 +1,160 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsidentityrulesassetscandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsIdentityRulesAssetsCandidate + +## SYNOPSIS +Returns a list of assets candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of assets candidates for Identity rules. + +## EXAMPLES + +### Example 1: List asset candidates for identity rules +```powershell +Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId g:t:01445453 -GroupType tag +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses Sou + rce +-- ---- ---- ----------- ------------------ ------------- ------------- --- +b:110002 All segmented assets +b:110004 All segmented servers +b:110005 All segmented clients +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 +a:a:t8SZ1cp2 TS01 +a:a:OtfLGUBq WC01 +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +``` + +This cmdlet lists the asset candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md b/help/zeronetworks/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md new file mode 100644 index 0000000..ffc7d8a --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md @@ -0,0 +1,157 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsidentityrulesexcludedassetscandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsIdentityRulesExcludedAssetsCandidate + +## SYNOPSIS +Returns a list of excluded Assets candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded Assets candidates for Identity rules. + +## EXAMPLES + +### Example 1: List excluded asset candidates for identity rule +```powershell +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -Groupid g:t:01445453 -GroupType tag +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses Source AssetStatus ProtectionStat + e +-- ---- ---- ----------- ------------------ ------------- ------------- ------ ----------- -------------- +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 1 +a:a:t8SZ1cp2 TS01 3 +a:a:OtfLGUBq WC01 1 +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +``` + +This cmdlet lists excluded asset candidates for identity rules for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsIdentityRulesUserCandidate.md b/help/zeronetworks/Get-ZNGroupsIdentityRulesUserCandidate.md new file mode 100644 index 0000000..3e04919 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsIdentityRulesUserCandidate.md @@ -0,0 +1,163 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsidentityrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsIdentityRulesUserCandidate + +## SYNOPSIS +Returns a list of user candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNGroupsIdentityRulesUserCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of user candidates for Identity rules. + +## EXAMPLES + +### Example 1: List user candidates for identity rules +```powershell +Get-ZNGroupsIdentityRulesUserCandidate -GroupId g:t:01445453 -GroupType tag +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +u:a:0jsjkic1 User14 +u:a:ATiwG34z User30 +u:a:4UydfhAS backups +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +u:a:IiObBkVQ krbtgt +u:a:6ZWP4tbK User53 +u:a:gOqRM6QW User21 +u:a:DiXg7R5u User51 +u:a:E1yQF2eJ User13 +u:a:h9ePwNQg User69 +u:a:hC3Ylccx User79 +``` + +This cmdlet lists the user candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsInboundRule.md b/help/zeronetworks/Get-ZNGroupsInboundRule.md new file mode 100644 index 0000000..df9145d --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsInboundRule.md @@ -0,0 +1,331 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsinboundrule +schema: 2.0.0 +--- + +# Get-ZNGroupsInboundRule + +## SYNOPSIS +Returns the properties of an Inbound rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsInboundRule -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Direction ] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] + [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] + [] +``` + +### Get +``` +Get-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns the properties of an Inbound rule. + +## EXAMPLES + +### Example 1: List rules for a specific group. +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +Get-ZNGroupsInboundRule -Groupid $group.Id -GroupType tag +``` + +```output +CreatedAt RemoteEntityInfos LocalEntityInfoName Ruleclass ActivitiesCount Id CreatedByEnforcementSource State Description +--------- ----------------- ------------------- --------- --------------- -- -------------------------- ----- ----------- +1677252137875 {Any asset} Domain controllers 17296 6764bd86-f3c6-4949-a827-64e1499b1b86 5 1 Auto-generated rule for tag groups +``` + +This cmdlet gets rules for a specific group. + +### Example 2: Get a specific rule for a specific group +```powershell +Get-ZNGroupsInboundRule -Groupid $group.Id -GroupType tag -RuleId 6764bd86-f3c6-4949-a827-64e1499b1b86 +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemAction : 1 +ItemActivitiesCount : 17296 +ItemApprovedAt : +ItemCreatedAt : 1677252137875 +ItemDescription : Auto-generated rule for tag groups +ItemDirection : 1 +ItemExcludedEntityInfos : {} +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 6764bd86-f3c6-4949-a827-64e1499b1b86 +ItemLocalEntityId : g:t:01445453 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem, ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {b:110001} +ItemRemoteEntityInfos : {Any asset} +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : 1684704013889 +LocalEntityInfoId : g:t:01445453 +LocalEntityInfoName : Domain controllers +UpdatedById : +UpdatedByName : +``` + +This cmdlet can get a specific rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Direction +direction for the query, incoming or outgoing + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 1 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityParams +JSON string URI encoded object {id: string, direction: AssetDirection} + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsInboundRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNGroupsInboundRulesDestinationCandidate.md new file mode 100644 index 0000000..591fcee --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsInboundRulesDestinationCandidate.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsinboundrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsInboundRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNGroupsInboundRulesDestinationCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for Inbound rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rule for a specific group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsInboundRulesDestinationCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110002 All segmented assets + b:110004 All segmented servers + b:110005 All segmented clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible destination candidates for a rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md b/help/zeronetworks/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md new file mode 100644 index 0000000..6dceb41 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md @@ -0,0 +1,164 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsinboundrulesexcludeddestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsInboundRulesExcludedDestinationCandidate + +## SYNOPSIS +Returns a list of excluded destination candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNGroupsInboundRulesExcludedDestinationCandidate -GroupId -GroupType + [-AccountName ] [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded destination candidates for Inbound rules. + +## EXAMPLES + +### Example 1: Get excluded destination candidates for an rule for a specific group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsInboundRulesExcludedDestinationCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible excluded destination candidates for a rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsInboundRulesSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsInboundRulesSourceCandidate.md new file mode 100644 index 0000000..b24d1ea --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsInboundRulesSourceCandidate.md @@ -0,0 +1,180 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsinboundrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsInboundRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNGroupsInboundRulesSourceCandidate -GroupId -GroupType -RuleType + [-AccountName ] [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates for Inbound rules. + +## EXAMPLES + +### Example 1: Get source candidates for an rule for a specific group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsInboundRulesSourceCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +OT/IoT False g:o:0T445453 Biometric entry systems + a:l:aayoPnNJ CS01 +OT/IoT False g:o:04445453 Cameras +OT/IoT False g:o:0A445453 Card readers +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local a:a:8ErCHXe8 DC01 + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible source candidates for a rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleType +rule type to filter on + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsManagedAsset.md b/help/zeronetworks/Get-ZNGroupsManagedAsset.md new file mode 100644 index 0000000..d15ccfa --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsManagedAsset.md @@ -0,0 +1,129 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmanagedasset +schema: 2.0.0 +--- + +# Get-ZNGroupsManagedAsset + +## SYNOPSIS +Get managed assets for group + +## SYNTAX + +``` +Get-ZNGroupsManagedAsset -GroupId -GroupType [-AccountName ] [-Limit ] + [-Offset ] [] +``` + +## DESCRIPTION +Get managed assets for group + +## EXAMPLES + +### Example 1: List managed assets for a group +```powershell +Get-ZNGroupsManagedAsset -GroupId g:a:cai6Wuyd -GroupType AD +``` + +```output +EntityId Relation +-------- -------- +g:t:01445453 1 +``` + +This cmdlet lists managed assets for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IManagedAssetsList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsManagedAssetsCandidate.md b/help/zeronetworks/Get-ZNGroupsManagedAssetsCandidate.md new file mode 100644 index 0000000..ec05859 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsManagedAssetsCandidate.md @@ -0,0 +1,161 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmanagedassetscandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsManagedAssetsCandidate + +## SYNOPSIS +Get asset candidates to be managed by group + +## SYNTAX + +``` +Get-ZNGroupsManagedAssetsCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Get asset candidates to be managed by group + +## EXAMPLES + +### Example 1: List managed assets candidates for a group +```powershell +(Get-ZNGroupsManagedAssetsCandidate -GroupId g:a:cai6Wuyd -GroupType AD).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local a:a:8ErCHXe8 DC01 +custom False g:c:Ie1pSYgt cgroup292300 +custom False g:c:a3ULHEya cgroup33184 +custom False g:c:loCbciM7 cgroup420354 + a:l:Bn5E1jNy linux908049 + a:l:mnVw2OZs ls01 + a:t:u7QxbAUn ot193384 + a:t:aCxJya46 switch01 + a:t:YunW9uyd test +posh.local a:a:t8SZ1cp2 TS01 +posh.local a:a:OtfLGUBq WC01 +``` + +This cmdlet lists managed assets candidates for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMember.md b/help/zeronetworks/Get-ZNGroupsMember.md new file mode 100644 index 0000000..d257d62 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMember.md @@ -0,0 +1,169 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmember +schema: 2.0.0 +--- + +# Get-ZNGroupsMember + +## SYNOPSIS +Returns a list of potential members for a group. + +## SYNTAX + +``` +Get-ZNGroupsMember -GroupId -GroupType -IncludeNestedMembers [-AccountName ] + [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +Returns a list of potential members for a group. + +## EXAMPLES + +### Example 1: Get group members +```powershell +$group = Get-ZNAdGroup | where{$_.Name -eq "Administrators"} +(Get-ZNGroupsMember -GroupId $group.id -IncludeNestedMembers:$false).Entities +``` + +```output +AssetStatus AssetType CreatedAt Description DirectMembersCount DistinguishedName Domain Email FirstName Fqdn Guid HasProtectionPolicy IPV4Addresse + s +----------- --------- --------- ----------- ------------------ ----------------- ------ ----- --------- ---- ---- ------------------- ------------ + 1646147850723 CN=Administrator,CN=Users,DC=zero,DC=labs zero.labs d2ac73db-cb56-4c7e-9818-ddb9e4c9a74c + 1646147849590 0 zero.labs 3da4c11a-6a89-49db-9edc-446624794a89 False + 1646147849634 0 zero.labs 81439d9e-fe40-4085-8120-41faa3b1cf18 False + 1646147849754 0 zero.labs f2796828-fd6d-40dd-84de-a62a4ce975ed False +``` + +This cmdlet gets members of a group from the environment. + +### Example 2: Get group members and any members of direct groups +```powershell +$group = Get-ZNAdGroup | where{$_.Name -eq "Administrators"} +(Get-ZNGroupsMember -GroupId $group.id -IncludeNestedMembers:$true).Entities +``` + +```output +AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source +----------- --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ + zero.labs u:a:eTpnZu08 Administrator 3 + zero.labs u:a:PfGBMNXZ Amir Frankel 3 + zero.labs u:a:JinEj0u0 Benny Lakunishok 3 + zero.labs g:a:KP9w8f2B Domain Admins + zero.labs u:a:5bMryabz Emanuele Bianchi 3 + zero.labs g:a:t4r3sJfq Enterprise Admins + zero.labs u:a:E6iXCia4 Nicholas DiCola 3 +``` + +Setting -IncludeNestedMembers to $true will get all members of the group and nested members. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludeNestedMembers +include nested members in the result + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IEntitiesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md new file mode 100644 index 0000000..4f6e025 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md @@ -0,0 +1,157 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of candidates for the destination of an identity MFA policy. + +## SYNTAX + +``` +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the destination of an identity MFA policy. + +## EXAMPLES + +### Example 1: Get Identity MFA Destination Candidates +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:112002 All identity segmented assets + b:112004 All identity segmented servers + b:112005 All identity segmented clients +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +``` + +This cmdlet gets destination candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..a8ae18a --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md @@ -0,0 +1,170 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +## SYNTAX + +``` +Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate -GroupId -GroupType + [-AccountName ] [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +## EXAMPLES + +### Example 1: Get Identity MFA Excluded Sources Candidates +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaIdentityPoliciesExcludedSourcesCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:04669ce2 Clients +system False g:s:29669ce2 Client subnets +``` + +This cmdlet lists excluded sources candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesMfamethod.md b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesMfamethod.md new file mode 100644 index 0000000..9886484 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesMfamethod.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaIdentityPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods for Identity MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaIdentityPoliciesMfamethod -GroupId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a list of MFA methods for Identity MFA policies. + +## EXAMPLES + +### Example 1: Get Identity MFA Methods +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"}Get-ZNGroupsMfaIdentityPoliciesMfamethod -Groupid $group.id -GroupType tag +``` + +```output +2 +4 +5 +``` + +This cmdlet lists MFA methods for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md new file mode 100644 index 0000000..a9c966b --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md @@ -0,0 +1,154 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaIdentityPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on Identity MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on Identity MFA policies. + +## EXAMPLES + +### Example 1: Get Identity MFA Source Candidates +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaIdentityPoliciesSourcesCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:04669ce2 Clients +system False g:s:29669ce2 Client subnets +``` + +This cmdlet lists source candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..25726b5 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md @@ -0,0 +1,163 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for Identity MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for Identity MFA policies. + +## EXAMPLES + +### Example 1: List source user candidates for inbound MFA policy +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"}(Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +posh.local g:a:qu04AfTz Access Control Assistance Operators +posh.local g:a:XDRxcVDz Account Operators +posh.local g:a:MBAj0Xfx Administrators +posh.local g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local g:a:JjhBvgRW Backup Operators +posh.local g:a:j4oCHNuP Certificate Service DCOM Access +posh.local g:a:YeUXSDi6 Cert Publishers +posh.local g:a:5uhxEQPp Cloneable Domain Controllers +posh.local g:a:lPQyszKw Cryptographic Operators +VPN g:v:2IoMjM9F Default's excluded members group +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:w27loY5p nicholas +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:r6ZkL5Y0 Guest +posh.local u:a:V61t0gZB ZNRemoteManagement +system g:s:81445453 Zero Networks Admins +system g:s:83445453 Zero Networks Operators +system g:s:82445453 Zero Networks Viewers +``` + +This cmdlet lists the source user candidates for an inbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaIdentityPolicy.md b/help/zeronetworks/Get-ZNGroupsMfaIdentityPolicy.md new file mode 100644 index 0000000..55e0241 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaIdentityPolicy.md @@ -0,0 +1,311 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypolicy +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaIdentityPolicy + +## SYNOPSIS +Returns a Identity MFA policy object. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [] +``` + +## DESCRIPTION +Returns a Identity MFA policy object. + +## EXAMPLES + +### Example 1: List Identity MFA policies +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaIdentityPolicy -Groupid $group.id -GroupType tag).Items +``` + +```output +CreatedAt : 1711982793191 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : g:t:01669ce2 +DstEntityInfoId : +DstEntityInfoName : +ExcludedDstAssetIdsList : {} +ExcludedSrcAssetIdsList : {} +ExcludedSrcAssetInfos : {} +ExtraIdentityProtectionCategoryList : {} +FallbackToSingleLoggedOnUser : False +Id : 5b0b1349-1714-4a38-ba07-c32a0957ed3b +IdentityProtectionCategoryList : {5} +InnerId : +MfaMethodsList : {2, 4} +OverrideBuiltins : False +RuleDuration : 6 +SrcAssetIdsList : {b:110001} +SrcAssetInfos : {Any asset} +SrcUserIdsList : {g:a:3U1Z38mF} +SrcUserInfos : {Domain Admins} +State : 1 +UpdatedAt : 1712058796790 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet lists Identity MFA policies. + +### Example 2: Get Identity MFA policy +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +Get-ZNGroupsMfaIdentityPolicy -Groupid $group.id -GroupType tag -ReactivePolicyId 5b0b1349-1714-4a38-ba07-c32a0957ed3b +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1711982793191 +ItemDescription : +ItemDstAssetId : g:t:01669ce2 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : False +ItemId : 5b0b1349-1714-4a38-ba07-c32a0957ed3b +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {2, 4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {g:a:3U1Z38mF} +ItemSrcUserInfos : {Domain Admins} +ItemState : 1 +ItemUpdatedAt : 1712058796790 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an Identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md new file mode 100644 index 0000000..913ed8a --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaInboundPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of candidates for the destination of an inbound MFA policy. + +## SYNTAX + +``` +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the destination of an inbound MFA policy. + +## EXAMPLES + +### Example 1: Get destination candidates for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110002 All segmented assets + b:110004 All segmented servers + b:110005 All segmented clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet returns possible destination candidates for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..364e4d8 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md @@ -0,0 +1,180 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +## SYNTAX + +``` +Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate -GroupId -GroupType + [-AccountName ] [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +## EXAMPLES + +### Example 1: Get excluded source candidates for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +system False g:s:04445453 Clients +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet returns possible excluded source candidates for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesMfamethod.md b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesMfamethod.md new file mode 100644 index 0000000..4e0d39b --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesMfamethod.md @@ -0,0 +1,101 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaInboundPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods for inbound MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaInboundPoliciesMfamethod -GroupId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a list of MFA methods for inbound MFA policies. + +## EXAMPLES + +### Example 1: Get MFA methods for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +Get-ZNGroupsMfaInboundPoliciesMfamethod -Groupid $group.id -GroupType tag +``` + +```output +2 +4 +5 +1 +``` + +This cmdlet returns possible MFA methods for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md new file mode 100644 index 0000000..6b56073 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md @@ -0,0 +1,166 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaInboundPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on inbound MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaInboundPoliciesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on inbound MFA policies. + +## EXAMPLES + +### Example 1: Get source candidates for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaInboundPoliciesSourceCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset + b:110006 Unmonitored assets +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +system False g:s:04445453 Clients +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet returns possible source candidates for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..dde5673 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md @@ -0,0 +1,165 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for inbound MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for inbound MFA policies. + +## EXAMPLES + +### Example 1: Get source user candidates for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +posh.local g:a:qu04AfTz Access Control Assistance Operators +posh.local g:a:XDRxcVDz Account Operators +posh.local g:a:MBAj0Xfx Administrators +posh.local g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local g:a:JjhBvgRW Backup Operators +posh.local g:a:j4oCHNuP Certificate Service DCOM Access +posh.local g:a:YeUXSDi6 Cert Publishers +posh.local g:a:5uhxEQPp Cloneable Domain Controllers +posh.local g:a:lPQyszKw Cryptographic Operators +VPN g:v:2IoMjM9F Default's excluded members group +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:w27loY5p nicholas +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:r6ZkL5Y0 Guest +posh.local u:a:V61t0gZB ZNRemoteManagement +posh.local u:a:X2inJbQY nicholasam +system g:s:81445453 Zero Networks Admins +system g:s:83445453 Zero Networks Operators +system g:s:82445453 Zero Networks Viewers +``` + +This cmdlet returns possible source user candidates for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaInboundPolicy.md b/help/zeronetworks/Get-ZNGroupsMfaInboundPolicy.md new file mode 100644 index 0000000..31b1c9f --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaInboundPolicy.md @@ -0,0 +1,262 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpolicy +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaInboundPolicy + +## SYNOPSIS +Returns a inbound MFA policy object. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-EntityId ] [-Filters ] [-Limit ] [-Offset ] + [] +``` + +### Get +``` +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [] +``` + +## DESCRIPTION +Returns a inbound MFA policy object. + +## EXAMPLES + +### Example 1: List MFA policies for a specific group. +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +Get-ZNGroupsMfaInboundPolicy -Groupid $group.id -GroupType tag +``` + +```output +SrcEntityInfos SrcProcessNames SrcUserInfos DstEntityInfoName DstPort DstProcessNames RuleDuration FallbackToLoggedOnUser MfaMethods +-------------- --------------- ------------ ----------------- ------- --------------- ------------ ---------------------- ---------- +{Any asset} {*} {Any user} Domain controllers 9389 {*} 7 False {4} +``` + +This cmdlet gets MFA policies for a specific group. + +### Example 2: Get a specific MFA policy for a specific group +```powershell +Get-ZNGroupsMfaInboundPolicy -Groupid $group.id -GroupType tag -ReactivePolicyId aec46c4f-4512-4896-91a2-fd360d67c9d2 +``` + +```output +DstEntityInfoAssetStatus : +DstEntityInfoAssetType : +DstEntityInfoDomain : +DstEntityInfoFqdn : +DstEntityInfoId : g:t:01445453 +DstEntityInfoIpv4Addresses : +DstEntityInfoIpv6Addresses : +DstEntityInfoName : Domain controllers +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : +DstEntityInfoSource : +ItemAdditionalPortsList : {} +ItemCreatedAt : 1679404767070 +ItemCreatedBy : 1f352ed0-86f1-454f-90a5-592c197c8000 +ItemCreatedByName : Zero Networks +ItemDescription : Auto-generated rule for tag groups +ItemDstPort : 9389 +ItemDstProcessNames : {*} +ItemEnforcementSource : 5 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : False +ItemId : aec46c4f-4512-4896-91a2-fd360d67c9d2 +ItemMfaMethods : {4} +ItemOverrideBuiltins : False +ItemProtocolType : 6 +ItemRuleDuration : 7 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1679404767070 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet can get a specific MFA policy for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +entityId to filter on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md new file mode 100644 index 0000000..f3f82d4 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md @@ -0,0 +1,165 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: Get destination candidates for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + g:s:17445453 Segmented OT/IoT devices +OT/IoT False g:o:0T445453 Biometric entry systems +OT/IoT False g:o:04445453 Cameras +OT/IoT False g:o:0A445453 Card readers +OT/IoT False g:o:0S445453 Door locks +OT/IoT False g:o:06445453 Factory controllers +OT/IoT False g:o:0L445453 Fire alarms +OT/IoT False g:o:0P445453 Firewall appliance +OT/IoT False g:o:0K445453 Game consoles +OT/IoT False g:o:0J445453 Historians +OT/IoT False g:o:0E445453 HMIs + a:t:OeG7qsVV ot1777 + a:t:u7QxbAUn ot1933845 + a:t:Mid11kmS ot20245 + a:t:cC6njhiS ot202879 + a:t:4bNJaK7P ot261406 + a:t:m9m4JIHj ot274123 + a:t:e9z4KHtm ot285039 + a:t:gVwo8dSe ot302331 + a:t:LLkiZLdF ot357111 + a:t:79SpShM5 ot382777 +``` + +This cmdlet returns possible destination candidates for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..40f41ea --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md @@ -0,0 +1,180 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +## SYNTAX + +``` +Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate -GroupId -GroupType + [-AccountName ] [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +## EXAMPLES + +### Example 1: Get excluded source candidates for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet returns possible excluded source candidates for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesMfamethod.md b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesMfamethod.md new file mode 100644 index 0000000..3aeef16 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesMfamethod.md @@ -0,0 +1,101 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaOutboundPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaOutboundPoliciesMfamethod -GroupId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a list of MFA methods on outbound MFA policies. + +## EXAMPLES + +### Example 1: Get MFA methods for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +Get-ZNGroupsMfaOutboundPoliciesMfamethod -Groupid $group.id -GroupType tag +``` + +```output +2 +4 +5 +1 +``` + +This cmdlet returns possible MFA methods for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md new file mode 100644 index 0000000..7536031 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md @@ -0,0 +1,166 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaOutboundPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: Get source candidates for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset + b:110006 Unmonitored assets +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +system False g:s:04445453 Clients +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet returns possible source candidates for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..80d6d91 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md @@ -0,0 +1,165 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source users candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source users candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: Get source user candidates for a MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +(Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +posh.local g:a:qu04AfTz Access Control Assistance Operators +posh.local g:a:XDRxcVDz Account Operators +posh.local g:a:MBAj0Xfx Administrators +posh.local g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local g:a:JjhBvgRW Backup Operators +posh.local g:a:j4oCHNuP Certificate Service DCOM Access +posh.local g:a:YeUXSDi6 Cert Publishers +posh.local g:a:5uhxEQPp Cloneable Domain Controllers +posh.local g:a:lPQyszKw Cryptographic Operators +VPN g:v:2IoMjM9F Default's excluded members group +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:w27loY5p nicholas +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:r6ZkL5Y0 Guest +posh.local u:a:V61t0gZB ZNRemoteManagement +posh.local u:a:X2inJbQY nicholasam +system g:s:81445453 Zero Networks Admins +system g:s:83445453 Zero Networks Operators +system g:s:82445453 Zero Networks Viewers +``` + +This cmdlet returns possible source user candidates for a MFA policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsMfaOutboundPolicy.md b/help/zeronetworks/Get-ZNGroupsMfaOutboundPolicy.md new file mode 100644 index 0000000..415ac5e --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsMfaOutboundPolicy.md @@ -0,0 +1,247 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpolicy +schema: 2.0.0 +--- + +# Get-ZNGroupsMfaOutboundPolicy + +## SYNOPSIS +Returns the properties of an outbound MFA policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] [] +``` + +### Get +``` +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an outbound MFA policy. + +## EXAMPLES + +### Example 1: List MFA policies for a specific group. +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +Get-ZNGroupsMfaOutboundPolicy -Groupid $group.id -GroupType tag -AddBuiltins +``` + +```output +SrcEntityInfos SrcProcessNames SrcUserInfos DstEntityInfoName DstPort DstProcessNames RuleDuration FallbackToLoggedOnUser MfaMethods +-------------- --------------- ------------ ----------------- ------- --------------- ------------ ---------------------- ---------- +{All segmented assets} {*} {Any user} Segmented OT/IoT devices 80,443 {*} 6 True {4} +{All segmented assets} {*} {Any user} Segmented OT/IoT devices 22 {*} 6 True {4} +``` + +This cmdlet gets MFA policies for a specific group. + +### Example 2: Get a specific MFA policy for a specific group +```powershell +Get-ZNGroupsMfaOutboundPolicy -Groupid $group.id -GroupType tag -ReactivePolicyId 79b5ed54-16c7-45f1-9a5d-ea1022e1d710 +``` + +```output +DstEntityInfoAssetStatus : +DstEntityInfoAssetType : +DstEntityInfoDomain : +DstEntityInfoFqdn : +DstEntityInfoId : g:s:17445453 +DstEntityInfoIpv4Addresses : +DstEntityInfoIpv6Addresses : +DstEntityInfoName : Segmented OT/IoT devices +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : +DstEntityInfoSource : +ItemAdditionalPortsList : {} +ItemCreatedAt : 1682532554328 +ItemCreatedBy : m:75fae1679ac11d635cd4fbc8921786441ba47a4d +ItemCreatedByName : irtest +ItemDescription : +ItemDstPort : 80,443 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : True +ItemId : 79b5ed54-16c7-45f1-9a5d-ea1022e1d710 +ItemMfaMethods : {4} +ItemOverrideBuiltins : False +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {All segmented assets} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1682532554328 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet can get a specific MFA policy for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsOutboundRule.md b/help/zeronetworks/Get-ZNGroupsOutboundRule.md new file mode 100644 index 0000000..5e2ec67 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsOutboundRule.md @@ -0,0 +1,334 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrule +schema: 2.0.0 +--- + +# Get-ZNGroupsOutboundRule + +## SYNOPSIS +Returns the properties of an Outbound rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsOutboundRule -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Direction ] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] + [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] + [] +``` + +### Get +``` +Get-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns the properties of an Outbound rule. + +## EXAMPLES + +### Example 1: List rules for a specific group. +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +Get-ZNGroupsOutboundRule -Groupid $group.Id -GroupType tag -AddBuiltins +``` + +```output +CreatedAt RemoteEntityInfos LocalEntityInfoName Ruleclass ActivitiesCount Id CreatedByEnforcementS + ource +--------- ----------------- ------------------- --------- --------------- -- --------------------- +1694372599763 {ot1777} All segmented assets 0 d69a32ec-a5ea-4915-a33f-297c6ec2ceec 5 +1675961668454 {Any asset} All segmented assets 0 721c3616-4914-4b66-b987-64af3d50dbae 5 +1675961668436 {Any asset except segmented OT/IoT devices} All segmented assets 36490 b49360ce-3b4b-4e67-a613-42d4704d097f 5 +``` + +This cmdlet gets rules for a specific group. + +### Example 2: Get a specific rule for a specific group +```powershell +Get-ZNGroupsOutboundAllowRule -Groupid $group.Id -GroupType tag -RuleId d69a32ec-a5ea-4915-a33f-297c6ec2ceec +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemAction : 1 +ItemActivitiesCount : 0 +ItemApprovedAt : +ItemCreatedAt : 1694372599763 +ItemDescription : +ItemDirection : 2 +ItemExcludedEntityInfos : {} +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : d69a32ec-a5ea-4915-a33f-297c6ec2ceec +ItemLocalEntityId : b:110002 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:t:OeG7qsVV} +ItemRemoteEntityInfos : {ot1777} +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +LocalEntityInfoId : b:110002 +LocalEntityInfoName : All segmented assets +UpdatedById : +UpdatedByName : +``` + +This cmdlet can get a specific rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Direction +direction for the query, incoming or outgoing + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 2 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityParams +JSON string URI encoded object {id: string, direction: AssetDirection} + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsOutboundRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNGroupsOutboundRulesDestinationCandidate.md new file mode 100644 index 0000000..ed90a88 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsOutboundRulesDestinationCandidate.md @@ -0,0 +1,180 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsOutboundRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNGroupsOutboundRulesDestinationCandidate -GroupId -GroupType -RuleType + [-AccountName ] [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rule for a specific group +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +(Get-ZNGroupsOutboundRulesDestinationCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +OT/IoT False g:o:0T445453 Biometric entry systems + a:l:aayoPnNJ CS01 +OT/IoT False g:o:04445453 Cameras +OT/IoT False g:o:0A445453 Card readers +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local a:a:8ErCHXe8 DC01 + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible destination candidates for a rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleType +rule type to filter on + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md new file mode 100644 index 0000000..6a71ae0 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md @@ -0,0 +1,164 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrulesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsOutboundRulesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of excluded source candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNGroupsOutboundRulesExcludedSourceCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded source candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rule for a specific group +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +(Get-ZNGroupsOutboundRulesExcludedSourceCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible destination candidates for a rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsOutboundRulesSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsOutboundRulesSourceCandidate.md new file mode 100644 index 0000000..4c2f6bc --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsOutboundRulesSourceCandidate.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsOutboundRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNGroupsOutboundRulesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rule for a specific group +```powershell +$group = (Get-ZNGroup -Search "Domain controllers").Items | where {$_.Domain -eq "tag"} +(Get-ZNGroupsOutboundRulesSourceCandidate -Groupid $group.id -GroupType tag).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110002 All segmented assets + b:110004 All segmented servers + b:110005 All segmented clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators + a:l:aayoPnNJ CS01 +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local a:a:8ErCHXe8 DC01 +VPN False g:v:2IoMjM9F Default's excluded members group + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 +``` + +This cmdlet gets the possible destination candidates for a rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsOutboundRulesUserCandidate.md b/help/zeronetworks/Get-ZNGroupsOutboundRulesUserCandidate.md new file mode 100644 index 0000000..72e57cc --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsOutboundRulesUserCandidate.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsOutboundRulesUserCandidate + +## SYNOPSIS +Returns a list of users candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNGroupsOutboundRulesUserCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of users candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNGroupsOutboundRulesUserCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsRpcRule.md b/help/zeronetworks/Get-ZNGroupsRpcRule.md new file mode 100644 index 0000000..49818e9 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsRpcRule.md @@ -0,0 +1,274 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrule +schema: 2.0.0 +--- + +# Get-ZNGroupsRpcRule + +## SYNOPSIS +Returns the properties of an RPC rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsRpcRule -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] [-WithCount] [] +``` + +### Get +``` +Get-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns the properties of an RPC rule. + +## EXAMPLES + +### Example 1: List RPC Rules for a specific group +```powershell +(Get-ZNGroupsRpcRule -GroupType tag -GroupId 'g:t:01669ce2').Items +``` + +```output +Action : 1 +CreatedAt : 1708005695367 +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +ExcludedAssetIdsList : {} +ExcludedAssetInfos : {} +ExpiresAt : 0 +Id : 9d607d06-73cf-4ab6-a9dc-0ccf72e146f3 +InterfaceUuidsList : {} +LocalAssetId : g:t:01669ce2 +LocalAssetInfoId : g:t:01669ce2 +LocalAssetInfoName : Domain controllers +OpNumbersList : {} +ParentId : +ParentType : 0 +ProtocolsList : {} +RemoteAssetIdsList : {a:t:itN4uaLX, g:t:01669ce2} +RemoteAssetInfos : {switch01, Domain controllers} +RuleClass : 1 +State : 1 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +UserIdsList : {b:111001} +UserInfos : {Any user} +``` + +This cmdlet lists the RPC Rules for a specific group. + +### Example 2: Get a RPC Rule for a specific group +```powershell +Get-ZNGroupsRpcRule -GroupType tag -GroupId 'g:t:01669ce2' -RuleId '9d607d06-73cf-4ab6-a9dc-0ccf72e146f3' +``` + +```output +Action : 1 +CreatedAt : 1708005695367 +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +ExcludedAssetIdsList : {} +ExcludedAssetInfos : {} +ExpiresAt : 0 +Id : 9d607d06-73cf-4ab6-a9dc-0ccf72e146f3 +InterfaceUuidsList : {} +LocalAssetId : g:t:01669ce2 +LocalAssetInfoId : g:t:01669ce2 +LocalAssetInfoName : Domain controllers +OpNumbersList : {} +ParentId : +ParentType : 0 +ProtocolsList : {} +RemoteAssetIdsList : {a:t:itN4uaLX, g:t:01669ce2} +RemoteAssetInfos : {switch01, Domain controllers} +RuleClass : 1 +State : 1 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +UserIdsList : {b:111001} +UserInfos : {Any user} +``` + +This cmdlet gets a RPC Rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRuleResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsRpcRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNGroupsRpcRulesDestinationCandidate.md new file mode 100644 index 0000000..7151735 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsRpcRulesDestinationCandidate.md @@ -0,0 +1,166 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsRpcRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNGroupsRpcRulesDestinationCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rpc rule for a specific group +```powershell +(Get-ZNGroupsRpcRulesDestinationCandidate -GroupType tag -GroupId 'g:t:01669ce2').Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:113002 All RPC segmented assets + b:113004 All RPC segmented servers + b:113005 All RPC segmented clients +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +posh.local False g:a:jF0PdFzE Cryptographic Operators +posh.local a:a:VWW2G2C8 dc01 +posh.local a:a:sMnd5NkL ts01 +posh.local a:a:GLUxqjgc wac01 +posh.local a:a:A6PSKQXP ZADCOMP1 +posh.local a:a:fAloyhrG ZADCOMP10 +posh.local a:a:v9j71uhH ZADCOMP2 +posh.local a:a:DOFtbyLr ZADCOMP3 +posh.local a:a:BfAzS2Uc ZADCOMP4 +posh.local a:a:4wiNkC9Z ZADCOMP5 +posh.local a:a:CO4vV7R7 ZADCOMP6 +``` + +This cmdlet gets the possible destination candidates for a rpc rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md b/help/zeronetworks/Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md new file mode 100644 index 0000000..fcc012e --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md @@ -0,0 +1,163 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrulesexcludeddestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsRpcRulesExcludedDestinationCandidate + +## SYNOPSIS +Returns a list of excluded destination candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNGroupsRpcRulesExcludedDestinationCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded destination candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get excluded destination candidates for an rpc rule for a specific group +```powershell +(Get-ZNGroupsRpcRulesExcludedDestinationCandidate -GroupType tag -GroupId 'g:t:01669ce2').Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +posh.local False g:a:jF0PdFzE Cryptographic Operators +posh.local a:a:VWW2G2C8 dc01 +posh.local a:a:sMnd5NkL ts01 +posh.local a:a:GLUxqjgc wac01 +posh.local a:a:A6PSKQXP ZADCOMP1 +posh.local a:a:fAloyhrG ZADCOMP10 +posh.local a:a:v9j71uhH ZADCOMP2 +posh.local a:a:DOFtbyLr ZADCOMP3 +posh.local a:a:BfAzS2Uc ZADCOMP4 +posh.local a:a:4wiNkC9Z ZADCOMP5 +posh.local a:a:CO4vV7R7 ZADCOMP6 +``` + +This cmdlet gets the possible excluded destination candidates for a rpc rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsRpcRulesSourceCandidate.md b/help/zeronetworks/Get-ZNGroupsRpcRulesSourceCandidate.md new file mode 100644 index 0000000..a672b40 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsRpcRulesSourceCandidate.md @@ -0,0 +1,164 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsRpcRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNGroupsRpcRulesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get source candidates for an rpc rule for a specific group +```powershell +(Get-ZNGroupRpcRulesSourceCandidate -GroupType tag -GroupId 'g:t:01669ce2').Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +OT/IoT False g:o:0T669ce2 Biometric entry systems +OT/IoT False g:o:04669ce2 Cameras +OT/IoT False g:o:0A669ce2 Card readers +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers + a:n:3Odw9d40 as01 + a:l:qFxq3oOt cs01 +posh.local a:a:VWW2G2C8 dc01 + a:l:4NMHdoaO linux0 + a:l:18VODYZg linux1 + a:l:9TlqfBhM linux_baseit + a:n:u5LRZxRq lm01 + a:l:wEGYa0Cp ls01 + a:t:gN2vxSX1 ot275354 + a:t:CXGwcOOZ ot421163 +``` + +This cmdlet gets the possible source candidates for a rpc rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsRpcRulesUserCandidate.md b/help/zeronetworks/Get-ZNGroupsRpcRulesUserCandidate.md new file mode 100644 index 0000000..c8e9509 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsRpcRulesUserCandidate.md @@ -0,0 +1,164 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsRpcRulesUserCandidate + +## SYNOPSIS +Returns a list of user candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNGroupsRpcRulesUserCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of user candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get user candidates for an rpc rule for a specific group +```powershell +Get-ZNGroupsRpcRulesUserCandidate -GroupType tag -GroupId 'g:t:01669ce2' +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitl + e +-- ---- ----- ----------- ------------------ ----- ------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:a:PHBjR5mL Denied RODC Password Replication Group +u:a:Tlx1mxp6 zUser1 +u:a:Hk7V9Fp7 zSvcAcct3 +u:a:hCHogv8X zSvcAcct8 +u:a:chEzqYOy zUser3 +u:a:AQPEZKgV zUser5 +u:a:p4xO35Li zUser10 +u:a:lAT1XUpz zSvcAcct9 +u:a:WfuzrUyt krbtgt +u:a:JnQxZS6j nicholas-ad nicholas+poshprd@zeronetworks.com +``` + +This cmdlet gets the possible user candidates for a rpc rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsRulesDistribution.md b/help/zeronetworks/Get-ZNGroupsRulesDistribution.md new file mode 100644 index 0000000..a10b3f2 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsRulesDistribution.md @@ -0,0 +1,160 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrulesdistribution +schema: 2.0.0 +--- + +# Get-ZNGroupsRulesDistribution + +## SYNOPSIS +Returns an object with rules distribution. + +## SYNTAX + +``` +Get-ZNGroupsRulesDistribution -GroupId -GroupType -RuleId -RuleDirection + [-AccountName ] [] +``` + +## DESCRIPTION +Returns an object with rules distribution. + +## EXAMPLES + +### Example 1: List the rules distribution for a rule for an asset +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Domain -eq "tag"} +Get-ZNGroupsRulesDistribution -GroupId $group.Id -GroupType tag -RuleId 6764bd86-f3c6-4949-a827-64e1499b1b86 -RuleDirection 1 +``` + +```output +ActivitiesCount Timestamp +--------------- --------- +667 1692057600000 +657 1692144000000 +685 1692230400000 +650 1692316800000 +641 1692403200000 +635 1692489600000 +650 1692576000000 +639 1692662400000 +662 1692748800000 +635 1692835200000 +650 1692921600000 +654 1693008000000 +637 1693094400000 +650 1693180800000 +648 1693267200000 +640 1693353600000 +660 1693440000000 +648 1693526400000 +645 1693612800000 +635 1693699200000 +641 1693785600000 +735 1693872000000 +652 1693958400000 +344 1694044800000 +0 1694131200000 +0 1694217600000 +0 1694304000000 +0 1694390400000 +0 1694476800000 +0 1694563200000 +0 1694649600000 +``` + +This cmdlet returns the rules distribution for a rule for an group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDirection +direction of the rule (1-Inbound, 2-Outbound) + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleDistribution + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNGroupsStatistics.md b/help/zeronetworks/Get-ZNGroupsStatistics.md new file mode 100644 index 0000000..ec06230 --- /dev/null +++ b/help/zeronetworks/Get-ZNGroupsStatistics.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsstatistics +schema: 2.0.0 +--- + +# Get-ZNGroupsStatistics + +## SYNOPSIS +Returns an object with group statistics. + +## SYNTAX + +``` +Get-ZNGroupsStatistics [-AccountName ] [] +``` + +## DESCRIPTION +Returns an object with group statistics. + +## EXAMPLES + +### Example 1: Get group statistics +```powershell +Get-ZNGroupsStatistics +``` + +```output +roupStatisticsAdGroupsCount GroupStatisticsCustomGroupsCount GroupStatisticsProtectionPoliciesCount +---------------------------- -------------------------------- -------------------------------------- + 50 1 0 +``` + +This cmdlet gets group statistics for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsStatistics + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md b/help/zeronetworks/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md new file mode 100644 index 0000000..350fe5e --- /dev/null +++ b/help/zeronetworks/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityonboardingpoliciesgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNIdentityOnboardingPoliciesGroupCandidate + +## SYNOPSIS +Returns a list of candidates for identity onboarding policies. + +## SYNTAX + +``` +Get-ZNIdentityOnboardingPoliciesGroupCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for identity onboarding policies. + +## EXAMPLES + +### Example 1: List Identity onboarding policies +```powershell +Get-ZNIdentityOnboardingPolicy +``` + +```output +CreatedAt : 1720788060631 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +EnforceBlocks : +ExistingMembersLearningDays : 60 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 14cf1464-2807-490b-8009-9ce1d736fd38 +InitialProtectAt : 1725981560665 +NewMembersLearningDays : 60 +PolicyType : 2 +UpdatedAt : 1720797560665 +``` + +This cmdlet lists the identity onboarding policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNIdentityOnboardingPolicy.md b/help/zeronetworks/Get-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..5a3355f --- /dev/null +++ b/help/zeronetworks/Get-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,127 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityonboardingpolicy +schema: 2.0.0 +--- + +# Get-ZNIdentityOnboardingPolicy + +## SYNOPSIS +Returns a list of identity onboarding policies. + +## SYNTAX + +``` +Get-ZNIdentityOnboardingPolicy [-AccountName ] [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +Returns a list of identity onboarding policies. + +## EXAMPLES + +### Example 1: List candidates for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for identity onboarding policies. + +### Example 2: Search for a candidate for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search Servers).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:DkSpCxPu RDS Endpoint Servers +posh.local g:a:npRV5X4F RDS Management Servers +posh.local g:a:W2iRFLTg RDS Remote Access Servers +posh.local g:a:wklutzfZ Terminal Server License Servers +system g:s:01669ce2 Segment servers +system g:s:03669ce2 Servers +tag g:t:5V669ce2 Externally facing servers +``` + +This cmdlet also allows searching for a group name. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPoliciesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNIdentityRule.md b/help/zeronetworks/Get-ZNIdentityRule.md new file mode 100644 index 0000000..8bf7582 --- /dev/null +++ b/help/zeronetworks/Get-ZNIdentityRule.md @@ -0,0 +1,237 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityrule +schema: 2.0.0 +--- + +# Get-ZNIdentityRule + +## SYNOPSIS +Returns an identity segmentation rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNIdentityRule [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Cursor ] + [-Filters ] [-Limit ] [-Search ] [-WithCount] [] +``` + +### Get +``` +Get-ZNIdentityRule -RuleId [-AccountName ] [] +``` + +## DESCRIPTION +Returns an identity segmentation rule. + +## EXAMPLES + +### Example 1: List identity rules +```powershell +(Get-ZNIdentityRule).Items +``` + +```output +CreatedAt Id UserInfos AssetInfoName ExcludedAssetInfos +--------- -- --------- ------------- ------------------ +1700752866802 ff9cc79c-21b6-4363-82e1-da6bc6bbdaf0 {svc1} dc01 {} +1700673565762 9b3b398c-e5d6-47f9-831f-617752549d1f {Domain Admins} Domain controllers {} +1700159708447 01e1aa45-d6e0-41c5-a867-a95d5062ed5f {Segmented service accounts} All segmented assets {} +``` + +This cmdlet lists identity rules. + +### Example 2: Get an identity rule +```powershell +Get-ZNIdentityRule -RuleId ff9cc79c-21b6-4363-82e1-da6bc6bbdaf0 +``` + +```output +AssetInfoId : +AssetInfoName : +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:b12c928ed7b931203e027dfb7147356fe7824412 +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemAssetId : a:a:TeGEW52g +ItemCreatedAt : 1700752866802 +ItemDescription : test +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : ff9cc79c-21b6-4363-82e1-da6bc6bbdaf0 +ItemIdentityProtectionCategoryList : {5} +ItemParentId : +ItemParentType : 0 +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +ItemUserIdsList : {u:a:mACDNWcW} +ItemUserInfos : +UpdatedByEmail : +UpdatedByEnforcementSource : +UpdatedById : +UpdatedByName : +UpdatedByUserRole : +``` + +This cmdlet gets an identity rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNIdentityRulesAssetsCandidate.md b/help/zeronetworks/Get-ZNIdentityRulesAssetsCandidate.md new file mode 100644 index 0000000..d47e7d6 --- /dev/null +++ b/help/zeronetworks/Get-ZNIdentityRulesAssetsCandidate.md @@ -0,0 +1,130 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityrulesassetscandidate +schema: 2.0.0 +--- + +# Get-ZNIdentityRulesAssetsCandidate + +## SYNOPSIS +Returns a list of assets candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNIdentityRulesAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of assets candidates for Identity rules. + +## EXAMPLES + +### Example 1: List asset candidates for identity rules +```powershell +Get-ZNIdentityRulesAssetsCandidate +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses Sou + rce +-- ---- ---- ----------- ------------------ ------------- ------------- --- +b:110002 All segmented assets +b:110004 All segmented servers +b:110005 All segmented clients +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 +a:a:t8SZ1cp2 TS01 +a:a:OtfLGUBq WC01 +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +``` + +This cmdlet lists the asset candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNIdentityRulesExcludedAssetsCandidate.md b/help/zeronetworks/Get-ZNIdentityRulesExcludedAssetsCandidate.md new file mode 100644 index 0000000..5b73503 --- /dev/null +++ b/help/zeronetworks/Get-ZNIdentityRulesExcludedAssetsCandidate.md @@ -0,0 +1,127 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityrulesexcludedassetscandidate +schema: 2.0.0 +--- + +# Get-ZNIdentityRulesExcludedAssetsCandidate + +## SYNOPSIS +Returns a list of excluded assets candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNIdentityRulesExcludedAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded assets candidates for Identity rules. + +## EXAMPLES + +### Example 1: List excluded asset candidates for identity rule +```powershell +Get-ZNIdentityRulesExcludedAssetsCandidate +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses Source AssetStatus ProtectionStat + e +-- ---- ---- ----------- ------------------ ------------- ------------- ------ ----------- -------------- +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 1 +a:a:t8SZ1cp2 TS01 3 +a:a:OtfLGUBq WC01 1 +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +``` + +This cmdlet lists excluded asset candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNIdentityRulesUserCandidate.md b/help/zeronetworks/Get-ZNIdentityRulesUserCandidate.md new file mode 100644 index 0000000..e569f11 --- /dev/null +++ b/help/zeronetworks/Get-ZNIdentityRulesUserCandidate.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNIdentityRulesUserCandidate + +## SYNOPSIS +Returns a list of user candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNIdentityRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of user candidates for Identity rules. + +## EXAMPLES + +### Example 1: List user candidates for identity rules +```powershell +Get-ZNIdentityRulesUserCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +u:a:0jsjkic1 User14 +u:a:ATiwG34z User30 +u:a:4UydfhAS backups +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +u:a:IiObBkVQ krbtgt +u:a:6ZWP4tbK User53 +u:a:gOqRM6QW User21 +u:a:DiXg7R5u User51 +u:a:E1yQF2eJ User13 +u:a:h9ePwNQg User69 +u:a:hC3Ylccx User79 +``` + +This cmdlet lists the user candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNInboundRule.md b/help/zeronetworks/Get-ZNInboundRule.md new file mode 100644 index 0000000..dd2222d --- /dev/null +++ b/help/zeronetworks/Get-ZNInboundRule.md @@ -0,0 +1,297 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zninboundrule +schema: 2.0.0 +--- + +# Get-ZNInboundRule + +## SYNOPSIS +Returns the properties of an Inbound rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNInboundRule [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] + [-EntityParams ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNInboundRule -RuleId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an Inbound rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +Get-ZNInboundRule +``` + +```output +Action CreatedAt Description Direction ExpiresAt Id LocalEntityId LocalProcessesList ParentId ParentType RemoteEntityIdsList State UpdatedAt +------ --------- ----------- --------- --------- -- ------------- ------------------ -------- ---------- ------------------- ----- --------- +1 1652856440164 Allow communication between all nodes in cluster 1 0 be2bdc05-7837-4125-88ba-983e3ff7e763 g:c:wq1SFxhc {*} 0 {g:c:wq1SFxhc} 1 +1 1648717512348 Access portal 1 0 f645ad68-9c9c-4172-aeb4-b139048eaf3b a:a:EP2KKITZ {*} 0 {b:110001} 1 1651260692136 +``` + +This cmdlet gets inbound rules from the environment. + +### Example 2: Get a specific inbound rule +```powershell +Get-ZNInboundRule -RuleId "be2bdc05-7837-4125-88ba-983e3ff7e763" +``` + +```output +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemAction : 1 +ItemCreatedAt : 1652856440164 +ItemDescription : Allow communication between all nodes in cluster +ItemDirection : 1 +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : be2bdc05-7837-4125-88ba-983e3ff7e763 +ItemLocalEntityId : g:c:wq1SFxhc +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {g:c:wq1SFxhc} +ItemRemoteEntityInfos : {Hyper-V cluster (deleted)} +ItemState : 1 +ItemUpdatedAt : 1671621569513 +LocalEntityInfoId : g:c:wq1SFxhc +LocalEntityInfoName : Hyper-V cluster (deleted) +UpdatedById : +UpdatedByName : +``` + +Get a specific inbound rule. + +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityParams +JSON string URI encoded object {id: string, direction: AssetDirection} + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNInboundRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNInboundRulesDestinationCandidate.md new file mode 100644 index 0000000..aaa7029 --- /dev/null +++ b/help/zeronetworks/Get-ZNInboundRulesDestinationCandidate.md @@ -0,0 +1,147 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zninboundrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNInboundRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNInboundRulesDestinationCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for Inbound rules. + +## EXAMPLES + +### Example 1: Get possible destinations for inbound allow rule +```powershell +(Get-ZNInboundRulesDestinationCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + b:110002 All protected assets + b:110004 All protected servers + b:110005 All protected clients + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + tag g:t:32276c2c Acronis backup + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + tag g:t:10276c2c Asset management + zero.labs g:a:GqUGqkiM Backup Operators + tag g:t:23276c2c Backup servers + tag g:t:37276c2c Certificate Authority + zero.labs g:a:zobH4QmN Certificate Service DCOM Access +2 zero.labs a:a:ZgBWOMyc DC1 5 +2 zero.labs a:a:GnyWAsYs FS1 3 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 3 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for destinations in an inbound rule. + +### Example 2: Search for a candidate +```powershell +(Get-ZNInboundRulesDestinationCandidate -search DC1).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNInboundRulesExcludedDestinationCandidate.md b/help/zeronetworks/Get-ZNInboundRulesExcludedDestinationCandidate.md new file mode 100644 index 0000000..9cb5fb9 --- /dev/null +++ b/help/zeronetworks/Get-ZNInboundRulesExcludedDestinationCandidate.md @@ -0,0 +1,144 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zninboundrulesexcludeddestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNInboundRulesExcludedDestinationCandidate + +## SYNOPSIS +Returns a list of excluded destination candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNInboundRulesExcludedDestinationCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded destination candidates for Inbound rules. + +## EXAMPLES + +### Example 1: Get possible destinations to exclude for inbound allow rule +```powershell +(Get-ZNInboundRulesExcludedDestinationCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + tag g:t:32276c2c Acronis backup + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + tag g:t:10276c2c Asset management + zero.labs g:a:GqUGqkiM Backup Operators + tag g:t:23276c2c Backup servers + tag g:t:37276c2c Certificate Authority + zero.labs g:a:zobH4QmN Certificate Service DCOM Access +2 zero.labs a:a:ZgBWOMyc DC1 5 +2 zero.labs a:a:GnyWAsYs FS1 3 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 3 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for destinations in an inbound rule. + +### Example 2: Search for a candidate to exclude +```powershell +(Get-ZNInboundRulesExcludedDestinationCandidate -search DC1).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNInboundRulesSourceCandidate.md b/help/zeronetworks/Get-ZNInboundRulesSourceCandidate.md new file mode 100644 index 0000000..abff11f --- /dev/null +++ b/help/zeronetworks/Get-ZNInboundRulesSourceCandidate.md @@ -0,0 +1,147 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zninboundrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNInboundRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for Inbound rules. + +## SYNTAX + +``` +Get-ZNInboundRulesSourceCandidate -RuleType [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates for Inbound rules. + +## EXAMPLES + +### Example 1: List source candidates for inbound allow rule +```powershell +(Get-ZNInboundRulesSourceCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +OT/IoT False g:o:0T445453 Biometric entry systems +OT/IoT False g:o:04445453 Cameras +OT/IoT False g:o:0A445453 Card readers +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local a:a:8ErCHXe8 DC01 + a:l:Bn5E1jNy linux908049 + a:l:mnVw2OZs ls01 + a:t:u7QxbAUn ot193384 + a:t:aCxJya46 switch01 + a:t:YunW9uyd test +posh.local a:a:t8SZ1cp2 TS01 +posh.local a:a:OtfLGUBq WC01 +``` + +This cmdlet lists the source candidates for an inbound rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleType +rule type to filter on + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaIdentityPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNMfaIdentityPoliciesDestinationCandidate.md new file mode 100644 index 0000000..8d1cfa8 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaIdentityPoliciesDestinationCandidate.md @@ -0,0 +1,126 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNMfaIdentityPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of candidates for the destination of an identity MFA policy. + +## SYNTAX + +``` +Get-ZNMfaIdentityPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the destination of an identity MFA policy. + +## EXAMPLES + +### Example 1: Get Identity MFA Destination Candidates +```powershell +(Get-ZNMfaIdentityPoliciesDestinationCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:112002 All identity segmented assets + b:112004 All identity segmented servers + b:112005 All identity segmented clients +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +``` + +This cmdlet gets destination candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..deb0015 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNMfaIdentityPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +## SYNTAX + +``` +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate [-AccountName ] [-IsSrcAssetUnmonitored] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +## EXAMPLES + +### Example 1: Get Identity MFA Excluded Source Candidates +```powershell +(Get-ZNMfaIdentityPoliciesExcludedSourceCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:04669ce2 Clients +system False g:s:29669ce2 Client subnets +``` + +This cmdlet gets excluded source candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaIdentityPoliciesMfamethod.md b/help/zeronetworks/Get-ZNMfaIdentityPoliciesMfamethod.md new file mode 100644 index 0000000..ab58c36 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaIdentityPoliciesMfamethod.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNMfaIdentityPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods for Identity MFA policies. + +## SYNTAX + +``` +Get-ZNMfaIdentityPoliciesMfamethod [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of MFA methods for Identity MFA policies. + +## EXAMPLES + +### Example 1: Get Identity MFA Methods +```powershell +Get-ZNMfaIdentityPoliciesMfamethod +``` + +```output +2 +4 +5 +``` + +This cmdlet gets MFA methods for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaIdentityPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNMfaIdentityPoliciesSourceCandidate.md new file mode 100644 index 0000000..11fab0b --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaIdentityPoliciesSourceCandidate.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNMfaIdentityPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on Identity MFA policies. + +## SYNTAX + +``` +Get-ZNMfaIdentityPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on Identity MFA policies. + +## EXAMPLES + +### Example 1: Get Identity MFA Source Candidates +```powershell +(Get-ZNMfaIdentityPoliciesSourceCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:04669ce2 Clients +system False g:s:29669ce2 Client subnets +``` + +This cmdlet gets source candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaIdentityPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNMfaIdentityPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..6c08d94 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaIdentityPoliciesSourceUserCandidate.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNMfaIdentityPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for Identity MFA policies. + +## SYNTAX + +``` +Get-ZNMfaIdentityPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for Identity MFA policies. + +## EXAMPLES + +### Example 1: List source user candidates for inbound MFA policy +```powershell +(Get-ZNMfaInboundPoliciesSourceUserCandidate).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +posh.local g:a:qu04AfTz Access Control Assistance Operators +posh.local g:a:XDRxcVDz Account Operators +posh.local g:a:MBAj0Xfx Administrators +posh.local g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local g:a:JjhBvgRW Backup Operators +posh.local g:a:j4oCHNuP Certificate Service DCOM Access +posh.local g:a:YeUXSDi6 Cert Publishers +posh.local g:a:5uhxEQPp Cloneable Domain Controllers +posh.local g:a:lPQyszKw Cryptographic Operators +VPN g:v:2IoMjM9F Default's excluded members group +posh.local u:a:IiObBkVQ krbtgt +posh.local u:a:w27loY5p nicholas +posh.local u:a:Tolw5kf6 test +posh.local u:a:RVVXGo4w zero +posh.local u:a:r6ZkL5Y0 Guest +posh.local u:a:V61t0gZB ZNRemoteManagement +system g:s:81445453 Zero Networks Admins +system g:s:83445453 Zero Networks Operators +system g:s:82445453 Zero Networks Viewers +``` + +This cmdlet lists the source user candidates for an inbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaIdentityPolicy.md b/help/zeronetworks/Get-ZNMfaIdentityPolicy.md new file mode 100644 index 0000000..fc1374a --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaIdentityPolicy.md @@ -0,0 +1,278 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypolicy +schema: 2.0.0 +--- + +# Get-ZNMfaIdentityPolicy + +## SYNOPSIS +Returns a Identity MFA policy object. + +## SYNTAX + +### List (Default) +``` +Get-ZNMfaIdentityPolicy [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Filters ] + [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] + [] +``` + +### Get +``` +Get-ZNMfaIdentityPolicy -ReactivePolicyId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a Identity MFA policy object. + +## EXAMPLES + +### Example 1: List Identity MFA policies +```powershell +(Get-ZNMfaIdentityPolicy).Items +``` + +```output +CreatedAt : 1711982793191 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : g:t:01669ce2 +DstEntityInfoId : +DstEntityInfoName : +ExcludedDstAssetIdsList : {} +ExcludedSrcAssetIdsList : {} +ExcludedSrcAssetInfos : {} +ExtraIdentityProtectionCategoryList : {} +FallbackToSingleLoggedOnUser : False +Id : 5b0b1349-1714-4a38-ba07-c32a0957ed3b +IdentityProtectionCategoryList : {5} +InnerId : +MfaMethodsList : {2, 4} +OverrideBuiltins : False +RuleDuration : 6 +SrcAssetIdsList : {b:110001} +SrcAssetInfos : {Any asset} +SrcUserIdsList : {g:a:3U1Z38mF} +SrcUserInfos : {Domain Admins} +State : 1 +UpdatedAt : 1712058796790 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet lists Identity MFA policies. + +### Example 2: Get Identity MFA policy +```powershell +Get-ZNMfaIdentityPolicy -ReactivePolicyId 5b0b1349-1714-4a38-ba07-c32a0957ed3b +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1711982793191 +ItemDescription : +ItemDstAssetId : g:t:01669ce2 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : False +ItemId : 5b0b1349-1714-4a38-ba07-c32a0957ed3b +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {2, 4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {g:a:3U1Z38mF} +ItemSrcUserInfos : {Domain Admins} +ItemState : 1 +ItemUpdatedAt : 1712058796790 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an Identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaInboundPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNMfaInboundPoliciesDestinationCandidate.md new file mode 100644 index 0000000..62d74cb --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaInboundPoliciesDestinationCandidate.md @@ -0,0 +1,147 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNMfaInboundPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of candidates for the destination of an inbound MFA policy. + +## SYNTAX + +``` +Get-ZNMfaInboundPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the destination of an inbound MFA policy. + +## EXAMPLES + +### Example 1: Get possible destinations for inbound MFA Policy +```powershell +(Get-ZNMfaInboundPoliciesDestinationCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + b:110002 All protected assets + b:110004 All protected servers + b:110005 All protected clients + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + tag g:t:32276c2c Acronis backup + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + system g:s:18276c2c Any asset except protected OT/IoT devices + tag g:t:10276c2c Asset management + zero.labs g:a:GqUGqkiM Backup Operators + tag g:t:23276c2c Backup servers + tag g:t:37276c2c Certificate Authority +2 zero.labs a:a:ZgBWOMyc DC1 5 +2 zero.labs a:a:GnyWAsYs FS1 3 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 3 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for destinations in an inbound MFA policy. + +### Example 2: Search for a candidate +```powershell +(Get-ZNMfaInboundPoliciesDestinationCandidate -Search DC1).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..779cbae --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md @@ -0,0 +1,162 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNMfaInboundPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +## SYNTAX + +``` +Get-ZNMfaInboundPoliciesExcludedSourceCandidate [-AccountName ] [-IsSrcAssetUnmonitored] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +## EXAMPLES + +### Example 1: Get possible excluded source for inbound MFA Policy +```powershell +(Get-ZNMfaInboundPoliciesExcludedSourceCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + b:110002 All protected assets + b:110004 All protected servers + b:110005 All protected clients + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + tag g:t:32276c2c Acronis backup + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + system g:s:18276c2c Any asset except protected OT/IoT devices + tag g:t:10276c2c Asset management + zero.labs g:a:GqUGqkiM Backup Operators + tag g:t:23276c2c Backup servers + tag g:t:37276c2c Certificate Authority +2 zero.labs a:a:ZgBWOMyc DC1 5 +2 zero.labs a:a:GnyWAsYs FS1 3 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 3 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for destinations in an inbound MFA policy. + +### Example 2: Search for a candidate +```powershell +(Get-ZNMfaInboundPoliciesExcludedSourceCandidate -Search DC1).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaInboundPoliciesMfamethod.md b/help/zeronetworks/Get-ZNMfaInboundPoliciesMfamethod.md new file mode 100644 index 0000000..1708bba --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaInboundPoliciesMfamethod.md @@ -0,0 +1,76 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNMfaInboundPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods for inbound MFA policies. + +## SYNTAX + +``` +Get-ZNMfaInboundPoliciesMfamethod [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of MFA methods for inbound MFA policies. + +## EXAMPLES + +### Example 1: List possible MFA methods for an inbound MFA policy +```powershell +Get-ZNMfaInboundPoliciesMfamethod +``` + +```output +2 +4 +3 +5 +1 +``` + +This cmdlet will return the possible MFA methods for an inbound MFA policy. +The values are mapped to: +1 = SMS +2 = Email +3 = Duo Push +4 = Browser +5 = No MFA + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaInboundPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNMfaInboundPoliciesSourceCandidate.md new file mode 100644 index 0000000..a0f503b --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaInboundPoliciesSourceCandidate.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNMfaInboundPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on inbound MFA policies. + +## SYNTAX + +``` +Get-ZNMfaInboundPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on inbound MFA policies. + +## EXAMPLES + +### Example 1: Get possible sources for inbound MFA Policy +```powershell +(Get-ZNMfaInboundPoliciesSourceCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + b:110001 Any asset + b:110006 Unmonitored assets + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + tag g:t:32276c2c Acronis backup + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + tag g:t:10276c2c Asset management + zero.labs g:a:GqUGqkiM Backup Operators + tag g:t:23276c2c Backup servers + tag g:t:37276c2c Certificate Authority + zero.labs g:a:zobH4QmN Certificate Service DCOM Access +2 zero.labs a:a:ZgBWOMyc DC1 5 +2 zero.labs a:a:GnyWAsYs FS1 3 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 3 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for sources in an inbound MFA policy. + +### Example 2: Search for a candidate +```powershell +(Get-ZNMfaInboundPoliciesSourceCandidate -Search DC1).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaInboundPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNMfaInboundPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..c60a7a8 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaInboundPoliciesSourceUserCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNMfaInboundPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for inbound MFA policies. + +## SYNTAX + +``` +Get-ZNMfaInboundPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for inbound MFA policies. + +## EXAMPLES + +### Example 1: Get possible source users for inbound MFA Policy +```powershell +(Get-ZNMfaInboundPoliciesSourceUserCandidate).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +zero.labs g:a:yu1gHyge Access Control Assistance Operators +zero.labs g:a:LXwCiIyG Account Operators +tag g:t:32276c2c Acronis backup +zero.labs u:a:eTpnZu08 Administrator +zero.labs g:a:ukYAIg2J Administrators +zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group +zero.labs u:a:iGn4Hiqf Amir Duo +zero.labs u:a:PfGBMNXZ Amir Frankel +system g:s:18276c2c Any asset except protected OT/IoT devices +tag g:t:10276c2c Asset management +zero.labs g:a:GqUGqkiM Backup Operators +tag g:t:23276c2c Backup servers +zero.labs u:a:ILBOlZpe Benny Duo +zero.labs u:a:JinEj0u0 Benny Lakunishok +tag g:t:37276c2c Certificate Authority +zero.labs u:a:7Fp0hF2k duo account +zero.labs u:a:sJKzqaGn Ema Duo +zero.labs u:a:5bMryabz Emanuele Bianchi +zero.labs u:a:qRcDkgrW Guest +zero.labs u:a:r0HtwNuC krbtgt +``` + +This cmdlet will return possbile candidates for source users in an inbound MFA policy. + +### Example 2: Search for a candidate +```powershell +(Get-ZNMfaInboundPoliciesSourceUserCandidate -Search administrator).Items +``` + +```output +Domain Id Name +------ -- ---- +zero.labs u:a:eTpnZu08 Administrator +zero.labs g:a:ukYAIg2J Administrators +zero.labs g:a:QYfuTz8B Hyper-V Administrators +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaInboundPolicy.md b/help/zeronetworks/Get-ZNMfaInboundPolicy.md new file mode 100644 index 0000000..34122c1 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaInboundPolicy.md @@ -0,0 +1,220 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpolicy +schema: 2.0.0 +--- + +# Get-ZNMfaInboundPolicy + +## SYNOPSIS +Returns a inbound MFA policy object. + +## SYNTAX + +### List (Default) +``` +Get-ZNMfaInboundPolicy [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EntityId ] + [-Filters ] [-Limit ] [-Offset ] [] +``` + +### Get +``` +Get-ZNMfaInboundPolicy -ReactivePolicyId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a inbound MFA policy object. + +## EXAMPLES + +### Example 1: List inbound MFA policies +```powershell +Get-ZNMfaInboundPolicy +``` + +```output +CreatedAt CreatedBy CreatedByName Description DstPort DstProcessNames FallbackToLoggedOnUser Id MfaMethods ProtocolType RuleDuration Src + Pro + ces + sNa + mes +--------- --------- ------------- ----------- ------- --------------- ---------------------- -- ---------- ------------ ------------ --- +1666114167336 m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b PowerShell 22 {*} True e1db180f-e435-498c-ae17-59651f3c3dc3 {4} 6 6 {*} +1666100652229 m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b PowerShell 22-24 {*} False 01d37aff-309e-4581-9f2a-c12c811b035e {4} 6 6 {*} +1665664407052 1f352ed0-86f1-454f-90a5-592c197c8000 Zero Networks 2223 {*} True 4de27a4f-d351-4d40-bd82-92e5d039b890 {4} 6 6 {*} +1649105796514 1f352ed0-86f1-454f-90a5-592c197c8000 Zero Networks 345 {*} False f68d322c-1cb0-451d-aff2-c920a1a17333 {1} 6 6 {*} +1646149214106 1f352ed0-86f1-454f-90a5-592c197c8000 Zero Networks 3389 {*} False 1bb6439f-ee73-4b7e-b555-30dbbd17418e {1, 2, 3, 4} 6 6 {*} +``` + +This cmdlet gets inbound MFA policies from the environment. + +### Example 2: Get a specific inbound MFA policy +```powershell +Get-ZNMfaInboundPolicy -ReactivePolicyId "f68d322c-1cb0-451d-aff2-c920a1a17333" +I``` + +``` + +```output +temAdditionalPortsList : {} +ItemCreatedAt : 1649105796514 +ItemCreatedBy : 1f352ed0-86f1-454f-90a5-592c197c8000 +ItemCreatedByName : Zero Networks +ItemDescription : +ItemDstEntityInfos : +ItemDstPort : 345 +ItemDstProcessNames : {*} +ItemFallbackToLoggedOnUser : False +ItemId : f68d322c-1cb0-451d-aff2-c920a1a17333 +ItemMfaMethods : {1} +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Benny Lakunishok} +ItemState : 1 +ItemUpdatedAt : 1649105796514 +``` + +Get a specific inbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +entityId to filter on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaOutboundPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNMfaOutboundPoliciesDestinationCandidate.md new file mode 100644 index 0000000..d04597a --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaOutboundPoliciesDestinationCandidate.md @@ -0,0 +1,129 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNMfaOutboundPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNMfaOutboundPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: Get possible destinations for outbound MFA Policy +```powershell +(Get-ZNMfaOutboundPoliciesDestinationCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + g:s:17276c2c Protected OT/IoT devices + custom g:c:gP9POclU Test Servers +4 a:t:oxafRZct webcam 1 +``` + +This cmdlet will return possbile candidates for destinations in an outbound MFA policy. + +### Example 2: Search for a candidate +```powershell +(Get-ZNMfaOutboundPoliciesDestinationCandidate -Search webcam).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +4 a:t:oxafRZct webcam 1 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..78b1e39 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md @@ -0,0 +1,144 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNMfaOutboundPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +## SYNTAX + +``` +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate [-AccountName ] [-IsSrcAssetUnmonitored] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +## EXAMPLES + +### Example 1: Get possible excluded source for outbound MFA Policy +```powershell +(Get-ZNMfaOutboundPoliciesExcludedSourceCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + g:s:17276c2c Protected OT/IoT devices + custom g:c:gP9POclU Test Servers +4 a:t:oxafRZct webcam 1 +``` + +This cmdlet will return possbile candidates for destinations in an outbound MFA policy. + +### Example 2: Search for a candidate +```powershell +(Get-ZNMfaOutboundPoliciesExcludedSourceCandidate -Search webcam).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +4 a:t:oxafRZct webcam 1 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaOutboundPoliciesMfamethod.md b/help/zeronetworks/Get-ZNMfaOutboundPoliciesMfamethod.md new file mode 100644 index 0000000..f9cf205 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaOutboundPoliciesMfamethod.md @@ -0,0 +1,76 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNMfaOutboundPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNMfaOutboundPoliciesMfamethod [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of MFA methods on outbound MFA policies. + +## EXAMPLES + +### Example 1: List possible MFA methods for an outbound MFA policy +```powershell +Get-ZNMfaOutboundPoliciesMfamethod +``` + +```output +2 +4 +3 +5 +1 +``` + +This cmdlet will return the possible MFA methods for an outbound MFA policy. +The values are mapped to: +1 = SMS +2 = Email +3 = Duo Push +4 = Browser +5 = No MFA + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaOutboundPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNMfaOutboundPoliciesSourceCandidate.md new file mode 100644 index 0000000..3870ec6 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaOutboundPoliciesSourceCandidate.md @@ -0,0 +1,147 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNMfaOutboundPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNMfaOutboundPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: Get possible sources for outbound MFA Policy +```powershell +(Get-ZNMfaOutboundPoliciesSourceCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + b:110002 All protected assets + b:110004 All protected servers + b:110005 All protected clients + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + tag g:t:32276c2c Acronis backup + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + tag g:t:10276c2c Asset management + zero.labs g:a:GqUGqkiM Backup Operators + tag g:t:23276c2c Backup servers + tag g:t:37276c2c Certificate Authority + zero.labs g:a:zobH4QmN Certificate Service DCOM Access +2 zero.labs a:a:ZgBWOMyc DC1 5 +2 zero.labs a:a:GnyWAsYs FS1 3 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 3 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for sources in an outbound MFA policy. + +### Example 2: Search for a candidate +```powershell +(Get-ZNMfaOutboundPoliciesSourceCandidate -Search DC01).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaOutboundPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNMfaOutboundPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..f17e9ca --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaOutboundPoliciesSourceUserCandidate.md @@ -0,0 +1,149 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNMfaOutboundPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source users candidates on outbound MFA policies. + +## SYNTAX + +``` +Get-ZNMfaOutboundPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source users candidates on outbound MFA policies. + +## EXAMPLES + +### Example 1: Get possible source users for outbound MFA Policy +```powershell +(Get-ZNMfaOutboundPoliciesSourceUserCandidate).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +zero.labs g:a:yu1gHyge Access Control Assistance Operators +zero.labs g:a:LXwCiIyG Account Operators +tag g:t:32276c2c Acronis backup +zero.labs u:a:eTpnZu08 Administrator +zero.labs g:a:ukYAIg2J Administrators +zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group +zero.labs u:a:iGn4Hiqf Amir Duo +zero.labs u:a:PfGBMNXZ Amir Frankel +system g:s:18276c2c Any asset except protected OT/IoT devices +tag g:t:10276c2c Asset management +zero.labs g:a:GqUGqkiM Backup Operators +tag g:t:23276c2c Backup servers +zero.labs u:a:ILBOlZpe Benny Duo +zero.labs u:a:JinEj0u0 Benny Lakunishok +tag g:t:37276c2c Certificate Authority +zero.labs u:a:7Fp0hF2k duo account +zero.labs u:a:sJKzqaGn Ema Duo +zero.labs u:a:5bMryabz Emanuele Bianchi +zero.labs u:a:qRcDkgrW Guest +zero.labs u:a:r0HtwNuC krbtgt +``` + +This cmdlet will return possbile candidates for source users in an outbound MFA policy. + +### Example 2: Search for a candidate +```powershell +(Get-ZNMfaOutboundPoliciesSourceUserCandidate -Search administrator).Items +``` + +```output +Domain Id Name +------ -- ---- +zero.labs u:a:eTpnZu08 Administrator +zero.labs g:a:ukYAIg2J Administrators +zero.labs g:a:QYfuTz8B Hyper-V Administrators +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaOutboundPolicy.md b/help/zeronetworks/Get-ZNMfaOutboundPolicy.md new file mode 100644 index 0000000..a286018 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaOutboundPolicy.md @@ -0,0 +1,198 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpolicy +schema: 2.0.0 +--- + +# Get-ZNMfaOutboundPolicy + +## SYNOPSIS +Returns the properties of an outbound MFA policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNMfaOutboundPolicy [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Filters ] + [-Limit ] [-Offset ] [] +``` + +### Get +``` +Get-ZNMfaOutboundPolicy -ReactivePolicyId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an outbound MFA policy. + +## EXAMPLES + +### Example 1: List outbound MFA policies +```powershell +Get-ZNOutboundBlockRule +``` + +```output +Action CreatedAt Description Direction ExcludedLocalIdsList ExpiresAt Id LocalEntityId LocalProcessesList ParentId ParentType RemoteEntityIds + List +------ --------- ----------- --------- -------------------- --------- -- ------------- ------------------ -------- ---------- --------------- +2 1665759335488 2 {} 0 b4becec7-378d-4e8a-a8f9-fa31f644d74c b:110002 {*} 0 {b:12010203042… +2 1665679730342 Test Rule 2 {} 0 627e3705-2f26-4cb6-b5e2-b73b76d900b2 b:110002 {*} 0 {b:12010101012… +2 1648736821514 Sentinel Integration - Block Malicous IPs 2 {} 0 0faafa72-2540-4d55-9418-ed62472e0e2d b:110002 {*} 0 {b:12ac1001012… +``` + +This cmdlet gets outbound MFA policies from the environment. + +### Example 2: Get a specific outbound MFA policy +```powershell +Get-ZNMfaOutboundPolicy -ReactivePolicyId "cff54715-454b-4309-9b70-3055d80a8379" +``` + +```output +ItemAdditionalPortsList : {} +ItemCreatedAt : 1665512193635 +ItemCreatedBy : 1f352ed0-86f1-454f-90a5-592c197c8000 +ItemCreatedByName : Zero Networks +ItemDescription : +ItemDstEntityInfos : +ItemDstPort : 443 +ItemDstProcessNames : {*} +ItemFallbackToLoggedOnUser : False +ItemId : cff54715-454b-4309-9b70-3055d80a8379 +ItemMfaMethods : {2} +ItemProtocolType : 6 +ItemRuleDuration : 1 +ItemSrcEntityInfos : {All protected assets} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1665512193635 +``` + +Get a specific outbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaPoliciesDistribution.md b/help/zeronetworks/Get-ZNMfaPoliciesDistribution.md new file mode 100644 index 0000000..1ab2e2f --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaPoliciesDistribution.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfapoliciesdistribution +schema: 2.0.0 +--- + +# Get-ZNMfaPoliciesDistribution + +## SYNOPSIS +Returns and object with MFA distribution. + +## SYNTAX + +``` +Get-ZNMfaPoliciesDistribution [-AccountName ] [] +``` + +## DESCRIPTION +Returns and object with MFA distribution. + +## EXAMPLES + +### Example 1: List the MFA policy distribution +```powershell +Get-ZNMfaPoliciesDistribution +``` + +```output +Approved Rejected Timestamp +-------- -------- --------- +0 0 1662854400000 +0 0 1662940800000 +0 0 1663027200000 +0 0 1663113600000 +0 0 1663200000000 +0 0 1663286400000 +0 0 1663372800000 +0 0 1663459200000 +0 0 1663545600000 +0 0 1663632000000 +0 0 1663718400000 +0 0 1663804800000 +0 0 1663891200000 +0 0 1663977600000 +0 0 1664064000000 +0 0 1664150400000 +0 0 1664236800000 +0 0 1664323200000 +0 0 1664409600000 +0 0 1664496000000 +0 0 1664582400000 +0 0 1664668800000 +0 0 1664755200000 +0 0 1664841600000 +0 0 1664928000000 +0 0 1665014400000 +0 0 1665100800000 +0 0 1665187200000 +0 0 1665273600000 +0 0 1665360000000 +0 0 1665446400000 +``` + +This cmdlet lists the MFA policy distribution. +There is a count for accepted, rejected and a timestamp (epoch(ms)) for each. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyDistribution + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNMfaPoliciesStatistics.md b/help/zeronetworks/Get-ZNMfaPoliciesStatistics.md new file mode 100644 index 0000000..e1bbc50 --- /dev/null +++ b/help/zeronetworks/Get-ZNMfaPoliciesStatistics.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfapoliciesstatistics +schema: 2.0.0 +--- + +# Get-ZNMfaPoliciesStatistics + +## SYNOPSIS +Returns an object with MFA statistics. + +## SYNTAX + +``` +Get-ZNMfaPoliciesStatistics [-AccountName ] [] +``` + +## DESCRIPTION +Returns an object with MFA statistics. + +## EXAMPLES + +### Example 1: Get MFA policy statistics +```powershell +Get-ZNMfaPoliciesStatistics +``` + +```output +3 +``` + +This cmdlet gets a total count of MFA polcies for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePoliciesStatistics + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md b/help/zeronetworks/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md new file mode 100644 index 0000000..49c241f --- /dev/null +++ b/help/zeronetworks/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md @@ -0,0 +1,143 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znnetworkonboardingpoliciesgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNNetworkOnboardingPoliciesGroupCandidate + +## SYNOPSIS +Returns a list of candidates for a network onboarding policy. + +## SYNTAX + +``` +Get-ZNNetworkOnboardingPoliciesGroupCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for a network onboarding policy. + +## EXAMPLES + +### Example 1: List candidates for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for identity onboarding policies. + +### Example 2: Search for a candidate for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search Servers).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:DkSpCxPu RDS Endpoint Servers +posh.local g:a:npRV5X4F RDS Management Servers +posh.local g:a:W2iRFLTg RDS Remote Access Servers +posh.local g:a:wklutzfZ Terminal Server License Servers +system g:s:01669ce2 Segment servers +system g:s:03669ce2 Servers +tag g:t:5V669ce2 Externally facing servers +``` + +This cmdlet also allows searching for a group name. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNNetworkOnboardingPolicy.md b/help/zeronetworks/Get-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..02db359 --- /dev/null +++ b/help/zeronetworks/Get-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,117 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znnetworkonboardingpolicy +schema: 2.0.0 +--- + +# Get-ZNNetworkOnboardingPolicy + +## SYNOPSIS +Returns a list of network onboarding policies. + +## SYNTAX + +``` +Get-ZNNetworkOnboardingPolicy [-AccountName ] [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +Returns a list of network onboarding policies. + +## EXAMPLES + +### Example 1: List Network onboarding policies +```powershell +Get-ZNNetworkOnboardingPolicy +``` + +```output +CreatedAt : 1720788122962 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +EnforceBlocks : False +ExistingMembersLearningDays : 60 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 22c13631-c31d-4698-a875-fa1327cf01b5 +InitialProtectAt : 1726924854503 +NewMembersLearningDays : 30 +PolicyType : 1 +UpdatedAt : 1721740854504 +``` + +This cmdlet lists the network onboarding policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPoliciesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNProtectionPolicy.md b/help/zeronetworks/Get-ZNOtRule.md similarity index 72% rename from src/ZN/docs/Get-ZNProtectionPolicy.md rename to help/zeronetworks/Get-ZNOtRule.md index 99eb848..30abb93 100644 --- a/src/ZN/docs/Get-ZNProtectionPolicy.md +++ b/help/zeronetworks/Get-ZNOtRule.md @@ -1,23 +1,23 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znprotectionpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znotrule schema: 2.0.0 --- -# Get-ZNProtectionPolicy +# Get-ZNOtRule ## SYNOPSIS -Returns a list of protection policies. +Returns a list of switch rules. ## SYNTAX ``` -Get-ZNProtectionPolicy [-Limit ] [-Offset ] [] +Get-ZNOtRule [-AccountName ] [-PassThru] [] ``` ## DESCRIPTION -Returns a list of protection policies. +Returns a list of switch rules. ## EXAMPLES @@ -45,26 +45,26 @@ Returns a list of protection policies. ## PARAMETERS -### -Limit -Limit the return results +### -AccountName +this value is per customer / partner ```yaml -Type: System.Int32 +Type: System.String Parameter Sets: (All) Aliases: Required: False Position: Named -Default value: 10 +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] Accept pipeline input: False Accept wildcard characters: False ``` -### -Offset -Used to page through results +### -PassThru +Returns true when the command succeeds ```yaml -Type: System.Int32 +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: @@ -84,8 +84,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError -### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPoliciesList - ## NOTES ## RELATED LINKS diff --git a/help/zeronetworks/Get-ZNOutboundRule.md b/help/zeronetworks/Get-ZNOutboundRule.md new file mode 100644 index 0000000..8678709 --- /dev/null +++ b/help/zeronetworks/Get-ZNOutboundRule.md @@ -0,0 +1,277 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrule +schema: 2.0.0 +--- + +# Get-ZNOutboundRule + +## SYNOPSIS +Returns the properties of an Outbound rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNOutboundRule [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] + [-EntityParams ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNOutboundRule -RuleId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an Outbound rule. + +## EXAMPLES + +### Example 1: List outbound rules +```powershell +Get-ZNOutboundRule +``` + +```output +Action CreatedAt Description Direction ExpiresAt Id LocalEntityId LocalProcessesList ParentId ParentType RemoteEntityIdsList State UpdatedAt +------ --------- ----------- --------- --------- -- ------------- ------------------ -------- ---------- ------------------- ----- --------- +1 1665518196557 2 0 0a1444a2-7cb7-4319-a0de-a013d6b67402 b:110002 {*} 0 {b:120808080820} 1 +``` + +This cmdlet gets outbound rules from the environment. + +### Example 2: Get a specific outbound rule +```powershell +Get-ZNOutboundRule -RuleId "c551b646-75d1-477d-8023-367461883fd7" +``` + +```output +CreatedByEnforcementSource : 0 +CreatedById : m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b +CreatedByName : PowerShell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1665759234620 +ItemDescription : +ItemDirection : 2 +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : c551b646-75d1-477d-8023-367461883fd7 +ItemLocalEntityId : b:110002 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {b:120808080820} +ItemRemoteEntityInfos : {8.8.8.8} +ItemState : 1 +ItemUpdatedAt : 1671621569513 +LocalEntityInfoId : b:110002 +LocalEntityInfoName : All protected assets +UpdatedById : +UpdatedByName : +``` + +Get a specific outbound rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityParams +JSON string URI encoded object {id: string, direction: AssetDirection} + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNOutboundRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNOutboundRulesDestinationCandidate.md new file mode 100644 index 0000000..2d239bc --- /dev/null +++ b/help/zeronetworks/Get-ZNOutboundRulesDestinationCandidate.md @@ -0,0 +1,160 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNOutboundRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNOutboundRulesDestinationCandidate -RuleType [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get possible destinations for outbound rule +```powershell +(Get-ZNOutboundRulesDestinationCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + zero.labs g:a:GqUGqkiM Backup Operators + zero.labs g:a:zobH4QmN Certificate Service DCOM Access + zero.labs g:a:v7HrWzxU Cert Publishers + zero.labs g:a:Ddd1JHS6 Cloneable Domain Controllers + zero.labs g:a:vo645q5C Cryptographic Operators +2 zero.labs a:a:ZgBWOMyc DC1 10 + zero.labs g:a:mn0S6UED Denied RODC Password Replication Group +2 zero.labs a:a:GnyWAsYs FS1 3 +0 a:l:YjoLaKRG linuxserver 1 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 5 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for destinations in an outbound rule. + +### Example 2: Search for a candidate +```powershell +(Get-ZNOutboundRulesDestinationCandidate -search DC1).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleType +rule type to filter on + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNOutboundRulesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNOutboundRulesExcludedSourceCandidate.md new file mode 100644 index 0000000..9233eb6 --- /dev/null +++ b/help/zeronetworks/Get-ZNOutboundRulesExcludedSourceCandidate.md @@ -0,0 +1,144 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrulesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNOutboundRulesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of excluded source candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNOutboundRulesExcludedSourceCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded source candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get possible destinations to exclude for outbound rule +```powershell +(Get-ZNOutboundRulesExcludedSourceCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + tag g:t:32276c2c Acronis backup + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + tag g:t:10276c2c Asset management + zero.labs g:a:GqUGqkiM Backup Operators + tag g:t:23276c2c Backup servers + tag g:t:37276c2c Certificate Authority + zero.labs g:a:zobH4QmN Certificate Service DCOM Access +2 zero.labs a:a:ZgBWOMyc DC1 5 +2 zero.labs a:a:GnyWAsYs FS1 3 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 3 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for destinations in an outbound rule. + +### Example 2: Search for a candidate to exclude +```powershell +(Get-ZNOutboundRulesExcludedSourceCandidate -Search DC1).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNOutboundRulesSourceCandidate.md b/help/zeronetworks/Get-ZNOutboundRulesSourceCandidate.md new file mode 100644 index 0000000..dd4bc69 --- /dev/null +++ b/help/zeronetworks/Get-ZNOutboundRulesSourceCandidate.md @@ -0,0 +1,147 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNOutboundRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNOutboundRulesSourceCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get possible sources for outbound rule +```powershell +(Get-ZNOutboundRulesSourceCandidate).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- + b:110002 All protected assets + b:110004 All protected servers + b:110005 All protected clients + zero.labs g:a:yu1gHyge Access Control Assistance Operators + zero.labs g:a:LXwCiIyG Account Operators + tag g:t:32276c2c Acronis backup + zero.labs g:a:ukYAIg2J Administrators + zero.labs g:a:zpYqGY8G Allowed RODC Password Replication Group + tag g:t:10276c2c Asset management + zero.labs g:a:GqUGqkiM Backup Operators + tag g:t:23276c2c Backup servers + tag g:t:37276c2c Certificate Authority + zero.labs g:a:zobH4QmN Certificate Service DCOM Access +2 zero.labs a:a:ZgBWOMyc DC1 5 +2 zero.labs a:a:GnyWAsYs FS1 3 +2 zero.labs a:a:EP2KKITZ TRUST1 3 +1 zero.labs a:a:6BokfBbU WIN10-1 3 +1 zero.labs a:a:HYZhxRzI WIN10-2 3 +1 zero.labs a:a:qnRgyRA9 WIN10-3 3 +1 zero.labs a:a:5wiknOhs WIN7 3 +1 zero.labs a:a:cxIJepiA win8-1 3 +``` + +This cmdlet will return possbile candidates for sources in an outbound allow rule. + +### Example 2: Search for a candidate +```powershell +(Get-ZNOutboundRulesSourceCandidate -Search DC1).Items +``` + +```output +AssetType Domain Id Name ProtectionState +--------- ------ -- ---- --------------- +2 zero.labs a:a:ZgBWOMyc DC1 5 +``` + +To find a specific candidate use the search parameter with the Name to be searched. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNOutboundRulesUserCandidate.md b/help/zeronetworks/Get-ZNOutboundRulesUserCandidate.md new file mode 100644 index 0000000..f653f22 --- /dev/null +++ b/help/zeronetworks/Get-ZNOutboundRulesUserCandidate.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNOutboundRulesUserCandidate + +## SYNOPSIS +Returns a list of users candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNOutboundRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of users candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNOutboundRulesUserCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNRpcRule.md b/help/zeronetworks/Get-ZNRpcRule.md new file mode 100644 index 0000000..7b0cf4d --- /dev/null +++ b/help/zeronetworks/Get-ZNRpcRule.md @@ -0,0 +1,243 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrule +schema: 2.0.0 +--- + +# Get-ZNRpcRule + +## SYNOPSIS +Returns the properties of an RPC rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNRpcRule [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Limit ] + [-Offset ] [-WithCount] [] +``` + +### Get +``` +Get-ZNRpcRule -RuleId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an RPC rule. + +## EXAMPLES + +### Example 1: List RPC Rules +```powershell +(Get-ZNRpcRule).Items +``` + +```output +Action : 1 +CreatedAt : 1708005695367 +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +ExcludedAssetIdsList : {} +ExcludedAssetInfos : {} +ExpiresAt : 0 +Id : 9d607d06-73cf-4ab6-a9dc-0ccf72e146f3 +InterfaceUuidsList : {} +LocalAssetId : g:t:01669ce2 +LocalAssetInfoId : g:t:01669ce2 +LocalAssetInfoName : Domain controllers +OpNumbersList : {} +ParentId : +ParentType : 0 +ProtocolsList : {} +RemoteAssetIdsList : {a:t:itN4uaLX, g:t:01669ce2} +RemoteAssetInfos : {switch01, Domain controllers} +RuleClass : 1 +State : 1 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +UserIdsList : {b:111001} +UserInfos : {Any user} +``` + +This cmdlet lists the RPC Rules. + +### Example 2: Get a RPC Rule +```powershell +Get-ZNRpcRule -RuleId '9d607d06-73cf-4ab6-a9dc-0ccf72e146f3' +``` + +```output +Action : 1 +CreatedAt : 1708005695367 +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +ExcludedAssetIdsList : {} +ExcludedAssetInfos : {} +ExpiresAt : 0 +Id : 9d607d06-73cf-4ab6-a9dc-0ccf72e146f3 +InterfaceUuidsList : {} +LocalAssetId : g:t:01669ce2 +LocalAssetInfoId : g:t:01669ce2 +LocalAssetInfoName : Domain controllers +OpNumbersList : {} +ParentId : +ParentType : 0 +ProtocolsList : {} +RemoteAssetIdsList : {a:t:itN4uaLX, g:t:01669ce2} +RemoteAssetInfos : {switch01, Domain controllers} +RuleClass : 1 +State : 1 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +UserIdsList : {b:111001} +UserInfos : {Any user} +``` + +This cmdlet gets a RPC Rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRuleResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNRpcRulesDestinationCandidate.md b/help/zeronetworks/Get-ZNRpcRulesDestinationCandidate.md new file mode 100644 index 0000000..7775c5c --- /dev/null +++ b/help/zeronetworks/Get-ZNRpcRulesDestinationCandidate.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrulesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNRpcRulesDestinationCandidate + +## SYNOPSIS +Returns a list of destination candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNRpcRulesDestinationCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destination candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get destination candidates for an rpc rule +```powershell +(Get-ZNRpcRulesDestinationCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +posh.local False g:a:jF0PdFzE Cryptographic Operators +posh.local a:a:VWW2G2C8 dc01 +posh.local a:a:sMnd5NkL ts01 +posh.local a:a:GLUxqjgc wac01 +posh.local a:a:A6PSKQXP ZADCOMP1 +posh.local a:a:fAloyhrG ZADCOMP10 +posh.local a:a:v9j71uhH ZADCOMP2 +posh.local a:a:DOFtbyLr ZADCOMP3 +posh.local a:a:BfAzS2Uc ZADCOMP4 +posh.local a:a:4wiNkC9Z ZADCOMP5 +posh.local a:a:CO4vV7R7 ZADCOMP6 +``` + +This cmdlet gets the possible destination candidates for a rpc rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNRpcRulesExcludedDestinationCandidate.md b/help/zeronetworks/Get-ZNRpcRulesExcludedDestinationCandidate.md new file mode 100644 index 0000000..870f7ef --- /dev/null +++ b/help/zeronetworks/Get-ZNRpcRulesExcludedDestinationCandidate.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrulesexcludeddestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNRpcRulesExcludedDestinationCandidate + +## SYNOPSIS +Returns a list of excluded destination candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNRpcRulesExcludedDestinationCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded destination candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get excluded destination candidates for an rpc rule +```powershell +(Get-ZNRpcRulesExcludedDestinationCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +posh.local False g:a:jF0PdFzE Cryptographic Operators +posh.local a:a:VWW2G2C8 dc01 +posh.local a:a:sMnd5NkL ts01 +posh.local a:a:GLUxqjgc wac01 +posh.local a:a:A6PSKQXP ZADCOMP1 +posh.local a:a:fAloyhrG ZADCOMP10 +posh.local a:a:v9j71uhH ZADCOMP2 +posh.local a:a:DOFtbyLr ZADCOMP3 +posh.local a:a:BfAzS2Uc ZADCOMP4 +posh.local a:a:4wiNkC9Z ZADCOMP5 +posh.local a:a:CO4vV7R7 ZADCOMP6 +``` + +This cmdlet gets the possible excluded destination candidates for a rpc rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNRpcRulesSourceCandidate.md b/help/zeronetworks/Get-ZNRpcRulesSourceCandidate.md new file mode 100644 index 0000000..228fb3d --- /dev/null +++ b/help/zeronetworks/Get-ZNRpcRulesSourceCandidate.md @@ -0,0 +1,134 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrulessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNRpcRulesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNRpcRulesSourceCandidate [-AccountName ] [-Cursor ] [-Limit ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of source candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get source candidates for an rpc rule +```powershell +(Get-ZNRpcRulesSourceCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110001 Any asset +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local False g:a:3AFg9RPE Backup Operators +OT/IoT False g:o:0T669ce2 Biometric entry systems +OT/IoT False g:o:04669ce2 Cameras +OT/IoT False g:o:0A669ce2 Card readers +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers + a:n:3Odw9d40 as01 + a:l:qFxq3oOt cs01 +posh.local a:a:VWW2G2C8 dc01 + a:l:4NMHdoaO linux0 + a:l:18VODYZg linux1 + a:l:9TlqfBhM linux_baseit + a:n:u5LRZxRq lm01 + a:l:wEGYa0Cp ls01 + a:t:gN2vxSX1 ot275354 + a:t:CXGwcOOZ ot421163 +``` + +This cmdlet gets the possible source candidates for a rpc rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNRpcRulesUserCandidate.md b/help/zeronetworks/Get-ZNRpcRulesUserCandidate.md new file mode 100644 index 0000000..b87d62f --- /dev/null +++ b/help/zeronetworks/Get-ZNRpcRulesUserCandidate.md @@ -0,0 +1,134 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNRpcRulesUserCandidate + +## SYNOPSIS +Returns a list of user candidates for RPC rules. + +## SYNTAX + +``` +Get-ZNRpcRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of user candidates for RPC rules. + +## EXAMPLES + +### Example 1: Get user candidates for an rpc rule +```powershell +Get-ZNRpcRulesUserCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitl + e +-- ---- ----- ----------- ------------------ ----- ------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:a:PHBjR5mL Denied RODC Password Replication Group +u:a:Tlx1mxp6 zUser1 +u:a:Hk7V9Fp7 zSvcAcct3 +u:a:hCHogv8X zSvcAcct8 +u:a:chEzqYOy zUser3 +u:a:AQPEZKgV zUser5 +u:a:p4xO35Li zUser10 +u:a:lAT1XUpz zSvcAcct9 +u:a:WfuzrUyt krbtgt +u:a:JnQxZS6j nicholas-ad nicholas+poshprd@zeronetworks.com +``` + +This cmdlet gets the possible user candidates for a rpc rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNRulesDistribution.md b/help/zeronetworks/Get-ZNRulesDistribution.md new file mode 100644 index 0000000..685704a --- /dev/null +++ b/help/zeronetworks/Get-ZNRulesDistribution.md @@ -0,0 +1,129 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrulesdistribution +schema: 2.0.0 +--- + +# Get-ZNRulesDistribution + +## SYNOPSIS +Returns an object with rules distribution. + +## SYNTAX + +``` +Get-ZNRulesDistribution -RuleId -RuleDirection [-AccountName ] [] +``` + +## DESCRIPTION +Returns an object with rules distribution. + +## EXAMPLES + +### Example 1: Get hit count for a rule +```powershell +Get-ZNRulesDistribution -RuleId 2f9fd777-d735-4cac-99c5-5f822318e510 -RuleDirection 1 +``` + +```output +ActivitiesCount Timestamp +--------------- --------- +0 1673308800000 +0 1673395200000 +0 1673481600000 +0 1673568000000 +0 1673654400000 +0 1673740800000 +0 1673827200000 +0 1673913600000 +0 1674000000000 +0 1674086400000 +0 1674172800000 +0 1674259200000 +0 1674345600000 +0 1674432000000 +0 1674518400000 +0 1674604800000 +0 1674691200000 +0 1674777600000 +0 1674864000000 +0 1674950400000 +0 1675036800000 +80 1675123200000 +25 1675209600000 +159 1675296000000 +2 1675382400000 +2 1675468800000 +0 1675555200000 +2 1675641600000 +1 1675728000000 +1 1675814400000 +1 1675900800000 +``` + +This cmdlet gets the hit count for a rule. +Rule direction is 1 for inbound rules and 2 for outbound rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDirection +direction of the rule (1-Inbound, 2-Outbound) + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleDistribution + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNRulesStatistics.md b/help/zeronetworks/Get-ZNRulesStatistics.md new file mode 100644 index 0000000..fdc5b76 --- /dev/null +++ b/help/zeronetworks/Get-ZNRulesStatistics.md @@ -0,0 +1,97 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrulesstatistics +schema: 2.0.0 +--- + +# Get-ZNRulesStatistics + +## SYNOPSIS +Returns an object with rule statistics. + +## SYNTAX + +``` +Get-ZNRulesStatistics [-AccountName ] [] +``` + +## DESCRIPTION +Returns an object with rule statistics. + +## EXAMPLES + +### Example 1: List rules statistics +```powershell + Get-ZNRulesStatistics +``` + +```output +AiStatisticsInboundAllowDisabledCount : 0 +AiStatisticsInboundAllowEnabledCount : 2 +AiStatisticsInboundBlockDisabledCount : 0 +AiStatisticsInboundBlockEnabledCount : 1 +AiStatisticsOutboundAllowDisabledCount : 0 +AiStatisticsOutboundAllowEnabledCount : 1 +AiStatisticsOutboundBlockDisabledCount : 0 +AiStatisticsOutboundBlockEnabledCount : 1 +MfaStatisticsInboundAllowDisabledCount : 0 +MfaStatisticsInboundAllowEnabledCount : 0 +MfaStatisticsInboundBlockDisabledCount : 0 +MfaStatisticsInboundBlockEnabledCount : 0 +MfaStatisticsOutboundAllowDisabledCount : 0 +MfaStatisticsOutboundAllowEnabledCount : 0 +MfaStatisticsOutboundBlockDisabledCount : 0 +MfaStatisticsOutboundBlockEnabledCount : 0 +PortalStatisticsInboundAllowDisabledCount : 0 +PortalStatisticsInboundAllowEnabledCount : 0 +PortalStatisticsInboundBlockDisabledCount : 0 +PortalStatisticsInboundBlockEnabledCount : 0 +PortalStatisticsOutboundAllowDisabledCount : 0 +PortalStatisticsOutboundAllowEnabledCount : 0 +PortalStatisticsOutboundBlockDisabledCount : 0 +PortalStatisticsOutboundBlockEnabledCount : 0 +SspStatisticsInboundAllowDisabledCount : 0 +SspStatisticsInboundAllowEnabledCount : 0 +SspStatisticsInboundBlockDisabledCount : 0 +SspStatisticsInboundBlockEnabledCount : 0 +SspStatisticsOutboundAllowDisabledCount : 0 +SspStatisticsOutboundAllowEnabledCount : 0 +SspStatisticsOutboundBlockDisabledCount : 0 +SspStatisticsOutboundBlockEnabledCount : 0 +``` + +This cmdlet lists the rules statistics for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleStatistics + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSegmentServer.md b/help/zeronetworks/Get-ZNSegmentServer.md new file mode 100644 index 0000000..a13e622 --- /dev/null +++ b/help/zeronetworks/Get-ZNSegmentServer.md @@ -0,0 +1,74 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsegmentserver +schema: 2.0.0 +--- + +# Get-ZNSegmentServer + +## SYNOPSIS +Returns a list of segment servers. + +## SYNTAX + +``` +Get-ZNSegmentServer [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of segment servers. + +## EXAMPLES + +### Example 1: List Segment Servers +```powershell +Get-ZNSegmentServer +``` + +```output +AssetId : a:a:sMnd5NkL +DefaultGateway : 10.0.0.1 +DnsIPAddress : +IPAddress : +Id : f56dd59d-ab65-45ed-871c-b6c0742db568 +Name : ts01 +State : 1 +Status : 2 +SubnetMask : 255.255.255.0 +``` + +This cmdlet lists all Segment servers for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IDeploymentsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSession.md b/help/zeronetworks/Get-ZNSession.md new file mode 100644 index 0000000..ec0bee9 --- /dev/null +++ b/help/zeronetworks/Get-ZNSession.md @@ -0,0 +1,114 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsession +schema: 2.0.0 +--- + +# Get-ZNSession + +## SYNOPSIS +Returns a list of Connect sessions. + +## SYNTAX + +``` +Get-ZNSession [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [] +``` + +## DESCRIPTION +Returns a list of Connect sessions. + +## EXAMPLES + +### Example 1: List Connect Sessions +```powershell +Get-ZNSession +``` + +```output +ClientPrivateIP ClientVersion ConnectedSince ConnectionState CurrentPublicIP Id LastLogon RoleId +--------------- ------------- -------------- --------------- --------------- -- --------- ------ +192.168.200.2 1.0.46.0 1688742900335 1 20.25.132.197 s:a:YQmFrXJx 1688742898770 +``` + +This cmdlet lists Connect sessions. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISessionsList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsAad.md b/help/zeronetworks/Get-ZNSettingsAad.md new file mode 100644 index 0000000..10f904e --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsAad.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsaad +schema: 2.0.0 +--- + +# Get-ZNSettingsAad + +## SYNOPSIS +Get Azure AD Settings + +## SYNTAX + +``` +Get-ZNSettingsAad [-AccountName ] [] +``` + +## DESCRIPTION +Get Azure AD Settings + +## EXAMPLES + +### Example 1: Get AAD settings +```powershell +Get-ZNSettingsAad +``` + +```output +ClientId ClientSecret TenantId +-------- ------------ -------- +baa75fcd-84ed-4866-8467-db7c74df7aa2 d131b298-ef35-4433-98f7-af0a20369416 +``` + +This cmdlet returns the aad setings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsAzureAd + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsAd.md b/help/zeronetworks/Get-ZNSettingsAd.md new file mode 100644 index 0000000..02ea6ff --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsAd.md @@ -0,0 +1,87 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsad +schema: 2.0.0 +--- + +# Get-ZNSettingsAd + +## SYNOPSIS +Get the AD settings in Asset Management + +## SYNTAX + +``` +Get-ZNSettingsAd [-AccountName ] [] +``` + +## DESCRIPTION +Get the AD settings in Asset Management + +## EXAMPLES + +### Example 1: Get AD settings +```powershell +Get-ZNSettingsAd +``` + +```output +ActiveDirectoryInfoAllowInstallLinuxPackages : True +ActiveDirectoryInfoDomainControllerFqdn : dc01.posh.local +ActiveDirectoryInfoDomainName : posh.local +ActiveDirectoryInfoUseLdaps : False +ActiveDirectoryInfoUserFqdn : znremotemanagement +AllowNtlmFallback : True +AutomationGroupsMonitoredGroupDomain : +AutomationGroupsMonitoredGroupHasProtectionPolicy : +AutomationGroupsMonitoredGroupId : b:110003 +AutomationGroupsMonitoredGroupName : All AD assets +ForestId : f:a:0bec706b +LinuxAutomationGroupsMonitoredGroupDomain : +LinuxAutomationGroupsMonitoredGroupHasProtectionPolicy : +LinuxAutomationGroupsMonitoredGroupId : b:110003 +LinuxAutomationGroupsMonitoredGroupName : All AD assets +ProtectedGroupDomain : posh.local +ProtectedGroupHasProtectionPolicy : +ProtectedGroupId : g:a:s2FnXfXk +ProtectedGroupName : ZeroNetworksProtectedAssets-DoNotModify +SecondaryDomains : {} +UsePrimaryLinuxUserForAllDomains : True +UsePrimaryUserForAllDomains : True +``` + +This cmdlet returns the AD forest Id settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsAdInfoResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsAdMonitoredCandidate.md b/help/zeronetworks/Get-ZNSettingsAdMonitoredCandidate.md new file mode 100644 index 0000000..e328b67 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsAdMonitoredCandidate.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsadmonitoredcandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsAdMonitoredCandidate + +## SYNOPSIS +Returns a list of monitoring candidates for an AD forest. + +## SYNTAX + +``` +Get-ZNSettingsAdMonitoredCandidate -ForestId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of monitoring candidates for an AD forest. + +## EXAMPLES + +### Example 1: Get candidates for monitoring control +```powershell +$forest = Get-ZNSettingsAd +(Get-ZNSettingsAdMonitoredCandidate -ForestId $forest.ForestId).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:110003 All AD assets + g:s:03445453 Servers + g:s:04445453 Clients +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local False g:a:Ymj7i8np Denied RODC Password Replication Grou +``` + +This cmdlet lists possible candidates for monitoring control in Active Directory settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsAdProtectedCandidate.md b/help/zeronetworks/Get-ZNSettingsAdProtectedCandidate.md new file mode 100644 index 0000000..1de3411 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsAdProtectedCandidate.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsadprotectedcandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsAdProtectedCandidate + +## SYNOPSIS +Returns a list of protection candidates for an AD forest. + +## SYNTAX + +``` +Get-ZNSettingsAdProtectedCandidate -ForestId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of protection candidates for an AD forest. + +## EXAMPLES + +### Example 1: Get candidates for protected control +```powershell +$forest = Get-ZNSettingsAd +(Get-ZNSettingsAdProtectedCandidate -ForestId $forest.ForestId).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers +posh.local False g:a:5uhxEQPp Cloneable Domain Controllers +posh.local False g:a:lPQyszKw Cryptographic Operators +posh.local False g:a:Ymj7i8np Denied RODC Password Replication Group +``` + +This cmdlet lists possible candidates for protected control in Active Directory settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsAnsible.md b/help/zeronetworks/Get-ZNSettingsAnsible.md new file mode 100644 index 0000000..205c22c --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsAnsible.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsansible +schema: 2.0.0 +--- + +# Get-ZNSettingsAnsible + +## SYNOPSIS +Get the Ansible settings in Asset Management + +## SYNTAX + +``` +Get-ZNSettingsAnsible [-AccountName ] [] +``` + +## DESCRIPTION +Get the Ansible settings in Asset Management + +## EXAMPLES + +### Example 1: Get Ansible settings +```powershell +Get-ZNSettingsAnsible +``` + +```output +ClientId CredentialsName DisableCertificateValidation Url Username +-------- --------------- ---------------------------- --- -------- + False +``` + +This cmdlet returns the Ansible settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsAnsible + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsAssetManager.md b/help/zeronetworks/Get-ZNSettingsAssetManager.md new file mode 100644 index 0000000..68c92da --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsAssetManager.md @@ -0,0 +1,98 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsassetmanager +schema: 2.0.0 +--- + +# Get-ZNSettingsAssetManager + +## SYNOPSIS +List asset managers + +## SYNTAX + +``` +Get-ZNSettingsAssetManager [-AccountName ] [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +List asset managers + +## EXAMPLES + +### Example 1: List asset managers +```powershell +Get-ZNSettingsAssetManager +``` + +```output +AmountManagedEntities ManagerId +--------------------- --------- +1 g:a:cai6Wuyd +``` + +This cmdlet lists all asset managers from Settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetManagersList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsAuth.md b/help/zeronetworks/Get-ZNSettingsAuth.md new file mode 100644 index 0000000..0fad950 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsAuth.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsauth +schema: 2.0.0 +--- + +# Get-ZNSettingsAuth + +## SYNOPSIS +Get the portal security settings + +## SYNTAX + +``` +Get-ZNSettingsAuth [-AccountName ] [] +``` + +## DESCRIPTION +Get the portal security settings + +## EXAMPLES + +### Example 1: Get portal security setting +```powershell +Get-ZNSettingsAuth +``` + +```output +10080 +``` + +This cmdlet returns the Portal Security setting under System. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsAuth + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsBreakGlass.md b/help/zeronetworks/Get-ZNSettingsBreakGlass.md new file mode 100644 index 0000000..3616293 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsBreakGlass.md @@ -0,0 +1,71 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsbreakglass +schema: 2.0.0 +--- + +# Get-ZNSettingsBreakGlass + +## SYNOPSIS +Get break glass settings + +## SYNTAX + +``` +Get-ZNSettingsBreakGlass [-AccountName ] [] +``` + +## DESCRIPTION +Get break glass settings + +## EXAMPLES + +### Example 1: Get BreakGlass settings +```powershell +Get-ZNSettingsBreakGlass +``` + +```output +AgentConfigAllowIdentity : False +AgentConfigAllowInbound : False +AgentConfigAllowOutbound : False +TrustConfigAllowIdentity : False +TrustConfigAllowInbound : False +TrustConfigAllowOutbound : False +``` + +This cmdlet gets the cloud break glass settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsBreakGlass + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsClientSubnet.md b/help/zeronetworks/Get-ZNSettingsClientSubnet.md new file mode 100644 index 0000000..2d38403 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsClientSubnet.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsclientsubnet +schema: 2.0.0 +--- + +# Get-ZNSettingsClientSubnet + +## SYNOPSIS +Get Client Subnets settings in System + +## SYNTAX + +``` +Get-ZNSettingsClientSubnet [-AccountName ] [] +``` + +## DESCRIPTION +Get Client Subnets settings in System + +## EXAMPLES + +### Example 1: Get client subnets +```powershell +Get-ZNSettingsClientSubnet +``` + +```output +ConfigPrivateNetworksList +------------------------- +{} +``` + +This cmdlet gets the client subnet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsClientSubnets + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsClientsTrustedInternet.md b/help/zeronetworks/Get-ZNSettingsClientsTrustedInternet.md new file mode 100644 index 0000000..62d8986 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsClientsTrustedInternet.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsclientstrustedinternet +schema: 2.0.0 +--- + +# Get-ZNSettingsClientsTrustedInternet + +## SYNOPSIS +Get Clients Trusted Internet settings in System + +## SYNTAX + +``` +Get-ZNSettingsClientsTrustedInternet [-AccountName ] [] +``` + +## DESCRIPTION +Get Clients Trusted Internet settings in System + +## EXAMPLES + +### Example 1: List Clients Trusted Internet Settings +```powershell +Get-ZNSettingsClientsTrustedInternet +``` + +```output +Ports ProtocolType +----- ------------ + 256 +``` + +This cmdlet lists the clients trusted internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsTrustedInternet + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsClientsUntrustedInternet.md b/help/zeronetworks/Get-ZNSettingsClientsUntrustedInternet.md new file mode 100644 index 0000000..140cdbc --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsClientsUntrustedInternet.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsclientsuntrustedinternet +schema: 2.0.0 +--- + +# Get-ZNSettingsClientsUntrustedInternet + +## SYNOPSIS +Get Clients Untrusted Internet settings in System + +## SYNTAX + +``` +Get-ZNSettingsClientsUntrustedInternet [-AccountName ] [] +``` + +## DESCRIPTION +Get Clients Untrusted Internet settings in System + +## EXAMPLES + +### Example 1: List Clients Untrusted Internet Settings +```powershell +Get-ZNSettingsClientsUntrustedInternet +``` + +```output +Ports ProtocolType +----- ------------ + 256 +``` + +This cmdlet lists the clients untrusted internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsUntrustedInternet + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsClusterStrategy.md b/help/zeronetworks/Get-ZNSettingsClusterStrategy.md new file mode 100644 index 0000000..cfc2532 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsClusterStrategy.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsclusterstrategy +schema: 2.0.0 +--- + +# Get-ZNSettingsClusterStrategy + +## SYNOPSIS +Returns cluster strategy configuration. + +## SYNTAX + +``` +Get-ZNSettingsClusterStrategy [-AccountName ] [] +``` + +## DESCRIPTION +Returns cluster strategy configuration. + +## EXAMPLES + +### Example 1: Get Segment server cluster strategy +```powershell +Get-ZNSettingsClusterStrategy +``` + +```output +PreferredDeploymentId Strategy +--------------------- -------- +b41212f2-8f17-4d2b-ad2c-d077fc74fc0d 1 +``` + +This cmdlet returns the current setting for Segment server cluster strategy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsClusterStrategy + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectClientAutoUpdate.md b/help/zeronetworks/Get-ZNSettingsConnectClientAutoUpdate.md new file mode 100644 index 0000000..e5f3d73 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectClientAutoUpdate.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectclientautoupdate +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectClientAutoUpdate + +## SYNOPSIS +Get Connect client auto update in Settings + +## SYNTAX + +``` +Get-ZNSettingsConnectClientAutoUpdate [-AccountName ] [] +``` + +## DESCRIPTION +Get Connect client auto update in Settings + +## EXAMPLES + +### Example 1: Get Connect Client auto update settings +```powershell +Get-ZNSettingsConnectClientAutoUpdate +``` + +```output +False +``` + +This cmdlet returns the connect client auto update settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsConnectClientAutoUpdate + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectRegion.md b/help/zeronetworks/Get-ZNSettingsConnectRegion.md new file mode 100644 index 0000000..df77cb1 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectRegion.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectregion +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectRegion + +## SYNOPSIS +List Connect Regions in Settings + +## SYNTAX + +``` +Get-ZNSettingsConnectRegion [-AccountName ] [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +List Connect Regions in Settings + +## EXAMPLES + +### Example 1: List Connect regions +```powershell +Get-ZNSettingsConnectRegion +``` + +```output +CreatedAt CreatedBy DnsServersIPAddressList IPAddress Id Name UpdatedAt UpdatedBy +--------- --------- ----------------------- --------- -- ---- --------- --------- +1685619785028 nicholas {10.1.0.5} 13.90.119.130 r:a:qjNbW2rx azure-posh 1685619785028 nicholas +1684846883972 Nicholas DiCola {192.168.2.1} 1.2.3.4 r:a:q0tqD2rf TestRegion 1684846883972 Nicholas DiCola +``` + +This cmdlet lists the Connect regsion settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IConnectRegionsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectServer.md b/help/zeronetworks/Get-ZNSettingsConnectServer.md new file mode 100644 index 0000000..0403454 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectServer.md @@ -0,0 +1,114 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectserver +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectServer + +## SYNOPSIS +List Connect Servers in Settings + +## SYNTAX + +``` +Get-ZNSettingsConnectServer [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [] +``` + +## DESCRIPTION +List Connect Servers in Settings + +## EXAMPLES + +### Example 1: List Connect servers +```powershell +Get-ZNSettingsConnectServer +``` + +```output +AssemblyVersion ClientsDnsServerIPs ConnectionState ExternalIPAddress Fqdn Id InstalledAt InternalIPAddress Name Port +--------------- ------------------- --------------- ----------------- ---- -- ----------- ----------------- ---- ---- +1.0.12.0 {10.1.0.5} 1 13.90.119.130 CS01.posh.local y:a:jUDZuhXU 1685619874429 10.1.0.9 CS01 52000 +``` + +This cmdlet lists Connect servers under settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IConnectServersList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfig.md b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfig.md new file mode 100644 index 0000000..557ae3e --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfig.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfig +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectUserAccessConfig + +## SYNOPSIS +List Connect User Access Configurations in Settings + +## SYNTAX + +``` +Get-ZNSettingsConnectUserAccessConfig [-AccountName ] [-Limit ] [-Offset ] + [] +``` + +## DESCRIPTION +List Connect User Access Configurations in Settings + +## EXAMPLES + +### Example 1: List Connect User access configurations +```powershell +Get-ZNSettingsConnectUserAccessConfig +``` + +```output +CreatedAt Description ForceSsoAuthentication Id Name SessionTtlHours +--------- ----------- ---------------------- -- ---- --------------- +1685733928254 True v:a:0IoMjM9F Default 48 +``` + +This cmdlet lists User access configurations under Connect in Settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IConnectUserAccessConfigList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md new file mode 100644 index 0000000..b1e1268 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md @@ -0,0 +1,116 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigallowedregionscandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate + +## SYNOPSIS +Returns a list of candidates for user access config allowed regions. + +## SYNTAX + +``` +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for user access config allowed regions. + +## EXAMPLES + +### Example 1: Get Connect User Access Config candidates for Allowed Reagionssettings +```powershell +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate +``` + +```output +ConnectivityStateAfterReboot CreatedAt Description ForceSsoAuthentication Id Name SessionTtlHours UpdatedAt +---------------------------- --------- ----------- ---------------------- -- ---- --------------- --------- +0 False b:110007 Any region 0 +0 1685619785028 False r:a:qjNbW2rx azure-posh 0 1685619785028 +0 1684846883972 False r:a:q0tqD2rf TestRegion 0 1692920163584 +``` + +This cmdlet returns the possible candidates for allowed regions in the user access configurations. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IConnectUserAccessConfigList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md new file mode 100644 index 0000000..a9a44da --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md @@ -0,0 +1,134 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigassetscandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectUserAccessConfigAssetsCandidate + +## SYNOPSIS +Returns a list of candidates for user access config excluded assets. + +## SYNTAX + +``` +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for user access config excluded assets. + +## EXAMPLES + +### Example 1: List User Access Config Assets Candidates +```powershell +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate +``` + +```output +AssetStatus AssetType CreatedAt Description DirectMembersCount DistinguishedName Domain Email FirstName Fqdn Guid +----------- --------- --------- ----------- ------------------ ----------------- ------ ----- --------- ---- ---- + system + posh.local 502e6952-dccd-4496-bc6… + posh.local fb6888e6-35db-4bd6-9fa… + posh.local 894d8d88-3ead-4029-9c8… + posh.local 27936def-758c-4995-88a… + posh.local f627e13d-28e1-4344-96e… + OT/IoT 0c197f06-5693-445e-9eb… + 2 + OT/IoT 4c56f31e-9b7c-4cad-94a… + OT/IoT 86e00e6a-d9c5-4b50-aec… + posh.local fb391482-287c-4462-920… + posh.local b2e59d34-8cae-4e82-8a1… + 2 posh.local + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +``` + +This cmdlet list User Access Configruation assets candidates. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md new file mode 100644 index 0000000..7087bd5 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md @@ -0,0 +1,134 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigdestinationscandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate + +## SYNOPSIS +Returns a list of candidates for user access config excluded destinations. + +## SYNTAX + +``` +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for user access config excluded destinations. + +## EXAMPLES + +### Example 1: List User Access Config Destination Candidates +```powershell +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate +``` + +```output +AssetStatus AssetType CreatedAt Description DirectMembersCount DistinguishedName Domain Email FirstName Fqdn Guid +----------- --------- --------- ----------- ------------------ ----------------- ------ ----- --------- ---- ---- + system + posh.local 502e6952-dccd-4496-bc6… + posh.local fb6888e6-35db-4bd6-9fa… + posh.local 894d8d88-3ead-4029-9c8… + posh.local 27936def-758c-4995-88a… + posh.local f627e13d-28e1-4344-96e… + OT/IoT 0c197f06-5693-445e-9eb… + 2 + OT/IoT 4c56f31e-9b7c-4cad-94a… + OT/IoT 86e00e6a-d9c5-4b50-aec… + posh.local fb391482-287c-4462-920… + posh.local b2e59d34-8cae-4e82-8a1… + 2 posh.local + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +``` + +This cmdlet list User Access Configruation destination candidates. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md new file mode 100644 index 0000000..da3906e --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigexcludedassetscandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate + +## SYNOPSIS +Returns a list of candidates for user access config excluded assets. + +## SYNTAX + +``` +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for user access config excluded assets. + +## EXAMPLES + +### Example 1: List excluded asset candidates for user access configs +```powershell +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses S + o + u + r + c + e +-- ---- ---- ----------- ------------------ ------------- ------------- - +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:s:18445453 Any asset except segmented OT/IoT devices +g:s:28445453 Any except trusted Internet +g:a:JjhBvgRW Backup Operators +a:l:aayoPnNJ CS01 +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 +a:l:hC8rOTo0 Linux0 +a:l:goXZ3fpT Linux1 +a:l:FB8CBey8 Linux10 +a:l:9CbKWeTW Linux100 +a:l:ZVocc16n Linux1000 +a:l:jhmIsjL9 Linux1001 +a:l:8249TvxO Linux1002 +a:l:aHMCQGN2 Linux1003 +g:c:XuE877Q5 cgroup229731 +``` + +This cmdlet lists the asset candidates for User Access Configs. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md new file mode 100644 index 0000000..882dd35 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md @@ -0,0 +1,130 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigexcludedsourceuserscandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate + +## SYNOPSIS +Returns a list of candidates for user access config excluded source users. + +## SYNTAX + +``` +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for user access config excluded source users. + +## EXAMPLES + +### Example 1: List possible excluded source candidates +```powershell +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate +``` + +```output +CreatedAt Description DirectMembersCount DistinguishedName Domain +--------- ----------- ------------------ ----------------- ------ +1677251756332 0 posh.… +1677251756933 0 posh.… +1677251757039 4 posh.… +1677251756753 0 posh.… +1675961668286 Includes all IP ranges without segmented OT/IoT devices in the environment 4 system +1692538811684 Includes all IP ranges without trusted Internet addresses 5 system +1677251756911 0 posh.… +1675961668336 Includes all biometric entry systems in the environment 0 OT/IoT +1675961668319 Includes all camera devices in the environment 27 OT/IoT +1675961668353 Includes all card readers in the environment 0 OT/IoT +1677251755513 CN=Guest,CN=Users,DC=posh,DC=local posh.… +1677251756940 CN=krbtgt,CN=Users,DC=posh,DC=local posh.… +1681395846886 CN=nicholas,CN=Users,DC=posh,DC=local posh.… +1694393497354 CN=nicholasam,CN=Users,DC=posh,DC=local posh.… +1677251757162 CN=test,CN=Users,DC=posh,DC=local posh.… +1677251756981 CN=zero,CN=Users,DC=posh,DC=local posh.… +1677251757084 CN=ZNRemoteManagement,OU=ZeroNetworks,DC=posh,DC=local posh.… +``` + +This cmdlet list possible excluded sources for an User Access Configuration in settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md new file mode 100644 index 0000000..c2ccf53 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md @@ -0,0 +1,131 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigsourceuserscandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate + +## SYNOPSIS +Returns a list of candidates for user access config source users. + +## SYNTAX + +``` +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for user access config source users. + +## EXAMPLES + +### Example 1: List possible source candidates +```powershell +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate +``` + +```output +CreatedAt Description DirectMembersCount DistinguishedName Domain +--------- ----------- ------------------ ----------------- ------ + +1677251756332 0 posh.… +1677251756933 0 posh.… +1677251757039 4 posh.… +1677251756753 0 posh.… +1675961668286 Includes all IP ranges without segmented OT/IoT devices in the environment 4 system +1692538811684 Includes all IP ranges without trusted Internet addresses 5 system +1677251756911 0 posh.… +1675961668336 Includes all biometric entry systems in the environment 0 OT/IoT +1675961668319 Includes all camera devices in the environment 27 OT/IoT +1675961668353 Includes all card readers in the environment 0 OT/IoT +1677251755513 CN=Guest,CN=Users,DC=posh,DC=local posh.… +1677251756940 CN=krbtgt,CN=Users,DC=posh,DC=local posh.… +1681395846886 CN=nicholas,CN=Users,DC=posh,DC=local posh.… +1694393497354 CN=nicholasam,CN=Users,DC=posh,DC=local posh.… +1677251757162 CN=test,CN=Users,DC=posh,DC=local posh.… +1677251756981 CN=zero,CN=Users,DC=posh,DC=local posh.… +1677251757084 CN=ZNRemoteManagement,OU=ZeroNetworks,DC=posh,DC=local posh.… +``` + +This cmdlet list possible sources for an User Access Configuration in settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsDefaultApplication.md b/help/zeronetworks/Get-ZNSettingsDefaultApplication.md new file mode 100644 index 0000000..5a4fbbf --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsDefaultApplication.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsdefaultapplication +schema: 2.0.0 +--- + +# Get-ZNSettingsDefaultApplication + +## SYNOPSIS +Get Default SSO Application settings in Identity Providers + +## SYNTAX + +``` +Get-ZNSettingsDefaultApplication [-AccountName ] [] +``` + +## DESCRIPTION +Get Default SSO Application settings in Identity Providers + +## EXAMPLES + +### Example 1: Get Default SSO application settings +```powershell +Get-ZNSettingsDefaultApplication +``` + +```output +1 +``` + +This cmdlet returns the default SSO application settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsIdpDefaultApplication1 + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsFirewall.md b/help/zeronetworks/Get-ZNSettingsFirewall.md new file mode 100644 index 0000000..02e7cd3 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsFirewall.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsfirewall +schema: 2.0.0 +--- + +# Get-ZNSettingsFirewall + +## SYNOPSIS +Returns the properties of Firewall settings. + +## SYNTAX + +``` +Get-ZNSettingsFirewall [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of Firewall settings. + +## EXAMPLES + +### Example 1: Get Create implicit ICMP rules settings +```powershell +Get-ZNSettingsFirewall +``` + +```output +True +``` + +This cmdlet returns the Create implicit ICMP rules settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsFirewall + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsFirewallIgnoredGpo.md b/help/zeronetworks/Get-ZNSettingsFirewallIgnoredGpo.md new file mode 100644 index 0000000..ccbeb0e --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsFirewallIgnoredGpo.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsfirewallignoredgpo +schema: 2.0.0 +--- + +# Get-ZNSettingsFirewallIgnoredGpo + +## SYNOPSIS +Returns the properties of ignored GPO rules Firewall settings. + +## SYNTAX + +``` +Get-ZNSettingsFirewallIgnoredGpo [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of ignored GPO rules Firewall settings. + +## EXAMPLES + +### Example 1: Get Asset health - Windows firewall GPO rule checkup exclusions settings +```powershell +Get-ZNSettingsFirewallIgnoredGpo +``` + +```output +InboundList OutboundList +----------- ------------ +{test} {} +``` + +This cmdlet returns the Asset health - Windows firewall GPO rule checkup exclusions settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsFirewallIgnoredGpo + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsFirewallIgnoredRule.md b/help/zeronetworks/Get-ZNSettingsFirewallIgnoredRule.md new file mode 100644 index 0000000..e24f00c --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsFirewallIgnoredRule.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsfirewallignoredrule +schema: 2.0.0 +--- + +# Get-ZNSettingsFirewallIgnoredRule + +## SYNOPSIS +Returns the properties of ignored rules for anti-tampering Firewall settings. + +## SYNTAX + +``` +Get-ZNSettingsFirewallIgnoredRule [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of ignored rules for anti-tampering Firewall settings. + +## EXAMPLES + +### Example 1: Get Anti-tampering - Windows firewall rule exclusions settings +```powershell +Get-ZNSettingsFirewallIgnoredRule +``` + +```output +InboundList OutboundList +----------- ------------ +{test} {} +``` + +This cmdlet returns the Anti-tampering - Windows firewall rule exclusions settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsFirewallIgnoredRules + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsFirewallProfile.md b/help/zeronetworks/Get-ZNSettingsFirewallProfile.md new file mode 100644 index 0000000..e2753cb --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsFirewallProfile.md @@ -0,0 +1,74 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsfirewallprofile +schema: 2.0.0 +--- + +# Get-ZNSettingsFirewallProfile + +## SYNOPSIS +Returns the properties of firewall profiles in Firewall settings. + +## SYNTAX + +``` +Get-ZNSettingsFirewallProfile [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of firewall profiles in Firewall settings. + +## EXAMPLES + +### Example 1: Get Firewall Profiles settings +```powershell +Get-ZNSettingsFirewallProfile +``` + +```output +InboundAllowDomain : True +InboundAllowPrivate : True +InboundAllowPublic : False +InboundBlockDomain : True +InboundBlockPrivate : True +InboundBlockPublic : True +OutboundBlockDomain : True +OutboundBlockPrivate : True +OutboundBlockPublic : True +``` + +This cmdlet returns the Firewall Profiles settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsFirewallProfiles + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsIdp.md b/help/zeronetworks/Get-ZNSettingsIdp.md new file mode 100644 index 0000000..a40b889 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsIdp.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsidp +schema: 2.0.0 +--- + +# Get-ZNSettingsIdp + +## SYNOPSIS +Get identity provider settings in Identity Providers + +## SYNTAX + +``` +Get-ZNSettingsIdp [-AccountName ] [] +``` + +## DESCRIPTION +Get identity provider settings in Identity Providers + +## EXAMPLES + +### Example 1: Get Idp settings +```powershell +Get-ZNSettingsIdp +``` + +```output +IdentityProviderType IsDefault +-------------------- --------- +azure False +``` + +This cmdlet returns the Identity Provider settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsIdpList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsInactiveAsset.md b/help/zeronetworks/Get-ZNSettingsInactiveAsset.md new file mode 100644 index 0000000..504219b --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsInactiveAsset.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsinactiveasset +schema: 2.0.0 +--- + +# Get-ZNSettingsInactiveAsset + +## SYNOPSIS +Get inactive assets settings configuration + +## SYNTAX + +``` +Get-ZNSettingsInactiveAsset [-AccountName ] [] +``` + +## DESCRIPTION +Get inactive assets settings configuration + +## EXAMPLES + +### Example 1: Get inactive assets setting +```powershell +Get-ZNSettingsInactiveAsset +``` + +```output +LastActiveDurationInMonths +-------------------------- + 0 +``` + +This cmdlet gets the inactive assets setting. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IInactiveAssetsConfig + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsInternalSubnet.md b/help/zeronetworks/Get-ZNSettingsInternalSubnet.md new file mode 100644 index 0000000..ca2b9d6 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsInternalSubnet.md @@ -0,0 +1,72 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsinternalsubnet +schema: 2.0.0 +--- + +# Get-ZNSettingsInternalSubnet + +## SYNOPSIS +Get Internal Subnets settings in System + +## SYNTAX + +``` +Get-ZNSettingsInternalSubnet [-AccountName ] [] +``` + +## DESCRIPTION +Get Internal Subnets settings in System + +## EXAMPLES + +### Example 1: List internal subnet settings +```powershell +Get-ZNSettingsInternalSubnet +``` + +```output +10.0.0.0/8 +100.64.0.0/10 +169.254.0.0/16 +172.16.0.0/12 +192.0.0.0/24 +192.168.0.0/16 +198.18.0.0/15 +``` + +This cmdlet lists the internal subnets Settings under System. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsInternalSubnets + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsJamfCredentials.md b/help/zeronetworks/Get-ZNSettingsJamfCredentials.md new file mode 100644 index 0000000..1328958 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsJamfCredentials.md @@ -0,0 +1,62 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsjamfcredentials +schema: 2.0.0 +--- + +# Get-ZNSettingsJamfCredentials + +## SYNOPSIS +Returns the properties for JAMF Credentials Settings. + +## SYNTAX + +``` +Get-ZNSettingsJamfCredentials [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties for JAMF Credentials Settings. + +## EXAMPLES + +### Example 1: Get JAMF settings +```powershell +Get-ZNSettingsJamfCredentials +``` + +This cmdlet returns the Jamf settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsJamfCredentials + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsLearningConfig.md b/help/zeronetworks/Get-ZNSettingsLearningConfig.md new file mode 100644 index 0000000..8e504ac --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsLearningConfig.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingslearningconfig +schema: 2.0.0 +--- + +# Get-ZNSettingsLearningConfig + +## SYNOPSIS +Get Learning Config settings in Network Segmentation + +## SYNTAX + +``` +Get-ZNSettingsLearningConfig [-AccountName ] [] +``` + +## DESCRIPTION +Get Learning Config settings in Network Segmentation + +## EXAMPLES + +### Example 1: Get AI Learning Config +```powershell +Get-ZNSettingsLearningConfig +``` + +```output +AllowQueueForever AllowQuickLearning +----------------- ------------------ +True False +``` + +This cmdlet gets the lerarning config settings from AI. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsLearningConfig + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsLicense.md b/help/zeronetworks/Get-ZNSettingsLicense.md new file mode 100644 index 0000000..9f4c308 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsLicense.md @@ -0,0 +1,115 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingslicense +schema: 2.0.0 +--- + +# Get-ZNSettingsLicense + +## SYNOPSIS +Get Subscription Licenses + +## SYNTAX + +``` +Get-ZNSettingsLicense -LicenseType [-AccountName ] [] +``` + +## DESCRIPTION +Get Subscription Licenses + +## EXAMPLES + +### Example 1: Get network license +```powershell +Get-ZNSettingsLicense -ProtectionType network +``` + +```output +ConfigInfoLicenseMode : 1 +ConfigInfoProtectedAndQueuedAssetsLimit : -1 +ConfigInfoQueuedAssetsLimit : -1 +CountPbProtected : 1 +CountQueued : 2 +``` + +This cmdlet gets the network licenses. + +### Example 2: Get identity license +```powershell +Get-ZNSettingsLicense -ProtectionType identity +``` + +```output +ConfigInfoLicenseMode : 1 +ConfigInfoProtectedAndQueuedAssetsLimit : -1 +ConfigInfoQueuedAssetsLimit : -1 +CountPbProtected : 1 +CountQueued : 2 +``` + +This cmdlet gets the identity licenses. + +### Example 2: Get RPC license +```powershell +Get-ZNSettingsLicense -ProtectionType rpc +``` + +```output +ConfigInfoLicenseMode : 1 +ConfigInfoProtectedAndQueuedAssetsLimit : -1 +ConfigInfoQueuedAssetsLimit : -1 +CountPbProtected : 1 +CountQueued : 2 +``` + +This cmdlet gets the RPC licenses. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LicenseType +The license + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ILicensesConfig + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsLinuxSetup.md b/help/zeronetworks/Get-ZNSettingsLinuxSetup.md new file mode 100644 index 0000000..6061569 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsLinuxSetup.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingslinuxsetup +schema: 2.0.0 +--- + +# Get-ZNSettingsLinuxSetup + +## SYNOPSIS +Get the linux setup settings in Asset Management + +## SYNTAX + +``` +Get-ZNSettingsLinuxSetup [-AccountName ] [] +``` + +## DESCRIPTION +Get the linux setup settings in Asset Management + +## EXAMPLES + +### Example 1: Get Linux Setup settings +```powershell +Get-ZNSettingsLinuxSetup +``` + +```output +False +``` + +This cmdlet gets the Linux setup settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsLinuxSetup + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsLinuxUser.md b/help/zeronetworks/Get-ZNSettingsLinuxUser.md new file mode 100644 index 0000000..d578dbb --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsLinuxUser.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingslinuxuser +schema: 2.0.0 +--- + +# Get-ZNSettingsLinuxUser + +## SYNOPSIS +Get the linux user settings in Asset Management + +## SYNTAX + +``` +Get-ZNSettingsLinuxUser [-AccountName ] [] +``` + +## DESCRIPTION +Get the linux user settings in Asset Management + +## EXAMPLES + +### Example 1: Get Linux user settings +```powershell +Get-ZNSettingsLinuxUser +``` + +```output +zn-admin +``` + +This cmdlet returns the Linux user settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsLinuxUser + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsMaintenanceWindow.md b/help/zeronetworks/Get-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..06d6173 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,120 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmaintenancewindow +schema: 2.0.0 +--- + +# Get-ZNSettingsMaintenanceWindow + +## SYNOPSIS +Returns the maintenance window properties + +## SYNTAX + +### List (Default) +``` +Get-ZNSettingsMaintenanceWindow [-AccountName ] [] +``` + +### Get +``` +Get-ZNSettingsMaintenanceWindow -MaintenanceWindowId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the maintenance window properties + +## EXAMPLES + +### Example 1: List maintenance windows +```powershell +Get-ZNSettingsMaintenanceWindow +``` + +```output +CreatedAt : 1728092138778 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +Id : e:m:eCoheWFb +IsDefault : True +Name : Default +StartTime : 4 +UpdatedAt : 1728092138778 +UpdatedById : +UpdatedByName : +Weekday : 1 +``` + +This cmdlet lists maintenance windows. + +### Example 2: Get a maintenance window +```powershell +Get-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:eCoheWFb +``` + +```output +CreatedAt : 1728092138778 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +Id : e:m:eCoheWFb +IsDefault : True +Name : Default +StartTime : 4 +UpdatedAt : 1728092138778 +UpdatedById : +UpdatedByName : +Weekday : 1 +``` + +This cmdlet gets a maintenance window. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +id of the maintence window + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IMaintenanceWindowItems + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IMaintenanceWindowList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsMfaAuthentication.md b/help/zeronetworks/Get-ZNSettingsMfaAuthentication.md new file mode 100644 index 0000000..2167674 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsMfaAuthentication.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmfaauthentication +schema: 2.0.0 +--- + +# Get-ZNSettingsMfaAuthentication + +## SYNOPSIS +Returns the properties of MFA authentication settings. + +## SYNTAX + +``` +Get-ZNSettingsMfaAuthentication [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of MFA authentication settings. + +## EXAMPLES + +### Example 1: Get MFA authentication settings +```powershell +Get-ZNSettingsMfaAuthentication +``` + +```output +ItemIsRequiresAuth ItemIsSsoForceAuth ItemTokenTtl +------------------ ------------------ ------------ + True False 60 +``` + +This cmdlet returns the MFA settings settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaAuthenticationResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsMfaCache.md b/help/zeronetworks/Get-ZNSettingsMfaCache.md new file mode 100644 index 0000000..51c4d3d --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsMfaCache.md @@ -0,0 +1,114 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmfacache +schema: 2.0.0 +--- + +# Get-ZNSettingsMfaCache + +## SYNOPSIS +Returns a list of MFA Cache Policies. + +## SYNTAX + +``` +Get-ZNSettingsMfaCache [-AccountName ] [-Limit ] [-Offset ] [-WithCount] + [] +``` + +## DESCRIPTION +Returns a list of MFA Cache Policies. + +## EXAMPLES + +### Example 1: List MFA Cache Policies +```powershell +(Get-ZNSettingsMfaCache).Items +``` + +```output +AssetLimit EntityId EntityInfo TtlMinutes +---------- -------- ---------- ---------- + 10 g:a:3U1Z38mF ZeroNetworks.PowerShell.Cmdlets.Api.Models.SettingsMfaCacheEntityInfo 720 +``` + +This cmdlet lists MFA Cache policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaCacheList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsMfaCacheCandidate.md b/help/zeronetworks/Get-ZNSettingsMfaCacheCandidate.md new file mode 100644 index 0000000..feafd1f --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsMfaCacheCandidate.md @@ -0,0 +1,141 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmfacachecandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsMfaCacheCandidate + +## SYNOPSIS +Returns a list of candidates for MFA Cache Policy. + +## SYNTAX + +``` +Get-ZNSettingsMfaCacheCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of candidates for MFA Cache Policy. + +## EXAMPLES + +### Example 1: List MFA Cache candidates +```powershell +Get-ZNSettingsMfaCacheCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:2mkAN4DS Domain Computers +g:a:3AFg9RPE Backup Operators +u:a:Q9tgABYw Guest (disabled) +u:a:WfuzrUyt krbtgt (disabled) +u:a:JnQxZS6j nicholas-ad nicholas+poshprd@zeronetworks.com +g:a:3npP67jr Windows Authorization Access Group +g:a:3U1Z38mF Domain Admins +g:a:7tzfiueO DnsAdmins +g:a:81Tnx8va Pre-Windows 2000 Compatible Access +``` + +This cmdlet lists the MFA cache candidates. + +### Example 2: {{ Add title here }} +```powershell +Get-ZNSettingsMfaCacheCandidate -Search Servers +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:DkSpCxPu RDS Endpoint Servers +g:a:npRV5X4F RDS Management Servers +g:a:AcuMXaSY RAS and IAS Servers +g:a:wklutzfZ Terminal Server License Servers +g:a:W2iRFLTg RDS Remote Access Servers +``` + +This cmdlet allows search for an MFA cache candidates. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsMfaDetection.md b/help/zeronetworks/Get-ZNSettingsMfaDetection.md new file mode 100644 index 0000000..fadfb03 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsMfaDetection.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmfadetection +schema: 2.0.0 +--- + +# Get-ZNSettingsMfaDetection + +## SYNOPSIS +Returns the properties of MFA detection settings. + +## SYNTAX + +``` +Get-ZNSettingsMfaDetection [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of MFA detection settings. + +## EXAMPLES + +### Example 1: Get MFA detection +```powershell +Get-ZNSettingsMfaDetection +``` + +```output +2 +``` + +This cmdlet returns the MFA detection settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaDetectionResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsNotification.md b/help/zeronetworks/Get-ZNSettingsNotification.md new file mode 100644 index 0000000..7ec8ba2 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsNotification.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsnotification +schema: 2.0.0 +--- + +# Get-ZNSettingsNotification + +## SYNOPSIS +Returns the properties of the Mail Notification settings. + +## SYNTAX + +``` +Get-ZNSettingsNotification [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of the Mail Notification settings. + +## EXAMPLES + +### Example 1: Get notifications settings +```powershell +Get-ZNSettingsNotification +``` + +```output +AssetPostponed AssetProtected AssetQueued AssetUnprotected +-------------- -------------- ----------- ---------------- +False False False False +``` + +This cmdlet returns the notifications settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsNotification + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsPrivilegedPort.md b/help/zeronetworks/Get-ZNSettingsPrivilegedPort.md new file mode 100644 index 0000000..fd0096d --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsPrivilegedPort.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsprivilegedport +schema: 2.0.0 +--- + +# Get-ZNSettingsPrivilegedPort + +## SYNOPSIS +Get Privileged Ports settings in Network segmentation + +## SYNTAX + +``` +Get-ZNSettingsPrivilegedPort [-AccountName ] [] +``` + +## DESCRIPTION +Get Privileged Ports settings in Network segmentation + +## EXAMPLES + +### Example 1: Get privileged ports settings +```powershell +Get-ZNSettingsPrivilegedPort +``` + +```output +ItemTcpPorts ItemUdpPorts +------------ ------------ +21-23,445,3389,5985-5986,9389 +``` + +This cmdlet returns the privileged ports settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsPrivilegedPorts + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsPushNotification.md b/help/zeronetworks/Get-ZNSettingsPushNotification.md new file mode 100644 index 0000000..e4167d1 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsPushNotification.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingspushnotification +schema: 2.0.0 +--- + +# Get-ZNSettingsPushNotification + +## SYNOPSIS +Get Push Notifications Settings + +## SYNTAX + +``` +Get-ZNSettingsPushNotification [-AccountName ] [] +``` + +## DESCRIPTION +Get Push Notifications Settings + +## EXAMPLES + +### Example 1: Get Push Notifications settings +```powershell +Get-ZNSettingsPushNotification +``` + +```output +Host Id IdentityProvider +---- -- ---------------- +login.microsoftonline.com 4bbf96f1-7cc5-4711-84cd-f16ba41265a8 microsoftAuthenticator +``` + +This cmdlet returns the Push Notifications settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsPushNotificationsList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsServersTrustedInternet.md b/help/zeronetworks/Get-ZNSettingsServersTrustedInternet.md new file mode 100644 index 0000000..994b613 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsServersTrustedInternet.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsserverstrustedinternet +schema: 2.0.0 +--- + +# Get-ZNSettingsServersTrustedInternet + +## SYNOPSIS +Get Servers Trusted Internet settings in System + +## SYNTAX + +``` +Get-ZNSettingsServersTrustedInternet [-AccountName ] [] +``` + +## DESCRIPTION +Get Servers Trusted Internet settings in System + +## EXAMPLES + +### Example 1: List Servers Trusted Internet Settings +```powershell +Get-ZNSettingsServersTrustedInternet +``` + +```output +Ports ProtocolType +----- ------------ + 256 +``` + +This cmdlet lists the servers trusted internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsTrustedInternet + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsServersUntrustedInternet.md b/help/zeronetworks/Get-ZNSettingsServersUntrustedInternet.md new file mode 100644 index 0000000..514dbd1 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsServersUntrustedInternet.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsserversuntrustedinternet +schema: 2.0.0 +--- + +# Get-ZNSettingsServersUntrustedInternet + +## SYNOPSIS +Get Servers Untrusted Internet settings in System + +## SYNTAX + +``` +Get-ZNSettingsServersUntrustedInternet [-AccountName ] [] +``` + +## DESCRIPTION +Get Servers Untrusted Internet settings in System + +## EXAMPLES + +### Example 1: List Servers Untrusted Internet Settings +```powershell +Get-ZNSettingsServersUntrustedInternet +``` + +```output +Ports ProtocolType +----- ------------ + 256 +``` + +This cmdlet lists the servers untrusted internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsUntrustedInternet + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsTrustedInternetAddress.md b/help/zeronetworks/Get-ZNSettingsTrustedInternetAddress.md new file mode 100644 index 0000000..f611d6c --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsTrustedInternetAddress.md @@ -0,0 +1,66 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingstrustedinternetaddress +schema: 2.0.0 +--- + +# Get-ZNSettingsTrustedInternetAddress + +## SYNOPSIS +Get Trusted Internet addresses settings in System + +## SYNTAX + +``` +Get-ZNSettingsTrustedInternetAddress [-AccountName ] [] +``` + +## DESCRIPTION +Get Trusted Internet addresses settings in System + +## EXAMPLES + +### Example 1: Get Trusted Internet settings +```powershell +Get-ZNSettingsTrustedInternetAddress +``` + +```output +1.1.1.1 +``` + +This cmdlet returns the Trusted Internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsTrustedInternetAddresses + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSettingsZpa.md b/help/zeronetworks/Get-ZNSettingsZpa.md new file mode 100644 index 0000000..1d053c9 --- /dev/null +++ b/help/zeronetworks/Get-ZNSettingsZpa.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingszpa +schema: 2.0.0 +--- + +# Get-ZNSettingsZpa + +## SYNOPSIS +Get ZPA settings in Integrations + +## SYNTAX + +``` +Get-ZNSettingsZpa [-AccountName ] [] +``` + +## DESCRIPTION +Get ZPA settings in Integrations + +## EXAMPLES + +### Example 1: Get ZPA settings +```powershell +Get-ZNSettingsZpa +``` + +```output +ClientOutboundSubnet GatewayIpsList IsEnabled PortsToMfaTcp PortsToMfaUdp +-------------------- -------------- --------- ------------- ------------- + False +``` + +This cmdlet returns the ZPA settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsZpa + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSwitch.md b/help/zeronetworks/Get-ZNSwitch.md new file mode 100644 index 0000000..503df2e --- /dev/null +++ b/help/zeronetworks/Get-ZNSwitch.md @@ -0,0 +1,77 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znswitch +schema: 2.0.0 +--- + +# Get-ZNSwitch + +## SYNOPSIS +Returns all switches. + +## SYNTAX + +``` +Get-ZNSwitch [-AccountName ] [] +``` + +## DESCRIPTION +Returns all switches. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISwitchArray + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNSwitchInterface.md b/help/zeronetworks/Get-ZNSwitchInterface.md new file mode 100644 index 0000000..cb443f4 --- /dev/null +++ b/help/zeronetworks/Get-ZNSwitchInterface.md @@ -0,0 +1,105 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znswitchinterface +schema: 2.0.0 +--- + +# Get-ZNSwitchInterface + +## SYNOPSIS +list switch interfaces + +## SYNTAX + +``` +Get-ZNSwitchInterface -SwitchId [-AccountName ] [-PassThru] [] +``` + +## DESCRIPTION +list switch interfaces + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SwitchId +switch to delete + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNTagGroupsCandidate.md b/help/zeronetworks/Get-ZNTagGroupsCandidate.md new file mode 100644 index 0000000..7c03e51 --- /dev/null +++ b/help/zeronetworks/Get-ZNTagGroupsCandidate.md @@ -0,0 +1,242 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zntaggroupscandidate +schema: 2.0.0 +--- + +# Get-ZNTagGroupsCandidate + +## SYNOPSIS +Returns a list of candidates for tag group membership. + +## SYNTAX + +``` +Get-ZNTagGroupsCandidate [-AccountName ] [-GroupId ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for tag group membership. + +## EXAMPLES + +### Example 1: List candidates to add to a tag group +```powershell +(Get-ZNTagGroupsCandidate -GroupId g:t:01669ce2).Items +``` + +```output +CreatedAt : +Description : +DirectMembersCount : +Domain : posh.local +Guid : +HasProtectionPolicy : +Id : a:a:GLUxqjgc +Name : wac01 +PrincipalName : +Role : +Sid : +UpdatedAt : + +CreatedAt : +Description : +DirectMembersCount : +Domain : posh.local +Guid : +HasProtectionPolicy : +Id : a:a:P0GVm1iZ +Name : fs01 +PrincipalName : +Role : +Sid : +UpdatedAt : + +CreatedAt : +Description : +DirectMembersCount : +Domain : posh.local +Guid : +HasProtectionPolicy : +Id : a:a:ka62y0mc +Name : fs02 +PrincipalName : +Role : +Sid : +UpdatedAt : + +CreatedAt : +Description : +DirectMembersCount : +Domain : posh.local +Guid : +HasProtectionPolicy : +Id : a:a:sMnd5NkL +Name : ts01 +PrincipalName : +Role : +Sid : +UpdatedAt : + +CreatedAt : +Description : +DirectMembersCount : +Domain : +Guid : +HasProtectionPolicy : +Id : a:n:u5LRZxRq +Name : lm01 +PrincipalName : +Role : +Sid : +UpdatedAt : + +CreatedAt : +Description : +DirectMembersCount : +Domain : +Guid : +HasProtectionPolicy : +Id : a:n:3Odw9d40 +Name : as01 +PrincipalName : +Role : +Sid : +UpdatedAt : + +CreatedAt : +Description : +DirectMembersCount : +Domain : +Guid : +HasProtectionPolicy : +Id : a:l:qFxq3oOt +Name : cs01 +PrincipalName : +Role : +Sid : +UpdatedAt : + +CreatedAt : +Description : +DirectMembersCount : +Domain : +Guid : +HasProtectionPolicy : +Id : a:l:wEGYa0Cp +Name : ls01 +PrincipalName : +Role : +Sid : +UpdatedAt : + +CreatedAt : +Description : +DirectMembersCount : +Domain : AZURE_AD +Guid : +HasProtectionPolicy : +Id : a:d:FMVqm8jZ +Name : wc01 +PrincipalName : +Role : +Sid : +UpdatedAt : +``` + +This cmdlet list candidates to add to a tag group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUser.md b/help/zeronetworks/Get-ZNUser.md new file mode 100644 index 0000000..63f2d30 --- /dev/null +++ b/help/zeronetworks/Get-ZNUser.md @@ -0,0 +1,253 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuser +schema: 2.0.0 +--- + +# Get-ZNUser + +## SYNOPSIS +Returns the properties of an user. + +## SYNTAX + +### List (Default) +``` +Get-ZNUser [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] +``` + +### Get +``` +Get-ZNUser -UserId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the properties of an user. + +## EXAMPLES + +### Example 1: List users +```powershell +Get-ZNUser +``` + +```output +CreatedAt DistinguishedName Domain Email FirstName Guid Id JobTitle LastLogon LastName Name OfficePhone Phone Role Sid +--------- ----------------- ------ ----- --------- ---- -- -------- --------- -------- ---- ----------- ----- ---- --- +1646147850723 CN=Administrator,CN=Users,DC=zero,DC=labs zero.labs d2ac73db-cb56-4c7e-9818-ddb9e4c9a74c u:a:eTpnZu08 1661438953278 Administrator 3 S-1-5-21-16551… +1648643718701 CN=Amir Duo,OU=Zero Networks,DC=zero,DC=labs zero.labs amir+zerolabs@zeronetworks.com Amir b43498c6-e79c-49c0-8c17-203c18b4848f u:a:iGn4Hiqf Duo Amir Duo 3 S-1-5-21-16551… +1646147849725 CN=Amir Frankel,OU=Zero Networks,DC=zero,DC=labs zero.labs amir@zeronetworks.com Amir 81abb6ad-5ad5-4bc8-991d-3e1216a74dba u:a:PfGBMNXZ Frankel Amir Frankel 3 S-1-5-21-16551… +1648643116541 CN=Benny Duo,OU=Zero Networks,DC=zero,DC=labs zero.labs benny+zerolabs@zeronetworks.com Benny f1826820-facb-490b-8a95-b45df9b95fa1 u:a:ILBOlZpe Duo Benny Duo 3 S-1-5-21-16551… +1646147849717 CN=Benny Lakunishok,OU=Zero Networks,DC=zero,DC=labs zero.labs benny@zeronetworks.com Benny 02323cdf-df65-4bc7-9cf2-b2d4cc012ed1 u:a:JinEj0u0 Lakunishok Benny Lakunishok 3 S-1-5-21-16551… +1648476771537 CN=duo account,OU=Zero Networks,DC=zero,DC=labs zero.labs duo 2c1bcacd-958e-4823-a85e-6053d736208b u:a:7Fp0hF2k account duo account 3 S-1-5-21-16551… +1648643839174 CN=Ema Duo,OU=Zero Networks,DC=zero,DC=labs zero.labs ema+zerolabs@zeronetworks.com Ema 80b93412-d043-441a-94a2-4657668a92d2 u:a:sJKzqaGn Duo Ema Duo 3 S-1-5-21-16551… +1646147849702 CN=Emanuele Bianchi,OU=Zero Networks,DC=zero,DC=labs zero.labs ema@zeronetworks.com Emanuele 2d34ad23-28f0-4c47-aa0f-9386137b6ea5 u:a:5bMryabz Bianchi Emanuele Bianchi 3 S-1-5-21-16551… +1646147849112 CN=Guest,CN=Users,DC=zero,DC=labs zero.labs 928b03c0-aa7e-4b64-9999-8ee74235d50c u:a:qRcDkgrW Guest 3 S-1-5-21-16551… +1646147849683 CN=krbtgt,CN=Users,DC=zero,DC=labs zero.labs df406d03-ff43-4868-a0c8-d5418391c139 u:a:r0HtwNuC krbtgt 3 S-1-5-21-16551… +``` + +This cmdlet will list users for the environment. + +### Example 2: Get the next page of system groups +```powershell + Get-ZNUser -Offset 10 +``` + +```output +CreatedAt DistinguishedName Domain Email FirstName Guid Id JobTitle LastLogon LastName Name OfficePhone +--------- ----------------- ------ ----- --------- ---- -- -------- --------- -------- ---- ----------- +1648643839355 CN=Nicholas DiCola,OU=Zero Networks,DC=zero,DC=labs zero.labs nicholas@zeronetworks.com Nicholas 89932c25-5d85-47dd-b0a2-d97ad001fb06 u:a:E6iXCia4 DiCola Nicholas DiCola +1648643959634 CN=Nicholas Duo,OU=Zero Networks,DC=zero,DC=labs zero.labs nicholas+zerolabs@zeronetworks.com Nicholas 8014fdaa-1778-4f58-800e-a3e25a7088c4 u:a:vRiuc5GQ Duo Nicholas Duo +1646147849749 CN=Polina Blinchevsky,OU=Zero Networks,DC=zero,DC=labs zero.labs polina@zeronetworks.com Polina 164a5caa-ecd6-4c53-a0ea-6bdcde01a223 u:a:w0YZi4UW Blinchevsky Polina Blinchevsky +1648642752971 CN=Polina Duo,OU=Zero Networks,DC=zero,DC=labs zero.labs polina+zerolabs@zeronetworks.com Polina dc8e66b8-73f3-46c3-8970-849c7fd59861 u:a:mGKgwnpj Duo Polina Duo +1646147849740 CN=Yossi Ioukhtov,OU=Zero Networks,DC=zero,DC=labs zero.labs yossii@zeronetworks.com Yossi a8abfe04-e94e-4098-9215-f8dcc98c9f8b u:a:uM48jiF7 1662040267812 Ioukhtov Yossi Ioukhtov +972525812317 +1648642632329 CN=Yossi Ioukhtov - duo,OU=Zero Networks,DC=zero,DC=labs zero.labs yossii+zerolabs@zeronetworks.com Yossii 4e07c6c1-5a70-481d-9ebf-bb9e02c5fb22 u:a:PMV08LfN 1648647811401 Ioukhtov - duo Yossi Ioukhtov - duo +972525812317 +1646147850716 CN=ZNRemoteManagement,OU=Zero Networks,DC=zero,DC=labs zero.labs ZNRemoteManagement 465bd267-3571-4c52-aef0-b490a1b447d3 u:a:3ESSNWS0 1662626134292 ZNRemoteManagement +``` + +Use offset to get the next page of users. + +### Example 3: Search for a user +```powershell +Get-ZNUser -Search Administrator +``` + +```output +CreatedAt DistinguishedName Domain Email FirstName Guid Id JobTitle LastLogon LastName Name OfficePhone Phone Role Sid Source UserPrincipleName +--------- ----------------- ------ ----- --------- ---- -- -------- --------- -------- ---- ----------- ----- ---- --- ------ ----------------- +1646147850723 CN=Administrator,CN=Users,DC=zero,DC=labs zero.labs d2ac73db-cb56-4c7e-9818-ddb9e4c9a74c u:a:eTpnZu08 1661438953278 Administrator 3 S-1-5-21-1655129710-1269081394-587607975-500 3 +``` + +Use offset to get the next page of users. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchUsersResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IUserResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserAudit.md b/help/zeronetworks/Get-ZNUserAudit.md new file mode 100644 index 0000000..70b030f --- /dev/null +++ b/help/zeronetworks/Get-ZNUserAudit.md @@ -0,0 +1,159 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseraudit +schema: 2.0.0 +--- + +# Get-ZNUserAudit + +## SYNOPSIS +Returns a list of audits for the user. + +## SYNTAX + +``` +Get-ZNUserAudit -UserId [-AccountName ] [-Cursor ] [-Filters ] + [-Limit ] [-Order ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of audits for the user. + +## EXAMPLES + +### Example 1: Get audits for a user +```powershell +Get-ZNUserAudit -UserId u:a:E6iXCia4 +``` + +```output +AuditType Details +--------- ------- +9 {"rule":{"remoteEntityNames":[{"id":"b:110001","name":"Any asset"}],"ports":[{"protocol_type":6,"ports":"3389"}],"expiratio… +``` + +This cmdlet gets the audits for a user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAuditList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserExternalAccessPolicy.md b/help/zeronetworks/Get-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..4ca2fe2 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserExternalAccessPolicy.md @@ -0,0 +1,293 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserexternalaccesspolicy +schema: 2.0.0 +--- + +# Get-ZNUserExternalAccessPolicy + +## SYNOPSIS +Returns an external access policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNUserExternalAccessPolicy -UserId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNUserExternalAccessPolicy -PolicyId -UserId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns an external access policy. + +## EXAMPLES + +### Example 1: List external access policies for a user +```powershell +(Get-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp).Items +``` + +```output +CreatedAt : 1728092471548 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:J92SSHLf +Name : Ansible +RuleDuration : 8 +SrcUserIdsList : {u:a:jRVryncp} +SrcUserInfos : {zero} +State : 1 +UpdatedAt : 1728092471548 +UpdatedById : +UpdatedByName : +Url : https://ansible.posh.local +``` + +This cmdlet lists external access policies for a user. + +### Example 2: Get an extenal access policy for a user +```powershell +Get-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp -PolicyId p:e:J92SSHLf +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +ItemCreatedAt : 1728092471548 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:J92SSHLf +ItemName : Ansible +ItemRuleDuration : 8 +ItemSrcUserIdsList : {u:a:jRVryncp} +ItemSrcUserInfos : {zero} +ItemState : 1 +ItemUpdatedAt : 1728092471548 +ItemUrl : https://ansible.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet gets an external access policy for a user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md b/help/zeronetworks/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..d4c4ab7 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserexternalaccesspolicydestinationassetscandidate +schema: 2.0.0 +--- + +# Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate + +## SYNOPSIS +Returns a list of destunation assets candidates for an external access policy. + +## SYNTAX + +``` +Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate -UserId [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destunation assets candidates for an external access policy. + +## EXAMPLES + +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate -UserId u:a:jRVryncp +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserExternalAccessPolicySourceUserCandidate.md b/help/zeronetworks/Get-ZNUserExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..41fbb93 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserexternalaccesspolicysourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNUserExternalAccessPolicySourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for external access policies. + +## SYNTAX + +``` +Get-ZNUserExternalAccessPolicySourceUserCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for external access policies. + +## EXAMPLES + +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNUserExternalAccessPolicySourceUserCandidate -UserId u:a:jRVryncp +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserExternalAccessPolicyStatistics.md b/help/zeronetworks/Get-ZNUserExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..aa9bb7f --- /dev/null +++ b/help/zeronetworks/Get-ZNUserExternalAccessPolicyStatistics.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserexternalaccesspolicystatistics +schema: 2.0.0 +--- + +# Get-ZNUserExternalAccessPolicyStatistics + +## SYNOPSIS +Returns statistics for an external access policy. + +## SYNTAX + +``` +Get-ZNUserExternalAccessPolicyStatistics -UserId [-AccountName ] [] +``` + +## DESCRIPTION +Returns statistics for an external access policy. + +## EXAMPLES + +### Example 1: Get external access policy statistics +```powershell +Get-ZNUserExternalAccessPolicyStatistics -UserId u:a:jRVryncp +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyStatistics + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserIdentityRule.md b/help/zeronetworks/Get-ZNUserIdentityRule.md new file mode 100644 index 0000000..76e8ea0 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserIdentityRule.md @@ -0,0 +1,251 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseridentityrule +schema: 2.0.0 +--- + +# Get-ZNUserIdentityRule + +## SYNOPSIS +Returns an identity segmentation rule. + +## SYNTAX + +### List (Default) +``` +Get-ZNUserIdentityRule -UserId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Cursor ] [-Filters ] [-Limit ] [-Search ] [-WithCount] [] +``` + +### Get +``` +Get-ZNUserIdentityRule -RuleId -UserId [-AccountName ] [] +``` + +## DESCRIPTION +Returns an identity segmentation rule. + +## EXAMPLES + +### Example 1: List identity rules for a user +```powershell +(Get-ZNUserIdentityRule -UserId u:a:mACDNWcW).Items +``` + +```output +CreatedAt Id UserInfos AssetInfoName ExcludedAssetInfos IdentityProtectionCategory + List +--------- -- --------- ------------- ------------------ -------------------------- +1700752866802 ff9cc79c-21b6-4363-82e1-da6bc6bbdaf0 {svc1} dc01 {} {5} +``` + +This cmdlet lists identity rules for a user. + +### Example 2: Get an identity rule +```powershell +Get-ZNUserIdentityRule -UserId "u:a:mACDNWcW" -RuleId ff9cc79c-21b6-4363-82e1-da6bc6bbdaf0 -Debug +``` + +```output +AssetInfoId : +AssetInfoName : +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:b12c928ed7b931203e027dfb7147356fe7824412 +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemAssetId : a:a:TeGEW52g +ItemCreatedAt : 1700752866802 +ItemDescription : test +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : ff9cc79c-21b6-4363-82e1-da6bc6bbdaf0 +ItemIdentityProtectionCategoryList : {5} +ItemParentId : +ItemParentType : 0 +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +ItemUserIdsList : {u:a:mACDNWcW} +ItemUserInfos : +UpdatedByEmail : +UpdatedByEnforcementSource : +UpdatedById : +UpdatedByName : +UpdatedByUserRole : +``` + +This cmdlet gets an identity rule for a user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRuleItem + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRulesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserIdentityRulesAssetsCandidate.md b/help/zeronetworks/Get-ZNUserIdentityRulesAssetsCandidate.md new file mode 100644 index 0000000..6ba0e12 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserIdentityRulesAssetsCandidate.md @@ -0,0 +1,145 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseridentityrulesassetscandidate +schema: 2.0.0 +--- + +# Get-ZNUserIdentityRulesAssetsCandidate + +## SYNOPSIS +Returns a list of assets candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNUserIdentityRulesAssetsCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of assets candidates for Identity rules. + +## EXAMPLES + +### Example 1: List asset candidates for identity rules +```powershell +Get-ZNUserIdentityRulesAssetsCandidate -UserId u:a:4UydfhAS +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses Sou + rce +-- ---- ---- ----------- ------------------ ------------- ------------- --- +b:110002 All segmented assets +b:110004 All segmented servers +b:110005 All segmented clients +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 +a:a:t8SZ1cp2 TS01 +a:a:OtfLGUBq WC01 +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +``` + +This cmdlet lists the asset candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserIdentityRulesExcludedAssetsCandidate.md b/help/zeronetworks/Get-ZNUserIdentityRulesExcludedAssetsCandidate.md new file mode 100644 index 0000000..3e73650 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserIdentityRulesExcludedAssetsCandidate.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseridentityrulesexcludedassetscandidate +schema: 2.0.0 +--- + +# Get-ZNUserIdentityRulesExcludedAssetsCandidate + +## SYNOPSIS +Returns a list of excluded assets candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of excluded assets candidates for Identity rules. + +## EXAMPLES + +### Example 1: List excluded asset candidates for identity rule +```powershell +Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId u:a:4UydfhAS +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses Source AssetStatus ProtectionStat + e +-- ---- ---- ----------- ------------------ ------------- ------------- ------ ----------- -------------- +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +a:a:8ErCHXe8 DC01 1 +a:a:t8SZ1cp2 TS01 3 +a:a:OtfLGUBq WC01 1 +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +``` + +This cmdlet lists excluded asset candidates for identity rules for a specific user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserIdentityRulesUserCandidate.md b/help/zeronetworks/Get-ZNUserIdentityRulesUserCandidate.md new file mode 100644 index 0000000..1f44040 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserIdentityRulesUserCandidate.md @@ -0,0 +1,148 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseridentityrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNUserIdentityRulesUserCandidate + +## SYNOPSIS +Returns a list of user candidates for Identity rules. + +## SYNTAX + +``` +Get-ZNUserIdentityRulesUserCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of user candidates for Identity rules. + +## EXAMPLES + +### Example 1: List user candidates for identity rules +```powershell +Get-ZNUserIdentityRulesUserCandidate -UserId u:a:4UydfhAS +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:qu04AfTz Access Control Assistance Operators +g:a:XDRxcVDz Account Operators +g:a:MBAj0Xfx Administrators +g:a:u6xPbBLg Allowed RODC Password Replication Group +g:a:JjhBvgRW Backup Operators +g:a:j4oCHNuP Certificate Service DCOM Access +g:a:YeUXSDi6 Cert Publishers +u:a:0jsjkic1 User14 +u:a:ATiwG34z User30 +u:a:4UydfhAS backups +g:c:XuE877Q5 cgroup229731 +g:c:xHNwXAUC cgroup32 +g:c:gZryzkFa cgroup35 +u:a:IiObBkVQ krbtgt +u:a:6ZWP4tbK User53 +u:a:gOqRM6QW User21 +u:a:DiXg7R5u User51 +u:a:E1yQF2eJ User13 +u:a:h9ePwNQg User69 +u:a:hC3Ylccx User79 +``` + +This cmdlet lists the user candidates for identity rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserMemberOf.md b/help/zeronetworks/Get-ZNUserMemberOf.md new file mode 100644 index 0000000..4513290 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserMemberOf.md @@ -0,0 +1,86 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermemberof +schema: 2.0.0 +--- + +# Get-ZNUserMemberOf + +## SYNOPSIS +Returns a list of groups the user is a member of. + +## SYNTAX + +``` +Get-ZNUserMemberOf -UserId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the user is a member of. + +## EXAMPLES + +### Example 1: Get users groups +```powershell +Get-ZNUserMemberOf -UserId u:a:E6iXCia4 +``` + +```output +CreatedAt Description DirectMembersCount Domain Guid HasProtectionPolicy Id Name +--------- ----------- ------------------ ------ ---- ------------------- -- ---- +1648475326021 0 zero.labs 3bcfa592-7310-4f1e-9b76-5fc1c6ac4ee9 False g:a:04fLbS1I DUO +1646147849661 0 zero.labs c10ea51c-3f3d-4bcc-a34c-ce1f8c667dc6 False g:a:mn0S6UED Denied R… +1646147849590 0 zero.labs 3da4c11a-6a89-49db-9edc-446624794a89 False g:a:KP9w8f2B Domain A… +1646147849770 0 zero.labs 84d2ad0c-b06f-44fd-a043-3c1549945246 False g:a:ukYAIg2J Administ… +``` + +This cmdlet gets the groups a user is a member of. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAncestors + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserMemberOfGroupCandidate.md b/help/zeronetworks/Get-ZNUserMemberOfGroupCandidate.md new file mode 100644 index 0000000..3b575f5 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserMemberOfGroupCandidate.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermemberofgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNUserMemberOfGroupCandidate + +## SYNOPSIS +Returns a list of groups the user can be a member of. + +## SYNTAX + +``` +Get-ZNUserMemberOfGroupCandidate -UserId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the user can be a member of. + +## EXAMPLES + +### Example 1: List group candidates for adding a user to +```powershell +Get-ZNUserMemberOfGroupCandidate -UserId u:d:2HOfhbpY +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +``` + +This cmdlet lists group candidates that a user can be added to. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdNamePairList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md new file mode 100644 index 0000000..9a11c56 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciesdestinationcandidate +schema: 2.0.0 +--- + +# Get-ZNUserMfaIdentityPoliciesDestinationCandidate + +## SYNOPSIS +Returns a list of candidates for the destination of an identity MFA policy. + +## SYNTAX + +``` +Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the destination of an identity MFA policy. + +## EXAMPLES + +### Example 1: List Identity MFA destination candidates +```powershell +$userId = "u:a:jRVryncp" +(Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId $userid).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- + b:112002 All identity segmented assets + b:112004 All identity segmented servers + b:112005 All identity segmented clients +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:29669ce2 Client subnets +posh.local False g:a:leHDIXAw Cloneable Domain Controllers +``` + +This cmdlet lists destination candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md new file mode 100644 index 0000000..90499c5 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md @@ -0,0 +1,154 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciesexcludedsourcecandidate +schema: 2.0.0 +--- + +# Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate + +## SYNOPSIS +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +## SYNTAX + +``` +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId [-AccountName ] + [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +## EXAMPLES + +### Example 1: List Identity MFA excluded source candidates +```powershell +$userId = "u:a:jRVryncp" +(Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId $userid).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:04669ce2 Clients +system False g:s:29669ce2 Client subnets +``` + +This cmdlet lists excluded source candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSrcAssetUnmonitored +filter for unmonitored sources + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesMfamethod.md b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesMfamethod.md new file mode 100644 index 0000000..14a31f5 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesMfamethod.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciesmfamethod +schema: 2.0.0 +--- + +# Get-ZNUserMfaIdentityPoliciesMfamethod + +## SYNOPSIS +Returns a list of MFA methods for Identity MFA policies. + +## SYNTAX + +``` +Get-ZNUserMfaIdentityPoliciesMfamethod -UserId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of MFA methods for Identity MFA policies. + +## EXAMPLES + +### Example 1: List Identity MFA methods +```powershell +Get-ZNUserMfaIdentityPoliciesMfamethod -UserId $userId +``` + +```output +2 +4 +5 +``` + +This cmdlet lists MFA methods for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyMethods + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesSourceCandidate.md b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesSourceCandidate.md new file mode 100644 index 0000000..7194fca --- /dev/null +++ b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesSourceCandidate.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciessourcecandidate +schema: 2.0.0 +--- + +# Get-ZNUserMfaIdentityPoliciesSourceCandidate + +## SYNOPSIS +Returns a list of source candidates on Identity MFA policies. + +## SYNTAX + +``` +Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source candidates on Identity MFA policies. + +## EXAMPLES + +### Example 1: List Identity MFA source candidates +```powershell +$userId = "u:a:jRVryncp" +(Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId $userid).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:rZl537o4 Access Control Assistance Operators +posh.local False g:a:V9kshIRu Account Operators +posh.local False g:a:Q4IYhlTC Administrators +posh.local False g:a:OtwDATUK Allowed RODC Password Replication Group + a:n:3Odw9d40 as01 +posh.local False g:a:3AFg9RPE Backup Operators +posh.local False g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local False g:a:Qx5wSzxi Cert Publishers +system False g:s:04669ce2 Clients +system False g:s:29669ce2 Client subnets +``` + +This cmdlet lists source candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md new file mode 100644 index 0000000..83cb53c --- /dev/null +++ b/help/zeronetworks/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md @@ -0,0 +1,143 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciessourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNUserMfaIdentityPoliciesSourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for Identity MFA policies. + +## SYNTAX + +``` +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for Identity MFA policies. + +## EXAMPLES + +### Example 1: List Identity MFA source user candidates +```powershell +$userId = "u:a:jRVryncp" +(Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId $userid).Items +``` + +```output +Domain Id Name +------ -- ---- + b:111001 Any user +posh.local g:a:rZl537o4 Access Control Assistance Operators +posh.local g:a:V9kshIRu Account Operators +posh.local g:a:Q4IYhlTC Administrators +posh.local g:a:OtwDATUK Allowed RODC Password Replication Group +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:eSfiOaM0 Certificate Service DCOM Access +posh.local g:a:Qx5wSzxi Cert Publishers +posh.local g:a:leHDIXAw Cloneable Domain Controllers +posh.local g:a:jF0PdFzE Cryptographic Operators +posh.local g:a:PHBjR5mL Denied RODC Password Replication Group +system g:s:81669ce2 Zero Networks Admins +system g:s:83669ce2 Zero Networks Operators +system g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for Identity MFA. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUserCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserMfaIdentityPolicy.md b/help/zeronetworks/Get-ZNUserMfaIdentityPolicy.md new file mode 100644 index 0000000..399e1c7 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserMfaIdentityPolicy.md @@ -0,0 +1,294 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypolicy +schema: 2.0.0 +--- + +# Get-ZNUserMfaIdentityPolicy + +## SYNOPSIS +Returns a Identity MFA policy object. + +## SYNTAX + +### List (Default) +``` +Get-ZNUserMfaIdentityPolicy -UserId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] +``` + +### Get +``` +Get-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a Identity MFA policy object. + +## EXAMPLES + +### Example 1: List Identity MFA policies +```powershell +(Get-ZNUserMfaIdentityPolicy -UserId $userId).Items +``` + +```output +CreatedAt : 1711982793191 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : g:t:01669ce2 +DstEntityInfoId : +DstEntityInfoName : +ExcludedDstAssetIdsList : {} +ExcludedSrcAssetIdsList : {} +ExcludedSrcAssetInfos : {} +ExtraIdentityProtectionCategoryList : {} +FallbackToSingleLoggedOnUser : False +Id : 5b0b1349-1714-4a38-ba07-c32a0957ed3b +IdentityProtectionCategoryList : {5} +InnerId : +MfaMethodsList : {2, 4} +OverrideBuiltins : False +RuleDuration : 6 +SrcAssetIdsList : {b:110001} +SrcAssetInfos : {Any asset} +SrcUserIdsList : {g:a:3U1Z38mF} +SrcUserInfos : {Domain Admins} +State : 1 +UpdatedAt : 1712058796790 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet lists identity MFA policies. + +### Example 2: Get a specific Identity MFA policy +```powershell +Get-ZNUserMfaIdentityPolicy -UserId $userId -ReactivePolicyId 5b0b1349-1714-4a38-ba07-c32a0957ed3b +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1711982793191 +ItemDescription : +ItemDstAssetId : g:t:01669ce2 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : False +ItemId : 5b0b1349-1714-4a38-ba07-c32a0957ed3b +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {2, 4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {g:a:3U1Z38mF} +ItemSrcUserInfos : {Domain Admins} +ItemState : 1 +ItemUpdatedAt : 1712058796790 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets a specific Identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserRulesDistribution.md b/help/zeronetworks/Get-ZNUserRulesDistribution.md new file mode 100644 index 0000000..d6cf6e0 --- /dev/null +++ b/help/zeronetworks/Get-ZNUserRulesDistribution.md @@ -0,0 +1,145 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserrulesdistribution +schema: 2.0.0 +--- + +# Get-ZNUserRulesDistribution + +## SYNOPSIS +Returns an object with rules distribution. + +## SYNTAX + +``` +Get-ZNUserRulesDistribution -RuleId -UserId -RuleDirection [-AccountName ] + [] +``` + +## DESCRIPTION +Returns an object with rules distribution. + +## EXAMPLES + +### Example 1: Get hit count for a rule +```powershell +Get-ZNUserRulesDistribution -UserId 'u:a:uupJGyne' -RuleId 2f9fd777-d735-4cac-99c5-5f822318e510 -RuleDirection 1 +``` + +```output +ActivitiesCount Timestamp +--------------- --------- +0 1673308800000 +0 1673395200000 +0 1673481600000 +0 1673568000000 +0 1673654400000 +0 1673740800000 +0 1673827200000 +0 1673913600000 +0 1674000000000 +0 1674086400000 +0 1674172800000 +0 1674259200000 +0 1674345600000 +0 1674432000000 +0 1674518400000 +0 1674604800000 +0 1674691200000 +0 1674777600000 +0 1674864000000 +0 1674950400000 +0 1675036800000 +80 1675123200000 +25 1675209600000 +159 1675296000000 +2 1675382400000 +2 1675468800000 +0 1675555200000 +2 1675641600000 +1 1675728000000 +1 1675814400000 +1 1675900800000 +``` + +This cmdlet gets the hit count for a rule. +Rule direction is 1 for inbound rules and 2 for outbound rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDirection +direction of the rule (1-Inbound, 2-Outbound) + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleDistribution + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUserStatistics.md b/help/zeronetworks/Get-ZNUserStatistics.md new file mode 100644 index 0000000..fbb482d --- /dev/null +++ b/help/zeronetworks/Get-ZNUserStatistics.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserstatistics +schema: 2.0.0 +--- + +# Get-ZNUserStatistics + +## SYNOPSIS +Get Users statistics + +## SYNTAX + +``` +Get-ZNUserStatistics [-AccountName ] [] +``` + +## DESCRIPTION +Get Users statistics + +## EXAMPLES + +### Example 1: List user statistics +```powershell +Get-ZNUserStatistics +``` + +```output +UserStatisticsAdminsCount UserStatisticsTotalCount UserStatisticsViewersCount +------------------------- ------------------------ -------------------------- + 13 17 0 +``` + +This cmdlet lists the user statistics for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IUserStatistics + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUsersIdentityQueued.md b/help/zeronetworks/Get-ZNUsersIdentityQueued.md new file mode 100644 index 0000000..4f2f8bf --- /dev/null +++ b/help/zeronetworks/Get-ZNUsersIdentityQueued.md @@ -0,0 +1,174 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersidentityqueued +schema: 2.0.0 +--- + +# Get-ZNUsersIdentityQueued + +## SYNOPSIS +Returns a list of users in Learning. + +## SYNTAX + +``` +Get-ZNUsersIdentityQueued [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of users in Learning. + +## EXAMPLES + +### Example 1: List users in learning +```powershell +Get-ZNUsersIdentityQueued +``` + +```output +Id Name Email Phone JobTitle LastLogon +-- ---- ----- ----- -------- --------- +u:a:V61t0gZB ZNRemoteManagement 1699819368941 +``` + +This cmdlet lists the users in learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchUsersResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUsersIdentitySegmented.md b/help/zeronetworks/Get-ZNUsersIdentitySegmented.md new file mode 100644 index 0000000..ad4e1d0 --- /dev/null +++ b/help/zeronetworks/Get-ZNUsersIdentitySegmented.md @@ -0,0 +1,174 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersidentitysegmented +schema: 2.0.0 +--- + +# Get-ZNUsersIdentitySegmented + +## SYNOPSIS +Returns a list of Identity segmented users. + +## SYNTAX + +``` +Get-ZNUsersIdentitySegmented [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of Identity segmented users. + +## EXAMPLES + +### Example 1: List Identity segmented users +```powershell +(Get-ZNUsersIdentitySegmented).Items +``` + +```output +Id Name Email Phone JobTitle LastLogon +-- ---- ----- ----- -------- --------- +u:a:O4EMIewE svcAct +``` + +This cmdlet lists identity segmented users. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchUsersResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUsersInactive.md b/help/zeronetworks/Get-ZNUsersInactive.md new file mode 100644 index 0000000..516fdeb --- /dev/null +++ b/help/zeronetworks/Get-ZNUsersInactive.md @@ -0,0 +1,215 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersinactive +schema: 2.0.0 +--- + +# Get-ZNUsersInactive + +## SYNOPSIS +Returns a list of Users. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + +## SYNTAX + +``` +Get-ZNUsersInactive [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] + [] +``` + +## DESCRIPTION +Returns a list of Users. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + +## EXAMPLES + +### Example 1: List inactive users +```powershell +(Get-ZNUsersInactive).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +ClassifiedByName : Zero Networks +CreatedAt : 1702251607249 +DistinguishedName : CN=zSvcAcct3,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : +FirstName : +Guid : 13bcfd10-6848-441f-85da-b7a548d68cf8 +Id : u:a:Hk7V9Fp7 +JobTitle : +LastLogonReplicated : +LastName : +Name : zSvcAcct3 (inactive) +OfficePhone : +Phone : +PrincipalName : POSH\zSvcAcct3 +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 3 +Sid : S-1-5-21-4035814016-3211323426-385196088-1111 +Source : 3 +UserPrincipleName : +UserType : 3 +``` + +This cmdlet will list the inactive users. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchUsersResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUsersManagedAsset.md b/help/zeronetworks/Get-ZNUsersManagedAsset.md new file mode 100644 index 0000000..c652b23 --- /dev/null +++ b/help/zeronetworks/Get-ZNUsersManagedAsset.md @@ -0,0 +1,115 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersmanagedasset +schema: 2.0.0 +--- + +# Get-ZNUsersManagedAsset + +## SYNOPSIS +get managed assets for user + +## SYNTAX + +``` +Get-ZNUsersManagedAsset -UserId [-AccountName ] [-Limit ] [-Offset ] + [] +``` + +## DESCRIPTION +get managed assets for user + +## EXAMPLES + +### Example 1: List a users managed assets +```powershell +Get-ZNUsersManagedAsset -UserId u:a:RVVXGo4w +``` + +```output +EntityId Relation +-------- -------- +a:a:8ErCHXe8 1 +g:t:01445453 3 +``` + +This cmdlet lists a users managed assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IManagedAssetsList + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUsersManagedAssetsCandidate.md b/help/zeronetworks/Get-ZNUsersManagedAssetsCandidate.md new file mode 100644 index 0000000..54fb539 --- /dev/null +++ b/help/zeronetworks/Get-ZNUsersManagedAssetsCandidate.md @@ -0,0 +1,148 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersmanagedassetscandidate +schema: 2.0.0 +--- + +# Get-ZNUsersManagedAssetsCandidate + +## SYNOPSIS +Get asset candidates to be managed by asset managers + +## SYNTAX + +``` +Get-ZNUsersManagedAssetsCandidate -UserId [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Get asset candidates to be managed by asset managers + +## EXAMPLES + +### Example 1: List user managed assets candidates. +```powershell +(Get-ZNUsersManagedAssetsCandidate -UserId u:a:RVVXGo4w).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local False g:a:qu04AfTz Access Control Assistance Operators +posh.local False g:a:XDRxcVDz Account Operators +posh.local False g:a:MBAj0Xfx Administrators +posh.local False g:a:u6xPbBLg Allowed RODC Password Replication Group +posh.local False g:a:JjhBvgRW Backup Operators +OT/IoT False g:o:0T445453 Biometric entry systems +OT/IoT False g:o:04445453 Cameras +OT/IoT False g:o:0A445453 Card readers +posh.local False g:a:j4oCHNuP Certificate Service DCOM Access +posh.local False g:a:YeUXSDi6 Cert Publishers + a:l:hC8rOTo0 Linux0 + a:l:goXZ3fpT Linux1 + a:l:FB8CBey8 Linux10 + a:l:9CbKWeTW Linux100 + a:l:ZVocc16n Linux1000 + a:l:jhmIsjL9 Linux1001 + a:l:8249TvxO Linux1002 + a:l:aHMCQGN2 Linux1003 + a:l:yFYDpnI5 Linux1004 + a:l:dtjy4eRM Linux1005 +``` + +This cmdlet lists possible candidates for managed assets for a specific user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICandidatesList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUsersPrivileged.md b/help/zeronetworks/Get-ZNUsersPrivileged.md new file mode 100644 index 0000000..d4d6658 --- /dev/null +++ b/help/zeronetworks/Get-ZNUsersPrivileged.md @@ -0,0 +1,233 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersprivileged +schema: 2.0.0 +--- + +# Get-ZNUsersPrivileged + +## SYNOPSIS +Returns a list of Privileged Users. + +## SYNTAX + +``` +Get-ZNUsersPrivileged [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of Privileged Users. + +## EXAMPLES + +### Example 1: List privileged users +```powershell +(Get-ZNUsersPrivileged).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : u:a:JnQxZS6j +ClassifiedByName : nicholas-ad +CreatedAt : 1702251607787 +DistinguishedName : CN=zero,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : nicholas+poshprdzero@zeronetworks.com +FirstName : +Guid : a1b2e06b-f114-4ca1-a577-c0d7d138f743 +Id : u:a:jRVryncp +JobTitle : +LastLogonReplicated : +LastName : +Name : zero +OfficePhone : +Phone : +PrincipalName : POSH\zero +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 1 +Sid : S-1-5-21-4035814016-3211323426-385196088-500 +Source : 3 +UserPrincipleName : +UserType : 7 +``` + +This cmdlet lists privileged users. + +### Example 2: Search for a privileged user +```powershell +(Get-ZNUsersPrivileged -Search zero).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : u:a:JnQxZS6j +ClassifiedByName : nicholas-ad +CreatedAt : 1702251607787 +DistinguishedName : CN=zero,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : nicholas+poshprdzero@zeronetworks.com +FirstName : +Guid : a1b2e06b-f114-4ca1-a577-c0d7d138f743 +Id : u:a:jRVryncp +JobTitle : +LastLogonReplicated : +LastName : +Name : zero +OfficePhone : +Phone : +PrincipalName : POSH\zero +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 1 +Sid : S-1-5-21-4035814016-3211323426-385196088-500 +Source : 3 +UserPrincipleName : +UserType : 7 +``` + +This cmdlet can serch for a privleged user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchUsersResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Get-ZNUsersServiceAccount.md b/help/zeronetworks/Get-ZNUsersServiceAccount.md new file mode 100644 index 0000000..0c45cc8 --- /dev/null +++ b/help/zeronetworks/Get-ZNUsersServiceAccount.md @@ -0,0 +1,216 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersserviceaccount +schema: 2.0.0 +--- + +# Get-ZNUsersServiceAccount + +## SYNOPSIS +Returns a list of ServiceAccount Users. + +## SYNTAX + +``` +Get-ZNUsersServiceAccount [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of ServiceAccount Users. + +## EXAMPLES + +### Example 1: List Service Accounts +```powershell +(Get-ZNUsersServiceAccount).Items +``` + +```output +ClassifiedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +ClassifiedByName : Zero Networks +CreatedAt : 1702251607315 +DistinguishedName : CN=zSvcAcct6,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : +FirstName : +Guid : bae3a3e6-ff5a-4909-bc9b-fd4a2ae28905 +Id : u:a:lQdqKqlE +JobTitle : +LastLogon : +LastName : +Name : zSvcAcct6 +OfficePhone : +Phone : +PrincipalName : POSH\zSvcAcct6 +ProtectionState : 1 +Role : 3 +Sid : S-1-5-21-4035814016-3211323426-385196088-1120 +Source : 3 +UserPrincipleName : +UserType : 3 + +ClassifiedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +ClassifiedByName : Zero Networks +CreatedAt : 1702251607945 +DistinguishedName : CN=znremotemanagement,OU=ZeroNetworks,DC=posh,DC=local +Domain : posh.local +Email : +FirstName : +Guid : d6fdc234-0163-49a5-9466-15eece2569e4 +Id : u:a:uupJGyne +JobTitle : +LastLogon : 1709211002028 +LastName : +Name : znremotemanagement +OfficePhone : +Phone : +PrincipalName : POSH\znremotemanagement +ProtectionState : 5 +Role : 3 +Sid : S-1-5-21-4035814016-3211323426-385196088-2606 +Source : 3 +UserPrincipleName : +UserType : 3 +``` + +This cmdlet lists service accounts. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchUsersResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Initialize-ZNAssetBreakGlass.md b/help/zeronetworks/Initialize-ZNAssetBreakGlass.md new file mode 100644 index 0000000..777756c --- /dev/null +++ b/help/zeronetworks/Initialize-ZNAssetBreakGlass.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/initialize-znassetbreakglass +schema: 2.0.0 +--- + +# Initialize-ZNAssetBreakGlass + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### ActivateExpanded (Default) +``` +Initialize-ZNAssetBreakGlass -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ActivateExpanded1 +``` +Initialize-ZNAssetBreakGlass -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Enable break glass on several assets +```powershell +Initialize-ZNAssetBreakGlass -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet enables cloud break glass on several assets. + +### Example 2: Enable break glass on an asset +```powershell +Initialize-ZNAssetBreakGlass -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet enables cloud break glass on an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: ActivateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ActivateExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetDeactivateBreakGlass.md b/help/zeronetworks/Invoke-ZNAssetDeactivateBreakGlass.md new file mode 100644 index 0000000..7775b2a --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetDeactivateBreakGlass.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetdeactivatebreakglass +schema: 2.0.0 +--- + +# Invoke-ZNAssetDeactivateBreakGlass + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### DeactivateExpanded (Default) +``` +Invoke-ZNAssetDeactivateBreakGlass -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### DeactivateExpanded1 +``` +Invoke-ZNAssetDeactivateBreakGlass -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Disable break glass on several assets +```powershell +Invoke-ZNAssetDeactivateBreakGlass -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet disables cloud break glass on several assets. + +### Example 2: Disable break glass on an asset +```powershell +Invoke-ZNAssetDeactivateBreakGlass -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet disables cloud break glass on an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: DeactivateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: DeactivateExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetIdentityExtendQueue.md b/help/zeronetworks/Invoke-ZNAssetIdentityExtendQueue.md new file mode 100644 index 0000000..2936016 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetIdentityExtendQueue.md @@ -0,0 +1,176 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetidentityextendqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetIdentityExtendQueue + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### QueueExpanded (Default) +``` +Invoke-ZNAssetIdentityExtendQueue -AssetId -ExtendByDays [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +### QueueExpanded1 +``` +Invoke-ZNAssetIdentityExtendQueue -ExtendByDays -Items [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Extend asset in identity learning +```powershell +Invoke-ZNAssetIdentityExtendQueue -AssetId a:a:P0GVm1iZ -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends identity learning for an asset. + +### Example 2: Exnted assets in identity learning +```powershell +Invoke-ZNAssetIdentityExtendQueue -items @(a:a:P0GVm1iZ) -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends identity learning for assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: QueueExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtendByDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: QueueExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RelearnReason +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetIdentityQueue.md b/help/zeronetworks/Invoke-ZNAssetIdentityQueue.md new file mode 100644 index 0000000..32b2eb7 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetIdentityQueue.md @@ -0,0 +1,161 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetidentityqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetIdentityQueue + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### QueueExpanded (Default) +``` +Invoke-ZNAssetIdentityQueue -AssetId -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### QueueExpanded1 +``` +Invoke-ZNAssetIdentityQueue -Items -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Add asset to identity learning +```powershell +Invoke-ZNAssetIdentityQueue -AssetId a:a:P0GVm1iZ -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds an asset to identity learning. + +### Example 2: Add assets to identity learning +```powershell +Invoke-ZNAssetIdentityQueue -items @(a:a:P0GVm1iZ) -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds assets to identity learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: QueueExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: QueueExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QueueDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetNetworkExtendQueue.md b/help/zeronetworks/Invoke-ZNAssetNetworkExtendQueue.md new file mode 100644 index 0000000..5a2744b --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetNetworkExtendQueue.md @@ -0,0 +1,169 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetnetworkextendqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetNetworkExtendQueue + +## SYNOPSIS +Extend asset learning + +## SYNTAX + +### QueueExpanded (Default) +``` +Invoke-ZNAssetNetworkExtendQueue -AssetId -ExtendByDays [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +### QueueExpanded1 +``` +Invoke-ZNAssetNetworkExtendQueue -ExtendByDays -Items [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Extend asset learning + +## EXAMPLES + +### Example 1: Extend network learning for several assets +```powershell +Invoke-ZNAssetNetworkExtendQueue -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') -ExtendByDays 30 +``` + +This cmdlet will extend network learning for several assets. + +### Example 2: Extend network learning for an asset +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Invoke-ZNAssetNetworkExtendQueue -AssetId $asset -ExtendByDays 30 +``` + +This cmdlet will extend network learning for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: QueueExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtendByDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: QueueExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RelearnReason +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetNetworkQueue.md b/help/zeronetworks/Invoke-ZNAssetNetworkQueue.md new file mode 100644 index 0000000..3fa1a48 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetNetworkQueue.md @@ -0,0 +1,154 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetnetworkqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetNetworkQueue + +## SYNOPSIS +Extend asset learning + +## SYNTAX + +### QueueExpanded (Default) +``` +Invoke-ZNAssetNetworkQueue -AssetId -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### QueueExpanded1 +``` +Invoke-ZNAssetNetworkQueue -Items -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Extend asset learning + +## EXAMPLES + +### Example 1: Enable network learning for several assets +```powershell +Invoke-ZNAssetNetworkQueue -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') -QueueDays 30 +``` + +This cmdlet will enable network learning for several assets. + +### Example 2: Enable network learning for an asset +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Invoke-ZNAssetNetworkQueue -AssetId $asset -QueueDays 30 +``` + +This cmdlet will enable network learning for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: QueueExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: QueueExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QueueDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetOtNetworkExtendQueue.md b/help/zeronetworks/Invoke-ZNAssetOtNetworkExtendQueue.md new file mode 100644 index 0000000..8db35c9 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetOtNetworkExtendQueue.md @@ -0,0 +1,169 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetotnetworkextendqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetOtNetworkExtendQueue + +## SYNOPSIS +Extend OT asset learning + +## SYNTAX + +### QueueExpanded (Default) +``` +Invoke-ZNAssetOtNetworkExtendQueue -AssetId -ExtendByDays [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +### QueueExpanded1 +``` +Invoke-ZNAssetOtNetworkExtendQueue -ExtendByDays -Items [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Extend OT asset learning + +## EXAMPLES + +### Example 1: Extend network learning for several assets +```powershell +Invoke-ZNAssetOtNetworkExtendQueue -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') -ExtendByDays 30 +``` + +This cmdlet will extend network learning for several assets. + +### Example 2: Extend network learning for an asset +```powershell +$asset = Search-ZNAsset -Fqdn switch01.posh.local +Invoke-ZNAssetOtNetworkExtendQueue -AssetId $asset -ExtendByDays 30 +``` + +This cmdlet will extend network learning for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: QueueExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtendByDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: QueueExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RelearnReason +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetOtNetworkQueue.md b/help/zeronetworks/Invoke-ZNAssetOtNetworkQueue.md new file mode 100644 index 0000000..01e9742 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetOtNetworkQueue.md @@ -0,0 +1,154 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetotnetworkqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetOtNetworkQueue + +## SYNOPSIS +Add OT Asset to learning + +## SYNTAX + +### QueueExpanded (Default) +``` +Invoke-ZNAssetOtNetworkQueue -AssetId -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### QueueExpanded1 +``` +Invoke-ZNAssetOtNetworkQueue -Items -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Add OT Asset to learning + +## EXAMPLES + +### Example 1: Enable network learning for several assets +```powershell +Invoke-ZNAssetOtNetworkQueue -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') -QueueDays 30 +``` + +This cmdlet will enable network learning for several assets. + +### Example 2: Enable network learning for an asset +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Invoke-ZNAssetOtNetworkQueue -AssetId $asset -QueueDays 30 +``` + +This cmdlet will enable network learning for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: QueueExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: QueueExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QueueDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetRpcExtendQueue.md b/help/zeronetworks/Invoke-ZNAssetRpcExtendQueue.md new file mode 100644 index 0000000..655d561 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetRpcExtendQueue.md @@ -0,0 +1,143 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetrpcextendqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetRpcExtendQueue + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Invoke-ZNAssetRpcExtendQueue -ExtendByDays -Items [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Exnted assets in RPC learning +```powershell +Invoke-ZNAssetRpcExtendQueue -items @(a:a:P0GVm1iZ) -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends RPC learning for assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtendByDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RelearnReason +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNAssetRpcQueue.md b/help/zeronetworks/Invoke-ZNAssetRpcQueue.md new file mode 100644 index 0000000..c033a82 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNAssetRpcQueue.md @@ -0,0 +1,128 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetrpcqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetRpcQueue + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Invoke-ZNAssetRpcQueue -Items -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Add assets to RPC learning +```powershell +Invoke-ZNAssetRPCQueue -items @(a:a:P0GVm1iZ) -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds assets to RPC learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QueueDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNDownloadCloudConnectorInstaller.md b/help/zeronetworks/Invoke-ZNDownloadCloudConnectorInstaller.md new file mode 100644 index 0000000..8ce0d90 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNDownloadCloudConnectorInstaller.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zndownloadcloudconnectorinstaller +schema: 2.0.0 +--- + +# Invoke-ZNDownloadCloudConnectorInstaller + +## SYNOPSIS +Returns a temporary url to the Cloud Connector installer. + +## SYNTAX + +``` +Invoke-ZNDownloadCloudConnectorInstaller [-AccountName ] [] +``` + +## DESCRIPTION +Returns a temporary url to the Cloud Connector installer. + +## EXAMPLES + +### Example 1: Get the download url for cloud connector +```powershell +Invoke-ZNDownloadCloudConnectorInstaller +``` + +```output +Url +--- +https://download.zeronetworks.com/agentInstaller/cloud-connector-installer-2.3.13.0.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credentia… +``` + +This cmdlet gets the download url. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IDownloadUrl + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNDownloadConnectClient.md b/help/zeronetworks/Invoke-ZNDownloadConnectClient.md new file mode 100644 index 0000000..968bdca --- /dev/null +++ b/help/zeronetworks/Invoke-ZNDownloadConnectClient.md @@ -0,0 +1,84 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zndownloadconnectclient +schema: 2.0.0 +--- + +# Invoke-ZNDownloadConnectClient + +## SYNOPSIS +Returns a temporary url to the Connect client zip. + +## SYNTAX + +``` +Invoke-ZNDownloadConnectClient -Platform [-AccountName ] [] +``` + +## DESCRIPTION +Returns a temporary url to the Connect client zip. + +## EXAMPLES + +### Example 1: Get the download url for Connect client +```powershell +Invoke-ZNDownloadConnectClient -Platform 1 +``` + +```output +Url +--- +https://download.zeronetworks.com/connectClient/ZeroNetworksConnect-x64-3.1.0.0.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=do… +``` + +This cmdlet gets the download url for connect client. +1 = Windows, 2 = Mac (amd64), 3 = Mac (arm64) + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Platform +connect client platform + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IDownloadUrl + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNDownloadConnectServer.md b/help/zeronetworks/Invoke-ZNDownloadConnectServer.md new file mode 100644 index 0000000..eec53a2 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNDownloadConnectServer.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zndownloadconnectserver +schema: 2.0.0 +--- + +# Invoke-ZNDownloadConnectServer + +## SYNOPSIS +Returns a temporary url to the Connect server zip. + +## SYNTAX + +``` +Invoke-ZNDownloadConnectServer [-AccountName ] [] +``` + +## DESCRIPTION +Returns a temporary url to the Connect server zip. + +## EXAMPLES + +### Example 1: Get the download url for Connect server +```powershell +Invoke-ZNDownloadConnectServer +``` + +```output +Url +--- +https://download.zeronetworks.com/connectServer/zero-connect-server-setup-2.1.5.0.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=… +``` + +This cmdlet gets the download url for connect server. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IDownloadUrl + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNDownloadSegmentServer.md b/help/zeronetworks/Invoke-ZNDownloadSegmentServer.md new file mode 100644 index 0000000..567682c --- /dev/null +++ b/help/zeronetworks/Invoke-ZNDownloadSegmentServer.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zndownloadsegmentserver +schema: 2.0.0 +--- + +# Invoke-ZNDownloadSegmentServer + +## SYNOPSIS +Returns a temporary url to the Segment server zip. + +## SYNTAX + +``` +Invoke-ZNDownloadSegmentServer [-AccountName ] [] +``` + +## DESCRIPTION +Returns a temporary url to the Segment server zip. + +## EXAMPLES + +### Example 1: Get the download url for Sergment server +```powershell +Invoke-ZNDownloadSegmentServer +``` + +```output +Url +--- +https://download.zeronetworks.com/trust/windows-trust-8.12.11.0.zip?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=download-iso%40zer… +``` + +This cmdlet gets the download url for segment server. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IDownloadUrl + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNEncodeEntityIP.md b/help/zeronetworks/Invoke-ZNEncodeEntityIP.md new file mode 100644 index 0000000..02ce814 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNEncodeEntityIP.md @@ -0,0 +1,81 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znencodeentityip +schema: 2.0.0 +--- + +# Invoke-ZNEncodeEntityIP + +## SYNOPSIS +Returns the assetId after encoding the IP address. + +## SYNTAX + +``` +Invoke-ZNEncodeEntityIP -IP [-AccountName ] [] +``` + +## DESCRIPTION +Returns the assetId after encoding the IP address. + +## EXAMPLES + +### Example 1: Encode an IP Address +```powershell +Invoke-ZNEncodeEntityIP -IP 1.1.1.1 +``` + +```output +b:120101010120 +``` + +This cmdlet encodes an IP Address to ZNSegement entityId for use in rules and policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IP +IP address + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IEncodedEntity + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNEncodeEntityIPRange.md b/help/zeronetworks/Invoke-ZNEncodeEntityIPRange.md new file mode 100644 index 0000000..c555eff --- /dev/null +++ b/help/zeronetworks/Invoke-ZNEncodeEntityIPRange.md @@ -0,0 +1,81 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znencodeentityiprange +schema: 2.0.0 +--- + +# Invoke-ZNEncodeEntityIPRange + +## SYNOPSIS +Returns the assetId after encoding the IP range. + +## SYNTAX + +``` +Invoke-ZNEncodeEntityIPRange -IPRange [-AccountName ] [] +``` + +## DESCRIPTION +Returns the assetId after encoding the IP range. + +## EXAMPLES + +### Example 1: Encode an IP Address range +```powershell +Invoke-ZNEncodeEntityIPRange -IPRange 1.1.1.1-1.1.1.2 +``` + +```output +b:120101010120b:140101010101010102 +``` + +This cmdlet encodes an IP Address range to ZNSegement entityId for use in rules and policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPRange +IP Address Range + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IEncodedEntity + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNEncodeEntitySubnet.md b/help/zeronetworks/Invoke-ZNEncodeEntitySubnet.md new file mode 100644 index 0000000..07f2039 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNEncodeEntitySubnet.md @@ -0,0 +1,81 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znencodeentitysubnet +schema: 2.0.0 +--- + +# Invoke-ZNEncodeEntitySubnet + +## SYNOPSIS +Returns the assetId after encoding the IP subnet. + +## SYNTAX + +``` +Invoke-ZNEncodeEntitySubnet -Subnet [-AccountName ] [] +``` + +## DESCRIPTION +Returns the assetId after encoding the IP subnet. + +## EXAMPLES + +### Example 1: Encode an IP subnet range +```powershell +Invoke-ZNEncodeEntitySubnet -Subnet 1.1.1.0/24 +``` + +```output +b:120101010018 +``` + +This cmdlet encodes an IP subnet to ZNSegement entityId for use in rules and policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Subnet +IP Subnet + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IEncodedEntity + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNInvokeAssetsMirror.md b/help/zeronetworks/Invoke-ZNInvokeAssetsMirror.md new file mode 100644 index 0000000..d1f58b8 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNInvokeAssetsMirror.md @@ -0,0 +1,173 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zninvokeassetsmirror +schema: 2.0.0 +--- + +# Invoke-ZNInvokeAssetsMirror + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### InvokeExpanded (Default) +``` +Invoke-ZNInvokeAssetsMirror -OriginalAssetId -TargetAssetId [-AccountName ] + [-Confirm] [-WhatIf] [] +``` + +### Invoke +``` +Invoke-ZNInvokeAssetsMirror -Body [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsMirrorBody +Parameter Sets: Invoke +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -OriginalAssetId +. + +```yaml +Type: System.String +Parameter Sets: InvokeExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetAssetId +. + +```yaml +Type: System.String +Parameter Sets: InvokeExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsMirrorBody + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `OriginalAssetId `: + - `TargetAssetId `: + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNMirrorAsset.md b/help/zeronetworks/Invoke-ZNMirrorAsset.md new file mode 100644 index 0000000..71b7411 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNMirrorAsset.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znmirrorasset +schema: 2.0.0 +--- + +# Invoke-ZNMirrorAsset + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### MirrorExpanded (Default) +``` +Invoke-ZNMirrorAsset -OriginalAssetId -TargetAssetId [-AccountName ] [-Confirm] + [-WhatIf] [] +``` + +### MirrorExpanded1 +``` +Invoke-ZNMirrorAsset -AssetId -OriginalAssetId -TargetAssetId + [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Mirror an asset. +```powershell +Invoke-ZNMirrorAsset -TargetAssetId a:l:18VODYZg -OriginalAssetId a:l:4NMHdoaO +``` + +This cmdlet mirrors an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: MirrorExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OriginalAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNOtRule.md b/help/zeronetworks/Invoke-ZNOtRule.md new file mode 100644 index 0000000..425b284 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNOtRule.md @@ -0,0 +1,276 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znotrule +schema: 2.0.0 +--- + +# Invoke-ZNOtRule + +## SYNOPSIS +Add switch rule + +## SYNTAX + +### PostExpanded (Default) +``` +Invoke-ZNOtRule -Action -LocalEntityId -State [-AccountName ] + [-Description ] [-ExcludedLocalIdsList ] [-ProtocolsList ] + [-RemoteEntitiesList ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### Post +``` +Invoke-ZNOtRule -Body [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Add switch rule + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: PostExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IOtRuleBody +Parameter Sets: Post +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: PostExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: PostExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +. + +```yaml +Type: System.String +Parameter Sets: PostExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolsList +. +To construct, see NOTES section for PROTOCOLSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISwitchProtocolsListItem[] +Parameter Sets: PostExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntitiesList +. + +```yaml +Type: System.String[] +Parameter Sets: PostExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: PostExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IOtRuleBody + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `Action `: * '1' - Allow * '2' - Block + - `LocalEntityId `: + - `State `: * '1' - Enabled * '2' - Disabled * '4' - Pending Review + - `[Description ]`: + - `[ExcludedLocalIdsList >]`: + - `[ProtocolsList >]`: + - `[LocalPorts ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[RemotePorts ]`: + - `[RemoteEntitiesList >]`: + +`PROTOCOLSLIST `: . + - `[LocalPorts ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[RemotePorts ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNRediscoverAd.md b/help/zeronetworks/Invoke-ZNRediscoverAd.md new file mode 100644 index 0000000..3c1f7dc --- /dev/null +++ b/help/zeronetworks/Invoke-ZNRediscoverAd.md @@ -0,0 +1,93 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znrediscoverad +schema: 2.0.0 +--- + +# Invoke-ZNRediscoverAd + +## SYNOPSIS +Rediscover monitored assets + +## SYNTAX + +``` +Invoke-ZNRediscoverAd [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Rediscover monitored assets + +## EXAMPLES + +### Example 1: Force AD rediscover +```powershell +Invoke-ZNRediscoverAd +``` + +This cmdlet forces an AD rediscover. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Invoke-ZNRediscoverLinux.md b/help/zeronetworks/Invoke-ZNRediscoverLinux.md new file mode 100644 index 0000000..879e2e2 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNRediscoverLinux.md @@ -0,0 +1,93 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znrediscoverlinux +schema: 2.0.0 +--- + +# Invoke-ZNRediscoverLinux + +## SYNOPSIS +Rediscover monitored assets from Ansible + +## SYNTAX + +``` +Invoke-ZNRediscoverLinux [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Rediscover monitored assets from Ansible + +## EXAMPLES + +### Example 1: Force Linux rediscover +```powershell +Invoke-ZNRediscoverLinux +``` + +This cmdlet forces a Linux rediscover. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNProtectionPolicy.md b/help/zeronetworks/Invoke-ZNResyncAzureAd.md similarity index 75% rename from src/ZN/docs/Remove-ZNProtectionPolicy.md rename to help/zeronetworks/Invoke-ZNResyncAzureAd.md index ef9ef4d..535a001 100644 --- a/src/ZN/docs/Remove-ZNProtectionPolicy.md +++ b/help/zeronetworks/Invoke-ZNResyncAzureAd.md @@ -1,59 +1,59 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znprotectionpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znresyncazuread schema: 2.0.0 --- -# Remove-ZNProtectionPolicy +# Invoke-ZNResyncAzureAd ## SYNOPSIS -Returns and empty object. +Resync Azure AD ## SYNTAX ``` -Remove-ZNProtectionPolicy -ProtectionPolicyId [-PassThru] [-Confirm] [-WhatIf] [] +Invoke-ZNResyncAzureAd [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Returns and empty object. +Resync Azure AD ## EXAMPLES -### Example 1: Delete a protection policy +### Example 1: Resync Azure AD ```powershell -Remove-ZNProtectionPolicy -ProtectionPolicyId dad21429-f3ed-4a8a-a407-cae69cffc367 +Invoke-ZNResyncAzureAd ``` -This cmdlet deletes a protection policy. +This cmdlet starts an Azure AD resync. ## PARAMETERS -### -PassThru -Returns true when the command succeeds +### -AccountName +this value is per customer / partner ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) Aliases: Required: False Position: Named -Default value: None +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] Accept pipeline input: False Accept wildcard characters: False ``` -### -ProtectionPolicyId -The id of the protection policy +### -PassThru +Returns true when the command succeeds ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False diff --git a/help/zeronetworks/Invoke-ZNUserIdentityQueue.md b/help/zeronetworks/Invoke-ZNUserIdentityQueue.md new file mode 100644 index 0000000..ff83127 --- /dev/null +++ b/help/zeronetworks/Invoke-ZNUserIdentityQueue.md @@ -0,0 +1,124 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znuseridentityqueue +schema: 2.0.0 +--- + +# Invoke-ZNUserIdentityQueue + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Invoke-ZNUserIdentityQueue -QueueDays -UserIds [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Add a user to identity learning +```powershell +Invoke-ZNUserIdentityQueue -UserId @("u:a:4UydfhAS") -QueueDays 14 +``` + +This cmdlet adds a user to identity learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QueueDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetExternalAccessPolicy.md b/help/zeronetworks/New-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..ba35ddc --- /dev/null +++ b/help/zeronetworks/New-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,283 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetexternalaccesspolicy +schema: 2.0.0 +--- + +# New-ZNAssetExternalAccessPolicy + +## SYNOPSIS +Returns a the external access policy + +## SYNTAX + +``` +New-ZNAssetExternalAccessPolicy -AssetId -DstAssetId -DstPortsList + -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList + [-AccountName ] [-Description ] [-State ] [-Url ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the external access policy + +## EXAMPLES + +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNAssetExternalAccessPolicy -AssetId $dstAsset -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetIdentityRule.md b/help/zeronetworks/New-ZNAssetIdentityRule.md new file mode 100644 index 0000000..12e0185 --- /dev/null +++ b/help/zeronetworks/New-ZNAssetIdentityRule.md @@ -0,0 +1,232 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetidentityrule +schema: 2.0.0 +--- + +# New-ZNAssetIdentityRule + +## SYNOPSIS +Returns a the identity segmentation rule. + +## SYNTAX + +``` +New-ZNAssetIdentityRule -AssetId -Action -AssetId1 + -IdentityProtectionCategoryList -State -UserIdsList [-AccountName ] + [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the identity segmentation rule. + +## EXAMPLES + +### Example 1: Create an identity rule +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +New-ZNAssetIdentityRule -AssetId $asset -Action 1 -AssetId1 $asset -Description "test" -IdentityProtectionCategoryList 5 -State 1 -UserIdsList @("u:a:zcpT72K8") +``` + +This cmdlet creates an identity rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +1 - Allow, 2 - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId1 +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1 - Enabled, 2 - Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRuleItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetInboundRule.md b/help/zeronetworks/New-ZNAssetInboundRule.md new file mode 100644 index 0000000..5c2cba5 --- /dev/null +++ b/help/zeronetworks/New-ZNAssetInboundRule.md @@ -0,0 +1,327 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetinboundrule +schema: 2.0.0 +--- + +# New-ZNAssetInboundRule + +## SYNOPSIS +Returns the properties of the created Inbound rule. + +## SYNTAX + +``` +New-ZNAssetInboundRule -AssetId -Action -LocalEntityId + -LocalProcessesList -PortsList -RemoteEntityIdsList -State + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] + [-IPSecOpt ] [-SrcUsersList ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the created Inbound rule. + +## EXAMPLES + +### Example 1: Create a rule for an asset +```powershell +$asset = (Search-ZNAsset -fqdn WC01).AssetId +$sourceasset = (Search-ZNAsset -fqdn cs01.posh.local).AssetId +$portsList = New-ZNPortsList -Protocol ICMP +New-ZNAssetInboundRule -AssetId $asset -LocalEntityId $asset -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($sourceAsset) -State 1 +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 6 +CreatedById : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +CreatedByName : ModuleTesting +CreatedByUserRole : 4 +ItemAction : 1 +ItemActivitiesCount : +ItemApprovedAt : +ItemCreatedAt : 1694722164280 +ItemDescription : +ItemDirection : 1 +ItemExcludedEntityInfos : +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 6cc58888-4f9b-4043-b967-386a94e441ce +ItemLocalEntityId : a:a:OtfLGUBq +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:l:aayoPnNJ} +ItemRemoteEntityInfos : +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates a rule for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetMfaIdentityPolicy.md b/help/zeronetworks/New-ZNAssetMfaIdentityPolicy.md new file mode 100644 index 0000000..022bbca --- /dev/null +++ b/help/zeronetworks/New-ZNAssetMfaIdentityPolicy.md @@ -0,0 +1,358 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetmfaidentitypolicy +schema: 2.0.0 +--- + +# New-ZNAssetMfaIdentityPolicy + +## SYNOPSIS +Returns the properties of the identity MFA policy after creation. + +## SYNTAX + +``` +New-ZNAssetMfaIdentityPolicy -AssetId -DstAssetId -FallbackToSingleLoggedOnUser + -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration + -SrcAssetIdsList -SrcUserIdsList -State [-AccountName ] + [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the properties of the identity MFA policy after creation. + +## EXAMPLES + +### Example 1: Create an Identity MFA Policy +```powershell +$asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId +$source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items +$users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items +New-ZNAssetMfaIdentityPolicy -AssetId $asset -DstAssetId $asset -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1713403419980 +ItemDescription : +ItemDstAssetId : a:a:VWW2G2C8 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : True +ItemId : 155399f7-15a4-4c83-a0ad-db54fda99181 +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {g:a:3U1Z38mF} +ItemSrcUserInfos : {Domain Admins} +ItemState : 1 +ItemUpdatedAt : 1713403419980 +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedDstAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtraIdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToSingleLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethodsList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetMfaInboundPolicy.md b/help/zeronetworks/New-ZNAssetMfaInboundPolicy.md new file mode 100644 index 0000000..c6e4ad6 --- /dev/null +++ b/help/zeronetworks/New-ZNAssetMfaInboundPolicy.md @@ -0,0 +1,441 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetmfainboundpolicy +schema: 2.0.0 +--- + +# New-ZNAssetMfaInboundPolicy + +## SYNOPSIS +Returns the properties of the inbound MFA policy after creation. + +## SYNTAX + +``` +New-ZNAssetMfaInboundPolicy -AssetId -AdditionalPortsList + -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser + -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser + -RuleDuration -SrcEntityInfos + -SrcProcessNames -SrcUserInfos -State + [-AccountName ] [-Description ] + [-ExcludedSrcEntityInfos ] + [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the inbound MFA policy after creation. + +## EXAMPLES + +### Example 1: Create a MFA policy for an asset +```powershell +$asset = Search-ZNAsset -fqdn wc01.posh.local +$destination = (Get-ZNMfaInboundPoliciesDestinationCandidate -Search "wc01.posh.local").Items +$source = (Get-ZNMfaInboundPoliciesSourceCandidate -search "Any Asset").Items +$sourceEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcEntityInfosItem]::new() +$sourceEntity.Id = $source.Id +$sourceUser = (Get-ZNMfaInboundPoliciesSourceUserCandidate -search "Any User").Items +$sourceUserEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcUserInfosItem]::new() +$sourceUserEntity.Id = $sourceUser.Id +$portsList = New-ZNPortsList -Empty +New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort "22" -DstProcessNames @("*") -FallbackToLoggedOnUser -OverrideBuiltins -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 +``` + +```output +DstEntityInfoAssetStatus : 7 +DstEntityInfoAssetType : 1 +DstEntityInfoDomain : posh.local +DstEntityInfoFqdn : WC01.posh.local +DstEntityInfoId : a:a:OtfLGUBq +DstEntityInfoIpv4Addresses : {10.1.0.8} +DstEntityInfoIpv6Addresses : {} +DstEntityInfoName : WC01 +DstEntityInfoOperatingSystem : Windows 11 Enterprise +DstEntityInfoProtectionState : 1 +DstEntityInfoSource : 3 +ItemAdditionalPortsList : {} +ItemCreatedAt : 1694722774574 +ItemCreatedBy : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +ItemCreatedByName : ModuleTesting +ItemDescription : +ItemDstPort : 22 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : True +ItemId : 1d68356c-ce24-49b5-9079-a314a76d7e03 +ItemMfaMethods : {4} +ItemOverrideBuiltins : True +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1694722774574 +StateAssetId : a:a:OtfLGUBq +StateIsAssetConnected : True +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : 1 +``` + +This cmdlet creates a MFA policy for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdditionalPortsList +. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstEntityInfoId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +. +To construct, see NOTES section for EXCLUDEDSRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodyExcludedSrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +. +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +. +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1=Enabled, 2=Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`EXCLUDEDSRCENTITYINFOS `: . + - `Id `: + +`SRCENTITYINFOS `: . + - `Id `: + +`SRCUSERINFOS `: . + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetMfaOutboundPolicy.md b/help/zeronetworks/New-ZNAssetMfaOutboundPolicy.md new file mode 100644 index 0000000..a055065 --- /dev/null +++ b/help/zeronetworks/New-ZNAssetMfaOutboundPolicy.md @@ -0,0 +1,441 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetmfaoutboundpolicy +schema: 2.0.0 +--- + +# New-ZNAssetMfaOutboundPolicy + +## SYNOPSIS +Returns a the properties of outbound MFA policy created. + +## SYNTAX + +``` +New-ZNAssetMfaOutboundPolicy -AssetId -AdditionalPortsList + -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins + -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration + -SrcEntityInfos -SrcProcessNames + -SrcUserInfos -State [-AccountName ] + [-Description ] [-DstProcessNames ] + [-ExcludedSrcEntityInfos ] + [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns a the properties of outbound MFA policy created. + +## EXAMPLES + +### Example 1: Create outbound MFA policy for an asset +```powershell +$asset = Search-ZNAsset -fqdn ot1777 +$destination = (Get-ZNMfaOutboundPoliciesDestinationCandidate -Search "ot1777").Items +$source = (Get-ZNMfaOutboundPoliciesSourceCandidate -search "All Segmented Assets").Items +$sourceEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyOutboundBodySrcEntityInfosItem]::new() +$sourceEntity.Id = $source.Id +$sourceUser = (Get-ZNMfaInboundPoliciesSourceUserCandidate -search "Any User").Items +$sourceUserEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyOutboundBodySrcUserInfosItem]::new() +$sourceUserEntity.Id = $sourceUser.Id +$portsList = New-ZNPortsList -Empty +New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort "22" -FallbackToLoggedOnUser -MfaMethods @(4) -OverrideBuiltins -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 +``` + +```output +DstEntityInfoAssetStatus : 5 +DstEntityInfoAssetType : 4 +DstEntityInfoDomain : +DstEntityInfoFqdn : ot1777 +DstEntityInfoId : a:t:OeG7qsVV +DstEntityInfoIpv4Addresses : {230.176.229.143} +DstEntityInfoIpv6Addresses : {} +DstEntityInfoName : ot1777 +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : 3 +DstEntityInfoSource : 7 +ItemAdditionalPortsList : {} +ItemCreatedAt : 1694722913050 +ItemCreatedBy : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +ItemCreatedByName : ModuleTesting +ItemDescription : +ItemDstPort : 22 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : True +ItemId : 26012f7a-5b56-418f-a67f-b79a3dbeefde +ItemMfaMethods : {4} +ItemOverrideBuiltins : True +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {All segmented assets} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1694722913050 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet creates an outbound MFA policy for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdditionalPortsList +. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstEntityInfoId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +. +To construct, see NOTES section for EXCLUDEDSRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodyExcludedSrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +. +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +. +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1=Enabled, 2=Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`EXCLUDEDSRCENTITYINFOS `: . + - `Id `: + +`SRCENTITYINFOS `: . + - `Id `: + +`SRCUSERINFOS `: . + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetOutboundRule.md b/help/zeronetworks/New-ZNAssetOutboundRule.md new file mode 100644 index 0000000..78a4322 --- /dev/null +++ b/help/zeronetworks/New-ZNAssetOutboundRule.md @@ -0,0 +1,327 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetoutboundrule +schema: 2.0.0 +--- + +# New-ZNAssetOutboundRule + +## SYNOPSIS +Returns the properties of the created Outbound rule. + +## SYNTAX + +``` +New-ZNAssetOutboundRule -AssetId -Action -LocalEntityId + -LocalProcessesList -PortsList -RemoteEntityIdsList -State + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] + [-IPSecOpt ] [-SrcUsersList ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the created Outbound rule. + +## EXAMPLES + +### Example 1: Create a rule for an asset +```powershell +$asset = Search-ZNAsset -fqdn WC01.posh.local +$sourceasset = Search-ZNAsset -fqdn cs01.posh.local +$portsList = New-ZNPortsList -Protocol ICMP +New-ZNAssetOutboundRule -AssetId $asset -Action 1 -LocalEntityId $asset -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($sourceAsset) -State 1 +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 6 +CreatedById : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +CreatedByName : ModuleTesting +CreatedByUserRole : 4 +ItemAction : 1 +ItemActivitiesCount : +ItemApprovedAt : +ItemCreatedAt : 1694722263401 +ItemDescription : +ItemDirection : 2 +ItemExcludedEntityInfos : +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 7f77efaa-3bca-49d3-8afe-a66330aa52cf +ItemLocalEntityId : a:a:OtfLGUBq +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:l:aayoPnNJ} +ItemRemoteEntityInfos : +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates a rule for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetRpcRule.md b/help/zeronetworks/New-ZNAssetRpcRule.md new file mode 100644 index 0000000..cf71214 --- /dev/null +++ b/help/zeronetworks/New-ZNAssetRpcRule.md @@ -0,0 +1,306 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetrpcrule +schema: 2.0.0 +--- + +# New-ZNAssetRpcRule + +## SYNOPSIS +Returns the properties of the create RPC rule. + +## SYNTAX + +``` +New-ZNAssetRpcRule -AssetId -Action -Description -ExcludedAssetIdsList + -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList + -RemoteAssetIdsList -State -UserIdsList [-AccountName ] + [-ExpiresAt ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the create RPC rule. + +## EXAMPLES + +### Example 1: Create a RPC rule for a specific asset +```powershell +New-ZNAssetRpcRule -AssetId 'a:l:wEGYa0Cp' -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId 'g:t:01669ce2' -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @('a:l:wEGYa0Cp') -State 1 -UserIdsList @('b:111001') +``` + +```output +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1708008331123 +ItemDescription : New RPC Rule +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : d42c390b-378c-4cb7-9db8-8f74d269d957 +ItemInterfaceUuidsList : {} +ItemLocalAssetId : g:t:01669ce2 +ItemOpNumbersList : {} +ItemParentId : +ItemParentType : 0 +ItemProtocolsList : {} +ItemRemoteAssetIdsList : {a:l:wEGYa0Cp} +ItemRemoteAssetInfos : +ItemRuleClass : 1 +ItemState : 1 +ItemUserIdsList : {b:111001} +ItemUserInfos : +LocalAssetInfoId : +LocalAssetInfoName : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates a RPC rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InterfaceUuidsList +one of the following: * "rpcAnyInterface" for any interface * List of interface uuids for explicit interfaces + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpNumbersList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolsList +* NULL - Any* '1' - Rules RPC over SMB* '2' - Rules RPC over TCP + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRuleResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetsLinux.md b/help/zeronetworks/New-ZNAssetsLinux.md new file mode 100644 index 0000000..d84d074 --- /dev/null +++ b/help/zeronetworks/New-ZNAssetsLinux.md @@ -0,0 +1,124 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetslinux +schema: 2.0.0 +--- + +# New-ZNAssetsLinux + +## SYNOPSIS +Returns the assetId of the created Linux asset. + +## SYNTAX + +``` +New-ZNAssetsLinux -DisplayName -Fqdn [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the assetId of the created Linux asset. + +## EXAMPLES + +### Example 1: Create a linux asset +```powershell +New-ZNAssetsLinux -DisplayName "linuxservera" -Fqdn "linuxservera.zero.labs" +``` + +This cmdlet will create a linux asset in the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DisplayName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fqdn +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ILinuxResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNAssetsOt.md b/help/zeronetworks/New-ZNAssetsOt.md new file mode 100644 index 0000000..02efe2e --- /dev/null +++ b/help/zeronetworks/New-ZNAssetsOt.md @@ -0,0 +1,212 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetsot +schema: 2.0.0 +--- + +# New-ZNAssetsOt + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +New-ZNAssetsOt -DisplayName -Fqdn -Ipv4 -Type [-AccountName ] + [-InterfaceName ] [-SwitchId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Create an OT/IoT Asset +```powershell +New-ZNAssetsOt -DisplayName webcam2 -Ipv4 "192.168.10.30" -Type 4 +``` + +This cmdlet will create an OT/IoT asset in the environment. +Support Asset Types: +4 = IP Camera +5 = Smart TV +6 = Factory Controller +7 = Medical Device +8 = Printer +9 = Scanner +10 = Smart Card Reader +11 = Router, +12 = Hypervisor +13 = PLC +14 = HMI +15 = Switch +16 = Terminal Station +17 = RTU +18 = Wireless Access Point +19 = Historian +20 = Game Console +21 = Fire Alarm +22 = UPS +23 = Storage Appliance +24 = Virtualization Appliance +25 = Firewall Appliance +26 = Security Scanner +27 = Security Controller +28 = Door Lock +29 = Biometric Entry System +30 = HVA + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DisplayName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fqdn +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InterfaceName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Ipv4 +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SwitchId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +. + +```yaml +Type: System.Single +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICreateOtAssetResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNCustomGroup.md b/help/zeronetworks/New-ZNCustomGroup.md new file mode 100644 index 0000000..ceef0e9 --- /dev/null +++ b/help/zeronetworks/New-ZNCustomGroup.md @@ -0,0 +1,140 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zncustomgroup +schema: 2.0.0 +--- + +# New-ZNCustomGroup + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +New-ZNCustomGroup -Name [-AccountName ] [-Description ] [-MembersId ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Create a custom group +```powershell +New-ZNCustomGroup -Name "test3" -Description "test custom group" +``` + +This cmdlet will create a new customer group in the environment. +The MembersId is an array of assetIds to add to the group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MembersId +members id + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ICustomGroupResponse + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNExternalAccessPolicy.md b/help/zeronetworks/New-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..2543056 --- /dev/null +++ b/help/zeronetworks/New-ZNExternalAccessPolicy.md @@ -0,0 +1,268 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znexternalaccesspolicy +schema: 2.0.0 +--- + +# New-ZNExternalAccessPolicy + +## SYNOPSIS +Returns a the external access policy + +## SYNTAX + +``` +New-ZNExternalAccessPolicy -DstAssetId -DstPortsList + -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList + [-AccountName ] [-Description ] [-State ] [-Url ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the external access policy + +## EXAMPLES + +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNExternalAccessPolicy -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNGroupsExternalAccessPolicy.md b/help/zeronetworks/New-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..0c746ac --- /dev/null +++ b/help/zeronetworks/New-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,297 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsexternalaccesspolicy +schema: 2.0.0 +--- + +# New-ZNGroupsExternalAccessPolicy + +## SYNOPSIS +Returns a the external access policy + +## SYNTAX + +``` +New-ZNGroupsExternalAccessPolicy -GroupId -GroupType -DstAssetId + -DstPortsList -DstProcessNamesList -Name -RuleDuration + -SrcUserIdsList [-AccountName ] [-Description ] [-State ] [-Url ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns a the external access policy + +## EXAMPLES + +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +New-ZNGroupsExternalAccessPolicy -GroupId "g:t:5V669ce2/" -GroupType tag -DstAssetId "g:t:5V669ce2" -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNGroupsIdentityRule.md b/help/zeronetworks/New-ZNGroupsIdentityRule.md new file mode 100644 index 0000000..25e78ab --- /dev/null +++ b/help/zeronetworks/New-ZNGroupsIdentityRule.md @@ -0,0 +1,248 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsidentityrule +schema: 2.0.0 +--- + +# New-ZNGroupsIdentityRule + +## SYNOPSIS +Returns a the identity segmentation rule. + +## SYNTAX + +``` +New-ZNGroupsIdentityRule -GroupId -GroupType -Action -AssetId + -IdentityProtectionCategoryList -State -UserIdsList [-AccountName ] + [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the identity segmentation rule. + +## EXAMPLES + +### Example 1: Create an identity rule +```powershell +$group = Get-ZNGroup -Search "domain controllers" | where {$_.Id -like "g:t:*"} +$groupDA = Get-ZNGroup -Search "domain admins" | where {$_.Id -like "g:a:*"} +New-ZNGroupsIdentityRule -GroupId $Group.id -GroupType tag -Action 1 -AssetId $group.Id -Description "test" -IdentityProtectionCategoryList 5 -State 1 -UserIdsList @($groupDA.Id) +``` + +This cmdlet creates an identity rule for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +1 - Allow, 2 - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1 - Enabled, 2 - Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRuleItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNGroupsInboundRule.md b/help/zeronetworks/New-ZNGroupsInboundRule.md new file mode 100644 index 0000000..4bee82c --- /dev/null +++ b/help/zeronetworks/New-ZNGroupsInboundRule.md @@ -0,0 +1,342 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsinboundrule +schema: 2.0.0 +--- + +# New-ZNGroupsInboundRule + +## SYNOPSIS +Returns the properties of the created Inbound rule. + +## SYNTAX + +``` +New-ZNGroupsInboundRule -GroupId -GroupType -Action -LocalEntityId + -LocalProcessesList -PortsList -RemoteEntityIdsList -State + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] + [-IPSecOpt ] [-SrcUsersList ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the created Inbound rule. + +## EXAMPLES + +### Example 1: Create a rule for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} +$sourceasset = Search-ZNAsset -fqdn cs01.posh.local +$portsList = New-ZNPortsList -Protocol ICMP +New-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($sourceAsset) -State 1 +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 6 +CreatedById : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +CreatedByName : ModuleTesting +CreatedByUserRole : 4 +ItemAction : 1 +ItemActivitiesCount : +ItemApprovedAt : +ItemCreatedAt : 1694728384261 +ItemDescription : +ItemDirection : 1 +ItemExcludedEntityInfos : +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : f81c116c-e278-4868-9ead-f9261c76bfa2 +ItemLocalEntityId : g:t:01445453 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:l:aayoPnNJ} +ItemRemoteEntityInfos : +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates a rule for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNGroupsMfaIdentityPolicy.md b/help/zeronetworks/New-ZNGroupsMfaIdentityPolicy.md new file mode 100644 index 0000000..1a73f99 --- /dev/null +++ b/help/zeronetworks/New-ZNGroupsMfaIdentityPolicy.md @@ -0,0 +1,373 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsmfaidentitypolicy +schema: 2.0.0 +--- + +# New-ZNGroupsMfaIdentityPolicy + +## SYNOPSIS +Returns the properties of the identity MFA policy after creation. + +## SYNTAX + +``` +New-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -DstAssetId + -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList + -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State + [-AccountName ] [-Description ] [-ExcludedDstAssetIdsList ] + [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] + [-RestrictLoginToOriginatingUser] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the identity MFA policy after creation. + +## EXAMPLES + +### Example 1: Create an Identity MFA Policy +```powershell +$group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} +$source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items +$users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items +New-ZNGroupsMfaIdentityPolicy -GroupId $group.Id -GroupType tag -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1713403534831 +ItemDescription : +ItemDstAssetId : g:t:01669ce2 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : True +ItemId : 589cf54b-c9ca-4062-af45-070cbf820aa2 +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {g:a:3U1Z38mF} +ItemSrcUserInfos : {Domain Admins} +ItemState : 1 +ItemUpdatedAt : 1713403534831 +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedDstAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtraIdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToSingleLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethodsList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNGroupsMfaInboundPolicy.md b/help/zeronetworks/New-ZNGroupsMfaInboundPolicy.md new file mode 100644 index 0000000..f989202 --- /dev/null +++ b/help/zeronetworks/New-ZNGroupsMfaInboundPolicy.md @@ -0,0 +1,456 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsmfainboundpolicy +schema: 2.0.0 +--- + +# New-ZNGroupsMfaInboundPolicy + +## SYNOPSIS +Returns the properties of the inbound MFA policy after creation. + +## SYNTAX + +``` +New-ZNGroupsMfaInboundPolicy -GroupId -GroupType -AdditionalPortsList + -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser + -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser + -RuleDuration -SrcEntityInfos + -SrcProcessNames -SrcUserInfos -State + [-AccountName ] [-Description ] + [-ExcludedSrcEntityInfos ] + [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the inbound MFA policy after creation. + +## EXAMPLES + +### Example 1: Create outbound MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "domain controllers" | where {$_.Id -like "g:t:*"} +$destination = (Get-ZNMfaInboundPoliciesDestinationCandidate -Search "domain controllers").Items | where {$_.Domain -eq "tag"} +$source = (Get-ZNMfaInboundPoliciesSourceCandidate -search "Any Asset").Items +$sourceEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcEntityInfosItem]::new() +$sourceEntity.Id = $source.Id +$sourceUser = (Get-ZNMfaInboundPoliciesSourceUserCandidate -search "Any User").Items +$sourceUserEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcUserInfosItem]::new() +$sourceUserEntity.Id = $sourceUser.Id +$portsList = New-ZNPortsList -Empty +New-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstProcessNames @("*") -DstPort "443" -FallbackToLoggedOnUser -MfaMethods @(4) -OverrideBuiltins -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 +``` + +```output +DstEntityInfoAssetStatus : +DstEntityInfoAssetType : +DstEntityInfoDomain : +DstEntityInfoFqdn : +DstEntityInfoId : g:t:01445453 +DstEntityInfoIpv4Addresses : +DstEntityInfoIpv6Addresses : +DstEntityInfoName : Domain controllers +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : +DstEntityInfoSource : +ItemAdditionalPortsList : {} +ItemCreatedAt : 1694783423106 +ItemCreatedBy : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +ItemCreatedByName : ModuleTesting +ItemDescription : +ItemDstPort : 443 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : True +ItemId : 244d0d8a-beb1-45f1-a2c4-e3372d605646 +ItemMfaMethods : {4} +ItemOverrideBuiltins : True +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1694783423106 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet creates an outbound MFA policy for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdditionalPortsList +. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstEntityInfoId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +. +To construct, see NOTES section for EXCLUDEDSRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodyExcludedSrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +. +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +. +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1=Enabled, 2=Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`EXCLUDEDSRCENTITYINFOS `: . + - `Id `: + +`SRCENTITYINFOS `: . + - `Id `: + +`SRCUSERINFOS `: . + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNGroupsMfaOutboundPolicy.md b/help/zeronetworks/New-ZNGroupsMfaOutboundPolicy.md new file mode 100644 index 0000000..96fdf89 --- /dev/null +++ b/help/zeronetworks/New-ZNGroupsMfaOutboundPolicy.md @@ -0,0 +1,456 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsmfaoutboundpolicy +schema: 2.0.0 +--- + +# New-ZNGroupsMfaOutboundPolicy + +## SYNOPSIS +Returns a the properties of outbound MFA policy created. + +## SYNTAX + +``` +New-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -AdditionalPortsList + -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins + -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration + -SrcEntityInfos -SrcProcessNames + -SrcUserInfos -State [-AccountName ] + [-Description ] [-DstProcessNames ] + [-ExcludedSrcEntityInfos ] + [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns a the properties of outbound MFA policy created. + +## EXAMPLES + +### Example 1: Create outbound MFA policy for a group +```powershell +$group = Get-ZNGroup -Search "Cameras" | where {$_.Id -like "g:t:*"} +$destination = (Get-ZNMfaOutboundPoliciesDestinationCandidate -Search "Cameras").Items +$source = (Get-ZNMfaOutboundPoliciesSourceCandidate -search "All Segmented Assets").Items +$sourceEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyOutboundBodySrcEntityInfosItem]::new() +$sourceEntity.Id = $source.Id +$sourceUser = (Get-ZNMfaInboundPoliciesSourceUserCandidate -search "Any User").Items +$sourceUserEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyOutboundBodySrcUserInfosItem]::new() +$sourceUserEntity.Id = $sourceUser.Id +$portsList = New-ZNPortsList -Empty +New-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType ot -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort "443" -FallbackToLoggedOnUser -MfaMethods @(4) -OverrideBuiltins -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 +``` + +```output +DstEntityInfoAssetStatus : +DstEntityInfoAssetType : +DstEntityInfoDomain : +DstEntityInfoFqdn : +DstEntityInfoId : g:o:04445453 +DstEntityInfoIpv4Addresses : +DstEntityInfoIpv6Addresses : +DstEntityInfoName : Cameras +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : +DstEntityInfoSource : +ItemAdditionalPortsList : {} +ItemCreatedAt : 1694728775258 +ItemCreatedBy : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +ItemCreatedByName : ModuleTesting +ItemDescription : +ItemDstPort : 443 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : True +ItemId : c4aaf8bd-9979-4a77-991e-10573fd191aa +ItemMfaMethods : {4} +ItemOverrideBuiltins : True +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {All segmented assets} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1694728775258 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet creates an outbound MFA policy for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdditionalPortsList +. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstEntityInfoId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +. +To construct, see NOTES section for EXCLUDEDSRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodyExcludedSrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +. +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +. +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1=Enabled, 2=Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`EXCLUDEDSRCENTITYINFOS `: . + - `Id `: + +`SRCENTITYINFOS `: . + - `Id `: + +`SRCUSERINFOS `: . + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNGroupsOutboundRule.md b/help/zeronetworks/New-ZNGroupsOutboundRule.md new file mode 100644 index 0000000..dfacb00 --- /dev/null +++ b/help/zeronetworks/New-ZNGroupsOutboundRule.md @@ -0,0 +1,342 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsoutboundrule +schema: 2.0.0 +--- + +# New-ZNGroupsOutboundRule + +## SYNOPSIS +Returns the properties of the created Outbound rule. + +## SYNTAX + +``` +New-ZNGroupsOutboundRule -GroupId -GroupType -Action -LocalEntityId + -LocalProcessesList -PortsList -RemoteEntityIdsList -State + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] + [-IPSecOpt ] [-SrcUsersList ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the created Outbound rule. + +## EXAMPLES + +### Example 1: Create a rule for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} +$sourceasset = Search-ZNAsset -fqdn cs01.posh.local +$portsList = New-ZNPortsList -Protocol ICMP +New-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($sourceAsset) -State 1 +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 6 +CreatedById : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +CreatedByName : ModuleTesting +CreatedByUserRole : 4 +ItemAction : 1 +ItemActivitiesCount : +ItemApprovedAt : +ItemCreatedAt : 1694728384261 +ItemDescription : +ItemDirection : 1 +ItemExcludedEntityInfos : +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : f81c116c-e278-4868-9ead-f9261c76bfa2 +ItemLocalEntityId : g:t:01445453 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:l:aayoPnNJ} +ItemRemoteEntityInfos : +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates a rule for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNGroupsRpcRule.md b/help/zeronetworks/New-ZNGroupsRpcRule.md new file mode 100644 index 0000000..5530aea --- /dev/null +++ b/help/zeronetworks/New-ZNGroupsRpcRule.md @@ -0,0 +1,322 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsrpcrule +schema: 2.0.0 +--- + +# New-ZNGroupsRpcRule + +## SYNOPSIS +Returns the properties of the create RPC rule. + +## SYNTAX + +``` +New-ZNGroupsRpcRule -GroupId -GroupType -Action -Description + -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId + -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State + -UserIdsList [-AccountName ] [-ExpiresAt ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the properties of the create RPC rule. + +## EXAMPLES + +### Example 1: Create a RPC rule for a specific asset +```powershell +New-ZNGroupsRpcRule -GroupType tag -GroupId 'g:t:01669ce2' -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId 'g:t:01669ce2' -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @('b:110001') -State 1 -UserIdsList @('b:111001') +``` + +```output +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1708008427013 +ItemDescription : New RPC Rule +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : 098dc1d0-91e8-4602-93c5-687ba860a877 +ItemInterfaceUuidsList : {} +ItemLocalAssetId : g:t:01669ce2 +ItemOpNumbersList : {} +ItemParentId : +ItemParentType : 0 +ItemProtocolsList : {} +ItemRemoteAssetIdsList : {b:110001} +ItemRemoteAssetInfos : +ItemRuleClass : 1 +ItemState : 1 +ItemUserIdsList : {b:111001} +ItemUserInfos : +LocalAssetInfoId : +LocalAssetInfoName : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates a RPC rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InterfaceUuidsList +one of the following: * "rpcAnyInterface" for any interface * List of interface uuids for explicit interfaces + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpNumbersList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolsList +* NULL - Any* '1' - Rules RPC over SMB* '2' - Rules RPC over TCP + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRuleResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNIdentityOnboardingPolicy.md b/help/zeronetworks/New-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..0e3a6b8 --- /dev/null +++ b/help/zeronetworks/New-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znidentityonboardingpolicy +schema: 2.0.0 +--- + +# New-ZNIdentityOnboardingPolicy + +## SYNOPSIS +Returns the identity onboarding policy that was created. + +## SYNTAX + +``` +New-ZNIdentityOnboardingPolicy -ExistingMembersLearningDays -GroupId + -NewMembersLearningDays [-AccountName ] [-Description ] [-Enabled] [-EnforceBlocks] + [-MaintenanceWindowId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the identity onboarding policy that was created. + +## EXAMPLES + +### Example 1: Create an Identity onboarding policy +```powershell +New-ZNIdentityOnboardingPolicy -GroupId g:s:03669ce2 -ExistingMembersLearningDays 30 -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : 97fa4e50-c665-44e9-8261-d07c543d9d80 +ItemInitialProtectAt : 1728665381822 +ItemNewMembersLearningDays : 30 +ItemPolicyType : 2 +ItemUpdatedAt : +``` + +This cmdlet creates an identity onboarding learning policy + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnforceBlocks +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNIdentityRule.md b/help/zeronetworks/New-ZNIdentityRule.md new file mode 100644 index 0000000..988adc4 --- /dev/null +++ b/help/zeronetworks/New-ZNIdentityRule.md @@ -0,0 +1,217 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znidentityrule +schema: 2.0.0 +--- + +# New-ZNIdentityRule + +## SYNOPSIS +Returns a the identity segmentation rule. + +## SYNTAX + +``` +New-ZNIdentityRule -Action -AssetId -IdentityProtectionCategoryList -State + -UserIdsList [-AccountName ] [-Description ] [-ExcludedAssetIdsList ] + [-ExpiresAt ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns a the identity segmentation rule. + +## EXAMPLES + +### Example 1: Create an identity rule +```powershell +$group = Get-ZNGroup -Search "domain controllers" | where {$_.Id -like "g:t:*"} +$groupDA = Get-ZNGroup -Search "domain admins" | where {$_.Id -like "g:a:*"} +New-ZNIdentityRule -Action 1 -AssetId $group.Id -Description "test" -IdentityProtectionCategoryList 5 -State 1 -UserIdsList @($groupDA.Id) +``` + +This cmdlet creates an identity rule for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +1 - Allow, 2 - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1 - Enabled, 2 - Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRuleItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNInboundRule.md b/help/zeronetworks/New-ZNInboundRule.md new file mode 100644 index 0000000..0bf7797 --- /dev/null +++ b/help/zeronetworks/New-ZNInboundRule.md @@ -0,0 +1,303 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zninboundrule +schema: 2.0.0 +--- + +# New-ZNInboundRule + +## SYNOPSIS +Returns the properties of the created Inbound rule. + +## SYNTAX + +``` +New-ZNInboundRule -Action -LocalEntityId -LocalProcessesList + -PortsList -RemoteEntityIdsList -State [-AccountName ] + [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] + [-SrcUsersList ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the created Inbound rule. + +## EXAMPLES + +### Example 1: Create an inbound allow rule +```powershell +$portsList = New-ZNPortsList -Protocol TCP -Ports "44,45" +$source = (Get-ZNInboundAllowRulesSourceCandidate -search "any asset").Items +$destination = (Get-ZNInboundAllowRulesDestinationCandidate -Search FS1).Items +New-ZNInboundRule -Action 1 -LocalEntityId $destination.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 +``` + +```output +CreatedByEnforcementSource : 0 +CreatedById : m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b +CreatedByName : PowerShell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1665758735297 +ItemDescription : +ItemDirection : 1 +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 6b38f7ef-2374-4c1e-8c57-da65fe2cbb5f +ItemLocalEntityId : a:a:GnyWAsYs +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {b:110001} +ItemState : 1 +ItemUpdatedAt : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an inbound allow rule for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNMfaIdentityPolicy.md b/help/zeronetworks/New-ZNMfaIdentityPolicy.md new file mode 100644 index 0000000..52f3841 --- /dev/null +++ b/help/zeronetworks/New-ZNMfaIdentityPolicy.md @@ -0,0 +1,343 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znmfaidentitypolicy +schema: 2.0.0 +--- + +# New-ZNMfaIdentityPolicy + +## SYNOPSIS +Returns the properties of the identity MFA policy after creation. + +## SYNTAX + +``` +New-ZNMfaIdentityPolicy -DstAssetId -FallbackToSingleLoggedOnUser + -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration + -SrcAssetIdsList -SrcUserIdsList -State [-AccountName ] + [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the properties of the identity MFA policy after creation. + +## EXAMPLES + +### Example 1: Create an Identity MFA Policy +```powershell +$group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} +$source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items +$users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items +New-ZNMfaIdentityPolicy -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1713403271254 +ItemDescription : +ItemDstAssetId : g:t:01669ce2 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : True +ItemId : 68507e4b-8b34-4cab-9110-d28643260063 +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {g:a:3U1Z38mF} +ItemSrcUserInfos : {Domain Admins} +ItemState : 1 +ItemUpdatedAt : 1713403271254 +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedDstAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtraIdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToSingleLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethodsList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNMfaInboundPolicy.md b/help/zeronetworks/New-ZNMfaInboundPolicy.md new file mode 100644 index 0000000..6f42c96 --- /dev/null +++ b/help/zeronetworks/New-ZNMfaInboundPolicy.md @@ -0,0 +1,406 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znmfainboundpolicy +schema: 2.0.0 +--- + +# New-ZNMfaInboundPolicy + +## SYNOPSIS +Returns the properties of the inbound MFA policy after creation. + +## SYNTAX + +``` +New-ZNMfaInboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort + -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins + -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration + -SrcEntityInfos -SrcProcessNames + -SrcUserInfos -State [-AccountName ] + [-Description ] [-ExcludedSrcEntityInfos ] + [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the inbound MFA policy after creation. + +## EXAMPLES + +### Example 1: Create inbound MFA policy +```powershell +$destination = (Get-ZNMfaInboundPoliciesDestinationCandidate -Search "linuxserver").Items +$source = (Get-ZNMfaInboundPoliciesSourceCandidate -search "Any Asset").Items +$sourceEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcEntityInfosItem]::new() +$sourceEntity.Id = $source.Id +$sourceUser = (Get-ZNMfaInboundPoliciesSourceUserCandidate -search "Any User").Items +$sourceUserEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcUserInfosItem]::new() +$sourceUserEntity.Id = $sourceUser.Id +$portsList = New-ZNPortsList -Empty +New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort "22" -DstProcessNames @("*") -FallbackToLoggedOnUser -OverrideBuiltins -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 +``` + +```output +DstEntityInfoId : a:l:YjoLaKRG +DstEntityInfoName : linuxserver +ItemCreatedAt : 1666114167336 +ItemCreatedBy : m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b +ItemCreatedByName : PowerShell +ItemDescription : +ItemDstPort : 22 +ItemDstProcessNames : {*} +ItemFallbackToLoggedOnUser : True +ItemId : e1db180f-e435-498c-ae17-59651f3c3dc3 +ItemMfaMethods : {4} +ItemProtocolType : 6 +ItemRuleCreationMode : 1 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1666114167336 +``` + +This cmdlet creates an inbound MFA policy for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdditionalPortsList +. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstEntityInfoId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +. +To construct, see NOTES section for EXCLUDEDSRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodyExcludedSrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +. +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +. +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyInboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1=Enabled, 2=Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`EXCLUDEDSRCENTITYINFOS `: . + - `Id `: + +`SRCENTITYINFOS `: . + - `Id `: + +`SRCUSERINFOS `: . + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNMfaOutboundPolicy.md b/help/zeronetworks/New-ZNMfaOutboundPolicy.md new file mode 100644 index 0000000..2eedd98 --- /dev/null +++ b/help/zeronetworks/New-ZNMfaOutboundPolicy.md @@ -0,0 +1,407 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znmfaoutboundpolicy +schema: 2.0.0 +--- + +# New-ZNMfaOutboundPolicy + +## SYNOPSIS +Returns a the properties of outbound MFA policy created. + +## SYNTAX + +``` +New-ZNMfaOutboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort + -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType + -RestrictLoginToOriginatingUser -RuleDuration + -SrcEntityInfos -SrcProcessNames + -SrcUserInfos -State [-AccountName ] + [-Description ] [-DstProcessNames ] + [-ExcludedSrcEntityInfos ] + [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns a the properties of outbound MFA policy created. + +## EXAMPLES + +### Example 1: Create outbound MFA policy +```powershell +$destination = (Get-ZNMfaOutboundPoliciesDestinationCandidate -Search "switch01").Items +$source = (Get-ZNMfaOutboundPoliciesSourceCandidate -search "All Protected Assets").Items +$sourceEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyOutboundBodySrcEntityInfosItem]::new() +$sourceEntity.Id = $source.Id +$sourceUser = (Get-ZNMfaInboundPoliciesSourceUserCandidate -search "Any User").Items +$sourceUserEntity = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyOutboundBodySrcUserInfosItem]::new() +$sourceUserEntity.Id = $sourceUser.Id +$portsList = New-ZNPortsList -Empty +New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort "22" -FallbackToLoggedOnUser -MfaMethods @(4) -OverrideBuiltins -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 +``` + +```output +DstEntityInfoId : a:t:oOkjcyED +DstEntityInfoName : switch01 +ItemCreatedAt : 1666114548648 +ItemCreatedBy : m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b +ItemCreatedByName : PowerShell +ItemDescription : +ItemDstPort : 22 +ItemDstProcessNames : {*} +ItemFallbackToLoggedOnUser : True +ItemId : 47e1eed4-2288-41c7-8307-68faf3594b7d +ItemMfaMethods : {4} +ItemProtocolType : 6 +ItemRuleCreationMode : 1 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {All protected assets} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1666114548648 +``` + +This cmdlet creates an outbound MFA policy for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdditionalPortsList +. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstEntityInfoId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +. +To construct, see NOTES section for EXCLUDEDSRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodyExcludedSrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +. +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +. +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1=Enabled, 2=Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`EXCLUDEDSRCENTITYINFOS `: . + - `Id `: + +`SRCENTITYINFOS `: . + - `Id `: + +`SRCUSERINFOS `: . + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNNetworkOnboardingPolicy.md b/help/zeronetworks/New-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..01ed22e --- /dev/null +++ b/help/zeronetworks/New-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znnetworkonboardingpolicy +schema: 2.0.0 +--- + +# New-ZNNetworkOnboardingPolicy + +## SYNOPSIS +Returns the network onboarding policy that was created. + +## SYNTAX + +``` +New-ZNNetworkOnboardingPolicy -ExistingMembersLearningDays -GroupId + -NewMembersLearningDays [-AccountName ] [-Description ] [-Enabled] [-EnforceBlocks] + [-MaintenanceWindowId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the network onboarding policy that was created. + +## EXAMPLES + +### Example 1: Create an Network onboarding policy +```powershell +New-ZNNetworkOnboardingPolicy -GroupId g:s:03669ce2 -ExistingMembersLearningDays 30 -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : False +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : a36d67e7-8497-4a31-a39b-24e73a6b5c78 +ItemInitialProtectAt : 1728665476730 +ItemNewMembersLearningDays : 30 +ItemPolicyType : 1 +ItemUpdatedAt : +``` + +This cmdlet creates an network onboarding learning policy + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnforceBlocks +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNOutboundRule.md b/help/zeronetworks/New-ZNOutboundRule.md new file mode 100644 index 0000000..3fde5c0 --- /dev/null +++ b/help/zeronetworks/New-ZNOutboundRule.md @@ -0,0 +1,303 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znoutboundrule +schema: 2.0.0 +--- + +# New-ZNOutboundRule + +## SYNOPSIS +Returns the properties of the created Outbound rule. + +## SYNTAX + +``` +New-ZNOutboundRule -Action -LocalEntityId -LocalProcessesList + -PortsList -RemoteEntityIdsList -State [-AccountName ] + [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] + [-SrcUsersList ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the created Outbound rule. + +## EXAMPLES + +### Example 1: Create an inbound allow rule +```powershell +$portsList = New-ZNPortsList -Protocol TCP -Ports "44,45" +$source = (Get-ZNInboundAllowRulesSourceCandidate -search "any asset").Items +$destination = (Get-ZNInboundAllowRulesDestinationCandidate -Search FS1).Items +New-ZNInboundRule -Action 1 -LocalEntityId $destination.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 +``` + +```output +CreatedByEnforcementSource : 0 +CreatedById : m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b +CreatedByName : PowerShell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1665758735297 +ItemDescription : +ItemDirection : 1 +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 6b38f7ef-2374-4c1e-8c57-da65fe2cbb5f +ItemLocalEntityId : a:a:GnyWAsYs +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {b:110001} +ItemState : 1 +ItemUpdatedAt : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an inbound allow rule for the environment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRuleResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNPortsList.md b/help/zeronetworks/New-ZNPortsList.md new file mode 100644 index 0000000..ad552b0 --- /dev/null +++ b/help/zeronetworks/New-ZNPortsList.md @@ -0,0 +1,116 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znportslist +schema: 2.0.0 +--- + +# New-ZNPortsList + +## SYNOPSIS +Create a in-memory object for PortsList + +## SYNTAX + +### Protocol (Default) +``` +New-ZNPortsList -Protocol [-Ports ] [] +``` + +### Empty +``` +New-ZNPortsList -Empty [] +``` + +## DESCRIPTION +Create a in-memory object for PortsList + +## EXAMPLES + +### Example 1: Create a portsList for rule objects +```powershell +$portsList = New-ZNPortsList -Protocol TCP -Ports "44,45" +``` + +This cmdlet creates a portsList for use in other cmdlets. +It returns the created object. + +### Example 2: Create a portsList with TCP and UDP +```powershell +$portsList = @() +$tcp = New-ZNPortsList -Protocol TCP -Ports "44" +$udp = New-ZNPortsList -Protocol UDP -Ports "44" +$portsList +=$tcp +$portsList +=$udp +$portsList +``` + +```output +Ports ProtocolType +----- ------------ +44 6 +44 17 +``` + +This is an example of how to build a portsList with both TCP and UDP ports. + +## PARAMETERS + +### -Empty +Empty port list + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: Empty +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Ports +List of port numbers + +```yaml +Type: System.String +Parameter Sets: Protocol +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Protocol +Protocol + +```yaml +Type: System.String +Parameter Sets: Protocol +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNRpcRule.md b/help/zeronetworks/New-ZNRpcRule.md new file mode 100644 index 0000000..580d09c --- /dev/null +++ b/help/zeronetworks/New-ZNRpcRule.md @@ -0,0 +1,291 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znrpcrule +schema: 2.0.0 +--- + +# New-ZNRpcRule + +## SYNOPSIS +Returns the properties of the create RPC rule. + +## SYNTAX + +``` +New-ZNRpcRule -Action -Description -ExcludedAssetIdsList + -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList + -RemoteAssetIdsList -State -UserIdsList [-AccountName ] + [-ExpiresAt ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the create RPC rule. + +## EXAMPLES + +### Example 1: Create a RPC rule +```powershell +New-ZNRpcRule -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId 'g:t:01669ce2' -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @('g:t:01669ce2') -State 1 -UserIdsList @('b:111001') +``` + +```output +reatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1708008175378 +ItemDescription : New RPC RuleS +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : ffb4732e-073e-4fb5-b617-2e8ea2b1af31 +ItemInterfaceUuidsList : {} +ItemLocalAssetId : g:t:01669ce2 +ItemOpNumbersList : {} +ItemParentId : +ItemParentType : 0 +ItemProtocolsList : {} +ItemRemoteAssetIdsList : {g:t:01669ce2} +ItemRemoteAssetInfos : +ItemRuleClass : 1 +ItemState : 1 +ItemUserIdsList : {b:111001} +ItemUserInfos : +LocalAssetInfoId : +LocalAssetInfoName : +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates a RPC rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +Epoch Millis + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InterfaceUuidsList +one of the following: * "rpcAnyInterface" for any interface * List of interface uuids for explicit interfaces + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpNumbersList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolsList +* NULL - Any* '1' - Rules RPC over SMB* '2' - Rules RPC over TCP + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IRpcRuleResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNSettingsAd.md b/help/zeronetworks/New-ZNSettingsAd.md new file mode 100644 index 0000000..128f584 --- /dev/null +++ b/help/zeronetworks/New-ZNSettingsAd.md @@ -0,0 +1,202 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsad +schema: 2.0.0 +--- + +# New-ZNSettingsAd + +## SYNOPSIS +Set the AD settings in Asset Management + +## SYNTAX + +``` +New-ZNSettingsAd [-AccountName ] [-AllowNtlmFallback] + [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] + [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] + [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Set the AD settings in Asset Management + +## EXAMPLES + +### Example 1: Create an AD forest setting +```powershell +New-ZNSettingsAd -ActiveDirectoryInfoDomainControllerFqdn dc01.newforest.local -ActiveDirectoryInfoDomainName newforest.local -ActiveDirectoryInfoUsername znremotemanagment -PasswordCleartext "myPassword" +``` + +This cmdlet create an AD forest setting. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowNtlmFallback +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigDomainControllerFqdn +Domain Controller from AD Domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigDomainName +FQDN of the AD domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigPassword +password for the service account + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigUseLdaps +Use LDAP or LDAPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigUserFqdn +Service Account for Zero Networks + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsePrimaryUserForAllDomains +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsAdInfoBody + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNSettingsAdSecondary.md b/help/zeronetworks/New-ZNSettingsAdSecondary.md new file mode 100644 index 0000000..72aae6c --- /dev/null +++ b/help/zeronetworks/New-ZNSettingsAdSecondary.md @@ -0,0 +1,141 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsadsecondary +schema: 2.0.0 +--- + +# New-ZNSettingsAdSecondary + +## SYNOPSIS +Add a secondary AD settings in Asset Management + +## SYNTAX + +``` +New-ZNSettingsAdSecondary -ForestId [-AccountName ] + [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Add a secondary AD settings in Asset Management + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +$forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "newforest.local"} +New-ZNSettingsAdSecondary -ForestId $$forest.ForestId -Dc dc.child.newforest.local -Domain child.newforest.local +``` + +This cmdlet adds a secondary domain in AD settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecondaryDomainConfigDomainControllerFqdn +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecondaryDomainConfigDomainName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNSettingsConnectRegion.md b/help/zeronetworks/New-ZNSettingsConnectRegion.md new file mode 100644 index 0000000..187b50a --- /dev/null +++ b/help/zeronetworks/New-ZNSettingsConnectRegion.md @@ -0,0 +1,155 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsconnectregion +schema: 2.0.0 +--- + +# New-ZNSettingsConnectRegion + +## SYNOPSIS +Create a Connect region in Settings + +## SYNTAX + +``` +New-ZNSettingsConnectRegion [-AccountName ] [-DnsServersIPAddressList ] + [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a Connect region in Settings + +## EXAMPLES + +### Example 1: Create Connect Region +```powershell +New-ZNSettingsConnectRegion -DnsServersIPAddressList @("192.168.3.1","192.168.3.2") -IPAddress "4.5.6.7" -Name "New Region" +``` + +This cmdlet creates a Connect region in settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DnsServersIPAddressList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DnsSuffixesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPAddress +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.String + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNSettingsConnectUserAccessConfig.md b/help/zeronetworks/New-ZNSettingsConnectUserAccessConfig.md new file mode 100644 index 0000000..052716c --- /dev/null +++ b/help/zeronetworks/New-ZNSettingsConnectUserAccessConfig.md @@ -0,0 +1,295 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsconnectuseraccessconfig +schema: 2.0.0 +--- + +# New-ZNSettingsConnectUserAccessConfig + +## SYNOPSIS +Create a Connect User Access Configuration in Settings + +## SYNTAX + +``` +New-ZNSettingsConnectUserAccessConfig [-AccountName ] [-AllowedRegions ] + [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] + [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] + [-LoginAuthorizedEntityAllowedAssetsSourcesList ] + [-LoginAuthorizedEntityAllowedUsersIdsList ] + [-LoginAuthorizedEntityExcludedAssetIdsList ] + [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a Connect User Access Configuration in Settings + +## EXAMPLES + +### Example 1: Create User Access Config +```powershell +$users = Get-ZNSettingsConnectUserAccessConfigCandidate | Where {$_.Name -eq 'zero'} +$destinations = Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate | where {$_.Name -eq 'Internal subnets'} +New-ZNSettingsConnectUserAccessConfig -DstEntityIdsList @($destinations.id) -MembersIdsList @($users.id) -Name UAC -SessionTtlHours 168 +``` + +This cmldet creates a User Access Config for Connect. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowedRegions +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConnectivityStateAfterReboot +dictionary: * `1` Previous connectivity state * `2` Connected (Always-on) * `3` Disconnected * `4` Signed out + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstEntityIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForceSsoAuthentication +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityAllowedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityAllowedAssetsSourcesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityAllowedUsersIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityExcludedUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SessionTtlHours +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNSettingsIdp.md b/help/zeronetworks/New-ZNSettingsIdp.md new file mode 100644 index 0000000..9221935 --- /dev/null +++ b/help/zeronetworks/New-ZNSettingsIdp.md @@ -0,0 +1,169 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsidp +schema: 2.0.0 +--- + +# New-ZNSettingsIdp + +## SYNOPSIS +Create an identity provider settings in Identity Providers + +## SYNTAX + +``` +New-ZNSettingsIdp [-AccountName ] [-Certificate ] [-IdentityProvider ] [-IsDefault] + [-SloUrl ] [-SsoUrl ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create an identity provider settings in Identity Providers + +## EXAMPLES + +### Example 1: Create an IDP setting +```powershell +New-ZNSettingsIdp -Certificate "certificatestring" -IdentityProvider azure -IsDefault -SloUrl "https://login.microsoftonline.com/4bbf96f1-7cc5-4711-84cd-f16ba41265456/saml2" -SsoUrl "https://login.microsoftonline.com/4bbf96f1-7cc5-4711-84cd-f16ba4126456/saml2" +``` + +This cmdlet create an Idp Setting. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Certificate +Identity Provider certificate + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProvider +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsDefault +Set as the default authentication method + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SloUrl +Single Log out url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SsoUrl +Single sign on url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsIdp + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNSettingsMaintenanceWindow.md b/help/zeronetworks/New-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..b6f92a1 --- /dev/null +++ b/help/zeronetworks/New-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,169 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsmaintenancewindow +schema: 2.0.0 +--- + +# New-ZNSettingsMaintenanceWindow + +## SYNOPSIS +Returns the maintenance window properties + +## SYNTAX + +``` +New-ZNSettingsMaintenanceWindow [-AccountName ] [-IsDefault] [-Name ] [-StartTime ] + [-Weekday ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the maintenance window properties + +## EXAMPLES + +### Example 1: Create a maintenance window +```powershell +New-ZNSettingsMaintenanceWindow -IsDefault:$false -Name "MaintWindow" -StartTime 1 -Weekday 1 +``` + +```output +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +ItemCreatedAt : 1728096395670 +ItemId : e:m:pszG5Dda +ItemIsDefault : False +ItemName : MaintWindow +ItemStartTime : 1 +ItemUpdatedAt : 1728096395670 +ItemWeekday : 1 +UpdatedById : +UpdatedByName : +``` + +This cmdlet create a new maintenance window. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsDefault +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTime +0-24 in UTC. +1 would be 01:00-02:00UTC + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Weekday +Sunday is 1, Saturday is 7 + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IMaintenanceWindowItem + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNProtectionPolicy.md b/help/zeronetworks/New-ZNSettingsMfaCache.md similarity index 64% rename from src/ZN/docs/New-ZNProtectionPolicy.md rename to help/zeronetworks/New-ZNSettingsMfaCache.md index ca66df8..8fe4c39 100644 --- a/src/ZN/docs/New-ZNProtectionPolicy.md +++ b/help/zeronetworks/New-ZNSettingsMfaCache.md @@ -1,41 +1,44 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znprotectionpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsmfacache schema: 2.0.0 --- -# New-ZNProtectionPolicy +# New-ZNSettingsMfaCache ## SYNOPSIS -Returns the protection policy that was created. +Creates a MFA Cache Policy. ## SYNTAX ``` -New-ZNProtectionPolicy -GroupId -InitialQueueDays -NewMembersLearningDays - [-Description ] [-Confirm] [-WhatIf] [] +New-ZNSettingsMfaCache -AssetLimit -EntityId -TtlMinutes [-AccountName ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Returns the protection policy that was created. +Creates a MFA Cache Policy. ## EXAMPLES -### Example 1: Create a protection policy +### Example 1: Create a MFA cache policy ```powershell -# There are multiple groups with Domain Controllers in the name -$group = Get-ZNADGroup -Search "Domain Controllers" | where {$_.Name -eq "Domain Controllers"} -New-ZNProtectionPolicy -GroupId $group.Id -MinQueueDays 30 -InitialQueueDays 30 +New-ZNSettingsMfaCache -AssetLimit 10 -EntityId u:d:2HOfhbpY -TtlMinutes 400 ``` -This cmdlet will create a new protection policy in the environment. -In the above example, AD contains multiple groups with Domain Controllers in the name, PowerShell filtering can easily be used inline. +```output +ItemAssetLimit ItemEntityId ItemTtlMinutes +-------------- ------------ -------------- + 10 u:d:2HOfhbpY 400 +``` + +This cmdlet creates a MFA cache policy. ## PARAMETERS -### -Description -. +### -AccountName +this value is per customer / partner ```yaml Type: System.String @@ -44,16 +47,16 @@ Aliases: Required: False Position: Named -Default value: None +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] Accept pipeline input: False Accept wildcard characters: False ``` -### -GroupId +### -AssetLimit . ```yaml -Type: System.String +Type: System.Int32 Parameter Sets: (All) Aliases: @@ -64,11 +67,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -InitialQueueDays +### -EntityId . ```yaml -Type: System.Int32 +Type: System.String Parameter Sets: (All) Aliases: @@ -79,7 +82,7 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -NewMembersLearningDays +### -TtlMinutes . ```yaml @@ -134,7 +137,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError -### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaCacheItem ## NOTES diff --git a/help/zeronetworks/New-ZNSettingsPushNotification.md b/help/zeronetworks/New-ZNSettingsPushNotification.md new file mode 100644 index 0000000..f868825 --- /dev/null +++ b/help/zeronetworks/New-ZNSettingsPushNotification.md @@ -0,0 +1,236 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingspushnotification +schema: 2.0.0 +--- + +# New-ZNSettingsPushNotification + +## SYNOPSIS +Create an push notifications settings + +## SYNTAX + +### CreateExpanded (Default) +``` +New-ZNSettingsPushNotification -PushIdentityProviderId [-AccountName ] [-Host ] + [-Id ] [-IdentityProvider ] [-SecretKey ] [-Confirm] [-WhatIf] [] +``` + +### CreateDuo +``` +New-ZNSettingsPushNotification -PushIdentityProviderId -ApiHostname -IntegrationKey + -SecretKey [] +``` + +### CreateMSFT +``` +New-ZNSettingsPushNotification -PushIdentityProviderId -SecretKey -TenantId + [] +``` + +## DESCRIPTION +Create an push notifications settings + +## EXAMPLES + +### Example 1: Configure Microsoft Authenticator Push notifications +```powershell +New-ZNSettingsPushNotification -PushIdentityProviderId microsoftAuthenticator -SecretKey "mySecretKey" -TenantId "myTenantId" +``` + +This cmdlet creates a Microsoft Authenticator push notifications settings. + +### Example 2: Configure Duo Push notifications +```powershell +New-ZNSettingsPushNotification -PushIdentityProviderId duo -SecretKey "mySecretKey" -ApiHostname "api-12345.duosecurity.com" -IntegrationKey "myIntegrationKey" +``` + +This cmdlet creates a Duo push notifications settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ApiHostname +Api Hostname + +```yaml +Type: System.String +Parameter Sets: CreateDuo +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Host +empty for microsoftAuthentictor + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProvider +. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IntegrationKey +Integration Key + +```yaml +Type: System.String +Parameter Sets: CreateDuo +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PushIdentityProviderId +Push Identity provider Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretKey +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TenantId +TenantId + +```yaml +Type: System.String +Parameter Sets: CreateMSFT +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsPushNotifications + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNUserExternalAccessPolicy.md b/help/zeronetworks/New-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..fd8cb6d --- /dev/null +++ b/help/zeronetworks/New-ZNUserExternalAccessPolicy.md @@ -0,0 +1,283 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znuserexternalaccesspolicy +schema: 2.0.0 +--- + +# New-ZNUserExternalAccessPolicy + +## SYNOPSIS +Returns a the external access policy + +## SYNTAX + +``` +New-ZNUserExternalAccessPolicy -UserId -DstAssetId -DstPortsList + -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList + [-AccountName ] [-Description ] [-State ] [-Url ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the external access policy + +## EXAMPLES + +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNUserExternalAccessPolicy -UserId $srcUser.Id -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNUserIdentityRule.md b/help/zeronetworks/New-ZNUserIdentityRule.md new file mode 100644 index 0000000..b876f78 --- /dev/null +++ b/help/zeronetworks/New-ZNUserIdentityRule.md @@ -0,0 +1,233 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znuseridentityrule +schema: 2.0.0 +--- + +# New-ZNUserIdentityRule + +## SYNOPSIS +Returns a the identity segmentation rule. + +## SYNTAX + +``` +New-ZNUserIdentityRule -UserId -Action -AssetId + -IdentityProtectionCategoryList -State -UserIdsList [-AccountName ] + [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the identity segmentation rule. + +## EXAMPLES + +### Example 1: Create an identity rule +```powershell +$group = Get-ZNGroup -Search "domain controllers" | where {$_.Id -like "g:t:*"} +$user = (Get-ZNUser -Search zero).Items | where {$_.name -eq "zero"} +New-ZNUserIdentityRule -UserId $user.Id -Action 1 -AssetId $group.Id -Description "test" -IdentityProtectionCategoryList 5 -State 1 -UserIdsList @($user.Id) +``` + +This cmdlet creates an identity rule for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +1 - Allow, 2 - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +1 - Enabled, 2 - Disabled + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityRuleItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/New-ZNUserMfaIdentityPolicy.md b/help/zeronetworks/New-ZNUserMfaIdentityPolicy.md new file mode 100644 index 0000000..6020067 --- /dev/null +++ b/help/zeronetworks/New-ZNUserMfaIdentityPolicy.md @@ -0,0 +1,358 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znusermfaidentitypolicy +schema: 2.0.0 +--- + +# New-ZNUserMfaIdentityPolicy + +## SYNOPSIS +Returns the properties of the identity MFA policy after creation. + +## SYNTAX + +``` +New-ZNUserMfaIdentityPolicy -UserId -DstAssetId -FallbackToSingleLoggedOnUser + -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration + -SrcAssetIdsList -SrcUserIdsList -State [-AccountName ] + [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the properties of the identity MFA policy after creation. + +## EXAMPLES + +### Example 1: Create an Identity MFA Policy +```powershell +$group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} +$source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items +$user = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "zero").items | where {$_.Name -eq "zero"} +New-ZNUserMfaIdentityPolicy -UserId $user.id -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($user.id) -State 1 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1713403659128 +ItemDescription : +ItemDstAssetId : g:t:01669ce2 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : True +ItemId : b210c971-6d98-4b75-ae35-d2b8266d74fa +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {u:a:jRVryncp} +ItemSrcUserInfos : {zero} +ItemState : 1 +ItemUpdatedAt : 1713403659128 +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedDstAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtraIdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToSingleLoggedOnUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethodsList +. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdentityReactivePolicyItem + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Protect-ZNAssetIdentity.md b/help/zeronetworks/Protect-ZNAssetIdentity.md similarity index 78% rename from src/ZN/docs/Protect-ZNAssetIdentity.md rename to help/zeronetworks/Protect-ZNAssetIdentity.md index 8fc7057..c5fb056 100644 --- a/src/ZN/docs/Protect-ZNAssetIdentity.md +++ b/help/zeronetworks/Protect-ZNAssetIdentity.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/protect-znassetidentity +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetidentity schema: 2.0.0 --- @@ -14,12 +14,12 @@ Returns and empty object. ### Protect1 (Default) ``` -Protect-ZNAssetIdentity -AssetId [-Confirm] [-WhatIf] [] +Protect-ZNAssetIdentity -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] ``` ### ProtectExpanded ``` -Protect-ZNAssetIdentity -Items [-Confirm] [-WhatIf] [] +Protect-ZNAssetIdentity -Items [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -44,6 +44,21 @@ This cmdlet adds multiple assets to identity segmentation. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/help/zeronetworks/Protect-ZNAssetIdentitySegment.md b/help/zeronetworks/Protect-ZNAssetIdentitySegment.md new file mode 100644 index 0000000..f197dc1 --- /dev/null +++ b/help/zeronetworks/Protect-ZNAssetIdentitySegment.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetidentitysegment +schema: 2.0.0 +--- + +# Protect-ZNAssetIdentitySegment + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### Protect (Default) +``` +Protect-ZNAssetIdentitySegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ProtectExpanded +``` +Protect-ZNAssetIdentitySegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Add an asset to identity segmentation +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Protect-ZNAssetIdentitySegment -AssetId $asset +``` + +This cmdlet adds an asset to identity segmentation. + +### Example 2: Add multiple assets to identity segmentation +```powershell +Protect-ZNAssetIdentitySegment -Items @("assetid","assetId") +``` + +This cmdlet adds multiple assets to identity segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Protect +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ProtectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Protect-ZNAssetNetworkSegment.md b/help/zeronetworks/Protect-ZNAssetNetworkSegment.md new file mode 100644 index 0000000..06467d0 --- /dev/null +++ b/help/zeronetworks/Protect-ZNAssetNetworkSegment.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetnetworksegment +schema: 2.0.0 +--- + +# Protect-ZNAssetNetworkSegment + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### Protect (Default) +``` +Protect-ZNAssetNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ProtectExpanded +``` +Protect-ZNAssetNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Move a single asset to network segmented +```powershell +Protect-ZNAssetNetworkSegment -Items "a:a:ZgBWOMyc" +``` + +This cmdlet will move an asset from learning to segemented in the envrionment. + +### Example 2: Move all assets in learning to segmented +```powershell +Protect-ZNAssetNetworkSegment -Items ((Get-ZNAssetsNetworkQueued).Items.Id) +``` + +This sample will move all assets currently in learning to segmented. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Protect +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ProtectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Protect-ZNAssetOtNetworkSegment.md b/help/zeronetworks/Protect-ZNAssetOtNetworkSegment.md new file mode 100644 index 0000000..5fb5b14 --- /dev/null +++ b/help/zeronetworks/Protect-ZNAssetOtNetworkSegment.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetotnetworksegment +schema: 2.0.0 +--- + +# Protect-ZNAssetOtNetworkSegment + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### Protect (Default) +``` +Protect-ZNAssetOtNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ProtectExpanded +``` +Protect-ZNAssetOtNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Move a single asset to network segmented +```powershell +Protect-ZNAssetOtNetworkSegment -Items "a:a:ZgBWOMyc" +``` + +This cmdlet will move an asset from learning to segemented in the envrionment. + +### Example 2: Move all assets in learning to segmented +```powershell +Protect-ZNAssetOtNetworkSegment -Items ((Get-ZNAssetsNetworkQueued).Items.Id) +``` + +This sample will move all assets currently in learning to segmented. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Protect +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ProtectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Protect-ZNAssetRpcSegment.md b/help/zeronetworks/Protect-ZNAssetRpcSegment.md new file mode 100644 index 0000000..cc706a5 --- /dev/null +++ b/help/zeronetworks/Protect-ZNAssetRpcSegment.md @@ -0,0 +1,136 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetrpcsegment +schema: 2.0.0 +--- + +# Protect-ZNAssetRpcSegment + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### ProtectExpanded (Default) +``` +Protect-ZNAssetRpcSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +### ProtectExpanded1 +``` +Protect-ZNAssetRpcSegment -Items [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Add assets to RPC Segmentation +```powershell +Protect-ZNAssetRpcSegment -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet adds multiple assets to RPC segmentation. + +### Example 1: Add an asset to RPC Segmentation +```powershell +Protect-ZNAssetRpcSegment -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet adds an asset to RPC segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: ProtectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ProtectExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Protect-ZNUserIdentity.md b/help/zeronetworks/Protect-ZNUserIdentity.md similarity index 76% rename from src/ZN/docs/Protect-ZNUserIdentity.md rename to help/zeronetworks/Protect-ZNUserIdentity.md index 703b12b..d8e9b42 100644 --- a/src/ZN/docs/Protect-ZNUserIdentity.md +++ b/help/zeronetworks/Protect-ZNUserIdentity.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/protect-znuseridentity +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znuseridentity schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns and empty object. ## SYNTAX ``` -Protect-ZNUserIdentity -UserIds [-Confirm] [-WhatIf] [] +Protect-ZNUserIdentity -UserIds [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +30,21 @@ This cmdlet moves a service account from learning to segmented. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -UserIds . diff --git a/help/zeronetworks/Protect-ZNUserIdentitySegment.md b/help/zeronetworks/Protect-ZNUserIdentitySegment.md new file mode 100644 index 0000000..0527f37 --- /dev/null +++ b/help/zeronetworks/Protect-ZNUserIdentitySegment.md @@ -0,0 +1,109 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znuseridentitysegment +schema: 2.0.0 +--- + +# Protect-ZNUserIdentitySegment + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Protect-ZNUserIdentitySegment -UserIds [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Segment a service account +```powershell +Protect-ZNUserIdentitySegment -UserIds @("u:a:mACDNWcW") +``` + +This cmdlet moves a service account from learning to segmented. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/README.md b/help/zeronetworks/README.md new file mode 100644 index 0000000..3eb12ac --- /dev/null +++ b/help/zeronetworks/README.md @@ -0,0 +1,11 @@ +# Docs +This directory contains the documentation of the cmdlets for the `ZeroNetworks` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `../examples` folder. + +## Info +- Modifiable: no +- Generated: all +- Committed: yes +- Packaged: yes + +## Details +The process of documentation generation loads `ZeroNetworks` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `../exports` folder. Additionally, when writing custom cmdlets in the `../custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `../examples` folder. \ No newline at end of file diff --git a/help/zeronetworks/Read-ZNJWTtoken.md b/help/zeronetworks/Read-ZNJWTtoken.md new file mode 100644 index 0000000..8dcd5dc --- /dev/null +++ b/help/zeronetworks/Read-ZNJWTtoken.md @@ -0,0 +1,73 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/read-znjwttoken +schema: 2.0.0 +--- + +# Read-ZNJWTtoken + +## SYNOPSIS + + +## SYNTAX + +``` +Read-ZNJWTtoken [-token] [] +``` + +## DESCRIPTION + + +## EXAMPLES + +### Example 1: Decode a token +```powershell +Read-ZNJWTtoken -token eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtOmI1NTM3ZGY1OTA4MDA2NDMzMDBjNjMxOWJkNWM2MDE4YjI1NDRhOWMiLCJuYW1lIjoiZmVmZXd3ZGUiLCJlaWQiOiJjZDM4NDQ3MC05MGRmLTQ2MTgtYjIxOS0xMDAzZjc2NjljZTIiLCJzY29wZSI6NSwiZV9uYW1lIjoiUG93ZXJzaGVsbFRlc3RpbmciLCJ2IjoxLCJpYXQiOjE3MjYwNzM2ODAsImV4cCI6MTc4OTE0NTY4MCwiYXVkIjoicG9ydGFsLnplcm9uZXR3b3Jrcy5jb20iLCJpc3MiOiJ6ZXJvbmV0d29ya3MuY29tL2FwaS92MS9hY2Nlc3MtdG9rZW4ifQ.fFT1_FyBpS7wdrcj-q56hPLPc8BnxYg6ezzVnkBlj-A26gGMQtxoBZn5zfkaqiEryfVyt8qZqRugxvAaK7MYEzJPsFDIrivROSYIWYQJhX2U3Dmi9UPs0ZP3L1jYHOlpYkaqUp0akEdxXpAZLvXN6ncEyWNq3U87ynNDOa5U6Pa8EHlLMk0DML213h6F-yrqRmPD-Z0ABkJv3DSgugBwphN-9R-Sn_P7s0Gd4m5PtNGyXpLygTUFSe-XJ9kQZcZ7Zza3VdeJg1-5xrZcXgmlA85X0rbTqzr15wkwKiT2nYfPgZ2b6pt_P2ztGITwlQnQt24gykEYD4_pAq_yAf7EDA +``` + +```output +sub : m:b5537df590800643300c6319bd5c6018b2544a9c +name : fefewwde +eid : cd384470-90df-4618-b219-1003f7669ce2 +scope : 5 +e_name : PowershellTesting +v : 1 +iat : 1726073680 +exp : 1789145680 +aud : portal.zeronetworks.com +iss : zeronetworks.com/api/v1/access-token +``` + +This cmdlet decodes a token. + +## PARAMETERS + +### -token + + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Object + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAeExclusionsInbound.md b/help/zeronetworks/Remove-ZNAeExclusionsInbound.md new file mode 100644 index 0000000..d7861f3 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAeExclusionsInbound.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znaeexclusionsinbound +schema: 2.0.0 +--- + +# Remove-ZNAeExclusionsInbound + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAeExclusionsInbound -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete an AE exclusion +```powershell +Remove-ZNAeExclusionsInbound -RuleId 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +``` + +This cmdlet deletes an AE exclusion. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAeExclusionsOutbound.md b/help/zeronetworks/Remove-ZNAeExclusionsOutbound.md new file mode 100644 index 0000000..55d39e7 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAeExclusionsOutbound.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znaeexclusionsoutbound +schema: 2.0.0 +--- + +# Remove-ZNAeExclusionsOutbound + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAeExclusionsOutbound -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete an AE exclusion +```powershell +Remove-ZNAeExclusionsOutbound -RuleId 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +``` + +This cmdlet deletes an AE exclusion. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNApiKey.md b/help/zeronetworks/Remove-ZNApiKey.md new file mode 100644 index 0000000..7f8d272 --- /dev/null +++ b/help/zeronetworks/Remove-ZNApiKey.md @@ -0,0 +1,77 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znapikey +schema: 2.0.0 +--- + +# Remove-ZNApiKey + +## SYNOPSIS +Deletes the API key + +## SYNTAX + +``` +Remove-ZNApiKey [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes the API Key + +#.Link +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znapikey + +## EXAMPLES + +### Example 1: Delete the Api Key to be used +```powershell +Remove-ZNApiKey +``` + +This cmdlet will delete the api key. + +## PARAMETERS + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetExternalAccessPolicy.md b/help/zeronetworks/Remove-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..f2d2555 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetexternalaccesspolicy +schema: 2.0.0 +--- + +# Remove-ZNAssetExternalAccessPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetExternalAccessPolicy -AssetId -PolicyId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an external access policy +```powershell +Remove-ZNExternalAccessPolicy -PolicyId p:e:9NfK8zpm +``` + +This cmdlet deletes an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetIdentityRule.md b/help/zeronetworks/Remove-ZNAssetIdentityRule.md new file mode 100644 index 0000000..b43a596 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetIdentityRule.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetidentityrule +schema: 2.0.0 +--- + +# Remove-ZNAssetIdentityRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetIdentityRule -AssetId -RuleId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete identity rule +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Remove-ZNAssetIdentityRule -AssetId $asset -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an identity rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetInboundRule.md b/help/zeronetworks/Remove-ZNAssetInboundRule.md new file mode 100644 index 0000000..618b095 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetInboundRule.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetinboundrule +schema: 2.0.0 +--- + +# Remove-ZNAssetInboundRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetInboundRule -AssetId -RuleId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete inbound rule +```powershell +$asset = (Search-ZNAsset -Fqdn wc01.posh.local).AssetId +Remove-ZNAssetInboundRule -AssetId $asset -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an inbound rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetManager.md b/help/zeronetworks/Remove-ZNAssetManager.md new file mode 100644 index 0000000..a0aeef7 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetManager.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetmanager +schema: 2.0.0 +--- + +# Remove-ZNAssetManager + +## SYNOPSIS +Remove an asset manager of asset + +## SYNTAX + +``` +Remove-ZNAssetManager -AssetId -GroupOrUserId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Remove an asset manager of asset + +## EXAMPLES + +### Example 1: Delete an asset manager from an asset +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Remove-ZNAssetManager -AssetId $asset -GroupOrUserId "u:a:Tolw5kf6" +``` + +This cmdlet deletes and asset manager from an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupOrUserId +group or user id to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetMfaIdentityPolicy.md b/help/zeronetworks/Remove-ZNAssetMfaIdentityPolicy.md new file mode 100644 index 0000000..077b8fa --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetMfaIdentityPolicy.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetmfaidentitypolicy +schema: 2.0.0 +--- + +# Remove-ZNAssetMfaIdentityPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete identity MFA policy +```powershell +$asset = (Search-ZNAsset -Fqdn wc01.posh.local).AssetId +Remove-ZNAssetMfaIdentityPolicy -AssetId $asset -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetMfaInboundPolicy.md b/help/zeronetworks/Remove-ZNAssetMfaInboundPolicy.md new file mode 100644 index 0000000..386fa5f --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetMfaInboundPolicy.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetmfainboundpolicy +schema: 2.0.0 +--- + +# Remove-ZNAssetMfaInboundPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete inbound MFA policy +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Remove-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId 32883779-ccfc-42ea-90d4-a735ca622821 +``` + +This cmdlet deletes an inbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetMfaOutboundPolicy.md b/help/zeronetworks/Remove-ZNAssetMfaOutboundPolicy.md new file mode 100644 index 0000000..1c2ed24 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetMfaOutboundPolicy.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetmfaoutboundpolicy +schema: 2.0.0 +--- + +# Remove-ZNAssetMfaOutboundPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete outbound MFA policy +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +Remove-ZNAssetMfaOutboundPolicy -AssetId $otAsset.id -ReactivePolicyId 32951fee-7f70-4974-b90d-c50182bbdeb3 +``` + +This cmdlet deletes an outbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetOtAssetManager.md b/help/zeronetworks/Remove-ZNAssetOtAssetManager.md new file mode 100644 index 0000000..d9092f3 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetOtAssetManager.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetotassetmanager +schema: 2.0.0 +--- + +# Remove-ZNAssetOtAssetManager + +## SYNOPSIS +Remove an asset manager of asset + +## SYNTAX + +``` +Remove-ZNAssetOtAssetManager -AssetId -GroupOrUserId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Remove an asset manager of asset + +## EXAMPLES + +### Example 1: Delete an asset manager from an asset +```powershell +$otasset = Get-ZNAssetsOt | where {$_.Fqdn -eq "ot1777"} +Remove-ZNAssetOtManager -AssetId $otasset.Id -GroupOrUserId "u:a:X2inJbQY" +``` + +This cmdlet deletes and asset manager from an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupOrUserId +group or user id to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetOutboundRule.md b/help/zeronetworks/Remove-ZNAssetOutboundRule.md new file mode 100644 index 0000000..f0ec6d4 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetOutboundRule.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetoutboundrule +schema: 2.0.0 +--- + +# Remove-ZNAssetOutboundRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetOutboundRule -AssetId -RuleId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete outbound rule +```powershell +$asset = (Search-ZNAsset -Fqdn wc01.posh.local).AssetId +Remove-ZNAssetOutboundRule -AssetId $asset -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an outbound rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetRpcMonitoring.md b/help/zeronetworks/Remove-ZNAssetRpcMonitoring.md new file mode 100644 index 0000000..ee05ac5 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetRpcMonitoring.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetrpcmonitoring +schema: 2.0.0 +--- + +# Remove-ZNAssetRpcMonitoring + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### Delete (Default) +``` +Remove-ZNAssetRpcMonitoring -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### DeleteExpanded +``` +Remove-ZNAssetRpcMonitoring -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove assets to RPC Monitoring +```powershell +Remove-ZNAssetRpcMonitoring -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet removes multiple assets to RPC monitoring. + +### Example 1: Remove an asset to RPC Monitoring +```powershell +Remove-ZNAssetRpcMonitoring -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet removes an asset to RPC monitoring. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: DeleteExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNAssetRpcRule.md b/help/zeronetworks/Remove-ZNAssetRpcRule.md new file mode 100644 index 0000000..673c030 --- /dev/null +++ b/help/zeronetworks/Remove-ZNAssetRpcRule.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetrpcrule +schema: 2.0.0 +--- + +# Remove-ZNAssetRpcRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetRpcRule -AssetId -RuleId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove a RPC rule for a specific asset +```powershell +Remove-ZNAssetRpcRule -AssetId 'a:t:gN2vxSX1' -RuleId '52aca064-88c2-4582-b159-1c5f7f0d0aae' +``` + +This cmdlet deletes a RPC rule for a specific asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNAssetRpcSegment.md b/help/zeronetworks/Remove-ZNAssetRpcSegment.md similarity index 81% rename from src/ZN/docs/Remove-ZNAssetRpcSegment.md rename to help/zeronetworks/Remove-ZNAssetRpcSegment.md index a7e9a06..aec8fa4 100644 --- a/src/ZN/docs/Remove-ZNAssetRpcSegment.md +++ b/help/zeronetworks/Remove-ZNAssetRpcSegment.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetrpcsegment +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetrpcsegment schema: 2.0.0 --- @@ -12,14 +12,8 @@ Returns and empty object. ## SYNTAX -### DeleteExpanded (Default) ``` -Remove-ZNAssetRpcSegment -Items [-Confirm] [-WhatIf] [] -``` - -### DeleteExpanded1 -``` -Remove-ZNAssetRpcSegment -AssetId [-Confirm] [-WhatIf] [] +Remove-ZNAssetRpcSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -43,27 +37,27 @@ This cmdlet removes an asset from RPC segmentation. ## PARAMETERS -### -AssetId -assetId to filter on +### -AccountName +this value is per customer / partner ```yaml Type: System.String -Parameter Sets: DeleteExpanded1 +Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named -Default value: None +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] Accept pipeline input: False Accept wildcard characters: False ``` -### -Items -. +### -AssetId +assetId to filter on ```yaml -Type: System.String[] -Parameter Sets: DeleteExpanded +Type: System.String +Parameter Sets: (All) Aliases: Required: True diff --git a/help/zeronetworks/Remove-ZNCustomGroup.md b/help/zeronetworks/Remove-ZNCustomGroup.md new file mode 100644 index 0000000..28251ea --- /dev/null +++ b/help/zeronetworks/Remove-ZNCustomGroup.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zncustomgroup +schema: 2.0.0 +--- + +# Remove-ZNCustomGroup + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNCustomGroup -GroupId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete a custom group +```powershell +Remove-ZNCustomGroup -GroupId "g:c:eIj5XC45" +``` + +This cmdlet deletes a custom group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNCustomGroupsMember.md b/help/zeronetworks/Remove-ZNCustomGroupsMember.md new file mode 100644 index 0000000..7115300 --- /dev/null +++ b/help/zeronetworks/Remove-ZNCustomGroupsMember.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zncustomgroupsmember +schema: 2.0.0 +--- + +# Remove-ZNCustomGroupsMember + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNCustomGroupsMember -GroupId -MembersId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove a member of a custom group +```powershell +Remove-ZNCustomGroupsMember -GroupId "g:c:gP9POclU" -MembersId "a:a:GnyWAsYs" +``` + +This cmdlet removes a member from a custom group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MembersId +members id + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNExternalAccessPolicy.md b/help/zeronetworks/Remove-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..9ff6eff --- /dev/null +++ b/help/zeronetworks/Remove-ZNExternalAccessPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znexternalaccesspolicy +schema: 2.0.0 +--- + +# Remove-ZNExternalAccessPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNExternalAccessPolicy -PolicyId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an external access policy +```powershell +Remove-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:9NfK8zpm +``` + +This cmdlet deletes an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsAssetManager.md b/help/zeronetworks/Remove-ZNGroupsAssetManager.md new file mode 100644 index 0000000..36ccfa5 --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsAssetManager.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsassetmanager +schema: 2.0.0 +--- + +# Remove-ZNGroupsAssetManager + +## SYNOPSIS +Remove asset manager of group + +## SYNTAX + +``` +Remove-ZNGroupsAssetManager -GroupId -GroupOrUserId -GroupType + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Remove asset manager of group + +## EXAMPLES + +### Example 1: Delete an asset manager from a group +```powershell +Remove-ZNGroupsAssetManager -Groupid g:t:01445453 -GroupOrUserId g:a:cai6Wuyd -GroupType tag +``` + +This cmdlet deletes an asset manager from a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupOrUserId +group or user id to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsExternalAccessPolicy.md b/help/zeronetworks/Remove-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..7b0bdbe --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsexternalaccesspolicy +schema: 2.0.0 +--- + +# Remove-ZNGroupsExternalAccessPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsExternalAccessPolicy -GroupId -GroupType -PolicyId + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an external access policy +```powershell +Remove-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag -PolicyId p:e:9NfK8zpm +``` + +This cmdlet deletes an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsIdentityRule.md b/help/zeronetworks/Remove-ZNGroupsIdentityRule.md new file mode 100644 index 0000000..d281d0b --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsIdentityRule.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsidentityrule +schema: 2.0.0 +--- + +# Remove-ZNGroupsIdentityRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete identity rule +```powershell +$group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.Id -like "g:t:*"} +Remove-ZNGroupsIdentityRule -GroupId $group.id -GroupType tag -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an identity rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsInboundRule.md b/help/zeronetworks/Remove-ZNGroupsInboundRule.md new file mode 100644 index 0000000..e93c3f7 --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsInboundRule.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsinboundrule +schema: 2.0.0 +--- + +# Remove-ZNGroupsInboundRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete inbound rule +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} +Remove-ZNGroupsInboundRule -GroupId $group.Id -GroupType tag -RuleId 64a9dbab-417f-48b4-9fcc-8334c7fd354f +``` + +This cmdlet deletes an inbound rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsManagedAsset.md b/help/zeronetworks/Remove-ZNGroupsManagedAsset.md new file mode 100644 index 0000000..e9506be --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsManagedAsset.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsmanagedasset +schema: 2.0.0 +--- + +# Remove-ZNGroupsManagedAsset + +## SYNOPSIS +Remove managed asset of group + +## SYNTAX + +``` +Remove-ZNGroupsManagedAsset -GroupId -GroupOrAssetId -GroupType + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Remove managed asset of group + +## EXAMPLES + +### Example 1: Delete managed asset from group +```powershell +Remove-ZNGroupsManagedAsset -GroupId g:t:01445453 -GroupType tag -GroupOrAssetId a:a:8ErCHXe8 +``` + +This cmdlet deletes a managed asset from a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupOrAssetId +group or asset id to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsMfaIdentityPolicy.md b/help/zeronetworks/Remove-ZNGroupsMfaIdentityPolicy.md new file mode 100644 index 0000000..4b43813 --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsMfaIdentityPolicy.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsmfaidentitypolicy +schema: 2.0.0 +--- + +# Remove-ZNGroupsMfaIdentityPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete identity MFA policy +```powershell +$group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} +Remove-ZNGroupsMfaIdentityPolicy -GroupId $group.Id -GroupType tag -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsMfaInboundPolicy.md b/help/zeronetworks/Remove-ZNGroupsMfaInboundPolicy.md new file mode 100644 index 0000000..0a2c456 --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsMfaInboundPolicy.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsmfainboundpolicy +schema: 2.0.0 +--- + +# Remove-ZNGroupsMfaInboundPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete intbound MFA policy +```powershell + $group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} + Remove-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId 32951fee-7f70-4974-b90d-c50182bbdeb3 +``` + +This cmdlet deletes an outbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsMfaOutboundPolicy.md b/help/zeronetworks/Remove-ZNGroupsMfaOutboundPolicy.md new file mode 100644 index 0000000..f5c5150 --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsMfaOutboundPolicy.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsmfaoutboundpolicy +schema: 2.0.0 +--- + +# Remove-ZNGroupsMfaOutboundPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete outbound MFA policy +```powershell + $group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} + Remove-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId 32951fee-7f70-4974-b90d-c50182bbdeb3 +``` + +This cmdlet deletes an outbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsOutboundRule.md b/help/zeronetworks/Remove-ZNGroupsOutboundRule.md new file mode 100644 index 0000000..986575a --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsOutboundRule.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsoutboundrule +schema: 2.0.0 +--- + +# Remove-ZNGroupsOutboundRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete outbound rule +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} +Remove-ZNGroupsOutboundRule -GroupId $group.Id -GroupType tag -RuleId 64a9dbab-417f-48b4-9fcc-8334c7fd354f +``` + +This cmdlet deletes an outbound rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNGroupsRpcRule.md b/help/zeronetworks/Remove-ZNGroupsRpcRule.md new file mode 100644 index 0000000..c56bf85 --- /dev/null +++ b/help/zeronetworks/Remove-ZNGroupsRpcRule.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsrpcrule +schema: 2.0.0 +--- + +# Remove-ZNGroupsRpcRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove a RPC rule for a specific group +```powershell +Remove-ZNGroupsRpcRule -GroupType tag -GroupId 'g:t:01669ce2' -RuleId '52aca064-88c2-4582-b159-1c5f7f0d0aae' +``` + +This cmdlet deletes a RPC rule for a specific group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNIdentityOnboardingPolicy.md b/help/zeronetworks/Remove-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..83d3635 --- /dev/null +++ b/help/zeronetworks/Remove-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znidentityonboardingpolicy +schema: 2.0.0 +--- + +# Remove-ZNIdentityOnboardingPolicy + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Remove-ZNIdentityOnboardingPolicy -OnboardingPolicyId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Delete an identity onboarding policy +```powershell +Remove-ZNIdentityOnboardingPolicy -OnboardingPolicyId 97fa4e50-c665-44e9-8261-d07c543d9d80 +``` + +This cmdlet deletes an identity onboarding policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OnboardingPolicyId +The id of the onboarding policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNIdentityRule.md b/help/zeronetworks/Remove-ZNIdentityRule.md new file mode 100644 index 0000000..7a1b5b2 --- /dev/null +++ b/help/zeronetworks/Remove-ZNIdentityRule.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znidentityrule +schema: 2.0.0 +--- + +# Remove-ZNIdentityRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNIdentityRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete identity rule +```powershell +Remove-ZNAssetIdentityRule -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an identity rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNInboundRule.md b/help/zeronetworks/Remove-ZNInboundRule.md new file mode 100644 index 0000000..bf06f1f --- /dev/null +++ b/help/zeronetworks/Remove-ZNInboundRule.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zninboundrule +schema: 2.0.0 +--- + +# Remove-ZNInboundRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNInboundRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete inbound rule +```powershell +Remove-ZNInboundRule -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an inbound rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNMfaIdentityPolicy.md b/help/zeronetworks/Remove-ZNMfaIdentityPolicy.md new file mode 100644 index 0000000..765c0b4 --- /dev/null +++ b/help/zeronetworks/Remove-ZNMfaIdentityPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znmfaidentitypolicy +schema: 2.0.0 +--- + +# Remove-ZNMfaIdentityPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNMfaIdentityPolicy -ReactivePolicyId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete identity MFA policy +```powershell +Remove-ZNMfaIdentityPolicy -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNMfaInboundPolicy.md b/help/zeronetworks/Remove-ZNMfaInboundPolicy.md new file mode 100644 index 0000000..f68816e --- /dev/null +++ b/help/zeronetworks/Remove-ZNMfaInboundPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znmfainboundpolicy +schema: 2.0.0 +--- + +# Remove-ZNMfaInboundPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNMfaInboundPolicy -ReactivePolicyId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete inbound MFA policy +```powershell +Remove-ZNMfaInboundPolicy -ReactivePolicyId 8892546f-3d6d-4926-833b-a62430feb2e6 +``` + +This cmdlet deletes an inbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNMfaOutboundPolicy.md b/help/zeronetworks/Remove-ZNMfaOutboundPolicy.md new file mode 100644 index 0000000..edfbdfc --- /dev/null +++ b/help/zeronetworks/Remove-ZNMfaOutboundPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znmfaoutboundpolicy +schema: 2.0.0 +--- + +# Remove-ZNMfaOutboundPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNMfaOutboundPolicy -ReactivePolicyId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete outbound MFA policy +```powershell +Remove-ZNMfaOutboundPolicy -ReactivePolicyId 18936df5-e654-46d3-8106-4af3e59e9fff +``` + +This cmdlet deletes an outbound MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNNetworkOnboardingPolicy.md b/help/zeronetworks/Remove-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..425555f --- /dev/null +++ b/help/zeronetworks/Remove-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znnetworkonboardingpolicy +schema: 2.0.0 +--- + +# Remove-ZNNetworkOnboardingPolicy + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Remove-ZNNetworkOnboardingPolicy -OnboardingPolicyId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Delete an network onboarding policy +```powershell +Remove-ZNNetworkOnboardingPolicy -OnboardingPolicyId 97fa4e50-c665-44e9-8261-d07c543d9d80 +``` + +This cmdlet deletes an network onboarding policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OnboardingPolicyId +The id of the onboarding policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNOtRule.md b/help/zeronetworks/Remove-ZNOtRule.md new file mode 100644 index 0000000..3dbcd68 --- /dev/null +++ b/help/zeronetworks/Remove-ZNOtRule.md @@ -0,0 +1,136 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znotrule +schema: 2.0.0 +--- + +# Remove-ZNOtRule + +## SYNOPSIS +delete rule + +## SYNTAX + +``` +Remove-ZNOtRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +delete rule + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNOutboundRule.md b/help/zeronetworks/Remove-ZNOutboundRule.md new file mode 100644 index 0000000..c949510 --- /dev/null +++ b/help/zeronetworks/Remove-ZNOutboundRule.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znoutboundrule +schema: 2.0.0 +--- + +# Remove-ZNOutboundRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNOutboundRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete outbound rule +```powershell +Remove-ZNOutboundRule -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an outbound rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNRpcRule.md b/help/zeronetworks/Remove-ZNRpcRule.md new file mode 100644 index 0000000..6bb2db2 --- /dev/null +++ b/help/zeronetworks/Remove-ZNRpcRule.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znrpcrule +schema: 2.0.0 +--- + +# Remove-ZNRpcRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNRpcRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove a RPC Rule +```powershell +Remove-ZNRpcRule -RuleId '9d607d06-73cf-4ab6-a9dc-0ccf72e146f3' +``` + +This cmdlet removes a RPC rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsAad.md b/help/zeronetworks/Remove-ZNSettingsAad.md new file mode 100644 index 0000000..edfc1b7 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsAad.md @@ -0,0 +1,93 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsaad +schema: 2.0.0 +--- + +# Remove-ZNSettingsAad + +## SYNOPSIS +Remove Azure AD Settings + +## SYNTAX + +``` +Remove-ZNSettingsAad [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Remove Azure AD Settings + +## EXAMPLES + +### Example 1: Delete AAD settings +```powershell +Remove-ZNSettingsAad +``` + +This cmdlet deletes the AAD settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsAd.md b/help/zeronetworks/Remove-ZNSettingsAd.md new file mode 100644 index 0000000..b4b4b25 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsAd.md @@ -0,0 +1,109 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsad +schema: 2.0.0 +--- + +# Remove-ZNSettingsAd + +## SYNOPSIS +Delete AD forest settings. + +## SYNTAX + +``` +Remove-ZNSettingsAd -ForestId [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete AD forest settings. + +## EXAMPLES + +### Example 1: Delete a forest from AD settings +```powershell +$forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "newforest.local"} +Remove-ZNSettingsAd -ForestId $forest.ForestId +``` + +This cmdlet deletes a forest from AD settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsAdLinux.md b/help/zeronetworks/Remove-ZNSettingsAdLinux.md new file mode 100644 index 0000000..fd9c656 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsAdLinux.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsadlinux +schema: 2.0.0 +--- + +# Remove-ZNSettingsAdLinux + +## SYNOPSIS +Returns an empty response. + +## SYNTAX + +``` +Remove-ZNSettingsAdLinux -DomainId -ForestId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty response. + +## EXAMPLES + +### Example 1: Remove the Linux settings from AD +```powershell +Remove-ZNSettingsAdLinux -ForestId f:a:0bec706b -DomainId posh.local +``` + +This cmdlet removes the Linux settings from AD domain/forest. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DomainId +The fqdn of the domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNSettingsAdAutomationGroup.md b/help/zeronetworks/Remove-ZNSettingsAdSecondary.md similarity index 70% rename from src/ZN/docs/Update-ZNSettingsAdAutomationGroup.md rename to help/zeronetworks/Remove-ZNSettingsAdSecondary.md index 4a87578..decb632 100644 --- a/src/ZN/docs/Update-ZNSettingsAdAutomationGroup.md +++ b/help/zeronetworks/Remove-ZNSettingsAdSecondary.md @@ -1,88 +1,87 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsadautomationgroup +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsadsecondary schema: 2.0.0 --- -# Update-ZNSettingsAdAutomationGroup +# Remove-ZNSettingsAdSecondary ## SYNOPSIS -Update Automation Groups for an AD forest setting. +Returns an empty response. ## SYNTAX ``` -Update-ZNSettingsAdAutomationGroup -ForestId [-MonitoredGroupId ] - [-ProtectedGroupId ] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNSettingsAdSecondary -DomainId -ForestId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Update Automation Groups for an AD forest setting. +Returns an empty response. ## EXAMPLES -### Example 1: Update AD groups settings +### Example 1: Delete a forest from AD settings ```powershell -$forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} -$monitorGroup = (Get-ZNSettingsAdMonitoredCandidate -ForestId $forest.ForestId).Items | where {$_.Name -eq "All AD Assets"} -Update-ZNSettingsAdAutomationGroup -ForestId $forest.ForestId -MonitoredGroupId $monitorGroup.Id +$forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "posh.local"} +Remove-ZNSettingsAdSecondary -DomainId $forest.SecondaryDomains[0].Domain -ForestId $forest.ForestId ``` -This cmdlet updates the monitor or protection automation group controls. +This cmdlet deletes a forest from AD settings. ## PARAMETERS -### -ForestId -The forest id +### -AccountName +this value is per customer / partner ```yaml Type: System.String Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named -Default value: None +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] Accept pipeline input: False Accept wildcard characters: False ``` -### -MonitoredGroupId -. +### -DomainId +The fqdn of the domain ```yaml Type: System.String Parameter Sets: (All) Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -PassThru -Returns true when the command succeeds +### -ForestId +The forest id ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) Aliases: -Required: False +Required: True Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -ProtectedGroupId -. +### -PassThru +Returns true when the command succeeds ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: diff --git a/help/zeronetworks/Remove-ZNSettingsConnectRegion.md b/help/zeronetworks/Remove-ZNSettingsConnectRegion.md new file mode 100644 index 0000000..f2054b4 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsConnectRegion.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsconnectregion +schema: 2.0.0 +--- + +# Remove-ZNSettingsConnectRegion + +## SYNOPSIS +Delete a Connect Region in Settings + +## SYNTAX + +``` +Remove-ZNSettingsConnectRegion -RegionId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Delete a Connect Region in Settings + +## EXAMPLES + +### Example 1: Delete a region from Connect settings +```powershell +$region = Get-ZNSettingsConnectRegion | where {$_.Name -eq "TestRegion"} +Remove-ZNSettingsConnectRegion -RegionId $region.Id +``` + +This cmdlet deletes a region for Connect settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegionId +connect region id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsConnectServer.md b/help/zeronetworks/Remove-ZNSettingsConnectServer.md new file mode 100644 index 0000000..4fff0e3 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsConnectServer.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsconnectserver +schema: 2.0.0 +--- + +# Remove-ZNSettingsConnectServer + +## SYNOPSIS +Delete Connect Server in Settings + +## SYNTAX + +``` +Remove-ZNSettingsConnectServer -ConnectServerId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Delete Connect Server in Settings + +## EXAMPLES + +### Example 1: Delete a connect server +```powershell +Remove-ZNSettingsConnectServer -ConnectServerId y:a:vW7Ptk6e +``` + +This cmdlet deletes a connect server. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConnectServerId +connect server id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsConnectUserAccessConfig.md b/help/zeronetworks/Remove-ZNSettingsConnectUserAccessConfig.md new file mode 100644 index 0000000..9241bbf --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsConnectUserAccessConfig.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsconnectuseraccessconfig +schema: 2.0.0 +--- + +# Remove-ZNSettingsConnectUserAccessConfig + +## SYNOPSIS +Delete a Connect User Access Configuration in Settings + +## SYNTAX + +``` +Remove-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete a Connect User Access Configuration in Settings + +## EXAMPLES + +### Example 1: Delete a UAC from Connect settings +```powershell +$uac = Get-ZNSettingsConnectUserAccessConfig | where {$_.Name -eq "testapi"} +Remove-ZNSettingsConnectUserAccessConfig -UserAccessConfigId $uac.Id +``` + +This cmdlet deletes a user access config for Connect settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAccessConfigId +userAccessConfigId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsIdp.md b/help/zeronetworks/Remove-ZNSettingsIdp.md new file mode 100644 index 0000000..1ad5560 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsIdp.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsidp +schema: 2.0.0 +--- + +# Remove-ZNSettingsIdp + +## SYNOPSIS +Returns an empty response. + +## SYNTAX + +``` +Remove-ZNSettingsIdp -IdentityProviderId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty response. + +## EXAMPLES + +### Example 1: Delete a IDP settings +```powershell +Remove-ZNSettingsIdp -IdentityProviderId azure +``` + +This cmdlet deletes a IDP settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProviderId +Identity provider Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsJamfCredentials.md b/help/zeronetworks/Remove-ZNSettingsJamfCredentials.md new file mode 100644 index 0000000..c981a82 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsJamfCredentials.md @@ -0,0 +1,106 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsjamfcredentials +schema: 2.0.0 +--- + +# Remove-ZNSettingsJamfCredentials + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNSettingsJamfCredentials [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete a JAMF settings +```powershell +Remove-ZNSettingsJamfCredentials +``` + +This cmdlet deletes a JAMF settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsMaintenanceWindow.md b/help/zeronetworks/Remove-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..5fa4863 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsmaintenancewindow +schema: 2.0.0 +--- + +# Remove-ZNSettingsMaintenanceWindow + +## SYNOPSIS +Returns an empty object + +## SYNTAX + +``` +Remove-ZNSettingsMaintenanceWindow -MaintenanceWindowId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object + +## EXAMPLES + +### Example 1: Delete a maintenance window +```powershell +Remove-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:pszG5Dda +``` + +This cmdlet deletes a maintenance window. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +id of the maintence window + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsMfaCache.md b/help/zeronetworks/Remove-ZNSettingsMfaCache.md new file mode 100644 index 0000000..af173fa --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsMfaCache.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsmfacache +schema: 2.0.0 +--- + +# Remove-ZNSettingsMfaCache + +## SYNOPSIS +deletes a MFA Cache Policy. + +## SYNTAX + +``` +Remove-ZNSettingsMfaCache -EntityId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +deletes a MFA Cache Policy. + +## EXAMPLES + +### Example 1: Delete a MFA cache policy +```powershell +Remove-ZNSettingsMfaCache -EntityId u:d:2HOfhbpY +``` + +This cmdlet deletes a MFA cache policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +The id of the user or group + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSettingsPushNotification.md b/help/zeronetworks/Remove-ZNSettingsPushNotification.md new file mode 100644 index 0000000..56c2107 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSettingsPushNotification.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingspushnotification +schema: 2.0.0 +--- + +# Remove-ZNSettingsPushNotification + +## SYNOPSIS +Returns an empty response. + +## SYNTAX + +``` +Remove-ZNSettingsPushNotification -PushIdentityProviderId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty response. + +## EXAMPLES + +### Example 1: Delete a push notificiations settings +```powershell +Remove-ZNSettingsPushNotification -PushIdentityProviderId duo +``` + +This cmdlet deletes a push notificiations settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PushIdentityProviderId +Push Identity provider Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNSwitch.md b/help/zeronetworks/Remove-ZNSwitch.md new file mode 100644 index 0000000..dfd05c2 --- /dev/null +++ b/help/zeronetworks/Remove-ZNSwitch.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znswitch +schema: 2.0.0 +--- + +# Remove-ZNSwitch + +## SYNOPSIS +delete a switch + +## SYNTAX + +``` +Remove-ZNSwitch -SwitchId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +delete a switch + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SwitchId +switch to delete + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNTagGroupsMember.md b/help/zeronetworks/Remove-ZNTagGroupsMember.md new file mode 100644 index 0000000..b0302a0 --- /dev/null +++ b/help/zeronetworks/Remove-ZNTagGroupsMember.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zntaggroupsmember +schema: 2.0.0 +--- + +# Remove-ZNTagGroupsMember + +## SYNOPSIS +Remove tag group members by members id. + +## SYNTAX + +``` +Remove-ZNTagGroupsMember -GroupId -MembersId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Remove tag group members by members id. + +## EXAMPLES + +### Example 1: Remove asset from tag group +```powershell +group = Get-ZNGroup -Search "Network scanners" +Remove-ZNTagGroupsMember -GroupId $group.Id -MembersId 'a:a:OtfLGUBq' +``` + +This cmdlet removes an asset from a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MembersId +members id + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNUserExternalAccessPolicy.md b/help/zeronetworks/Remove-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..43ec510 --- /dev/null +++ b/help/zeronetworks/Remove-ZNUserExternalAccessPolicy.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znuserexternalaccesspolicy +schema: 2.0.0 +--- + +# Remove-ZNUserExternalAccessPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNUserExternalAccessPolicy -PolicyId -UserId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an external access policy +```powershell +Remove-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp -PolicyId p:e:9NfK8zpm +``` + +This cmdlet deletes an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNUserIdentityRule.md b/help/zeronetworks/Remove-ZNUserIdentityRule.md new file mode 100644 index 0000000..ef478e7 --- /dev/null +++ b/help/zeronetworks/Remove-ZNUserIdentityRule.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znuseridentityrule +schema: 2.0.0 +--- + +# Remove-ZNUserIdentityRule + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNUserIdentityRule -RuleId -UserId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete identity rule +```powershell +$user = Search-ZNUser -PrincipalName 'posh\zero' +Remove-ZNUserIdentityRule -UserId $user -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an identity rule. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNUserMfaIdentityPolicy.md b/help/zeronetworks/Remove-ZNUserMfaIdentityPolicy.md new file mode 100644 index 0000000..ddd4be7 --- /dev/null +++ b/help/zeronetworks/Remove-ZNUserMfaIdentityPolicy.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znusermfaidentitypolicy +schema: 2.0.0 +--- + +# Remove-ZNUserMfaIdentityPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete identity MFA policy +```powershell +$user = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "zero").items | where {$_.Name -eq "zero"} +Remove-ZNUserMfaIdentityPolicy -UserId $user.Id -RuleId 724697fa-2db4-4330-b3f0-b157d2e23da3 +``` + +This cmdlet deletes an identity MFA policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +The id of the MFA policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Remove-ZNUsersManagedAsset.md b/help/zeronetworks/Remove-ZNUsersManagedAsset.md new file mode 100644 index 0000000..26299f4 --- /dev/null +++ b/help/zeronetworks/Remove-ZNUsersManagedAsset.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znusersmanagedasset +schema: 2.0.0 +--- + +# Remove-ZNUsersManagedAsset + +## SYNOPSIS +Remove managed asset of user + +## SYNTAX + +``` +Remove-ZNUsersManagedAsset -GroupOrAssetId -UserId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Remove managed asset of user + +## EXAMPLES + +### Example 1: Remove a managed asset from a user +```powershell +Remove-ZNUsersManagedAsset -UserId 'u:a:w27loY5p' -GroupOrAssetId 'a:a:OtfLGUBq' +``` + +This cmdlet removes a managed asset from a user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupOrAssetId +group or asset id to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Revoke-ZNSession.md b/help/zeronetworks/Revoke-ZNSession.md new file mode 100644 index 0000000..646b9df --- /dev/null +++ b/help/zeronetworks/Revoke-ZNSession.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/revoke-znsession +schema: 2.0.0 +--- + +# Revoke-ZNSession + +## SYNOPSIS +Revoke a Connect session. + +## SYNTAX + +``` +Revoke-ZNSession -SessionId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Revoke a Connect session. + +## EXAMPLES + +### Example 1: Revoke a session +```powershell +Revoke-ZNSession -SessionId s:a:YQmFrXJx +``` + +This cmdlet revokes a Connect session. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SessionId +The id of the session + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Search-ZNAsset.md b/help/zeronetworks/Search-ZNAsset.md new file mode 100644 index 0000000..8236fad --- /dev/null +++ b/help/zeronetworks/Search-ZNAsset.md @@ -0,0 +1,81 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-znasset +schema: 2.0.0 +--- + +# Search-ZNAsset + +## SYNOPSIS +Returns an assetId. + +## SYNTAX + +``` +Search-ZNAsset [-AccountName ] [-Fqdn ] [] +``` + +## DESCRIPTION +Returns an assetId. + +## EXAMPLES + +### Example 1: Find an asset by FQDN +```powershell +Search-ZNAsset -Fqdn dc1.zero.labs +``` + +```output +a:a:ZgBWOMyc +``` + +This cmdlet will search the assets using FQDN to return the assetId. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fqdn +fully qualified domain name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetIdSearch + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Search-ZNAssetProtected.md b/help/zeronetworks/Search-ZNAssetProtected.md similarity index 70% rename from src/ZN/docs/Search-ZNAssetProtected.md rename to help/zeronetworks/Search-ZNAssetProtected.md index 39ab3a5..ffc438c 100644 --- a/src/ZN/docs/Search-ZNAssetProtected.md +++ b/help/zeronetworks/Search-ZNAssetProtected.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/search-znassetprotected +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-znassetprotected schema: 2.0.0 --- @@ -13,7 +13,7 @@ Given fqdn, returns assetId, if asset is found and is protected ## SYNTAX ``` -Search-ZNAssetProtected [-Fqdn ] [] +Search-ZNAssetProtected [-AccountName ] [-Fqdn ] [] ``` ## DESCRIPTION @@ -34,8 +34,23 @@ This cmdlet will search the assets using FQDN to return the assetId. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Fqdn -fully qualifed domain name +fully qualified domain name ```yaml Type: System.String diff --git a/help/zeronetworks/Search-ZNAssetsNetworkSegmented.md b/help/zeronetworks/Search-ZNAssetsNetworkSegmented.md new file mode 100644 index 0000000..9d8ce60 --- /dev/null +++ b/help/zeronetworks/Search-ZNAssetsNetworkSegmented.md @@ -0,0 +1,92 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-znassetsnetworksegmented +schema: 2.0.0 +--- + +# Search-ZNAssetsNetworkSegmented + +## SYNOPSIS +Given fqdn, returns assetId, if asset is found and is protected + +## SYNTAX + +``` +Search-ZNAssetsNetworkSegmented [-AccountName ] [-Fqdn ] [] +``` + +## DESCRIPTION +Given fqdn, returns assetId, if asset is found and is protected + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fqdn +fully qualified domain name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetIdSearch + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Search-ZNAssetsSegmented.md b/help/zeronetworks/Search-ZNAssetsSegmented.md new file mode 100644 index 0000000..41003e9 --- /dev/null +++ b/help/zeronetworks/Search-ZNAssetsSegmented.md @@ -0,0 +1,92 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-znassetssegmented +schema: 2.0.0 +--- + +# Search-ZNAssetsSegmented + +## SYNOPSIS +Given fqdn, returns assetId, if asset is found and is protected + +## SYNTAX + +``` +Search-ZNAssetsSegmented [-AccountName ] [-Fqdn ] [] +``` + +## DESCRIPTION +Given fqdn, returns assetId, if asset is found and is protected + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fqdn +fully qualified domain name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetIdSearch + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Search-ZNGroupsExternalId.md b/help/zeronetworks/Search-ZNGroupsExternalId.md new file mode 100644 index 0000000..508f46c --- /dev/null +++ b/help/zeronetworks/Search-ZNGroupsExternalId.md @@ -0,0 +1,112 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-zngroupsexternalid +schema: 2.0.0 +--- + +# Search-ZNGroupsExternalId + +## SYNOPSIS +Returns a group. + +## SYNTAX + +``` +Search-ZNGroupsExternalId -ExternalId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a group. + +## EXAMPLES + +### Example 1: Search for a group +```powershell +Search-ZNGroupsExternalId -ExternalId f177f4ba-6e33-4d11-9e4b-e6b2b94302e9 -GroupType snow +``` + +```output +AddedById : +AddedByName : +ItemAddedAt : +ItemCreatedAt : 1728158885206 +ItemDescription : SNOW Sync +ItemDirectMembersCount : 2 +ItemDomain : ServiceNow +ItemExternalId : f177f4ba-6e33-4d11-9e4b-e6b2b94302e9 +ItemGuid : dffb1198-61ed-4f09-8429-b6d92cbe8511 +ItemHasProtectionPolicy : +ItemId : g:n:821fRRdi +ItemName : Information Sharing +ItemPrincipalName : +ItemRole : 3 +ItemSid : +ItemUpdatedAt : 1728158885206 +``` + +This cmdlet searches for a group by type and external id. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExternalId +The external id of the group + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Search-ZNUser.md b/help/zeronetworks/Search-ZNUser.md new file mode 100644 index 0000000..c234f1d --- /dev/null +++ b/help/zeronetworks/Search-ZNUser.md @@ -0,0 +1,105 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-znuser +schema: 2.0.0 +--- + +# Search-ZNUser + +## SYNOPSIS +Provided user SID - returns user entity id + +## SYNTAX + +### Search (Default) +``` +Search-ZNUser -PrincipalName [-AccountName ] [] +``` + +### Search1 +``` +Search-ZNUser -Sid [-AccountName ] [] +``` + +## DESCRIPTION +Provided user SID - returns user entity id + +## EXAMPLES + +### Example 1: Search user by SID +```powershell +Search-ZNUser -Sid "S-1-5-21-897785097-3420057113-2083682306-2101" +``` + +This cmdlet can search for a user by sid. + +### Example 2: Search user by Principal Name +```powershell +Search-ZNUser -PrincipalName "posh\test" +``` + +This cmdlet can search for a user by principal name. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalName +sid to query for + +```yaml +Type: System.String +Parameter Sets: Search +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Sid +sid to query for + +```yaml +Type: System.String +Parameter Sets: Search1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IUserIdResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Set-ZNApiKey.md b/help/zeronetworks/Set-ZNApiKey.md new file mode 100644 index 0000000..193a306 --- /dev/null +++ b/help/zeronetworks/Set-ZNApiKey.md @@ -0,0 +1,92 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/set-znapikey +schema: 2.0.0 +--- + +# Set-ZNApiKey + +## SYNOPSIS +Set the API key for use in all other cmdlets + +## SYNTAX + +``` +Set-ZNApiKey -ApiKey [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set the API key for use in all other cmdlets + +#.Link +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/set-znapikey + +## EXAMPLES + +### Example 1: Set the Api Key to be used +```powershell +Set-ZNApiKey -ApiKey 'myApiKey' +``` + +This cmdlet will set the api key to be used for all other cmdlets. + +## PARAMETERS + +### -ApiKey +Api Key + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Test-ZNAssetIdentityProtect.md b/help/zeronetworks/Test-ZNAssetIdentityProtect.md new file mode 100644 index 0000000..19500fe --- /dev/null +++ b/help/zeronetworks/Test-ZNAssetIdentityProtect.md @@ -0,0 +1,140 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/test-znassetidentityprotect +schema: 2.0.0 +--- + +# Test-ZNAssetIdentityProtect + +## SYNOPSIS +Returns a number of assets that are valid for identity segmentation. + +## SYNTAX + +### Validate (Default) +``` +Test-ZNAssetIdentityProtect -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ValidateExpanded +``` +Test-ZNAssetIdentityProtect -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a number of assets that are valid for identity segmentation. + +## EXAMPLES + +### Example 1: Test an asset for identity segmentation +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Test-ZNAssetIdentityProtect -AssetId $asset +``` + +This cmdlet tests an asset for identity segmentation. +0 = Not suitable, 1 = Suitable + +### Example 2: Test multiple assets for identity segmentation +```powershell +Test-ZNAssetIdentityProtect -Items @("assetid","assetId") +``` + +This cmdlet tests multiple assets to identity segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Validate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IValidateResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Test-ZNAssetIdentityUnprotect.md b/help/zeronetworks/Test-ZNAssetIdentityUnprotect.md new file mode 100644 index 0000000..8579ae4 --- /dev/null +++ b/help/zeronetworks/Test-ZNAssetIdentityUnprotect.md @@ -0,0 +1,140 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/test-znassetidentityunprotect +schema: 2.0.0 +--- + +# Test-ZNAssetIdentityUnprotect + +## SYNOPSIS +Returns a number of assets that are valid to unprotect. + +## SYNTAX + +### Validate (Default) +``` +Test-ZNAssetIdentityUnprotect -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ValidateExpanded +``` +Test-ZNAssetIdentityUnprotect -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a number of assets that are valid to unprotect. + +## EXAMPLES + +### Example 1: Test an asset for removal from identity segmentation +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Test-ZNAssetIdentityUnprotect -AssetId $asset +``` + +This cmdlet tests an asset for removal from identity segmentation. +0 = Not suitable, 1 = Suitable + +### Example 2: Test multiple assets for removal from identity segmentation +```powershell +Test-ZNAssetIdentityUnprotect -Items @("assetid","assetId") +``` + +This cmdlet tests multiple assets for removal from identity segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Validate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IValidateResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Test-ZNAssetNetworkSegment.md b/help/zeronetworks/Test-ZNAssetNetworkSegment.md new file mode 100644 index 0000000..564d8ef --- /dev/null +++ b/help/zeronetworks/Test-ZNAssetNetworkSegment.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/test-znassetnetworksegment +schema: 2.0.0 +--- + +# Test-ZNAssetNetworkSegment + +## SYNOPSIS +Returns a number of assets that are valid for network segmentation. + +## SYNTAX + +### Validate (Default) +``` +Test-ZNAssetNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +### Validate1 +``` +Test-ZNAssetNetworkSegment -Body [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ValidateExpanded +``` +Test-ZNAssetNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns a number of assets that are valid for network segmentation. + +## EXAMPLES + +### Example 1: Check if an asset is ready for network segmentation +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Test-ZNAssetNetworkSegment -AssetId $asset +``` + +```output +1 +``` + +This cmdlet tests if an asset is ready for network segmentation. +1 is ready. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Validate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsProtectBody +Parameter Sets: Validate1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsProtectBody + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IValidateResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `Items >`: + +## RELATED LINKS + diff --git a/help/zeronetworks/Test-ZNAssetNetworkUnprotect.md b/help/zeronetworks/Test-ZNAssetNetworkUnprotect.md new file mode 100644 index 0000000..34a69f5 --- /dev/null +++ b/help/zeronetworks/Test-ZNAssetNetworkUnprotect.md @@ -0,0 +1,169 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/test-znassetnetworkunprotect +schema: 2.0.0 +--- + +# Test-ZNAssetNetworkUnprotect + +## SYNOPSIS +Returns a number of assets that are valid to unprotect. + +## SYNTAX + +### Validate (Default) +``` +Test-ZNAssetNetworkUnprotect -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### Validate1 +``` +Test-ZNAssetNetworkUnprotect -Body [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ValidateExpanded +``` +Test-ZNAssetNetworkUnprotect -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a number of assets that are valid to unprotect. + +## EXAMPLES + +### Example 1: Check if an asset is ready for removal from network segmentation +```powershell +$asset = Search-ZNAsset -Fqdn wc01.posh.local +Test-ZNAssetNetworkUnprotect -AssetId $asset +``` + +```output +1 +``` + +This cmdlet tests if an asset is ready for removal from network segmentation. +1 is ready. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Validate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsUnprotectBody +Parameter Sets: Validate1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ValidateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsUnprotectBody + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IValidateResponse + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `Items >`: + +## RELATED LINKS + diff --git a/src/ZN/docs/Unprotect-ZNAssetIdentity.md b/help/zeronetworks/Unprotect-ZNAssetIdentity.md similarity index 78% rename from src/ZN/docs/Unprotect-ZNAssetIdentity.md rename to help/zeronetworks/Unprotect-ZNAssetIdentity.md index b101db4..c3796bb 100644 --- a/src/ZN/docs/Unprotect-ZNAssetIdentity.md +++ b/help/zeronetworks/Unprotect-ZNAssetIdentity.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/unprotect-znassetidentity +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetidentity schema: 2.0.0 --- @@ -14,12 +14,12 @@ Returns an empty object. ### Unprotect1 (Default) ``` -Unprotect-ZNAssetIdentity -AssetId [-Confirm] [-WhatIf] [] +Unprotect-ZNAssetIdentity -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] ``` ### UnprotectExpanded ``` -Unprotect-ZNAssetIdentity -Items [-Confirm] [-WhatIf] [] +Unprotect-ZNAssetIdentity -Items [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -44,6 +44,21 @@ This cmdlet removes multiple assets from identity segmentation. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/help/zeronetworks/Unprotect-ZNAssetIdentitySegment.md b/help/zeronetworks/Unprotect-ZNAssetIdentitySegment.md new file mode 100644 index 0000000..d0b7225 --- /dev/null +++ b/help/zeronetworks/Unprotect-ZNAssetIdentitySegment.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetidentitysegment +schema: 2.0.0 +--- + +# Unprotect-ZNAssetIdentitySegment + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### Unprotect (Default) +``` +Unprotect-ZNAssetIdentitySegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### UnprotectExpanded +``` +Unprotect-ZNAssetIdentitySegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an asset from identity segmentation +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Unprotect-ZNAssetIdentitySegment -AssetId $asset +``` + +This cmdlet removes an asset from identity segmentation. + +### Example 2: Remove multiple assets from identity segmentation +```powershell +Unprotect-ZNAssetIdentitySegment -Items @("assetid","assetId") +``` + +This cmdlet removes multiple assets from identity segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Unprotect +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: UnprotectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Unprotect-ZNAssetNetworkSegment.md b/help/zeronetworks/Unprotect-ZNAssetNetworkSegment.md new file mode 100644 index 0000000..23f368c --- /dev/null +++ b/help/zeronetworks/Unprotect-ZNAssetNetworkSegment.md @@ -0,0 +1,131 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetnetworksegment +schema: 2.0.0 +--- + +# Unprotect-ZNAssetNetworkSegment + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### Unprotect (Default) +``` +Unprotect-ZNAssetNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### UnprotectExpanded +``` +Unprotect-ZNAssetNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove a single asset from network segmented +```powershell +Unprotect-ZNAssetNetworkSegment -Items "a:a:ZgBWOMyc" +``` + +This cmdlet will remove an asset from network segemented in the envrionment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Unprotect +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: UnprotectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Unprotect-ZNAssetOtNetworkSegment.md b/help/zeronetworks/Unprotect-ZNAssetOtNetworkSegment.md new file mode 100644 index 0000000..5186c77 --- /dev/null +++ b/help/zeronetworks/Unprotect-ZNAssetOtNetworkSegment.md @@ -0,0 +1,131 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetotnetworksegment +schema: 2.0.0 +--- + +# Unprotect-ZNAssetOtNetworkSegment + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### Unprotect (Default) +``` +Unprotect-ZNAssetOtNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### UnprotectExpanded +``` +Unprotect-ZNAssetOtNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove a single asset from network segmented +```powershell +Unprotect-ZNAssetOtNetworkSegment -Item "a:a:ZgBWOMyc" +``` + +This cmdlet will remove an asset from network segemented in the envrionment. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Unprotect +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: UnprotectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Unprotect-ZNAssetRpcSegment.md b/help/zeronetworks/Unprotect-ZNAssetRpcSegment.md new file mode 100644 index 0000000..1b06c89 --- /dev/null +++ b/help/zeronetworks/Unprotect-ZNAssetRpcSegment.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetrpcsegment +schema: 2.0.0 +--- + +# Unprotect-ZNAssetRpcSegment + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### UnprotectExpanded (Default) +``` +Unprotect-ZNAssetRpcSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### UnprotectExpanded1 +``` +Unprotect-ZNAssetRpcSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Removes assets from RPC Segmentation +```powershell +Unprotect-ZNAssetRpcSegment -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet removes multiple assets from RPC segmentation. + +### Example 1: Remove an asset from RPC Segmentation +```powershell +Unprotect-ZNAssetRpcSegment -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet removes an asset from RPC segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: UnprotectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: UnprotectExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Unprotect-ZNUserIdentity.md b/help/zeronetworks/Unprotect-ZNUserIdentity.md similarity index 76% rename from src/ZN/docs/Unprotect-ZNUserIdentity.md rename to help/zeronetworks/Unprotect-ZNUserIdentity.md index 7b7b222..38028d0 100644 --- a/src/ZN/docs/Unprotect-ZNUserIdentity.md +++ b/help/zeronetworks/Unprotect-ZNUserIdentity.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/unprotect-znuseridentity +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znuseridentity schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an empty object. ## SYNTAX ``` -Unprotect-ZNUserIdentity -UserIds [-Confirm] [-WhatIf] [] +Unprotect-ZNUserIdentity -UserIds [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +30,21 @@ This cmdlet moves a service account from segmented to not segmented. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -UserIds . diff --git a/help/zeronetworks/Unprotect-ZNUserIdentitySegment.md b/help/zeronetworks/Unprotect-ZNUserIdentitySegment.md new file mode 100644 index 0000000..f3724d0 --- /dev/null +++ b/help/zeronetworks/Unprotect-ZNUserIdentitySegment.md @@ -0,0 +1,109 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znuseridentitysegment +schema: 2.0.0 +--- + +# Unprotect-ZNUserIdentitySegment + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Unprotect-ZNUserIdentitySegment -UserIds [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove a service account from segmentation +```powershell +Unprotect-ZNUserIdentitySegment -UserIds @("u:a:mACDNWcW") +``` + +This cmdlet moves a service account from segmented to not segmented. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAiExclusionNetworkBoth.md b/help/zeronetworks/Update-ZNAiExclusionNetworkBoth.md new file mode 100644 index 0000000..b24c28f --- /dev/null +++ b/help/zeronetworks/Update-ZNAiExclusionNetworkBoth.md @@ -0,0 +1,174 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znaiexclusionnetworkboth +schema: 2.0.0 +--- + +# Update-ZNAiExclusionNetworkBoth + +## SYNOPSIS +Set AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## SYNTAX + +``` +Update-ZNAiExclusionNetworkBoth [-AccountName ] [-Icmp] [-ProcessesList ] + [-TcpPorts ] [-UdpPorts ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## EXAMPLES + +### Example 1: Update AI Exclusion settings for clients and servers +```powershell +Update-ZNAiExclusionNetworkBoth -Icmp -ProcessesList @() -TcpPorts "" -UdpPorts "" +``` + +```output +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +True {} +``` + +This cmdlet updates the AI exclusions for clients and servers under Data Collection. + +### Example 2: Add a setting to the current settings. +```powershell +$aiSettings = Get-ZNAiExclusionNetworkBoth +Update-ZNAiExclusionNetworkBoth -Icmp:$aiSettings.Icmp -ProcessesList $aiSettings.ProcessesList -TcpPorts ($aiSettings.TcpPorts += "443") -UdpPorts $aiSettings.UdpPorts +``` + +```output +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +True {} 443 +``` + +Use exisitng settings to update or add ports or processes. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Icmp +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TcpPorts +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UdpPorts +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAiExclusionInfo + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAiExclusionNetworkClient.md b/help/zeronetworks/Update-ZNAiExclusionNetworkClient.md new file mode 100644 index 0000000..62372da --- /dev/null +++ b/help/zeronetworks/Update-ZNAiExclusionNetworkClient.md @@ -0,0 +1,174 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znaiexclusionnetworkclient +schema: 2.0.0 +--- + +# Update-ZNAiExclusionNetworkClient + +## SYNOPSIS +Set AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## SYNTAX + +``` +Update-ZNAiExclusionNetworkClient [-AccountName ] [-Icmp] [-ProcessesList ] + [-TcpPorts ] [-UdpPorts ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## EXAMPLES + +### Example 1: Update AI Exclusion settings for clients +```powershell +Update-ZNAiExclusionNetworkClient -Icmp -ProcessesList @() -TcpPorts "" -UdpPorts "" +``` + +```output +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +True {} +``` + +This cmdlet updates the AI exclusions for clients under Data Collection. + +### Example 2: Add a setting to the current settings. +```powershell +$aiSettings = Get-ZNAiExclusionNetworkClient +Update-ZNAiExclusionNetworkClient -Icmp:$aiSettings.Icmp -ProcessesList $aiSettings.ProcessesList -TcpPorts ($aiSettings.TcpPorts += "443") -UdpPorts $aiSettings.UdpPorts +``` + +```output +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +True {} 443 +``` + +Use exisitng settings to update or add ports or processes. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Icmp +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TcpPorts +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UdpPorts +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAiExclusionInfo + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAiExclusionNetworkServer.md b/help/zeronetworks/Update-ZNAiExclusionNetworkServer.md new file mode 100644 index 0000000..ac48fe1 --- /dev/null +++ b/help/zeronetworks/Update-ZNAiExclusionNetworkServer.md @@ -0,0 +1,174 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znaiexclusionnetworkserver +schema: 2.0.0 +--- + +# Update-ZNAiExclusionNetworkServer + +## SYNOPSIS +Set AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## SYNTAX + +``` +Update-ZNAiExclusionNetworkServer [-AccountName ] [-Icmp] [-ProcessesList ] + [-TcpPorts ] [-UdpPorts ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +## EXAMPLES + +### Example 1: Update AI Exclusion settings for servers +```powershell +Update-ZNAiExclusionNetworkServer -Icmp -ProcessesList @() -TcpPorts "" -UdpPorts "" +``` + +```output +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +True {} +``` + +This cmdlet updates the AI exclusions for servers under Data Collection. + +### Example 2: Add a setting to the current settings. +```powershell +$aiSettings = Get-ZNAiExclusionNetworkServer +Update-ZNAiExclusionNetworkServer -Icmp:$aiSettings.Icmp -ProcessesList $aiSettings.ProcessesList -TcpPorts ($aiSettings.TcpPorts += "443") -UdpPorts $aiSettings.UdpPorts +``` + +```output +Icmp ProcessesList TcpPorts UdpPorts +---- ------------- -------- -------- +True {} 443 +``` + +Use exisitng settings to update or add ports or processes. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Icmp +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProcessesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TcpPorts +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UdpPorts +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAiExclusionInfo + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetActive.md b/help/zeronetworks/Update-ZNAssetActive.md new file mode 100644 index 0000000..db44d02 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetActive.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetactive +schema: 2.0.0 +--- + +# Update-ZNAssetActive + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### SetExpanded (Default) +``` +Update-ZNAssetActive -AssetId [-AccountName ] [-Comment ] [-Confirm] [-WhatIf] + [] +``` + +### SetExpanded1 +``` +Update-ZNAssetActive -Items [-AccountName ] [-Comment ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Mark inactive assets active +```powershell +Update-ZnAssetActive -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet updates inactive assets to mark them active. + +### Example 1: Mark inactive asset active. +```powershell +Update-ZnAssetActive -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet updates an inactive assets to mark it active. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Comment +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: SetExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetExternalAccessPolicy.md b/help/zeronetworks/Update-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..5c320b7 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,298 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetexternalaccesspolicy +schema: 2.0.0 +--- + +# Update-ZNAssetExternalAccessPolicy + +## SYNOPSIS +Updates an external access policy. + +## SYNTAX + +``` +Update-ZNAssetExternalAccessPolicy -AssetId -PolicyId [-Description ] + [-DstPortsList ] [-DstProcessNamesList ] [-Name ] [-RuleDuration ] + [-SrcUserIdsList ] [-State ] [-Url ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates an external access policy. + +## EXAMPLES + +### Example 1: Update an external access policy +```powershell +Update-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://ansible.test.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +description + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + extra ports to open. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +aname. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +Duration of the rule + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +List of source users + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +State + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +Url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] destination asset(s). ${DstAssetId}, extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetIdentityRule.md b/help/zeronetworks/Update-ZNAssetIdentityRule.md new file mode 100644 index 0000000..0ff9e9a --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetIdentityRule.md @@ -0,0 +1,244 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetidentityrule +schema: 2.0.0 +--- + +# Update-ZNAssetIdentityRule + +## SYNOPSIS +Updates an identity rule. + +## SYNTAX + +``` +Update-ZNAssetIdentityRule -AssetId -RuleId [-Action ] [-Description ] + [-ExcludedAssetIdsList ] [-ExpiresAt ] [-IdentityProtectionCategoryList ] + [-State ] [-UserIdsList ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an identity rule. + +## EXAMPLES + +### Example 1: Update an identity rule +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Update-ZNAssetIdentityRule -AssetId $asset -RuleId 4e080155-63ca-4db4-9f8a-a02fc0d1eba3 -IdentityProtectionCategoryList @(1,5) +``` + +This cmdlet updates an identity rule. + +## PARAMETERS + +### -Action +Allow or block. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +the excluded assets. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +The selected logon rights. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +The accounts. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityRule + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetInactive.md b/help/zeronetworks/Update-ZNAssetInactive.md new file mode 100644 index 0000000..01126f9 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetInactive.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetinactive +schema: 2.0.0 +--- + +# Update-ZNAssetInactive + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### SetExpanded (Default) +``` +Update-ZNAssetInactive -AssetId [-AccountName ] [-Comment ] [-Confirm] [-WhatIf] + [] +``` + +### SetExpanded1 +``` +Update-ZNAssetInactive -Items [-AccountName ] [-Comment ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Mark active assets inactive +```powershell +Update-ZnAssetInActive -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet updates active assets to mark them inactive. + +### Example 1: Mark active asset inactive +```powershell +Update-ZnAssetInactive -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet updates an active assets to mark it inactive. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Comment +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: SetExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetInboundRule.md b/help/zeronetworks/Update-ZNAssetInboundRule.md new file mode 100644 index 0000000..ea37c8f --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetInboundRule.md @@ -0,0 +1,320 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetinboundrule +schema: 2.0.0 +--- + +# Update-ZNAssetInboundRule + +## SYNOPSIS +Updates an inbound rule. + +## SYNTAX + +``` +Update-ZNAssetInboundRule -AssetId -RuleId [-Action ] [-Description ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an inbound rule. + +## EXAMPLES + +### Example 1: Update a rule for an asset +```powershell +$asset = Search-ZNAsset -fqdn wc01.posh.local +$rule = Get-ZNAssetInboundRule -Asset $asset | where {$_.Description -eq "Test Rule"} +$rule.RemoteEntityIdsList += (Search-ZNAsset -Fqdn cs01.posh.local) +Update-ZNAssetInboundRule -AssetId $asset -RuleId $rule.id -RemoteEntityIdsList $rule.RemoteEntityIdsList +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 4 +CreatedById : u:a:w27loY5p +CreatedByName : nicholas +CreatedByUserRole : 1 +ItemAction : 2 +ItemActivitiesCount : +ItemApprovedAt : +ItemCreatedAt : 1695052892040 +ItemDescription : Test Rule +ItemDirection : 1 +ItemExcludedEntityInfos : +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 2d21025a-0eb6-45c1-85d3-825001b03b5b +ItemLocalEntityId : a:a:OtfLGUBq +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:l:aayoPnNJ, a:l:mnVw2OZs} +ItemRemoteEntityInfos : +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : 1695052904111 +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +UpdatedByName : ModuleTesting +``` + +This cmdlet updates a rule for an asset. + +## PARAMETERS + +### -Action +Allow or Block + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +excluded destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +the destination process paths. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +the source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetManager.md b/help/zeronetworks/Update-ZNAssetManager.md new file mode 100644 index 0000000..55cd9f7 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetManager.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmanager +schema: 2.0.0 +--- + +# Update-ZNAssetManager + +## SYNOPSIS +Update an asset manager of asset + +## SYNTAX + +``` +Update-ZNAssetManager -AssetId -ManagerId -Permission [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an asset manager of asset + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetMfaIdentityPolicy.md b/help/zeronetworks/Update-ZNAssetMfaIdentityPolicy.md new file mode 100644 index 0000000..79a0a3b --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetMfaIdentityPolicy.md @@ -0,0 +1,374 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmassetfaidentitypolicy +schema: 2.0.0 +--- + +# Update-ZNAssetMfaIdentityPolicy + +## SYNOPSIS +Updates an identity MFA Policy. + +## SYNTAX + +``` +Update-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-Description ] + [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-FallbackToSingleLoggedOnUser] + [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] + [-SrcUserIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an identity MFA Policy. + +## EXAMPLES + +### Example 1: Update identity MFA policy +```powershell +$asset = (Search-ZNAsset -Fqdn wc01.posh.local).AssetId +Update-ZNAssetMfaIdentityPolicy -AssetId $asset -ReactivePolicyId ec33049b-4e27-4f73-8f6d-8db4f5ff1e59 -Description assettest +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1713440556757 +ItemDescription : assettest +ItemDstAssetId : b:112002 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : False +ItemId : ec33049b-4e27-4f73-8f6d-8db4f5ff1e59 +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {2, 4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1713469629046 +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an identity MFA policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedDstAssetIdsList +excluded destinations + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcAssetIdsList +excluded sources + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtraIdentityProtectionCategoryList +extra logon types to allow + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToSingleLoggedOnUser +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethodsList +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcAssetIdsList +source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +source user(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityReactivePolicy + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetMfaInboundPolicy.md b/help/zeronetworks/Update-ZNAssetMfaInboundPolicy.md new file mode 100644 index 0000000..b50ed60 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetMfaInboundPolicy.md @@ -0,0 +1,449 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmfainboundpolicy +schema: 2.0.0 +--- + +# Update-ZNAssetMfaInboundPolicy + +## SYNOPSIS +Updates an inbound MFA Policy. + +## SYNTAX + +``` +Update-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId + [-AdditionalPortsList ] [-Description ] [-DstPort ] + [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] + [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] + [-SrcEntityInfos ] [-SrcProcessNames ] + [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Updates an inbound MFA Policy. + +## EXAMPLES + +### Example 1: Update inbound MFA policy for an asset +```powershell +$asset = Search-ZNAsset -fqdn wc01.posh.local +$mfaPolicy = Get-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId d6e8392a-b1c8-4fa2-ae36-8093b86b0860 +$mfaPolicy.ItemDstPort = $mfaPolicy.ItemDstPort+,",24" +Update-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId $mfaPolicy.ItemId -DstPort $mfaPolicy.ItemDstPort +``` + +```output +DstEntityInfoAssetStatus : 7 +DstEntityInfoAssetType : 1 +DstEntityInfoDomain : posh.local +DstEntityInfoFqdn : WC01.posh.local +DstEntityInfoId : a:a:OtfLGUBq +DstEntityInfoIpv4Addresses : {10.1.0.8} +DstEntityInfoIpv6Addresses : {} +DstEntityInfoName : WC01 +DstEntityInfoOperatingSystem : Windows 11 Enterprise +DstEntityInfoProtectionState : 1 +DstEntityInfoSource : 3 +ItemAdditionalPortsList : {} +ItemCreatedAt : 1695053153799 +ItemCreatedBy : u:a:w27loY5p +ItemCreatedByName : nicholas +ItemDescription : +ItemDstPort : 24,123 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : False +ItemId : d6e8392a-b1c8-4fa2-ae36-8093b86b0860 +ItemMfaMethods : {4} +ItemOverrideBuiltins : False +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1695053185370 +StateAssetId : a:a:OtfLGUBq +StateIsAssetConnected : True +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : 1 +``` + +This cmdlet updates an inbound MFA policy for an asset. + +## PARAMETERS + +### -AdditionalPortsList +extra ports to open. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstEntityInfoId}, + destination ports. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +excluded source assets + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +Excluded source processes + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +protocol 6 for TCP, 17 for UDP. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +source asset(s). +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +source processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +source user(s). +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCENTITYINFOS `: source asset(s). + - `Id `: + +`SRCUSERINFOS `: source user(s). + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetMfaOutboundPolicy.md b/help/zeronetworks/Update-ZNAssetMfaOutboundPolicy.md new file mode 100644 index 0000000..5f2084a --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetMfaOutboundPolicy.md @@ -0,0 +1,438 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmfaoutboundpolicy +schema: 2.0.0 +--- + +# Update-ZNAssetMfaOutboundPolicy + +## SYNOPSIS +Updates an outbound MFA Policy. + +## SYNTAX + +``` +Update-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId + [-AdditionalPortsList ] [-Description ] [-DstPort ] + [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] + [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] + [-RuleDuration ] [-SrcEntityInfos ] + [-SrcProcessNames ] [-SrcUserInfos ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an outbound MFA Policy. + +## EXAMPLES + +### Example 1: Update outbound MFA policy for an asset +```powershell +$asset = Search-ZNAsset -fqdn ot1777 +$mfaPolicy = Get-ZNAssetMfaOutboundPolicy -AssetId $asset -ReactivePolicyId 58591671-003e-4b02-87ae-d696d87d732f +$mfaPolicy.ItemDstPort = $mfaPolicy.ItemDstPort+,",24" +Update-ZNAssetMfaOutboundPolicy -AssetId $asset -ReactivePolicyId $mfaPolicy.ItemId -DstPort $mfaPolicy.ItemDstPort +``` + +```output +DstEntityInfoAssetStatus : 5 +DstEntityInfoAssetType : 4 +DstEntityInfoDomain : +DstEntityInfoFqdn : ot1777 +DstEntityInfoId : a:t:OeG7qsVV +DstEntityInfoIpv4Addresses : {230.176.229.143} +DstEntityInfoIpv6Addresses : {} +DstEntityInfoName : ot1777 +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : 3 +DstEntityInfoSource : 7 +ItemAdditionalPortsList : {} +ItemCreatedAt : 1695053277126 +ItemCreatedBy : u:a:w27loY5p +ItemCreatedByName : nicholas +ItemDescription : +ItemDstPort : 24,123 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : False +ItemId : 58591671-003e-4b02-87ae-d696d87d732f +ItemMfaMethods : {4} +ItemOverrideBuiltins : False +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {All segmented assets} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1695053293895 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet updates an outbound MFA policy for an asset. + +## PARAMETERS + +### -AdditionalPortsList +extra ports to open. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstEntityInfoId}, + destination ports. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String[]] + source processes. +${dstProcessNames}, + excluded source assets + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +Excluded source processes + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +protocol 6 for TCP, 17 for UDP. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +source asset(s). +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +source processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +source user(s). +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCENTITYINFOS `: source asset(s). + - `Id `: + +`SRCUSERINFOS `: source user(s). + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetMirror.md b/help/zeronetworks/Update-ZNAssetMirror.md new file mode 100644 index 0000000..0d94fa2 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetMirror.md @@ -0,0 +1,173 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmirror +schema: 2.0.0 +--- + +# Update-ZNAssetMirror + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### SetExpanded (Default) +``` +Update-ZNAssetMirror -OriginalAssetId -TargetAssetId [-AccountName ] [-Confirm] + [-WhatIf] [] +``` + +### Set +``` +Update-ZNAssetMirror -Body [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetMirrorBody +Parameter Sets: Set +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -OriginalAssetId +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetAssetId +. + +```yaml +Type: System.String +Parameter Sets: SetExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetMirrorBody + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `OriginalAssetId `: + - `TargetAssetId `: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetOSType.md b/help/zeronetworks/Update-ZNAssetOSType.md new file mode 100644 index 0000000..52db000 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetOSType.md @@ -0,0 +1,159 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetostype +schema: 2.0.0 +--- + +# Update-ZNAssetOSType + +## SYNOPSIS +Set the OS type (Windows/Linux/Mac) for multiple assets + +## SYNTAX + +### UpdateExpanded1 (Default) +``` +Update-ZNAssetOSType -AssetIds -OSType [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### UpdateExpanded +``` +Update-ZNAssetOSType -AssetId -AssetIds -OSType [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set the OS type (Windows/Linux/Mac) for multiple assets + +## EXAMPLES + +### Example 1: Update OS Type for an asset +```powershell +Update-ZNAssetOSType -AssetIds @("a:l:4NMHdoaO") -OSType 2 +``` + +This cmdlet updates the OS Type for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OSType +Possible osType: * `1' - Windows * `2' - Linux * `3' - Mac + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetOt.md b/help/zeronetworks/Update-ZNAssetOt.md new file mode 100644 index 0000000..b8e5596 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetOt.md @@ -0,0 +1,155 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetot +schema: 2.0.0 +--- + +# Update-ZNAssetOt + +## SYNOPSIS +Edit an OT/IoT asset. + +## SYNTAX + +``` +Update-ZNAssetOt -AssetId [-AccountName ] [-DisplayName ] [-Fqdn ] + [-Type ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Edit an OT/IoT asset. + +## EXAMPLES + +### Example 1: Update an OT asset +```powershell +$asset = Search-ZNAsset -fqdn ot1777 +Update-ZNAssetsOt -AssetId $Id -DisplayName 'NewName' -Type 4 +``` + +This cmdlet updates an OT asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DisplayName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fqdn +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +. + +```yaml +Type: System.Single +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetOtAssetManager.md b/help/zeronetworks/Update-ZNAssetOtAssetManager.md new file mode 100644 index 0000000..1fef879 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetOtAssetManager.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetotassetmanager +schema: 2.0.0 +--- + +# Update-ZNAssetOtAssetManager + +## SYNOPSIS +Update an asset manager of asset + +## SYNTAX + +``` +Update-ZNAssetOtAssetManager -AssetId -ManagerId -Permission [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an asset manager of asset + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetOutboundRestriction.md b/help/zeronetworks/Update-ZNAssetOutboundRestriction.md new file mode 100644 index 0000000..4f138aa --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetOutboundRestriction.md @@ -0,0 +1,170 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetoutboundrestriction +schema: 2.0.0 +--- + +# Update-ZNAssetOutboundRestriction + +## SYNOPSIS +Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + +## SYNTAX + +### UpdateExpanded1 (Default) +``` +Update-ZNAssetOutboundRestriction -AssetIds -OutboundRestriction [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### UpdateExpanded +``` +Update-ZNAssetOutboundRestriction -AssetId -AssetIds -OutboundRestriction + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + +## EXAMPLES + +### Example 1: Update outbound restriction +```powershell +Update-ZNAssetOutboundRestriction -AssetIds @("a:l:wEGYa0Cp") -OutboundRestriction 2 +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OutboundRestriction +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetOutboundRule.md b/help/zeronetworks/Update-ZNAssetOutboundRule.md new file mode 100644 index 0000000..37abca3 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetOutboundRule.md @@ -0,0 +1,341 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetoutboundrule +schema: 2.0.0 +--- + +# Update-ZNAssetOutboundRule + +## SYNOPSIS +Updates an outbound rule. + +## SYNTAX + +``` +Update-ZNAssetOutboundRule -AssetId -RuleId [-Action ] [-Description ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] + [-SrcUsersList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates an outbound rule. + +## EXAMPLES + +### Example 1: Update a rule for an asset +```powershell +$asset = Search-ZNAsset -fqdn wc01.posh.local +$rule = Get-ZNAssetOutboundRule -Asset $asset | where {$_.Description -eq "Test Rule"} +$rule.RemoteEntityIdsList += (Search-ZNAsset -Fqdn cs01.posh.local) +Update-ZNAssetOutboundRule -AssetId $asset -RuleId $rule.id -RemoteEntityIdsList $rule.RemoteEntityIdsList +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 4 +CreatedById : u:a:w27loY5p +CreatedByName : nicholas +CreatedByUserRole : 1 +ItemAction : 2 +ItemActivitiesCount : +ItemApprovedAt : +ItemCreatedAt : 1695052892040 +ItemDescription : Test Rule +ItemDirection : 1 +ItemExcludedEntityInfos : +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 2d21025a-0eb6-45c1-85d3-825001b03b5b +ItemLocalEntityId : a:a:OtfLGUBq +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:l:aayoPnNJ, a:l:mnVw2OZs} +ItemRemoteEntityInfos : +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : 1695052904111 +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +UpdatedByName : ModuleTesting +``` + +This cmdlet updates a rule for an asset. + +## PARAMETERS + +### -Action +Allow or Block + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +excluded source entities. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The source asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +the source process paths. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +the destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +the source users. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: the source users. + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetPreferredSegmentServer.md b/help/zeronetworks/Update-ZNAssetPreferredSegmentServer.md new file mode 100644 index 0000000..62d4b50 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetPreferredSegmentServer.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetpreferredsegmentserver +schema: 2.0.0 +--- + +# Update-ZNAssetPreferredSegmentServer + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### UpdateExpanded1 (Default) +``` +Update-ZNAssetPreferredSegmentServer -AssetId [-AccountName ] + [-PreferredDeploymentId ] [-Confirm] [-WhatIf] [] +``` + +### UpdateExpanded +``` +Update-ZNAssetPreferredSegmentServer -AssetId -AssetId1 [-AccountName ] + [-PreferredDeploymentId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Set preferred Segment server +```powershell +Update-ZNAssetPreferredSegmentServer -AssetId "a:l:sQON6Vxx" -PreferredDeploymentId f56dd59d-ab65-45ed-871c-b6c0742db568 +``` + +This cmdlet sets the preferred Segment server for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId1 +. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PreferredDeploymentId +If not provided sets the asset back to no preferred segment server + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetRpcRule.md b/help/zeronetworks/Update-ZNAssetRpcRule.md new file mode 100644 index 0000000..1729061 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetRpcRule.md @@ -0,0 +1,338 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetrpcrule +schema: 2.0.0 +--- + +# Update-ZNAssetRpcRule + +## SYNOPSIS +Updates an RPC rule. + +## SYNTAX + +``` +Update-ZNAssetRpcRule -AssetId -RuleId [-Action ] [-Description ] + [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] + [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] + [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Updates an RPC rule. + +## EXAMPLES + +### Example 1: Update a rpc rule for an asset +```powershell +$asset = (Search-ZNAsset -fqdn dc01.posh.local).AssetID +$rule = (Get-ZNAssetRpcRule -Asset $asset).Items[0] +$rule.Description = "Updated Description" +Update-ZNAssetRpcRule -AssetId $asset -RuleId $rule.id -Description $rule.description +``` + +```output +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1709744353362 +ItemDescription : Updated Description +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : 114b8846-2594-477f-bf95-f2c57ee964dd +ItemInterfaceUuidsList : {} +ItemLocalAssetId : g:t:01669ce2 +ItemOpNumbersList : {} +ItemParentId : +ItemParentType : 0 +ItemProtocolsList : {} +ItemRemoteAssetIdsList : {a:t:4K05Uvvc} +ItemRemoteAssetInfos : +ItemRuleClass : 1 +ItemState : 1 +ItemUserIdsList : {b:111001} +ItemUserInfos : +LocalAssetInfoId : +LocalAssetInfoName : +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates a rpc rule for an asset. + +## PARAMETERS + +### -Action +Allow or block. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +Asset Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +the excluded assets. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InterfaceUuidsList +RPC Interface list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalAssetId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpNumbersList +RPC Interface Operations List + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolsList +RPC Protocols list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteAssetIdsList +Source asset list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +The accounts. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.RpcRuleResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetType.md b/help/zeronetworks/Update-ZNAssetType.md new file mode 100644 index 0000000..15b05e9 --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetType.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassettype +schema: 2.0.0 +--- + +# Update-ZNAssetType + +## SYNOPSIS +Set the asset type (Client/server) + +## SYNTAX + +``` +Update-ZNAssetType -AssetId -Type [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Set the asset type (Client/server) + +## EXAMPLES + +### Example 1: Update asset type +```powershell +$asset = (Search-ZNAsset -Fqdn ZADCOMP1.posh.local).AssetId +Update-ZNAssetType -AssetId $asset -Type 1 +``` + +This cmdlet updates an asset type to either client or server. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Possible asset status: * `1' - Client * `2' - Server + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetsOSType.md b/help/zeronetworks/Update-ZNAssetsOSType.md new file mode 100644 index 0000000..9afb36c --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetsOSType.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetsostype +schema: 2.0.0 +--- + +# Update-ZNAssetsOSType + +## SYNOPSIS +Set the OS type (Windows/Linux/Mac) for multiple assets + +## SYNTAX + +``` +Update-ZNAssetsOSType -AssetIds -OSType [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Set the OS type (Windows/Linux/Mac) for multiple assets + +## EXAMPLES + +### Example 1: Update OS Type +```powershell +Update-ZNAssetsOSType -AssetIds @("a:l:sQON6Vxx") -OSType 2 +``` + +This cmdlet updates OS Type for assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OSType +Possible osType: * `1' - Windows * `2' - Linux * `3' - Mac + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNAssetsOutboundRestriction.md b/help/zeronetworks/Update-ZNAssetsOutboundRestriction.md new file mode 100644 index 0000000..6f83d2a --- /dev/null +++ b/help/zeronetworks/Update-ZNAssetsOutboundRestriction.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetsoutboundrestriction +schema: 2.0.0 +--- + +# Update-ZNAssetsOutboundRestriction + +## SYNOPSIS +Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + +## SYNTAX + +``` +Update-ZNAssetsOutboundRestriction -AssetIds -OutboundRestriction [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OutboundRestriction +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNCustomGroup.md b/help/zeronetworks/Update-ZNCustomGroup.md new file mode 100644 index 0000000..d4be4bb --- /dev/null +++ b/help/zeronetworks/Update-ZNCustomGroup.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zncustomgroup +schema: 2.0.0 +--- + +# Update-ZNCustomGroup + +## SYNOPSIS +Updates a custom group properties. + +## SYNTAX + +``` +Update-ZNCustomGroup -GroupId [-Description ] [-Name ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Updates a custom group properties. + +## EXAMPLES + +### Example 1: Update custom group properties +```powershell +Update-ZNCustomGroup -GroupId g:c:DtglBTHi -Description "updated desccription" +``` + +This cmdlet updates the name or description of a custom group. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +The description for the custom group. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name to update the custom group to. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Group + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNExternalAccessPolicy.md b/help/zeronetworks/Update-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..1668a76 --- /dev/null +++ b/help/zeronetworks/Update-ZNExternalAccessPolicy.md @@ -0,0 +1,282 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znexternalaccesspolicy +schema: 2.0.0 +--- + +# Update-ZNExternalAccessPolicy + +## SYNOPSIS +Updates an external access policy. + +## SYNTAX + +``` +Update-ZNExternalAccessPolicy -PolicyId [-Description ] [-DstPortsList ] + [-DstProcessNamesList ] [-Name ] [-RuleDuration ] [-SrcUserIdsList ] + [-State ] [-Url ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an external access policy. + +## EXAMPLES + +### Example 1: Update an external access policy +```powershell +Update-ZNExternalAccessPolicy -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://ansible.test.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +description + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + extra ports to open. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +aname. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +Duration of the rule + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +List of source users + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +State + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +Url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] destination asset(s). ${DstAssetId}, extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsAssetManager.md b/help/zeronetworks/Update-ZNGroupsAssetManager.md new file mode 100644 index 0000000..e240f2e --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsAssetManager.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsassetmanager +schema: 2.0.0 +--- + +# Update-ZNGroupsAssetManager + +## SYNOPSIS +Update an asset manager of group + +## SYNTAX + +``` +Update-ZNGroupsAssetManager -GroupId -GroupType -ManagerId -Permission + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an asset manager of group + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsExternalAccessPolicy.md b/help/zeronetworks/Update-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..113157d --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,313 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsexternalaccesspolicy +schema: 2.0.0 +--- + +# Update-ZNGroupsExternalAccessPolicy + +## SYNOPSIS +Updates an external access policy. + +## SYNTAX + +``` +Update-ZNGroupsExternalAccessPolicy -GroupId -GroupType -PolicyId + [-Description ] [-DstPortsList ] [-DstProcessNamesList ] [-Name ] + [-RuleDuration ] [-SrcUserIdsList ] [-State ] [-Url ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an external access policy. + +## EXAMPLES + +### Example 1: Update an external access policy +```powershell +Update-ZNGroupsExternalAccessPolicy -GroupId "g:t:5V669ce2" -GroupType tag -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://external.psoh.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +description + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + extra ports to open. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +aname. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +Duration of the rule + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +List of source users + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +State + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +Url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] destination asset(s). ${DstAssetId}, extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsIdentityRule.md b/help/zeronetworks/Update-ZNGroupsIdentityRule.md new file mode 100644 index 0000000..96a66b2 --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsIdentityRule.md @@ -0,0 +1,274 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsidentityrule +schema: 2.0.0 +--- + +# Update-ZNGroupsIdentityRule + +## SYNOPSIS +Updates an identity rule. + +## SYNTAX + +``` +Update-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Action ] + [-AssetId ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] + [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an identity rule. + +## EXAMPLES + +### Example 1: Update an identity rule +```powershell +Update-ZNGroupsIdentityRule -GroupId g:t:018cf3ae -GroupType tag -RuleId 7c2aa070-d6a3-41f2-945f-dbd7ae80f76f -IdentityProtectionCategoryList @(1,5) +``` + +This cmdlet updates an identity rule. + +## PARAMETERS + +### -Action +Allow or block. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +the excluded assets. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +The selected logon rights. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +The accounts. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityRule + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsInboundRule.md b/help/zeronetworks/Update-ZNGroupsInboundRule.md new file mode 100644 index 0000000..ae01864 --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsInboundRule.md @@ -0,0 +1,335 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znGroupsinboundrule +schema: 2.0.0 +--- + +# Update-ZNGroupsInboundRule + +## SYNOPSIS +Updates an inbound rule. + +## SYNTAX + +``` +Update-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Action ] + [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an inbound rule. + +## EXAMPLES + +### Example 1: Update a rule for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} +$rule = Get-ZNGroupsInboundRule -GroupId $group.Id -GroupType Tag | where {$_.Description -eq "Test Rule"} +$rule.RemoteEntityIdsList += (Search-ZNAsset -Fqdn cs01.posh.local) +Update-ZNGroupsInboundRule -GroupId $group.Id -GroupType tag -RuleId $rule.id -RemoteEntityIdsList $rule.RemoteEntityIdsList +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 4 +CreatedById : u:a:w27loY5p +CreatedByName : nicholas +CreatedByUserRole : 1 +ItemAction : 1 +ItemActivitiesCount : +ItemApprovedAt : +ItemCreatedAt : 1695055458286 +ItemDescription : Test Rule +ItemDirection : 1 +ItemExcludedEntityInfos : +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 676d79ad-6af0-491b-ba6d-108fd5cafbd3 +ItemLocalEntityId : g:t:01445453 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:a:OtfLGUBq, a:l:aayoPnNJ} +ItemRemoteEntityInfos : +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : 1695055541787 +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +UpdatedByName : ModuleTesting +``` + +This cmdlet updates a rule for a group. + +## PARAMETERS + +### -Action +Allow or Block + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +excluded destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +the destination process paths. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +the source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsManagedAsset.md b/help/zeronetworks/Update-ZNGroupsManagedAsset.md new file mode 100644 index 0000000..d37f6e0 --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsManagedAsset.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmanagedasset +schema: 2.0.0 +--- + +# Update-ZNGroupsManagedAsset + +## SYNOPSIS +Update a managed assets for group + +## SYNTAX + +``` +Update-ZNGroupsManagedAsset -GroupId -GroupType -EntityId [-AccountName ] + [-Permission ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a managed assets for group + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +managed asset id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsMfaIdentityPolicy.md b/help/zeronetworks/Update-ZNGroupsMfaIdentityPolicy.md new file mode 100644 index 0000000..33d2096 --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsMfaIdentityPolicy.md @@ -0,0 +1,389 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfaidentitypolicy +schema: 2.0.0 +--- + +# Update-ZNGroupsMfaIdentityPolicy + +## SYNOPSIS +Updates an identity MFA Policy. + +## SYNTAX + +``` +Update-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId + [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-FallbackToSingleLoggedOnUser] + [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] + [-SrcUserIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an identity MFA Policy. + +## EXAMPLES + +### Example 1: Update identity MFA policy +```powershell +$group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} +Update-ZNAssetMfaIdentityPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId ec33049b-4e27-4f73-8f6d-8db4f5ff1e59 -Description assettest +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1713440556757 +ItemDescription : assettest +ItemDstAssetId : b:112002 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : False +ItemId : ec33049b-4e27-4f73-8f6d-8db4f5ff1e59 +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {2, 4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1713469629046 +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an identity MFA policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedDstAssetIdsList +excluded destinations + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcAssetIdsList +excluded sources + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtraIdentityProtectionCategoryList +extra logon types to allow + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToSingleLoggedOnUser +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethodsList +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcAssetIdsList +source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +source user(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityReactivePolicy + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsMfaInboundPolicy.md b/help/zeronetworks/Update-ZNGroupsMfaInboundPolicy.md new file mode 100644 index 0000000..395f4ab --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsMfaInboundPolicy.md @@ -0,0 +1,464 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfainboundpolicy +schema: 2.0.0 +--- + +# Update-ZNGroupsMfaInboundPolicy + +## SYNOPSIS +Updates an inbound MFA Policy. + +## SYNTAX + +``` +Update-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId + [-AdditionalPortsList ] [-Description ] [-DstPort ] + [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] + [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] + [-SrcEntityInfos ] [-SrcProcessNames ] + [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Updates an inbound MFA Policy. + +## EXAMPLES + +### Example 1: Update inbound MFA policy for an group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} +$mfaPolicy = Get-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -ReactivePolicyId 244d0d8a-beb1-45f1-a2c4-e3372d605646 +$mfaPolicy.ItemDstPort = $mfaPolicy.ItemDstPort+,",24" +Update-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -ReactivePolicyId $mfaPolicy.ItemId -DstPort $mfaPolicy.ItemDstPort +``` + +```output +DstEntityInfoAssetStatus : +DstEntityInfoAssetType : +DstEntityInfoDomain : +DstEntityInfoFqdn : +DstEntityInfoId : g:t:01445453 +DstEntityInfoIpv4Addresses : +DstEntityInfoIpv6Addresses : +DstEntityInfoName : Domain controllers +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : +DstEntityInfoSource : +ItemAdditionalPortsList : {} +ItemCreatedAt : 1694783423106 +ItemCreatedBy : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +ItemCreatedByName : ModuleTesting +ItemDescription : +ItemDstPort : 24,443 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : True +ItemId : 244d0d8a-beb1-45f1-a2c4-e3372d605646 +ItemMfaMethods : {4} +ItemOverrideBuiltins : True +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1695055718897 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet updates an inbound MFA policy for an group. + +## PARAMETERS + +### -AdditionalPortsList +extra ports to open. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstEntityInfoId}, + destination ports. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +excluded source assets + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +Excluded source processes + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +protocol 6 for TCP, 17 for UDP. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +source asset(s). +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +source processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +source user(s). +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCENTITYINFOS `: source asset(s). + - `Id `: + +`SRCUSERINFOS `: source user(s). + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsMfaOutboundPolicy.md b/help/zeronetworks/Update-ZNGroupsMfaOutboundPolicy.md new file mode 100644 index 0000000..e1ed0b5 --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsMfaOutboundPolicy.md @@ -0,0 +1,453 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfaoutboundpolicy +schema: 2.0.0 +--- + +# Update-ZNGroupsMfaOutboundPolicy + +## SYNOPSIS +Updates an outbound MFA Policy. + +## SYNTAX + +``` +Update-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId + [-AdditionalPortsList ] [-Description ] [-DstPort ] + [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] + [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] + [-RuleDuration ] [-SrcEntityInfos ] + [-SrcProcessNames ] [-SrcUserInfos ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an outbound MFA Policy. + +## EXAMPLES + +### Example 1: Update outbound MFA policy for an asset +```powershell +$group = Get-ZNGroup -Search "Door locks" | where {$_.Id -like "g:o:*"} +$mfaPolicy = Get-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType ot -ReactivePolicyId f093f91b-aaea-4c00-9042-b074410ab9f0 +$mfaPolicy.ItemDstPort = $mfaPolicy.ItemDstPort+,",24" +Update-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType ot -ReactivePolicyId $mfaPolicy.ItemId -DstPort $mfaPolicy.ItemDstPort +``` + +```output +DstEntityInfoAssetStatus : +DstEntityInfoAssetType : +DstEntityInfoDomain : +DstEntityInfoFqdn : +DstEntityInfoId : g:o:0S445453 +DstEntityInfoIpv4Addresses : +DstEntityInfoIpv6Addresses : +DstEntityInfoName : Door locks +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : +DstEntityInfoSource : +ItemAdditionalPortsList : {} +ItemCreatedAt : 1695055855563 +ItemCreatedBy : u:a:w27loY5p +ItemCreatedByName : nicholas +ItemDescription : +ItemDstPort : 24,123 +ItemDstProcessNames : {*} +ItemEnforcementSource : 6 +ItemExcludedSrcEntityInfos : {} +ItemExcludedSrcProcesses : {} +ItemFallbackToLoggedOnUser : False +ItemId : f093f91b-aaea-4c00-9042-b074410ab9f0 +ItemMfaMethods : {1} +ItemOverrideBuiltins : False +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {All segmented assets} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1695055884495 +StateAssetId : +StateIsAssetConnected : +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : +``` + +This cmdlet updates an outbound MFA policy for an group. + +## PARAMETERS + +### -AdditionalPortsList +extra ports to open. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstEntityInfoId}, + destination ports. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String[]] + source processes. +${dstProcessNames}, + excluded source assets + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +Excluded source processes + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +protocol 6 for TCP, 17 for UDP. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +source asset(s). +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +source processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +source user(s). +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCENTITYINFOS `: source asset(s). + - `Id `: + +`SRCUSERINFOS `: source user(s). + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsOutboundRule.md b/help/zeronetworks/Update-ZNGroupsOutboundRule.md new file mode 100644 index 0000000..945cf3f --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsOutboundRule.md @@ -0,0 +1,356 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsoutboundrule +schema: 2.0.0 +--- + +# Update-ZNGroupsOutboundRule + +## SYNOPSIS +Updates an outbound rule. + +## SYNTAX + +``` +Update-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Action ] + [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] + [-SrcUsersList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates an outbound rule. + +## EXAMPLES + +### Example 1: Update a rule for a group +```powershell +$group = Get-ZNGroup -Search "Domain controllers" | where {$_.Id -like "g:t:*"} +$rule = Get-ZNGroupsOutboundRule -GroupId $group.Id -GroupType Tag | where {$_.Description -eq "Test Rule"} +$rule.RemoteEntityIdsList += (Search-ZNAsset -Fqdn cs01.posh.local) +Update-ZNGroupsOutboundRule -GroupId $group.Id -GroupType tag -RuleId $rule.id -RemoteEntityIdsList $rule.RemoteEntityIdsList +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 4 +CreatedById : u:a:w27loY5p +CreatedByName : nicholas +CreatedByUserRole : 1 +ItemAction : 1 +ItemActivitiesCount : +ItemApprovedAt : +ItemCreatedAt : 1695055486951 +ItemDescription : Test Rule +ItemDirection : 2 +ItemExcludedEntityInfos : +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 1ce238aa-b84c-4298-a362-f03070829448 +ItemLocalEntityId : g:t:01445453 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:a:OtfLGUBq, a:l:aayoPnNJ} +ItemRemoteEntityInfos : +ItemRuleclass : +ItemState : 1 +ItemUpdatedAt : 1695055637522 +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : m:13c49a4eb4fa90bbb948b6c8de5175ad2d36cfbc +UpdatedByName : ModuleTesting +``` + +This cmdlet updates a rule for a group. + +## PARAMETERS + +### -Action +Allow or Block + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +excluded source entities. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The source asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +the source process paths. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +the destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +the source users. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: the source users. + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNGroupsRpcRule.md b/help/zeronetworks/Update-ZNGroupsRpcRule.md new file mode 100644 index 0000000..e990f51 --- /dev/null +++ b/help/zeronetworks/Update-ZNGroupsRpcRule.md @@ -0,0 +1,351 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsrpcrule +schema: 2.0.0 +--- + +# Update-ZNGroupsRpcRule + +## SYNOPSIS +Updates an RPC rule. + +## SYNTAX + +``` +Update-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Action ] + [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] + [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] + [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an RPC rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +$group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} +Update-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -RuleId "114b8846-2594-477f-bf95-f2c57ee964dd" -Description "Updated Description" +``` + +```output +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1709744353362 +ItemDescription : Updated Description +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : 114b8846-2594-477f-bf95-f2c57ee964dd +ItemInterfaceUuidsList : {} +ItemLocalAssetId : g:t:01669ce2 +ItemOpNumbersList : {} +ItemParentId : +ItemParentType : 0 +ItemProtocolsList : {} +ItemRemoteAssetIdsList : {a:t:4K05Uvvc} +ItemRemoteAssetInfos : +ItemRuleClass : 1 +ItemState : 1 +ItemUserIdsList : {b:111001} +ItemUserInfos : +LocalAssetInfoId : +LocalAssetInfoName : +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates a rpc rule. + +## PARAMETERS + +### -Action +Allow or block. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +the excluded assets. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InterfaceUuidsList +RPC Interface list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalAssetId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpNumbersList +RPC Interface Operations List + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolsList +RPC Protocols list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteAssetIdsList +Source asset list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +The accounts. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.RpcRuleResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNIdentityOnboardingPolicy.md b/help/zeronetworks/Update-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..57aeaa5 --- /dev/null +++ b/help/zeronetworks/Update-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znidentityonboardingpolicy +schema: 2.0.0 +--- + +# Update-ZNIdentityOnboardingPolicy + +## SYNOPSIS +Returns the updated settings for the identity onboarding policy. + +## SYNTAX + +``` +Update-ZNIdentityOnboardingPolicy -OnboardingPolicyId -ExistingMembersLearningDays + -NewMembersLearningDays [-AccountName ] [-Description ] [-Enabled] [-Id ] + [-PolicyType ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the updated settings for the identity onboarding policy. + +## EXAMPLES + +### Example 1: Update Identity onboarding policies +```powershell +Update-ZNIdentityOnboardingPolicy -OnboardingPolicyId "d7915c97-20ea-4639-852d-13cb3d5e228e" -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : 1726166871674 +ItemDescription : +ItemEnabled : True +ItemEnforceBlocks : +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:03669ce2 +ItemId : d7915c97-20ea-4639-852d-13cb3d5e228e +ItemInitialProtectAt : 1731355076896 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 2 +ItemUpdatedAt : 1726169643518 +``` + +This cmdlet updates an identity onboarding policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OnboardingPolicyId +The id of the onboarding policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 2 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNIdentityRule.md b/help/zeronetworks/Update-ZNIdentityRule.md new file mode 100644 index 0000000..e48a279 --- /dev/null +++ b/help/zeronetworks/Update-ZNIdentityRule.md @@ -0,0 +1,243 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znidentityrule +schema: 2.0.0 +--- + +# Update-ZNIdentityRule + +## SYNOPSIS +Updates an identity rule. + +## SYNTAX + +``` +Update-ZNIdentityRule -RuleId [-Action ] [-AssetId ] [-Description ] + [-ExcludedAssetIdsList ] [-ExpiresAt ] [-IdentityProtectionCategoryList ] + [-State ] [-UserIdsList ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an identity rule. + +## EXAMPLES + +### Example 1: Update an identity rule +```powershell +Update-ZNIdentityRule -RuleId 7c2aa070-d6a3-41f2-945f-dbd7ae80f76f -IdentityProtectionCategoryList @(1,3,5) +``` + +This cmdlet updates an identity rule. + +## PARAMETERS + +### -Action +Allow or block. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +the excluded assets. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +The selected logon rights. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +The accounts. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityRule + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNInboundRule.md b/help/zeronetworks/Update-ZNInboundRule.md new file mode 100644 index 0000000..66e4eb7 --- /dev/null +++ b/help/zeronetworks/Update-ZNInboundRule.md @@ -0,0 +1,300 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zninboundrule +schema: 2.0.0 +--- + +# Update-ZNInboundRule + +## SYNOPSIS +Updates an inbound rule. + +## SYNTAX + +``` +Update-ZNInboundRule -RuleId [-Action ] [-Description ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an inbound rule. + +## EXAMPLES + +### Example 1: Update a rule +```powershell +$rule = Get-ZNInboundRule | where {$_.Description -eq "Test Rule"} +$rule.RemoteEntityIdsList = (Search-ZNAsset -Fqdn fs1.zero.labs) +Update-ZNInboundRule -RuleId $rule.id -RemoteEntityIdsList $rule.RemoteEntityIdsList +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemAction : 1 +ItemCreatedAt : 1665663703393 +ItemDescription : Test Rule +ItemDirection : 1 +ItemExcludedLocalIdsList : {} +ItemExpiresAt : 0 +ItemId : 9aff88fd-6bd4-4511-ad4e-3d81a39da784 +ItemLocalEntityId : b:110002 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:a:GnyWAsYs} +ItemRemoteEntityInfos : +ItemState : 1 +ItemUpdatedAt : 1676343470129 +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : 39cc28f6-7bba-4310-95e6-a7e7189a3ed5 +UpdatedByName : Nicholas DiCola +``` + +This cmdlet updates an inbound rule. + +## PARAMETERS + +### -Action +Allow or Block + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +excluded destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +the destination process paths. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +the source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNMfaIdentityPolicy.md b/help/zeronetworks/Update-ZNMfaIdentityPolicy.md new file mode 100644 index 0000000..3178f3f --- /dev/null +++ b/help/zeronetworks/Update-ZNMfaIdentityPolicy.md @@ -0,0 +1,358 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfaidentitypolicy +schema: 2.0.0 +--- + +# Update-ZNMfaIdentityPolicy + +## SYNOPSIS +Updates an identity MFA Policy. + +## SYNTAX + +``` +Update-ZNMfaIdentityPolicy -ReactivePolicyId [-Description ] + [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-FallbackToSingleLoggedOnUser] + [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] + [-SrcUserIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an identity MFA Policy. + +## EXAMPLES + +### Example 1: Update identity MFA policy +```powershell +Update-ZNAssetMfaIdentityPolicy -ReactivePolicyId ec33049b-4e27-4f73-8f6d-8db4f5ff1e59 -Description assettest +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1713440556757 +ItemDescription : assettest +ItemDstAssetId : b:112002 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : False +ItemId : ec33049b-4e27-4f73-8f6d-8db4f5ff1e59 +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {2, 4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1713469629046 +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an identity MFA policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedDstAssetIdsList +excluded destinations + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcAssetIdsList +excluded sources + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtraIdentityProtectionCategoryList +extra logon types to allow + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToSingleLoggedOnUser +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethodsList +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcAssetIdsList +source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +source user(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityReactivePolicy + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNMfaInboundPolicy.md b/help/zeronetworks/Update-ZNMfaInboundPolicy.md new file mode 100644 index 0000000..94f2716 --- /dev/null +++ b/help/zeronetworks/Update-ZNMfaInboundPolicy.md @@ -0,0 +1,429 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfainboundpolicy +schema: 2.0.0 +--- + +# Update-ZNMfaInboundPolicy + +## SYNOPSIS +Updates an inbound MFA Policy. + +## SYNTAX + +``` +Update-ZNMfaInboundPolicy -ReactivePolicyId [-AdditionalPortsList ] + [-Description ] [-DstPort ] [-DstProcessNames ] + [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] + [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] + [-RuleDuration ] [-SrcEntityInfos ] + [-SrcProcessNames ] [-SrcUserInfos ] [-State ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an inbound MFA Policy. + +## EXAMPLES + +### Example 1: Update an inbound MFA policy +```powershell +$mfaPolicy = Get-ZNMfaInboundPolicy -ReactivePolicyId e1db180f-e435-498c-ae17-59651f3c3dc3 +$mfaPolicy.ItemDstPort = $mfaPolicy.ItemDstPort+,",24" +Update-ZNMfaInboundPolicy -ReactivePolicyId $mfaPolicy.ItemId -DstPort $mfaPolicy.ItemDstPort +``` + +```output +DstEntityInfoAssetStatus : 1 +DstEntityInfoAssetType : 0 +DstEntityInfoDomain : +DstEntityInfoFqdn : linuxserver.zero.labs +DstEntityInfoId : a:l:YjoLaKRG +DstEntityInfoIpv4Addresses : {} +DstEntityInfoIpv6Addresses : {} +DstEntityInfoManagers : +DstEntityInfoName : linuxserver +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : 1 +DstEntityInfoSource : 15 +ItemAdditionalPortsList : {} +ItemCreatedAt : 1666114167336 +ItemCreatedBy : m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b +ItemCreatedByName : PowerShell +ItemDescription : +ItemDstPort : 22,24 +ItemDstProcessNames : {*} +ItemFallbackToLoggedOnUser : True +ItemId : e1db180f-e435-498c-ae17-59651f3c3dc3 +ItemMfaMethods : {4} +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Nicholas DiCola} +ItemState : 1 +ItemUpdatedAt : 1676343746061 +StateAssetId : a:l:YjoLaKRG +StateIsAssetConnected : False +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : 1 +``` + +This cmdlet will update an inbound MFA policy. + +## PARAMETERS + +### -AdditionalPortsList +extra ports to open. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstEntityInfoId}, + destination ports. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNames +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +excluded source assets + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +Excluded source processes + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +protocol 6 for TCP, 17 for UDP. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +source asset(s). +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +source processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +source user(s). +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicyInboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCENTITYINFOS `: source asset(s). + - `Id `: + +`SRCUSERINFOS `: source user(s). + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNMfaOutboundPolicy.md b/help/zeronetworks/Update-ZNMfaOutboundPolicy.md new file mode 100644 index 0000000..5a89745 --- /dev/null +++ b/help/zeronetworks/Update-ZNMfaOutboundPolicy.md @@ -0,0 +1,419 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfaoutboundpolicy +schema: 2.0.0 +--- + +# Update-ZNMfaOutboundPolicy + +## SYNOPSIS +Updates an outbound MFA Policy. + +## SYNTAX + +``` +Update-ZNMfaOutboundPolicy -ReactivePolicyId [-AdditionalPortsList ] + [-Description ] [-DstPort ] [-ExcludedSrcEntityInfos ] + [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] + [-ProtocolType ] [-RestrictLoginToOriginatingUser] [-RuleDuration ] + [-SrcEntityInfos ] [-SrcProcessNames ] + [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an outbound MFA Policy. + +## EXAMPLES + +### Example 1: Update an outbound MFA policy +```powershell +$mfaPolicy = Get-ZNMfaOutboundPolicy -ReactivePolicyId b307438a-5a02-49a0-a8e3-944c0558f0fe +$mfaPolicy.ItemDstPort = $mfaPolicy.ItemDstPort+,",23" +Update-ZNMfaOutboundPolicy -ReactivePolicyId $mfaPolicy.ItemId -DstEntityInfoId $mfaPolicy.DstEntityInfoId -DstPort $mfaPolicy.ItemDstPort -FallbackToLoggedOnUser:$false -MfaMethods $mfaPolicy.ItemMfaMethods -ProtocolType $mfaPolicy.ItemProtocolType -RuleCreationMode $mfaPolicy.ItemRuleCreationMode -RuleDuration $mfaPolicy.ItemRuleDuration -SrcEntityInfos $mfaPolicy.ItemSrcEntityInfos -SrcProcessNames $mfaPolicy.ItemSrcProcessNames -SrcUserInfos $mfaPolicy.ItemSrcUserInfos -State $mfaPolicy.ItemState +``` + +```output +DstEntityInfoAssetStatus : 1 +DstEntityInfoAssetType : 0 +DstEntityInfoDomain : +DstEntityInfoFqdn : linuxserver.zero.labs +DstEntityInfoId : a:l:YjoLaKRG +DstEntityInfoIpv4Addresses : {} +DstEntityInfoIpv6Addresses : {} +DstEntityInfoManagers : +DstEntityInfoName : linuxserver +DstEntityInfoOperatingSystem : +DstEntityInfoProtectionState : 1 +DstEntityInfoSource : 15 +ItemAdditionalPortsList : {} +ItemCreatedAt : 1666114167336 +ItemCreatedBy : m:86786c2f022cf2bd7dc38f165c98b4ee736c8c3b +ItemCreatedByName : PowerShell +ItemDescription : +ItemDstPort : 22,24 +ItemDstProcessNames : {*} +ItemFallbackToLoggedOnUser : True +ItemId : e1db180f-e435-498c-ae17-59651f3c3dc3 +ItemMfaMethods : {4} +ItemProtocolType : 6 +ItemRuleDuration : 6 +ItemSrcEntityInfos : {Any asset} +ItemSrcProcessNames : {*} +ItemSrcUserInfos : {Nicholas DiCola} +ItemState : 1 +ItemUpdatedAt : 1676343746061 +StateAssetId : a:l:YjoLaKRG +StateIsAssetConnected : False +StateLasDisconnectedAt : +StateProtectAt : +StateProtectionState : 1 +``` + +This cmdlet will update an outbound MFA policy. + +## PARAMETERS + +### -AdditionalPortsList +extra ports to open. +To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPort +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstEntityInfoId}, + destination ports. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcEntityInfos +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String[]] + source processes. +${dstProcessNames}, + excluded source assets + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcProcesses +Excluded source processes + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToLoggedOnUser +fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethods +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolType +protocol 6 for TCP, 17 for UDP. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcEntityInfos +source asset(s). +To construct, see NOTES section for SRCENTITYINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcEntityInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcProcessNames +source processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserInfos +source user(s). +To construct, see NOTES section for SRCUSERINFOS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IReactivePolicyOutboundBodySrcUserInfosItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`ADDITIONALPORTSLIST `: extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCENTITYINFOS `: source asset(s). + - `Id `: + +`SRCUSERINFOS `: source user(s). + - `Id `: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNNetworkOnboardingPolicy.md b/help/zeronetworks/Update-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..22ab3a5 --- /dev/null +++ b/help/zeronetworks/Update-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znnetworkonboardingpolicy +schema: 2.0.0 +--- + +# Update-ZNNetworkOnboardingPolicy + +## SYNOPSIS +Returns the updated settings for the network onboarding policy. + +## SYNTAX + +``` +Update-ZNNetworkOnboardingPolicy -OnboardingPolicyId -ExistingMembersLearningDays + -NewMembersLearningDays [-AccountName ] [-Description ] [-Enabled] [-Id ] + [-PolicyType ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the updated settings for the network onboarding policy. + +## EXAMPLES + +### Example 1: Update Network onboarding policies +```powershell +Update-ZNNetworkOnboardingPolicy -OnboardingPolicyId "a36d67e7-8497-4a31-a39b-24e73a6b5c78" -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : 1726073476732 +ItemDescription : +ItemEnabled : True +ItemEnforceBlocks : False +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:03669ce2 +ItemId : a36d67e7-8497-4a31-a39b-24e73a6b5c78 +ItemInitialProtectAt : 1731355186489 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 1 +ItemUpdatedAt : 1726169614643 +``` + +This cmdlet updates an Network onboarding policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OnboardingPolicyId +The id of the onboarding policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 1 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNOSType.md b/help/zeronetworks/Update-ZNOSType.md new file mode 100644 index 0000000..0bd342a --- /dev/null +++ b/help/zeronetworks/Update-ZNOSType.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znostype +schema: 2.0.0 +--- + +# Update-ZNOSType + +## SYNOPSIS +Set the OS type (Windows/Linux/Mac) for multiple assets + +## SYNTAX + +``` +Update-ZNOSType -AssetIds -OSType [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Set the OS type (Windows/Linux/Mac) for multiple assets + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OSType +Possible osType: * `1' - Windows * `2' - Linux * `3' - Mac + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNOtRule.md b/help/zeronetworks/Update-ZNOtRule.md new file mode 100644 index 0000000..b2012e7 --- /dev/null +++ b/help/zeronetworks/Update-ZNOtRule.md @@ -0,0 +1,255 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znotrule +schema: 2.0.0 +--- + +# Update-ZNOtRule + +## SYNOPSIS +Add switch rule + +## SYNTAX + +``` +Update-ZNOtRule -RuleId -Action -LocalEntityId -State + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] + [-ProtocolsList ] [-RemoteEntitiesList ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Add switch rule + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Action +* '1' - Allow* '2' - Block + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolsList +. +To construct, see NOTES section for PROTOCOLSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISwitchProtocolsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntitiesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PROTOCOLSLIST `: . + - `[LocalPorts ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[RemotePorts ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNOutboundRule.md b/help/zeronetworks/Update-ZNOutboundRule.md new file mode 100644 index 0000000..4d6c4cc --- /dev/null +++ b/help/zeronetworks/Update-ZNOutboundRule.md @@ -0,0 +1,320 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znoutboundrule +schema: 2.0.0 +--- + +# Update-ZNOutboundRule + +## SYNOPSIS +Updates an outbound rule. + +## SYNTAX + +``` +Update-ZNOutboundRule -RuleId [-Action ] [-Description ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] + [-SrcUsersList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates an outbound rule. + +## EXAMPLES + +### Example 1: Update a rule +```powershell +$rule = Get-ZNOutboundRule | where {$_.Description -eq "Test Rule"} +$rule.RemoteEntityIdsList += (Search-ZNAsset -Fqdn fs1.zero.labs) +Update-ZNOutboundRule -RuleId $rule.id -ExpiresAt $rule.ExpiresAt -LocalEntityId $rule.LocalEntityId -LocalProcessesList $rule.LocalProcessesList -PortsList $rule.PortsList -RemoteEntityIdsList $rule.RemoteEntityIdsList -State $rule.State -Description $rule.Description +``` + +```output +ApprovedById : +ApprovedByName : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemAction : 1 +ItemCreatedAt : 1665679608950 +ItemDescription : Test Rule +ItemDirection : 2 +ItemExpiresAt : 0 +ItemId : fc979495-5e72-4570-b90b-af1394ddabbc +ItemLocalEntityId : b:110002 +ItemLocalProcessesList : {*} +ItemParentId : +ItemParentType : 0 +ItemPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemRemoteEntityIdsList : {a:a:GnyWAsYs, a:a:ZgBWOMyc} +ItemRemoteEntityInfos : +ItemState : 1 +ItemUpdatedAt : 1665679637830 +LocalEntityInfoId : +LocalEntityInfoName : +UpdatedById : 39cc28f6-7bba-4310-95e6-a7e7189a3ed5 +UpdatedByName : Nicholas DiCola +``` + +This cmdlet updates an outbound rule. + +## PARAMETERS + +### -Action +Allow or Block + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedLocalIdsList +excluded source entities. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The source asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalProcessesList +the source process paths. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsList +the destination ports and protocols. +To construct, see NOTES section for PORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteEntityIdsList +the destination asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUsersList +the source users. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTSLIST `: the destination ports and protocols. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: the source users. + - `[Id ]`: + - `[Sid ]`: + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNRpcRule.md b/help/zeronetworks/Update-ZNRpcRule.md new file mode 100644 index 0000000..8e95925 --- /dev/null +++ b/help/zeronetworks/Update-ZNRpcRule.md @@ -0,0 +1,321 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znrpcrule +schema: 2.0.0 +--- + +# Update-ZNRpcRule + +## SYNOPSIS +Updates an RPC rule. + +## SYNTAX + +``` +Update-ZNRpcRule -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] + [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] + [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an RPC rule. + +## EXAMPLES + +### Example 1: Update a rpc rule +```powershell +$rule = (Get-ZNRpcRule).Items[0] +$rule.Description = "Updated Description" +Update-ZNRpcRule -RuleId $rule.id -Description $rule.description +``` + +```output +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemAction : 1 +ItemCreatedAt : 1709744353362 +ItemDescription : Updated Description +ItemExcludedAssetIdsList : {} +ItemExcludedAssetInfos : +ItemExpiresAt : 0 +ItemId : 114b8846-2594-477f-bf95-f2c57ee964dd +ItemInterfaceUuidsList : {} +ItemLocalAssetId : g:t:01669ce2 +ItemOpNumbersList : {} +ItemParentId : +ItemParentType : 0 +ItemProtocolsList : {} +ItemRemoteAssetIdsList : {a:t:4K05Uvvc} +ItemRemoteAssetInfos : +ItemRuleClass : 1 +ItemState : 1 +ItemUserIdsList : {b:111001} +ItemUserInfos : +LocalAssetInfoId : +LocalAssetInfoName : +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates a rpc rule. + +## PARAMETERS + +### -Action +Allow or block. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +the excluded assets. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InterfaceUuidsList +RPC Interface list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalAssetId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OpNumbersList +RPC Interface Operations List + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtocolsList +RPC Protocols list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoteAssetIdsList +Source asset list + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +The accounts. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.RpcRuleResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsAd.md b/help/zeronetworks/Update-ZNSettingsAd.md new file mode 100644 index 0000000..98ecd50 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsAd.md @@ -0,0 +1,218 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsad +schema: 2.0.0 +--- + +# Update-ZNSettingsAd + +## SYNOPSIS +Update AD forest settings. + +## SYNTAX + +``` +Update-ZNSettingsAd -ForestId [-AccountName ] [-AllowNtlmFallback] + [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] + [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] + [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update AD forest settings. + +## EXAMPLES + +### Example 1: Update AD forest settings +```powershell +$forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} +Update-ZNSettingsAd -ForestId $forest.ForestId -ActiveDirectoryInfoDomainControllerFqdn "newdc.test.local" -ActiveDirectoryInfoDomainName $forest.ActiveDirectoryInfoDomainName -ActiveDirectoryInfoUseLdaps:$forest.ActiveDirectoryInfoUseLdaps -ActiveDirectoryInfoUsername $forest.ActiveDirectoryInfoUsername -SetActiveDirectoryInfoPasswordCleartext "newpassword" +``` + +This cmdlet updates AD settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowNtlmFallback +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigDomainControllerFqdn +Domain Controller from AD Domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigDomainName +FQDN of the AD domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigPassword +password for the service account + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigUseLdaps +Use LDAP or LDAPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrimaryDomainConfigUserFqdn +Service Account for Zero Networks + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UsePrimaryUserForAllDomains +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsAdLinux.md b/help/zeronetworks/Update-ZNSettingsAdLinux.md new file mode 100644 index 0000000..df5766a --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsAdLinux.md @@ -0,0 +1,213 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsadlinux +schema: 2.0.0 +--- + +# Update-ZNSettingsAdLinux + +## SYNOPSIS +Adds or updates linux config for a domain. + +## SYNTAX + +``` +Update-ZNSettingsAdLinux -DomainId -ForestId [-AccountName ] + [-AdLinuxConfigAllowInstallPackages] [-AdLinuxConfigPassword ] [-AdLinuxConfigPrivateKey ] + [-AdLinuxConfigUsername ] [-UseForAllDomains] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Adds or updates linux config for a domain. + +## EXAMPLES + +### Example 1: Update AD Limux Config +```powershell +Update-ZNSettingsAdLinux -DomainId test.local -ForestId f:a:9FSrluRh -AdLinuxConfigAllowInstallPackages -AdLinuxConfigPassword "myNewPassword1234!@#$" -AdLinuxConfigPrivateKey '-----BEGIN RSA PRIVATE KEY-----MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEmo3qGy0t6z09AIJtH+5OeRV1be+N4cDYJKffGzDa88vQENZiRm0GRq6a+HPGQMd2kTQIhAKMSvzIBnni7ot/OSie2TmJLY4SwTQAevXysE2RbFDYdAiEBCUEaRQnMnbp79mxDXDf6AU0cN/RPBjb9qSHDcWZHGzUCIG2Es59z8ugGrDY+pxLQnwfotadxd+Uyv/Ow5T0q5gIJAiEAyS4RaI9YG8EWx/2w0T67ZUVAw8eOMB6BIUg0Xcu+3okCIBOs/5OiPgoTdSy7bcF9IGpSE8ZgGKzgYQVZeN97YE00-----END RSA PRIVATE KEY-----' -AdLinuxConfigUsername "zn-admin" -UseForAllDomains +``` + +This cmdlet updates the AD linux config for a domain/forest. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdLinuxConfigAllowInstallPackages +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdLinuxConfigPassword +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdLinuxConfigPrivateKey +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdLinuxConfigUsername +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DomainId +The fqdn of the domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UseForAllDomains +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsAdLinuxAutomationGroup.md b/help/zeronetworks/Update-ZNSettingsAdLinuxAutomationGroup.md new file mode 100644 index 0000000..6e57a59 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsAdLinuxAutomationGroup.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsadlinuxautomationgroup +schema: 2.0.0 +--- + +# Update-ZNSettingsAdLinuxAutomationGroup + +## SYNOPSIS +Update Linux_Rediscover Automation Groups for an AD forest setting. + +## SYNTAX + +``` +Update-ZNSettingsAdLinuxAutomationGroup -ForestId [-AccountName ] + [-MonitoredGroupId ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update Linux_Rediscover Automation Groups for an AD forest setting. + +## EXAMPLES + +### Example 1: Update the AD Linux Monitor Group +```powershell +Update-ZNSettingsAdLinuxAutomationGroup -ForestId "f:a:9FSrluRh" -MonitoredGroupId b:110003 +``` + +This cmdlet updates the AD linux monitoring group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoredGroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsAdSecondary.md b/help/zeronetworks/Update-ZNSettingsAdSecondary.md new file mode 100644 index 0000000..586bcf2 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsAdSecondary.md @@ -0,0 +1,156 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsadsecondary +schema: 2.0.0 +--- + +# Update-ZNSettingsAdSecondary + +## SYNOPSIS +Update a secondary AD settings in Asset Management + +## SYNTAX + +``` +Update-ZNSettingsAdSecondary -DomainId -ForestId [-AccountName ] + [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update a secondary AD settings in Asset Management + +## EXAMPLES + +### Example 1: Update a secondary domain +```powershell +$forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} +Update-ZNSettingsAdSecondary -forest $forest.ForestId -DomainId child.test.local -Dc newdc.child.test.local +``` + +This cmdlet updates the settings for a Secondary domain in AD settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DomainId +The fqdn of the domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecondaryDomainConfigDomainControllerFqdn +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecondaryDomainConfigDomainName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsAdWindowsAutomationGroup.md b/help/zeronetworks/Update-ZNSettingsAdWindowsAutomationGroup.md new file mode 100644 index 0000000..da3cda5 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsAdWindowsAutomationGroup.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsadwindowsautomationgroup +schema: 2.0.0 +--- + +# Update-ZNSettingsAdWindowsAutomationGroup + +## SYNOPSIS +Update Windows Automation Groups for an AD forest setting. + +## SYNTAX + +``` +Update-ZNSettingsAdWindowsAutomationGroup -ForestId [-AccountName ] + [-MonitoredGroupId ] [-ProtectedGroupId ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update Windows Automation Groups for an AD forest setting. + +## EXAMPLES + +### Example 1: Update AD Automation groups +```powershell +Update-ZNSettingsAdWindowsAutomationGroup -ForestId "f:a:9FSrluRh" -MonitoredGroupId b:110003 -ProtectedGroupId g:a:s2FnXfXk +``` + +This cmdlet updates AD automation groups. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoredGroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtectedGroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsAnsible.md b/help/zeronetworks/Update-ZNSettingsAnsible.md new file mode 100644 index 0000000..b8d96b1 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsAnsible.md @@ -0,0 +1,200 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsansible +schema: 2.0.0 +--- + +# Update-ZNSettingsAnsible + +## SYNOPSIS +Get the Ansible settings in Asset Management + +## SYNTAX + +``` +Update-ZNSettingsAnsible [-AccountName ] [-ClientId ] [-ClientSecret ] + [-CredentialsName ] [-DisableCertificateValidation] [-Password ] [-Url ] + [-Username ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Get the Ansible settings in Asset Management + +## EXAMPLES + +### Example 1: Update Ansible setting +```powershell +Update-ZNAnsibleSetting -ClientId "clientId" -CredentialsName ssh -DisableCertificateValidation:$false -Password "password" -Url "https:1.2.3.4" -Username "ZNAccess" +``` + +This cmdlet updates the Ansible setting under Asset Management. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientId +OAuth Client Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientSecret +OAuth Client Secret + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CredentialsName +Name of the creds used to instruct Ansible to connect to linux machines + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DisableCertificateValidation +Control certificate validation + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Password +password to access Ansible API + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +URL of the Ansible server + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Username +username to access Ansible API. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsAnsible + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsAuth.md b/help/zeronetworks/Update-ZNSettingsAuth.md new file mode 100644 index 0000000..b3f0f4d --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsAuth.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsauth +schema: 2.0.0 +--- + +# Update-ZNSettingsAuth + +## SYNOPSIS +Set the portal security settings + +## SYNTAX + +``` +Update-ZNSettingsAuth [-AccountName ] [-PortalTokenTtl ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Set the portal security settings + +## EXAMPLES + +### Example 1: Update Portal session timeout +```powershell +Update-ZNSettingsAuth -PortalTokenTtl 10080 +``` + +This cmdlet updates the Portal session timeout setting. +Use minutes for the PortalTokenTtl + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortalTokenTtl +Portal session token timeout (in minutes) + +```yaml +Type: System.Single +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsBreakGlass.md b/help/zeronetworks/Update-ZNSettingsBreakGlass.md new file mode 100644 index 0000000..ff05cd6 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsBreakGlass.md @@ -0,0 +1,198 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsbreakglass +schema: 2.0.0 +--- + +# Update-ZNSettingsBreakGlass + +## SYNOPSIS +Update break glass settings + +## SYNTAX + +``` +Update-ZNSettingsBreakGlass [-AccountName ] [-AgentConfigAllowIdentity] [-AgentConfigAllowInbound] + [-AgentConfigAllowOutbound] [-TrustConfigAllowIdentity] [-TrustConfigAllowInbound] + [-TrustConfigAllowOutbound] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update break glass settings + +## EXAMPLES + +### Example 1: Update cloud break glass settings +```powershell +Update-ZNSettingsBreakGlass -AgentConfigAllowIdentity -AgentConfigAllowInbound -AgentConfigAllowOutbound -TrustConfigAllowIdentity -TrustConfigAllowInbound -TrustConfigAllowOutbound +``` + +This cmdlet updates the cloud break glass settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AgentConfigAllowIdentity +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AgentConfigAllowInbound +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AgentConfigAllowOutbound +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TrustConfigAllowIdentity +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TrustConfigAllowInbound +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TrustConfigAllowOutbound +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsClientSubnet.md b/help/zeronetworks/Update-ZNSettingsClientSubnet.md new file mode 100644 index 0000000..c3ffaf3 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsClientSubnet.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsclientsubnet +schema: 2.0.0 +--- + +# Update-ZNSettingsClientSubnet + +## SYNOPSIS +Update the Client Subnets settings in System + +## SYNTAX + +``` +Update-ZNSettingsClientSubnet [-AccountName ] [-PrivateIpv4NetworksList ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update the Client Subnets settings in System + +## EXAMPLES + +### Example 1: Update client subnets +```powershell +Update-ZNSettingsClientSubnet -PrivateNetworksList @('192.168.0.0/24') +``` + +This cmdlet updates client subnet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateIpv4NetworksList +Collection of IPv4 subnets that are internal + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsClientsTrustedInternet.md b/help/zeronetworks/Update-ZNSettingsClientsTrustedInternet.md new file mode 100644 index 0000000..1d9bbcd --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsClientsTrustedInternet.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsclientstrustedinternet +schema: 2.0.0 +--- + +# Update-ZNSettingsClientsTrustedInternet + +## SYNOPSIS +Set Clients Trusted Internet settings in System + +## SYNTAX + +``` +Update-ZNSettingsClientsTrustedInternet [-AccountName ] [-Ports ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set Clients Trusted Internet settings in System + +## EXAMPLES + +### Example 1: Update clients trusted internet +```powershell +$newPorts = New-ZNPortsList -Protocol TCP -Ports 80,443 +Update-ZNSettingsClientsTrustedInternet -Ports @($newPorts) +``` + +This cmdlet updates the client trusted internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Ports +. +To construct, see NOTES section for PORTS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTS `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsClientsUntrustedInternet.md b/help/zeronetworks/Update-ZNSettingsClientsUntrustedInternet.md new file mode 100644 index 0000000..9df7199 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsClientsUntrustedInternet.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsclientsuntrustedinternet +schema: 2.0.0 +--- + +# Update-ZNSettingsClientsUntrustedInternet + +## SYNOPSIS +Set Clients Untrusted Internet settings in System + +## SYNTAX + +``` +Update-ZNSettingsClientsUntrustedInternet [-AccountName ] [-Ports ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set Clients Untrusted Internet settings in System + +## EXAMPLES + +### Example 1: Update clients untrusted internet +```powershell +$newPorts = New-ZNPortsList -Protocol TCP -Ports 80,443 +Update-ZNSettingsClientsUntrustedInternet -Ports @($newPorts) +``` + +This cmdlet updates the client untrusted internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Ports +. +To construct, see NOTES section for PORTS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTS `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsClusterStrategy.md b/help/zeronetworks/Update-ZNSettingsClusterStrategy.md new file mode 100644 index 0000000..dd73ee2 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsClusterStrategy.md @@ -0,0 +1,124 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsclusterstrategy +schema: 2.0.0 +--- + +# Update-ZNSettingsClusterStrategy + +## SYNOPSIS +Returns an empty response. + +## SYNTAX + +``` +Update-ZNSettingsClusterStrategy [-AccountName ] [-PreferredDeploymentId ] [-Strategy ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty response. + +## EXAMPLES + +### Example 1: Update Segment server cluster strategy +```powershell +Update-ZNSettingsClusterStrategy -PreferredDeploymentId b41212f2-8f17-4d2b-ad2c-d077fc74fc0d +``` + +This cmdlet sets the preferred trust server under Segment servers. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PreferredDeploymentId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Strategy +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsConnectClientAutoUpdate.md b/help/zeronetworks/Update-ZNSettingsConnectClientAutoUpdate.md new file mode 100644 index 0000000..8438ebb --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsConnectClientAutoUpdate.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsconnectclientautoupdate +schema: 2.0.0 +--- + +# Update-ZNSettingsConnectClientAutoUpdate + +## SYNOPSIS +Set Connect client auto update settings + +## SYNTAX + +``` +Update-ZNSettingsConnectClientAutoUpdate [-AccountName ] [-ClientAutoUpdate] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Set Connect client auto update settings + +## EXAMPLES + +### Example 1: Update Connect client auto update +```powershell +Update-ZNSettingsConnectClientAutoUpdate -ClientAutoUpdate:$true +``` + +This cmdlet updates the setting for Connect client auto updates. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientAutoUpdate +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsConnectRegion.md b/help/zeronetworks/Update-ZNSettingsConnectRegion.md new file mode 100644 index 0000000..2c58c59 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsConnectRegion.md @@ -0,0 +1,184 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsconnectregion +schema: 2.0.0 +--- + +# Update-ZNSettingsConnectRegion + +## SYNOPSIS +Update a Connect Region in Settings + +## SYNTAX + +``` +Update-ZNSettingsConnectRegion -RegionId [-AccountName ] + [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a Connect Region in Settings + +## EXAMPLES + +### Example 1: Update a Connect region +```powershell +$region = Get-ZNSettingsConnectRegion | where {$_.Name -eq "test"} +Update-ZNSettingsConnectRegion -RegionId $region.Id -DnsServersIPAddressList $region.DnsServersIPAddressList -IPAddress $region.IPAddress -DnsSuffixesList @("test.local") -Name $region.Name +``` + +This cmdlet updates a Connect region setting. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DnsServersIPAddressList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DnsSuffixesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IPAddress +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RegionId +connect region id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsConnectServer.md b/help/zeronetworks/Update-ZNSettingsConnectServer.md new file mode 100644 index 0000000..40cdec5 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsConnectServer.md @@ -0,0 +1,125 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsconnectserver +schema: 2.0.0 +--- + +# Update-ZNSettingsConnectServer + +## SYNOPSIS +Update Connect Server in Settings + +## SYNTAX + +``` +Update-ZNSettingsConnectServer -ConnectServerId [-AccountName ] [-PublicPort ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update Connect Server in Settings + +## EXAMPLES + +### Example 1: Update a Connect server +```powershell +$server = Get-ZNSettingsConnectServer +Update-ZNSettingsConnectServer -ConnectServerId $server.Id -PublicPort 53000 +``` + +This cmdlet updates a Connect server. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConnectServerId +connect server id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PublicPort +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsConnectUserAccessConfig.md b/help/zeronetworks/Update-ZNSettingsConnectUserAccessConfig.md new file mode 100644 index 0000000..4874fdb --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsConnectUserAccessConfig.md @@ -0,0 +1,310 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsconnectuseraccessconfig +schema: 2.0.0 +--- + +# Update-ZNSettingsConnectUserAccessConfig + +## SYNOPSIS +Update a Connect User Access Configuration in Settings + +## SYNTAX + +``` +Update-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-AccountName ] + [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] + [-DstEntityIdsList ] [-ForceSsoAuthentication] + [-LoginAuthorizedEntityAllowedAssetIdsList ] + [-LoginAuthorizedEntityAllowedAssetsSourcesList ] + [-LoginAuthorizedEntityAllowedUsersIdsList ] + [-LoginAuthorizedEntityExcludedAssetIdsList ] + [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a Connect User Access Configuration in Settings + +## EXAMPLES + +### Example 1: Update User Access Config +```powershell +$uac = Get-ZNSettingsConnectUserAccessConfig | where {$_. Name -eq 'UAC'} +Update-ZNSettingsConnectUserAccessConfig -UserAccessConfigId $uac.id -SessionTtlHours 24 -DstEntityIdsList @($uac.AllowedDestinations.Id) -MembersIdsList @($uac.MemberIds.Id) -Name $uac.Name +``` + +This cmdlet updates a User Access Config for Connect + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowedRegions +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConnectivityStateAfterReboot +dictionary: * `1` Previous connectivity state * `2` Connected (Always-on) * `3` Disconnected * `4` Signed out + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstEntityIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForceSsoAuthentication +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityAllowedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityAllowedAssetsSourcesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityAllowedUsersIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityExcludedAssetIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LoginAuthorizedEntityExcludedUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SessionTtlHours +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAccessConfigId +userAccessConfigId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsDefaultApplication.md b/help/zeronetworks/Update-ZNSettingsDefaultApplication.md new file mode 100644 index 0000000..b4798ee --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsDefaultApplication.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsdefaultapplication +schema: 2.0.0 +--- + +# Update-ZNSettingsDefaultApplication + +## SYNOPSIS +Update the Default SSO Application settings in Identity Providers + +## SYNTAX + +``` +Update-ZNSettingsDefaultApplication [-AccountName ] [-Application ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update the Default SSO Application settings in Identity Providers + +## EXAMPLES + +### Example 1: Set the default application +```powershell +Update-ZNSettingsDefaultApplication -Application 2 +``` + +This cmdlet updates the default application setting under Identity Providers. +1 for Admin portal, 2 for Access portal. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Application +1-Admin Portal, 2-Access Portal + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsFirewall.md b/help/zeronetworks/Update-ZNSettingsFirewall.md new file mode 100644 index 0000000..7871490 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsFirewall.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsfirewall +schema: 2.0.0 +--- + +# Update-ZNSettingsFirewall + +## SYNOPSIS +Returns the properties of the updated Firewall settings. + +## SYNTAX + +``` +Update-ZNSettingsFirewall [-AccountName ] [-ImplicitIcmpRuleEnabled] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the properties of the updated Firewall settings. + +## EXAMPLES + +### Example 1: Update implicit ICMP settings +```powershell +Update-ZNSettingsFirewall -ImplicitIcmpRuleEnabled:$false +``` + +This cmdlet gets the Firewall - Create implicit ICMP rules setting. +True is "on" and False is "off". + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ImplicitIcmpRuleEnabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsFirewallIgnoredGpo.md b/help/zeronetworks/Update-ZNSettingsFirewallIgnoredGpo.md new file mode 100644 index 0000000..03927bf --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsFirewallIgnoredGpo.md @@ -0,0 +1,131 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsfirewallignoredgpo +schema: 2.0.0 +--- + +# Update-ZNSettingsFirewallIgnoredGpo + +## SYNOPSIS +Returns the properties of ignored GPO rules Firewall settings. + +## SYNTAX + +``` +Update-ZNSettingsFirewallIgnoredGpo [-AccountName ] [-InboundList ] + [-OutboundList ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of ignored GPO rules Firewall settings. + +## EXAMPLES + +### Example 1: Update ignored GPO rules for Asset Health +```powershell +$settingsgpo = Get-ZNSettingsFirewallIgnoredGpo +Update-ZNSettingsFirewallIgnoredGpo -InboundList $settingsgpo.InboundList -OutboundList @("newruletoignore") +``` + +```output +InboundList OutboundList +----------- ------------ +{test} {newruletoignore} +``` + +This cmdlet updates the GPO rules to ignore for Asset Health. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InboundList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OutboundList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsFirewallIgnoredGpo + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsFirewallIgnoredRule.md b/help/zeronetworks/Update-ZNSettingsFirewallIgnoredRule.md new file mode 100644 index 0000000..1758170 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsFirewallIgnoredRule.md @@ -0,0 +1,131 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsfirewallignoredrule +schema: 2.0.0 +--- + +# Update-ZNSettingsFirewallIgnoredRule + +## SYNOPSIS +Returns he properties of ignored rules for anti-tampering Firewall settings. + +## SYNTAX + +``` +Update-ZNSettingsFirewallIgnoredRule [-AccountName ] [-InboundList ] + [-OutboundList ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns he properties of ignored rules for anti-tampering Firewall settings. + +## EXAMPLES + +### Example 1: Update ignored GPO rules for Anti-tampering +```powershell +$settingsignore = Get-ZNSettingsFirewallIgnoredRule +Update-ZNSettingsFirewallIgnoredRule -InboundList $settingsignore.InboundList -OutboundList @("newruletoignore") +``` + +```output +InboundList OutboundList +----------- ------------ +{test} {newruletoignore} +``` + +This cmdlet updates the rules to ignore for Antitampering. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InboundList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OutboundList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsFirewallIgnoredRules + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsFirewallProfile.md b/help/zeronetworks/Update-ZNSettingsFirewallProfile.md new file mode 100644 index 0000000..7e8932e --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsFirewallProfile.md @@ -0,0 +1,244 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsfirewallprofile +schema: 2.0.0 +--- + +# Update-ZNSettingsFirewallProfile + +## SYNOPSIS +Returns the properties of firewall profiles in Firewall settings. + +## SYNTAX + +``` +Update-ZNSettingsFirewallProfile [-AccountName ] [-InboundAllowDomain] [-InboundAllowPrivate] + [-InboundAllowPublic] [-InboundBlockDomain] [-InboundBlockPrivate] [-InboundBlockPublic] + [-OutboundBlockDomain] [-OutboundBlockPrivate] [-OutboundBlockPublic] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the properties of firewall profiles in Firewall settings. + +## EXAMPLES + +### Example 1: Update Firewall profile settings +```powershell +$fwprofiles = Get-ZNSettingsFirewallProfile +Update-ZNSettingsFirewallProfile -InboundAllowDomain:$fwprofiles.InboundAllowDomain -InboundAllowPrivate:$fwprofiles.InboundAllowPrivate -InboundAllowPublic:$true -InboundBlockDomain:$fwprofiles.InboundBlockDomain -InboundBlockPrivate:$fwprofiles.InboundBlockPrivate -InboundBlockPublic:$fwprofiles.InboundBlockPublic -OutboundBlockDomain:$fwprofiles.OutboundBlockDomain -OutboundBlockPrivate:$fwprofiles.OutboundBlockPrivate -OutboundBlockPublic:$fwprofiles.OutboundBlockPublic +``` + +```output +InboundAllowDomain : True +InboundAllowPrivate : True +InboundAllowPublic : True +InboundBlockDomain : True +InboundBlockPrivate : True +InboundBlockPublic : True +OutboundBlockDomain : True +OutboundBlockPrivate : True +OutboundBlockPublic : True +``` + +This cmdlet updates the Firewall profiles settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InboundAllowDomain +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InboundAllowPrivate +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InboundAllowPublic +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InboundBlockDomain +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InboundBlockPrivate +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InboundBlockPublic +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OutboundBlockDomain +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OutboundBlockPrivate +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OutboundBlockPublic +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsFirewallProfiles + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsIdp.md b/help/zeronetworks/Update-ZNSettingsIdp.md new file mode 100644 index 0000000..3e31c35 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsIdp.md @@ -0,0 +1,192 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsidp +schema: 2.0.0 +--- + +# Update-ZNSettingsIdp + +## SYNOPSIS +Update identity provider settings in Identity Providers + +## SYNTAX + +``` +Update-ZNSettingsIdp -IdentityProviderId [-AccountName ] [-Certificate ] + [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update identity provider settings in Identity Providers + +## EXAMPLES + +### Example 1: Update Identity Provider +```powershell +$azure = Get-ZNIdpSetting | where {$_.IdentityProviderType -eq "azure"} +Update-ZNIdpSetting -IdentityProviderId $azure.IdentityProviderType -Certificate $azure.Certificate -IdentityProvider $azure.IdentityProviderType -SloUrl $azure.SloUrl -SsoUrl $azure.SsoUrl -IsDefault +``` + +```output +Certificate +----------- +MIIC8DCCA.. +``` + +This cmdlet updates an Identity Provider setting under Integrations. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Certificate +Identity Provider certificate + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProvider +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProviderId +Identity provider Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsDefault +Set as the default authentication method + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SloUrl +Single Log out url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SsoUrl +Single sign on url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsIdp + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsInactiveAsset.md b/help/zeronetworks/Update-ZNSettingsInactiveAsset.md new file mode 100644 index 0000000..8ab38e3 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsInactiveAsset.md @@ -0,0 +1,109 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsinactiveasset +schema: 2.0.0 +--- + +# Update-ZNSettingsInactiveAsset + +## SYNOPSIS +Update inactive assets settings configuration + +## SYNTAX + +``` +Update-ZNSettingsInactiveAsset [-AccountName ] [-LastActiveDurationInMonths ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update inactive assets settings configuration + +## EXAMPLES + +### Example 1: Update Inactive assets setting +```powershell +Update-ZNSettingsInactiveAsset -LastActiveDurationInMonths 6 +``` + +This cmdlet updates the inactive asset setting. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LastActiveDurationInMonths +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IInactiveAssetsConfig + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsInternalSubnet.md b/help/zeronetworks/Update-ZNSettingsInternalSubnet.md new file mode 100644 index 0000000..4cf744c --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsInternalSubnet.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsinternalsubnet +schema: 2.0.0 +--- + +# Update-ZNSettingsInternalSubnet + +## SYNOPSIS +Update the Internal Subnets settings in System + +## SYNTAX + +``` +Update-ZNSettingsInternalSubnet [-AccountName ] [-PrivateIpv4NetworksList ] + [-PrivateIpv6NetworksList ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update the Internal Subnets settings in System + +## EXAMPLES + +### Example 1: Update internal subnets +```powershell +Update-ZNSettingsInternalSubnet -PrivateNetworksList @("10.0.0.0/8","100.64.0.0/10","169.254.0.0/16","172.16.0.0/12","192.0.0.0/24","192.168.0.0/16","198.18.0.0/15","1.1.1.0/24") +``` + +This cmdlet updates the internal subnets setting under System. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateIpv4NetworksList +Collection of IPv4 subnets that are internal + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateIpv6NetworksList +Collection of IPv4 subnets that are internal + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsJamfCredentials.md b/help/zeronetworks/Update-ZNSettingsJamfCredentials.md new file mode 100644 index 0000000..75c5dbc --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsJamfCredentials.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsjamfcredentials +schema: 2.0.0 +--- + +# Update-ZNSettingsJamfCredentials + +## SYNOPSIS +Returns the updated properties of JAMF Credentials settings. + +## SYNTAX + +``` +Update-ZNSettingsJamfCredentials -Host -Password -Username [-AccountName ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the updated properties of JAMF Credentials settings. + +## EXAMPLES + +### Example 1: Update JAMF credentials +```powershell +Update-ZNJamfCredentialsSetting -Host1 .jamfcloud.com -Username myuser -Password mypassword +``` + +This cmdlet updates the JAMF credential in Settings under Asset Management. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Host +JAMF url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Password +JAMF Password + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Username +JAMF username + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsJamfCredentials + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsLearningConfig.md b/help/zeronetworks/Update-ZNSettingsLearningConfig.md new file mode 100644 index 0000000..567dd18 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsLearningConfig.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingslearningconfig +schema: 2.0.0 +--- + +# Update-ZNSettingsLearningConfig + +## SYNOPSIS +Update Learning Config settings in Network Segmentation + +## SYNTAX + +``` +Update-ZNSettingsLearningConfig [-AccountName ] [-AllowQueueForever] [-AllowQuickLearning] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update Learning Config settings in Network Segmentation + +## EXAMPLES + +### Example 1: Update AI learning settings. +```powershell +Update-ZNSettingsLearningConfig -AllowQueueForever:$true -AllowQuickLearning:$false +``` + +This cmdlet updates the AI learning settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowQueueForever +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowQuickLearning +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsLinuxSetup.md b/help/zeronetworks/Update-ZNSettingsLinuxSetup.md new file mode 100644 index 0000000..882b47d --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsLinuxSetup.md @@ -0,0 +1,109 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingslinuxsetup +schema: 2.0.0 +--- + +# Update-ZNSettingsLinuxSetup + +## SYNOPSIS +Update the linux setup settings in Asset Management + +## SYNTAX + +``` +Update-ZNSettingsLinuxSetup [-AccountName ] [-AllowInstallPackages] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update the linux setup settings in Asset Management + +## EXAMPLES + +### Example 1: Update AI learning config +```powershell +Update-ZNSettingsLinuxSetup -AllowInstallPackages:$false +``` + +This cmdlet updates the AI learning settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowInstallPackages +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsLinuxSetup + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsLinuxUser.md b/help/zeronetworks/Update-ZNSettingsLinuxUser.md new file mode 100644 index 0000000..b332e04 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsLinuxUser.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingslinuxuser +schema: 2.0.0 +--- + +# Update-ZNSettingsLinuxUser + +## SYNOPSIS +Update the linux user settings in Asset Management + +## SYNTAX + +``` +Update-ZNSettingsLinuxUser [-AccountName ] [-Password ] [-PrivateKey ] + [-Username ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update the linux user settings in Asset Management + +## EXAMPLES + +### Example 1: Update linux user setting +```powershell +Update-ZNLinuxUserSetting -Username zn-admin -Password "NewPassword" -PrivateKey "Key" +``` + +This cmdlet updates the Linux user setting under Asset Management. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Password +password for the linux user + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateKey +private key for the linux user + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Username +the linux user name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsLinuxUser + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsMaintenanceWindow.md b/help/zeronetworks/Update-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..7ec3358 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,184 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsmaintenancewindow +schema: 2.0.0 +--- + +# Update-ZNSettingsMaintenanceWindow + +## SYNOPSIS +Returns the maintenance window properties + +## SYNTAX + +``` +Update-ZNSettingsMaintenanceWindow -MaintenanceWindowId [-AccountName ] [-IsDefault] + [-Name ] [-StartTime ] [-Weekday ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the maintenance window properties + +## EXAMPLES + +### Example 1: Update a maintenance window +```powershell +Update-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:eCoheWFb -Weekday 2 -Name Default +``` + +```output +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +ItemCreatedAt : 1728092138778 +ItemId : e:m:eCoheWFb +ItemIsDefault : False +ItemName : Default +ItemStartTime : 0 +ItemUpdatedAt : 1728158598574 +ItemWeekday : 2 +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates a maintenance window. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsDefault +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +id of the maintence window + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTime +0-24 in UTC. +1 would be 01:00-02:00UTC + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Weekday +Sunday is 1, Saturday is 7 + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IMaintenanceWindowItem + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsMfaAuthentication.md b/help/zeronetworks/Update-ZNSettingsMfaAuthentication.md new file mode 100644 index 0000000..4b178ea --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsMfaAuthentication.md @@ -0,0 +1,140 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsmfaauthentication +schema: 2.0.0 +--- + +# Update-ZNSettingsMfaAuthentication + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Update-ZNSettingsMfaAuthentication -IsRequiresAuth -IsSsoForceAuth -TokenTtl [-AccountName ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Update MFA Authentication setting +```powershell +$mfa = Get-ZNMfaAuthenticationSetting +Update-ZNMfaAuthenticationSetting -IsRequiresAuth:$mfa.ItemIsRequiresAuth -IsSsoForceAuth:$mfa.ItemIsSsoForceAuth -TokenTtl 120 +``` + +This cmdlet updates the MFA Authentication setting. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsRequiresAuth +Authentication Required + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsSsoForceAuth +Force sso authentication + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TokenTtl +Token time to live in minutes + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsMfaDetection.md b/help/zeronetworks/Update-ZNSettingsMfaDetection.md new file mode 100644 index 0000000..2c969de --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsMfaDetection.md @@ -0,0 +1,113 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsmfadetection +schema: 2.0.0 +--- + +# Update-ZNSettingsMfaDetection + +## SYNOPSIS +Returns the properties of the updated MFA detection settings. + +## SYNTAX + +``` +Update-ZNSettingsMfaDetection -TimeoutMinutes [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the properties of the updated MFA detection settings. + +## EXAMPLES + +### Example 1: Update MFA detection setting +```powershell +Update-ZNMfaDetectionSetting -TimeoutMinutes 5 +``` + +```output +5 +``` + +This cmdlet updates the MFA detection setting. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TimeoutMinutes +access policy cooldown + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaDetectionResponse + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsNotification.md b/help/zeronetworks/Update-ZNSettingsNotification.md new file mode 100644 index 0000000..3323179 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsNotification.md @@ -0,0 +1,160 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsnotification +schema: 2.0.0 +--- + +# Update-ZNSettingsNotification + +## SYNOPSIS +Returns the properties of the updated Mail Notifications settings. + +## SYNTAX + +``` +Update-ZNSettingsNotification -AssetPostponed -AssetProtected -AssetQueued -AssetUnprotected + [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the properties of the updated Mail Notifications settings. + +## EXAMPLES + +### Example 1: Update mail notifications +```powershell +Update-ZNNotificationSetting -AssetProtected:$true -AssetQueued:$false -AssetUnprotected:$true -AssetPostponed:$true +``` + +```output +AssetProtected AssetProtected AssetQueued AssetUnprotected +-------------- -------------- ----------- ---------------- +True False True True +``` + +This cmdlet updates the Mail notifications setting under System. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetPostponed +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetProtected +Notify asset added to protection + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetQueued +Notify asset added to learning + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetUnprotected +Notify asset removed from protection + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsNotification + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsPrivilegedPort.md b/help/zeronetworks/Update-ZNSettingsPrivilegedPort.md new file mode 100644 index 0000000..465c3f4 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsPrivilegedPort.md @@ -0,0 +1,144 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsprivilegedport +schema: 2.0.0 +--- + +# Update-ZNSettingsPrivilegedPort + +## SYNOPSIS +Set Privileged Ports settings in Network segmentation + +## SYNTAX + +``` +Update-ZNSettingsPrivilegedPort [-AccountName ] [-TcpPorts ] [-UdpPorts ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set Privileged Ports settings in Network segmentation + +## EXAMPLES + +### Example 1: Update privileged port settings +```powershell +$privports = Get-ZNSettingsPrivilegedPort +Update-ZNSettingsPrivilegedPort -TcpPorts $privports.ItemTcpPorts -UdpPorts "1234" +``` + +```output +ItemTcpPorts ItemUdpPorts +------------ ------------ +21-23,445,3389,5985-5986,9389 1234 +``` + +This cmdlet updates privileged port settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TcpPorts +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UdpPorts +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsServersTrustedInternet.md b/help/zeronetworks/Update-ZNSettingsServersTrustedInternet.md new file mode 100644 index 0000000..a855577 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsServersTrustedInternet.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsserverstrustedinternet +schema: 2.0.0 +--- + +# Update-ZNSettingsServersTrustedInternet + +## SYNOPSIS +Set Servers Trusted Internet settings in System + +## SYNTAX + +``` +Update-ZNSettingsServersTrustedInternet [-AccountName ] [-Ports ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set Servers Trusted Internet settings in System + +## EXAMPLES + +### Example 1: Update servers trusted internet +```powershell +$newPorts = New-ZNPortsList -Protocol TCP -Ports 80,443 +Update-ZNSettingsServersTrustedInternet -Ports @($newPorts) +``` + +This cmdlet updates the servers trusted internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Ports +. +To construct, see NOTES section for PORTS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTS `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsServersUntrustedInternet.md b/help/zeronetworks/Update-ZNSettingsServersUntrustedInternet.md new file mode 100644 index 0000000..09ee9cd --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsServersUntrustedInternet.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsserversuntrustedinternet +schema: 2.0.0 +--- + +# Update-ZNSettingsServersUntrustedInternet + +## SYNOPSIS +Set Servers Untrusted Internet settings in System + +## SYNTAX + +``` +Update-ZNSettingsServersUntrustedInternet [-AccountName ] [-Ports ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set Servers Untrusted Internet settings in System + +## EXAMPLES + +### Example 1: Update servers untrusted internet +```powershell +$newPorts = New-ZNPortsList -Protocol TCP -Ports 80,443 +Update-ZNSettingsServersUntrustedInternet -Ports @($newPorts) +``` + +This cmdlet updates the servers untrusted internet settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Ports +. +To construct, see NOTES section for PORTS properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`PORTS `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsTrustedInternetAddress.md b/help/zeronetworks/Update-ZNSettingsTrustedInternetAddress.md new file mode 100644 index 0000000..d99e5d5 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsTrustedInternetAddress.md @@ -0,0 +1,124 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingstrustedinternetaddress +schema: 2.0.0 +--- + +# Update-ZNSettingsTrustedInternetAddress + +## SYNOPSIS +Set Trusted Internet addresses settings in System + +## SYNTAX + +``` +Update-ZNSettingsTrustedInternetAddress [-AccountName ] [-ExternalIpsList ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set Trusted Internet addresses settings in System + +## EXAMPLES + +### Example 1: Update Trusted Internet Addresses +```powershell +$trusted = Get-ZNSettingsTrustedInternetAddress +$trusted += "1.2.3.5" +Update-ZNSettingsTrustedInternetAddress -ExternalIpsList $trusted +``` + +This cmdlet updates the trusted internet addresses list. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExternalIpsList +Collection of Internet IPs that are trusted + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSettingsZpa.md b/help/zeronetworks/Update-ZNSettingsZpa.md new file mode 100644 index 0000000..81fd825 --- /dev/null +++ b/help/zeronetworks/Update-ZNSettingsZpa.md @@ -0,0 +1,184 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingszpa +schema: 2.0.0 +--- + +# Update-ZNSettingsZpa + +## SYNOPSIS +Set ZPA settings in Integrations + +## SYNTAX + +``` +Update-ZNSettingsZpa [-AccountName ] [-ClientOutboundSubnet ] [-GatewayIpsList ] + [-IsEnabled] [-PortsToMfaTcp ] [-PortsToMfaUdp ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Set ZPA settings in Integrations + +## EXAMPLES + +### Example 1: Update ZPA settings +```powershell +$zpa = Get-ZNSettingsZpa +Update-ZNSettingsZpa -ClientOutboundSubnet $zpa.ClientOutboundSubnet -GatewayIpsList $zpa.GatewayIpsList -IsEnabled:$zpa.IsEnabled -PortsToMfaTcp $zpa.PortsToMfaTcp -PortsToMfaUdp "21" +``` + +This cmdlet updates the ZPA settings. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClientOutboundSubnet +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GatewayIpsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsEnabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsToMfaTcp +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PortsToMfaUdp +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNSwitch.md b/help/zeronetworks/Update-ZNSwitch.md new file mode 100644 index 0000000..40dfc21 --- /dev/null +++ b/help/zeronetworks/Update-ZNSwitch.md @@ -0,0 +1,322 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znswitch +schema: 2.0.0 +--- + +# Update-ZNSwitch + +## SYNOPSIS +update a switch + +## SYNTAX + +### PutExpanded (Default) +``` +Update-ZNSwitch [-AccountName ] [-ItemIP ] [-ItemName ] [-ItemPassword ] + [-ItemType ] [-ItemUsername ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### Patch +``` +Update-ZNSwitch -SwitchId -Body [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### PatchExpanded +``` +Update-ZNSwitch -SwitchId [-AccountName ] [-ItemIP ] [-ItemName ] + [-ItemPassword ] [-ItemType ] [-ItemUsername ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### PatchViaIdentity +``` +Update-ZNSwitch -InputObject -Body [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### PatchViaIdentityExpanded +``` +Update-ZNSwitch -InputObject [-AccountName ] [-ItemIP ] [-ItemName ] + [-ItemPassword ] [-ItemType ] [-ItemUsername ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### Put +``` +Update-ZNSwitch -Body [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +update a switch + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Body +. +To construct, see NOTES section for BODY properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISwitch +Parameter Sets: Patch, PatchViaIdentity, Put +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IApiIdentity +Parameter Sets: PatchViaIdentity, PatchViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ItemIP +. + +```yaml +Type: System.String +Parameter Sets: PatchExpanded, PatchViaIdentityExpanded, PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ItemName +. + +```yaml +Type: System.String +Parameter Sets: PatchExpanded, PatchViaIdentityExpanded, PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ItemPassword +. + +```yaml +Type: System.String +Parameter Sets: PatchExpanded, PatchViaIdentityExpanded, PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ItemType +. + +```yaml +Type: System.String +Parameter Sets: PatchExpanded, PatchViaIdentityExpanded, PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ItemUsername +. + +```yaml +Type: System.String +Parameter Sets: PatchExpanded, PatchViaIdentityExpanded, PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SwitchId +switch to delete + +```yaml +Type: System.String +Parameter Sets: Patch, PatchExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IApiIdentity + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISwitch + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`BODY `: . + - `[ItemIP ]`: + - `[ItemName ]`: + - `[ItemPassword ]`: + - `[ItemType ]`: + - `[ItemUsername ]`: + +`INPUTOBJECT `: Identity Parameter + - `[AssetId ]`: assetId to filter on + - `[ClientId ]`: clientId to filter on + - `[ConnectServerId ]`: connect server id + - `[CustomUserId ]`: id of the customer user + - `[DomainId ]`: The fqdn of the domain + - `[EntityId ]`: The id of the user or group + - `[ExportId ]`: exportId to download + - `[ExternalId ]`: The external id of the group + - `[FilterId ]`: The saved filter id + - `[ForestId ]`: The forest id + - `[GroupId ]`: groupId to filter on + - `[GroupOrAssetId ]`: group or asset id to filter on + - `[GroupOrUserId ]`: group or user id to filter on + - `[GroupType ]`: group type to filter on + - `[IdentityProviderId ]`: Identity provider Id + - `[MaintenanceWindowId ]`: id of the maintence window + - `[OnboardingPolicyId ]`: The id of the onboarding policy + - `[PolicyId ]`: id of the external acess policy + - `[ProtectionType ]`: protection type + - `[PushIdentityProviderId ]`: Push Identity provider Id + - `[ReactivePolicyId ]`: The id of the MFA policy + - `[RegionId ]`: connect region id + - `[RoleEntityId ]`: The id of the user or group + - `[RuleId ]`: The id of the rule + - `[SessionId ]`: The id of the session + - `[SwitchId ]`: switch to delete + - `[UserAccessConfigId ]`: userAccessConfigId to filter on + - `[UserId ]`: userId to filter on + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNUserExternalAccessPolicy.md b/help/zeronetworks/Update-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..2317fae --- /dev/null +++ b/help/zeronetworks/Update-ZNUserExternalAccessPolicy.md @@ -0,0 +1,298 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znuserexternalaccesspolicy +schema: 2.0.0 +--- + +# Update-ZNUserExternalAccessPolicy + +## SYNOPSIS +Updates an external access policy. + +## SYNTAX + +``` +Update-ZNUserExternalAccessPolicy -PolicyId -UserId [-Description ] + [-DstPortsList ] [-DstProcessNamesList ] [-Name ] [-RuleDuration ] + [-SrcUserIdsList ] [-State ] [-Url ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates an external access policy. + +## EXAMPLES + +### Example 1: Update an external access policy +```powershell +Update-ZNUserExternalAccessPolicy -UserId "u:a:jRVryncp" -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {u:a:jRVryncp} +ItemSrcUserInfos : {Zero} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://external.psoh.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +description + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + extra ports to open. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +aname. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +Duration of the rule + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +List of source users + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +State + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +Url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +User Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] destination asset(s). ${DstAssetId}, extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNUserIdentityRule.md b/help/zeronetworks/Update-ZNUserIdentityRule.md new file mode 100644 index 0000000..235d1fd --- /dev/null +++ b/help/zeronetworks/Update-ZNUserIdentityRule.md @@ -0,0 +1,259 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znuseridentityrule +schema: 2.0.0 +--- + +# Update-ZNUserIdentityRule + +## SYNOPSIS +Updates an identity rule. + +## SYNTAX + +``` +Update-ZNUserIdentityRule -RuleId -UserId [-Action ] [-AssetId ] + [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] + [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an identity rule. + +## EXAMPLES + +### Example 1: Update an identity rule +```powershell +Update-ZNUserIdentityRule -UserId u:a:7rRJrO6q -RuleId 7c2aa070-d6a3-41f2-945f-dbd7ae80f76f -IdentityProtectionCategoryList @(1,3,5) +``` + +This cmdlet updates an identity rule. + +## PARAMETERS + +### -Action +Allow or block. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +The Destination asset(s). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the rule description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedAssetIdsList +the excluded assets. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExpiresAt +when the rule should expiry. + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +The selected logon rights. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +rule Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the rule state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +User Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIdsList +The accounts. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityRule + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNUserMfaIdentityPolicy.md b/help/zeronetworks/Update-ZNUserMfaIdentityPolicy.md new file mode 100644 index 0000000..55f3305 --- /dev/null +++ b/help/zeronetworks/Update-ZNUserMfaIdentityPolicy.md @@ -0,0 +1,374 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znusermfaidentitypolicy +schema: 2.0.0 +--- + +# Update-ZNUserMfaIdentityPolicy + +## SYNOPSIS +Updates an identity MFA Policy. + +## SYNTAX + +``` +Update-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-Description ] + [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-FallbackToSingleLoggedOnUser] + [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] + [-SrcUserIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an identity MFA Policy. + +## EXAMPLES + +### Example 1: Update identity MFA policy +```powershell +$user = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "zero").items | where {$_.Name -eq "zero"} +Update-ZNAssetMfaIdentityPolicy -UserId $user.id -ReactivePolicyId ec33049b-4e27-4f73-8f6d-8db4f5ff1e59 -Description assettest +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DstEntityInfoId : +DstEntityInfoName : +ItemCreatedAt : 1713440556757 +ItemDescription : assettest +ItemDstAssetId : b:112002 +ItemExcludedDstAssetIdsList : {} +ItemExcludedSrcAssetIdsList : {} +ItemExcludedSrcAssetInfos : {} +ItemExtraIdentityProtectionCategoryList : {} +ItemFallbackToSingleLoggedOnUser : False +ItemId : ec33049b-4e27-4f73-8f6d-8db4f5ff1e59 +ItemIdentityProtectionCategoryList : {5} +ItemInnerId : +ItemMfaMethodsList : {2, 4} +ItemOverrideBuiltins : False +ItemRuleDuration : 6 +ItemSrcAssetIdsList : {b:110001} +ItemSrcAssetInfos : {Any asset} +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1713469629046 +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an identity MFA policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +the policy description. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedDstAssetIdsList +excluded destinations + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedSrcAssetIdsList +excluded sources + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtraIdentityProtectionCategoryList +extra logon types to allow + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FallbackToSingleLoggedOnUser +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + fallback to logged on user enable/disable. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityProtectionCategoryList +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MfaMethodsList +MFA methods. + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverrideBuiltins +Override built in MFA policies + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReactivePolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +the rule expiration. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcAssetIdsList +source asset(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +source user(s). + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +the policy state. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +User + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityReactivePolicy + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNUserType.md b/help/zeronetworks/Update-ZNUserType.md new file mode 100644 index 0000000..d2843d6 --- /dev/null +++ b/help/zeronetworks/Update-ZNUserType.md @@ -0,0 +1,162 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znusertype +schema: 2.0.0 +--- + +# Update-ZNUserType + +## SYNOPSIS +Set user type + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-ZNUserType -UserId -UserType [-AccountName ] [-Comment ] [-Confirm] + [-WhatIf] [] +``` + +### UpdateExpanded1 +``` +Update-ZNUserType -Comment -UserIds -UserType [-AccountName ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Set user type + +## EXAMPLES + +### Example 1: Update a user type. +```powershell +Update-ZNUserType -UserId u:a:4UydfhAS -UserType 3 -Comment "wrong" +``` + +This cmdlet updates the user type. +UNDETERMINED = 1, HUMAN = 2, SERVICE ACCOUNT = 3, SHARED 4, SYSTEM = 5, OTHER = 6 + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Comment +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIds +. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/Update-ZNUsersManagedAsset.md b/help/zeronetworks/Update-ZNUsersManagedAsset.md new file mode 100644 index 0000000..edbfaf9 --- /dev/null +++ b/help/zeronetworks/Update-ZNUsersManagedAsset.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znusersmanagedasset +schema: 2.0.0 +--- + +# Update-ZNUsersManagedAsset + +## SYNOPSIS +Update a managed asset for user + +## SYNTAX + +``` +Update-ZNUsersManagedAsset -UserId -EntityId [-AccountName ] [-Permission ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a managed asset for user + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +managed asset id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/help/zeronetworks/ZeroNetworks.md b/help/zeronetworks/ZeroNetworks.md new file mode 100644 index 0000000..426fdf3 --- /dev/null +++ b/help/zeronetworks/ZeroNetworks.md @@ -0,0 +1,1509 @@ +--- +Module Name: ZeroNetworks +Module Guid: e1524bd8-23dd-43fa-bcc0-196b3c1ef81c +Download Help Link: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks +Help Version: 1.0.0.0 +Locale: en-US +--- + +# ZeroNetworks Module +## Description +Zero Networks PowerShell cmdlets + +## ZeroNetworks Cmdlets +### [Add-ZNAssetManager](Add-ZNAssetManager.md) +Add an asset manager of asset + +### [Add-ZNAssetOtAssetManager](Add-ZNAssetOtAssetManager.md) +Add an asset manager of asset + +### [Add-ZNAssetRpcMonitoring](Add-ZNAssetRpcMonitoring.md) +Returns an empty object. + +### [Add-ZNCustomGroupsMember](Add-ZNCustomGroupsMember.md) +Returns an empty object. + +### [Add-ZNGroupsAssetManager](Add-ZNGroupsAssetManager.md) +Add an asset manager of a group + +### [Add-ZNGroupsManagedAsset](Add-ZNGroupsManagedAsset.md) +Add a managed assets for group + +### [Add-ZNTagGroupsMember](Add-ZNTagGroupsMember.md) +Returns an empty object. + +### [Add-ZNUsersManagedAsset](Add-ZNUsersManagedAsset.md) +Add a managed assets for user + +### [Approve-ZNAssetInboundRuleReview](Approve-ZNAssetInboundRuleReview.md) +Approve a "pending review" rule with or without changes + +### [Approve-ZNAssetOutboundRuleReview](Approve-ZNAssetOutboundRuleReview.md) +Approve a "pending review" rule with or without changes + +### [Approve-ZNInboundRuleReview](Approve-ZNInboundRuleReview.md) +Approve a "pending review" rule with or without changes + +### [Approve-ZNOutboundRuleReview](Approve-ZNOutboundRuleReview.md) +Approve a "pending review" rule with or without changes + +### [Connect-ZN](Connect-ZN.md) +Login to Zero Networks to get a token for cmdlet use + +### [Deny-ZNAssetInboundRuleReview](Deny-ZNAssetInboundRuleReview.md) +Reject a "pending review" rule + +### [Deny-ZNAssetOutboundRuleReview](Deny-ZNAssetOutboundRuleReview.md) +Reject a "pending review" rule + +### [Deny-ZNInboundRuleReview](Deny-ZNInboundRuleReview.md) +Reject a "pending review" rule + +### [Deny-ZNOutboundRuleReview](Deny-ZNOutboundRuleReview.md) +Reject a "pending review" rule + +### [Disconnect-ZN](Disconnect-ZN.md) +Logout of Zero Networks + +### [Enable-ZNAssetQuarantine](Enable-ZNAssetQuarantine.md) +Returns an empty object. + +### [Get-ZNAeExclusionsInbound](Get-ZNAeExclusionsInbound.md) +Returns a list of AE exclusions. + +### [Get-ZNAeExclusionsOutbound](Get-ZNAeExclusionsOutbound.md) +Returns a list of AE exclusions. + +### [Get-ZNAiExclusionNetworkBoth](Get-ZNAiExclusionNetworkBoth.md) +Get AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +### [Get-ZNAiExclusionNetworkClient](Get-ZNAiExclusionNetworkClient.md) +Get AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +### [Get-ZNAiExclusionNetworkServer](Get-ZNAiExclusionNetworkServer.md) +Get AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +### [Get-ZNAiExclusionSourceCandidate](Get-ZNAiExclusionSourceCandidate.md) +Get AI source candidates to ignore during learning. + +### [Get-ZNAiExclusionSourceEntity](Get-ZNAiExclusionSourceEntity.md) +Get AI source entities to ignore during learning. + +### [Get-ZNAiNextBatch](Get-ZNAiNextBatch.md) +Returns a date in epoch(ms) for the next batch of AI rules. + +### [Get-ZNAsset](Get-ZNAsset.md) +Returns the properties of an asset. + +### [Get-ZNAssetAnalysis](Get-ZNAssetAnalysis.md) +Returns an object with asset analysis data. + +### [Get-ZNAssetAudit](Get-ZNAssetAudit.md) +Returns a list of audits for the asset. + +### [Get-ZNAssetClusterInfo](Get-ZNAssetClusterInfo.md) +Returns an object of cluster name and cluster members + +### [Get-ZNAssetExternalAccessPolicy](Get-ZNAssetExternalAccessPolicy.md) +Returns an external access policy. + +### [Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate](Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md) +Returns a list of destunation assets candidates for an external access policy. + +### [Get-ZNAssetExternalAccessPolicySourceUserCandidate](Get-ZNAssetExternalAccessPolicySourceUserCandidate.md) +Returns a list of source user candidates for external access policies. + +### [Get-ZNAssetExternalAccessPolicyStatistics](Get-ZNAssetExternalAccessPolicyStatistics.md) +Returns statistics for an external access policy. + +### [Get-ZNAssetHealthState](Get-ZNAssetHealthState.md) +Get asset health state + +### [Get-ZNAssetIdentityRule](Get-ZNAssetIdentityRule.md) +Returns the properties of an Identity rule. + +### [Get-ZNAssetIdentityRulesAssetsCandidate](Get-ZNAssetIdentityRulesAssetsCandidate.md) +Returns a list of assets candidates for Identity rules. + +### [Get-ZNAssetIdentityRulesExcludedAssetsCandidate](Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md) +Returns a list of excluded assets candidates for Identity rules. + +### [Get-ZNAssetIdentityRulesUserCandidate](Get-ZNAssetIdentityRulesUserCandidate.md) +Returns a list of user candidates for Identity rules. + +### [Get-ZNAssetInboundRule](Get-ZNAssetInboundRule.md) +Returns the properties of an Inbound rule. + +### [Get-ZNAssetInboundRulesDestinationCandidate](Get-ZNAssetInboundRulesDestinationCandidate.md) +Returns a list of destination candidates for Inbound rules. + +### [Get-ZNAssetInboundRulesExcludedDestinationCandidate](Get-ZNAssetInboundRulesExcludedDestinationCandidate.md) +Returns a list of excluded destination candidates for Inbound rules. + +### [Get-ZNAssetInboundRulesSourceCandidate](Get-ZNAssetInboundRulesSourceCandidate.md) +Returns a list of source candidates for Inbound rules. + +### [Get-ZNAssetListeningPort](Get-ZNAssetListeningPort.md) +List listening ports of an asset + +### [Get-ZNAssetManager](Get-ZNAssetManager.md) +Get asset managers of asset + +### [Get-ZNAssetManagersCandidate](Get-ZNAssetManagersCandidate.md) +Get manager candidates for asset managers + +### [Get-ZNAssetMemberOf](Get-ZNAssetMemberOf.md) +Returns a list of groups the asset is a member of. + +### [Get-ZNAssetMemberOfGroupCandidate](Get-ZNAssetMemberOfGroupCandidate.md) +Returns a list of groups the asset can be a member of. + +### [Get-ZNAssetMfaIdentityPoliciesDestinationCandidate](Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md) +Returns a list of candidates for the destination of an identity MFA policy. + +### [Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate](Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +### [Get-ZNAssetMfaIdentityPoliciesMfamethod](Get-ZNAssetMfaIdentityPoliciesMfamethod.md) +Returns a list of MFA methods for Identity MFA policies. + +### [Get-ZNAssetMfaIdentityPoliciesSourceCandidate](Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md) +Returns a list of source candidates on Identity MFA policies. + +### [Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate](Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md) +Returns a list of source user candidates for Identity MFA policies. + +### [Get-ZNAssetMfaIdentityPolicy](Get-ZNAssetMfaIdentityPolicy.md) +Returns a Identity MFA policy object. + +### [Get-ZNAssetMfaInboundPoliciesDestinationCandidate](Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md) +Returns a list of candidates for the destination of an inbound MFA policy. + +### [Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate](Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +### [Get-ZNAssetMfaInboundPoliciesMfamethod](Get-ZNAssetMfaInboundPoliciesMfamethod.md) +Returns a list of MFA methods for inbound MFA policies. + +### [Get-ZNAssetMfaInboundPoliciesSourceCandidate](Get-ZNAssetMfaInboundPoliciesSourceCandidate.md) +Returns a list of source candidates on inbound MFA policies. + +### [Get-ZNAssetMfaInboundPoliciesSourceUserCandidate](Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md) +Returns a list of source user candidates for inbound MFA policies. + +### [Get-ZNAssetMfaInboundPolicy](Get-ZNAssetMfaInboundPolicy.md) +Returns a inbound MFA policy object. + +### [Get-ZNAssetMfaOutboundPoliciesDestinationCandidate](Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md) +Returns a list of destination candidates on outbound MFA policies. + +### [Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate](Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +### [Get-ZNAssetMfaOutboundPoliciesMfamethod](Get-ZNAssetMfaOutboundPoliciesMfamethod.md) +Returns a list of MFA methods on outbound MFA policies. + +### [Get-ZNAssetMfaOutboundPoliciesSourceCandidate](Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md) +Returns a list of source candidates on outbound MFA policies. + +### [Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate](Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md) +Returns a list of source users candidates on outbound MFA policies. + +### [Get-ZNAssetMfaOutboundPolicy](Get-ZNAssetMfaOutboundPolicy.md) +Returns the properties of an outbound MFA policy. + +### [Get-ZNAssetOt](Get-ZNAssetOt.md) +Returns the properties of an OT asset. + +### [Get-ZNAssetOtAssetManager](Get-ZNAssetOtAssetManager.md) +Get asset managers of asset + +### [Get-ZNAssetOtAssetManagersCandidate](Get-ZNAssetOtAssetManagersCandidate.md) +Get manager candidates for asset managers + +### [Get-ZNAssetOtAudit](Get-ZNAssetOtAudit.md) +Returns a list of audits for the asset. + +### [Get-ZNAssetOtMemberOf](Get-ZNAssetOtMemberOf.md) +Returns a list of groups the asset is a member of. + +### [Get-ZNAssetOtMemberOfGroupCandidate](Get-ZNAssetOtMemberOfGroupCandidate.md) +Returns a list of groups the asset can be a member of. + +### [Get-ZNAssetOtTag](Get-ZNAssetOtTag.md) +Returns a list of tags for an entity. + +### [Get-ZNAssetOutboundRule](Get-ZNAssetOutboundRule.md) +Returns the properties of an Outbound rule. + +### [Get-ZNAssetOutboundRulesDestinationCandidate](Get-ZNAssetOutboundRulesDestinationCandidate.md) +Returns a list of destination candidates for Outbound rules. + +### [Get-ZNAssetOutboundRulesExcludedSourceCandidate](Get-ZNAssetOutboundRulesExcludedSourceCandidate.md) +Returns a list of excluded source candidates for Outbound rules. + +### [Get-ZNAssetOutboundRulesSourceCandidate](Get-ZNAssetOutboundRulesSourceCandidate.md) +Returns a list of source candidates for Outbound rules. + +### [Get-ZNAssetOutboundRulesUserCandidate](Get-ZNAssetOutboundRulesUserCandidate.md) +Returns a list of users candidates for Outbound rules. + +### [Get-ZNAssetPreferredSegmentServer](Get-ZNAssetPreferredSegmentServer.md) +Returns the preferred segment server id. + +### [Get-ZNAssetRpcRule](Get-ZNAssetRpcRule.md) +Returns the properties of an RPC rule. + +### [Get-ZNAssetRpcRulesDestinationCandidate](Get-ZNAssetRpcRulesDestinationCandidate.md) +Returns a list of destination candidates for RPC rules. + +### [Get-ZNAssetRpcRulesExcludedDestinationCandidate](Get-ZNAssetRpcRulesExcludedDestinationCandidate.md) +Returns a list of excluded destination candidates for RPC rules. + +### [Get-ZNAssetRpcRulesSourceCandidate](Get-ZNAssetRpcRulesSourceCandidate.md) +Returns a list of source candidates for RPC rules. + +### [Get-ZNAssetRpcRulesUserCandidate](Get-ZNAssetRpcRulesUserCandidate.md) +Returns a list of user candidates for RPC rules. + +### [Get-ZNAssetRulesDistribution](Get-ZNAssetRulesDistribution.md) +Returns an object with rules distribution. + +### [Get-ZNAssetsIdentityQueued](Get-ZNAssetsIdentityQueued.md) +Returns a list of assets that are identity learning. + +### [Get-ZNAssetsIdentitySegmented](Get-ZNAssetsIdentitySegmented.md) +Returns a list of assets that are identity segmented. + +### [Get-ZNAssetsInactive](Get-ZNAssetsInactive.md) +Returns a list of assets that are inactive. + +### [Get-ZNAssetsMonitored](Get-ZNAssetsMonitored.md) +Returns a list of assets that are monitored. + +### [Get-ZNAssetsNetworkQueued](Get-ZNAssetsNetworkQueued.md) +Returns a list of assets in network learning. + +### [Get-ZNAssetsNetworkSegmented](Get-ZNAssetsNetworkSegmented.md) +Returns a list of Protected assets. + +### [Get-ZNAssetsOt](Get-ZNAssetsOt.md) +Returns a list of OT/IoT assets. + +### [Get-ZNAssetsRpcMonitored](Get-ZNAssetsRpcMonitored.md) +Returns a list of assets that are RPC monitored. + +### [Get-ZNAssetsRpcQueued](Get-ZNAssetsRpcQueued.md) +Returns a list of assets in RPC learning. + +### [Get-ZNAssetsRpcSegmented](Get-ZNAssetsRpcSegmented.md) +Returns a list of assets that are RPC Segmented. + +### [Get-ZNAssetsStatesStatistics](Get-ZNAssetsStatesStatistics.md) +Returns an object with asset state statistics. + +### [Get-ZNAssetsStatistics](Get-ZNAssetsStatistics.md) +Returns an object with asset statistics. + +### [Get-ZNAssetTag](Get-ZNAssetTag.md) +Returns a list of tags for an entity. + +### [Get-ZNAudit](Get-ZNAudit.md) +Returns a list of audit events. + +### [Get-ZNCustomGroupsCandidate](Get-ZNCustomGroupsCandidate.md) +Returns a list of candidates for custom group membership. + +### [Get-ZNExternalAccessPolicy](Get-ZNExternalAccessPolicy.md) +Returns an external access policy. + +### [Get-ZNExternalAccessPolicyDestinationAssetsCandidate](Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md) +Returns a list of destunation assets candidates for an external access policy. + +### [Get-ZNExternalAccessPolicySourceUserCandidate](Get-ZNExternalAccessPolicySourceUserCandidate.md) +Returns a list of source user candidates for external access policies. + +### [Get-ZNExternalAccessPolicyStatistics](Get-ZNExternalAccessPolicyStatistics.md) +Returns statistics for an external access policy. + +### [Get-ZNGroup](Get-ZNGroup.md) +Returns the properties of an group. + +### [Get-ZNGroupAudit](Get-ZNGroupAudit.md) +Returns a list of audits for the group. + +### [Get-ZNGroupMemberOf](Get-ZNGroupMemberOf.md) +Returns a list of groups the group is a member of. + +### [Get-ZNGroupMemberOfGroupCandidate](Get-ZNGroupMemberOfGroupCandidate.md) +Returns a list of groups the asset can be a member of. + +### [Get-ZNGroupsAssetManager](Get-ZNGroupsAssetManager.md) +Get asset managers of group + +### [Get-ZNGroupsAssetManagersCandidate](Get-ZNGroupsAssetManagersCandidate.md) +Get manager candidates for group managers + +### [Get-ZNGroupsByType](Get-ZNGroupsByType.md) +Returns a list of groups. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + +### [Get-ZNGroupsExternalAccessPolicy](Get-ZNGroupsExternalAccessPolicy.md) +Returns an external access policy. + +### [Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate](Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md) +Returns a list of destunation assets candidates for an external access policy. + +### [Get-ZNGroupsExternalAccessPolicySourceUserCandidate](Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md) +Returns a list of source user candidates for external access policies. + +### [Get-ZNGroupsExternalAccessPolicyStatistics](Get-ZNGroupsExternalAccessPolicyStatistics.md) +Returns statistics for an external access policy. + +### [Get-ZNGroupsIdentityRule](Get-ZNGroupsIdentityRule.md) +Returns an identity segmentation rule. + +### [Get-ZNGroupsIdentityRulesAssetsCandidate](Get-ZNGroupsIdentityRulesAssetsCandidate.md) +Returns a list of assets candidates for Identity rules. + +### [Get-ZNGroupsIdentityRulesExcludedAssetsCandidate](Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md) +Returns a list of excluded Assets candidates for Identity rules. + +### [Get-ZNGroupsIdentityRulesUserCandidate](Get-ZNGroupsIdentityRulesUserCandidate.md) +Returns a list of user candidates for Identity rules. + +### [Get-ZNGroupsInboundRule](Get-ZNGroupsInboundRule.md) +Returns the properties of an Inbound rule. + +### [Get-ZNGroupsInboundRulesDestinationCandidate](Get-ZNGroupsInboundRulesDestinationCandidate.md) +Returns a list of destination candidates for Inbound rules. + +### [Get-ZNGroupsInboundRulesExcludedDestinationCandidate](Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md) +Returns a list of excluded destination candidates for Inbound rules. + +### [Get-ZNGroupsInboundRulesSourceCandidate](Get-ZNGroupsInboundRulesSourceCandidate.md) +Returns a list of source candidates for Inbound rules. + +### [Get-ZNGroupsManagedAsset](Get-ZNGroupsManagedAsset.md) +Get managed assets for group + +### [Get-ZNGroupsManagedAssetsCandidate](Get-ZNGroupsManagedAssetsCandidate.md) +Get asset candidates to be managed by group + +### [Get-ZNGroupsMember](Get-ZNGroupsMember.md) +Returns a list of potential members for a group. + +### [Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate](Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md) +Returns a list of candidates for the destination of an identity MFA policy. + +### [Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate](Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +### [Get-ZNGroupsMfaIdentityPoliciesMfamethod](Get-ZNGroupsMfaIdentityPoliciesMfamethod.md) +Returns a list of MFA methods for Identity MFA policies. + +### [Get-ZNGroupsMfaIdentityPoliciesSourceCandidate](Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md) +Returns a list of source candidates on Identity MFA policies. + +### [Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate](Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md) +Returns a list of source user candidates for Identity MFA policies. + +### [Get-ZNGroupsMfaIdentityPolicy](Get-ZNGroupsMfaIdentityPolicy.md) +Returns a Identity MFA policy object. + +### [Get-ZNGroupsMfaInboundPoliciesDestinationCandidate](Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md) +Returns a list of candidates for the destination of an inbound MFA policy. + +### [Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate](Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +### [Get-ZNGroupsMfaInboundPoliciesMfamethod](Get-ZNGroupsMfaInboundPoliciesMfamethod.md) +Returns a list of MFA methods for inbound MFA policies. + +### [Get-ZNGroupsMfaInboundPoliciesSourceCandidate](Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md) +Returns a list of source candidates on inbound MFA policies. + +### [Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate](Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md) +Returns a list of source user candidates for inbound MFA policies. + +### [Get-ZNGroupsMfaInboundPolicy](Get-ZNGroupsMfaInboundPolicy.md) +Returns a inbound MFA policy object. + +### [Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate](Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md) +Returns a list of destination candidates on outbound MFA policies. + +### [Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate](Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +### [Get-ZNGroupsMfaOutboundPoliciesMfamethod](Get-ZNGroupsMfaOutboundPoliciesMfamethod.md) +Returns a list of MFA methods on outbound MFA policies. + +### [Get-ZNGroupsMfaOutboundPoliciesSourceCandidate](Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md) +Returns a list of source candidates on outbound MFA policies. + +### [Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate](Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md) +Returns a list of source users candidates on outbound MFA policies. + +### [Get-ZNGroupsMfaOutboundPolicy](Get-ZNGroupsMfaOutboundPolicy.md) +Returns the properties of an outbound MFA policy. + +### [Get-ZNGroupsOutboundRule](Get-ZNGroupsOutboundRule.md) +Returns the properties of an Outbound rule. + +### [Get-ZNGroupsOutboundRulesDestinationCandidate](Get-ZNGroupsOutboundRulesDestinationCandidate.md) +Returns a list of destination candidates for Outbound rules. + +### [Get-ZNGroupsOutboundRulesExcludedSourceCandidate](Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md) +Returns a list of excluded source candidates for Outbound rules. + +### [Get-ZNGroupsOutboundRulesSourceCandidate](Get-ZNGroupsOutboundRulesSourceCandidate.md) +Returns a list of source candidates for Outbound rules. + +### [Get-ZNGroupsOutboundRulesUserCandidate](Get-ZNGroupsOutboundRulesUserCandidate.md) +Returns a list of users candidates for Outbound rules. + +### [Get-ZNGroupsRpcRule](Get-ZNGroupsRpcRule.md) +Returns the properties of an RPC rule. + +### [Get-ZNGroupsRpcRulesDestinationCandidate](Get-ZNGroupsRpcRulesDestinationCandidate.md) +Returns a list of destination candidates for RPC rules. + +### [Get-ZNGroupsRpcRulesExcludedDestinationCandidate](Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md) +Returns a list of excluded destination candidates for RPC rules. + +### [Get-ZNGroupsRpcRulesSourceCandidate](Get-ZNGroupsRpcRulesSourceCandidate.md) +Returns a list of source candidates for RPC rules. + +### [Get-ZNGroupsRpcRulesUserCandidate](Get-ZNGroupsRpcRulesUserCandidate.md) +Returns a list of user candidates for RPC rules. + +### [Get-ZNGroupsRulesDistribution](Get-ZNGroupsRulesDistribution.md) +Returns an object with rules distribution. + +### [Get-ZNGroupsStatistics](Get-ZNGroupsStatistics.md) +Returns an object with group statistics. + +### [Get-ZNIdentityOnboardingPoliciesGroupCandidate](Get-ZNIdentityOnboardingPoliciesGroupCandidate.md) +Returns a list of candidates for identity onboarding policies. + +### [Get-ZNIdentityOnboardingPolicy](Get-ZNIdentityOnboardingPolicy.md) +Returns a list of identity onboarding policies. + +### [Get-ZNIdentityRule](Get-ZNIdentityRule.md) +Returns an identity segmentation rule. + +### [Get-ZNIdentityRulesAssetsCandidate](Get-ZNIdentityRulesAssetsCandidate.md) +Returns a list of assets candidates for Identity rules. + +### [Get-ZNIdentityRulesExcludedAssetsCandidate](Get-ZNIdentityRulesExcludedAssetsCandidate.md) +Returns a list of excluded assets candidates for Identity rules. + +### [Get-ZNIdentityRulesUserCandidate](Get-ZNIdentityRulesUserCandidate.md) +Returns a list of user candidates for Identity rules. + +### [Get-ZNInboundRule](Get-ZNInboundRule.md) +Returns the properties of an Inbound rule. + +### [Get-ZNInboundRulesDestinationCandidate](Get-ZNInboundRulesDestinationCandidate.md) +Returns a list of destination candidates for Inbound rules. + +### [Get-ZNInboundRulesExcludedDestinationCandidate](Get-ZNInboundRulesExcludedDestinationCandidate.md) +Returns a list of excluded destination candidates for Inbound rules. + +### [Get-ZNInboundRulesSourceCandidate](Get-ZNInboundRulesSourceCandidate.md) +Returns a list of source candidates for Inbound rules. + +### [Get-ZNMfaIdentityPoliciesDestinationCandidate](Get-ZNMfaIdentityPoliciesDestinationCandidate.md) +Returns a list of candidates for the destination of an identity MFA policy. + +### [Get-ZNMfaIdentityPoliciesExcludedSourceCandidate](Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +### [Get-ZNMfaIdentityPoliciesMfamethod](Get-ZNMfaIdentityPoliciesMfamethod.md) +Returns a list of MFA methods for Identity MFA policies. + +### [Get-ZNMfaIdentityPoliciesSourceCandidate](Get-ZNMfaIdentityPoliciesSourceCandidate.md) +Returns a list of source candidates on Identity MFA policies. + +### [Get-ZNMfaIdentityPoliciesSourceUserCandidate](Get-ZNMfaIdentityPoliciesSourceUserCandidate.md) +Returns a list of source user candidates for Identity MFA policies. + +### [Get-ZNMfaIdentityPolicy](Get-ZNMfaIdentityPolicy.md) +Returns a Identity MFA policy object. + +### [Get-ZNMfaInboundPoliciesDestinationCandidate](Get-ZNMfaInboundPoliciesDestinationCandidate.md) +Returns a list of candidates for the destination of an inbound MFA policy. + +### [Get-ZNMfaInboundPoliciesExcludedSourceCandidate](Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an inbound MFA policy. + +### [Get-ZNMfaInboundPoliciesMfamethod](Get-ZNMfaInboundPoliciesMfamethod.md) +Returns a list of MFA methods for inbound MFA policies. + +### [Get-ZNMfaInboundPoliciesSourceCandidate](Get-ZNMfaInboundPoliciesSourceCandidate.md) +Returns a list of source candidates on inbound MFA policies. + +### [Get-ZNMfaInboundPoliciesSourceUserCandidate](Get-ZNMfaInboundPoliciesSourceUserCandidate.md) +Returns a list of source user candidates for inbound MFA policies. + +### [Get-ZNMfaInboundPolicy](Get-ZNMfaInboundPolicy.md) +Returns a inbound MFA policy object. + +### [Get-ZNMfaOutboundPoliciesDestinationCandidate](Get-ZNMfaOutboundPoliciesDestinationCandidate.md) +Returns a list of destination candidates on outbound MFA policies. + +### [Get-ZNMfaOutboundPoliciesExcludedSourceCandidate](Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an outbound MFA policy. + +### [Get-ZNMfaOutboundPoliciesMfamethod](Get-ZNMfaOutboundPoliciesMfamethod.md) +Returns a list of MFA methods on outbound MFA policies. + +### [Get-ZNMfaOutboundPoliciesSourceCandidate](Get-ZNMfaOutboundPoliciesSourceCandidate.md) +Returns a list of source candidates on outbound MFA policies. + +### [Get-ZNMfaOutboundPoliciesSourceUserCandidate](Get-ZNMfaOutboundPoliciesSourceUserCandidate.md) +Returns a list of source users candidates on outbound MFA policies. + +### [Get-ZNMfaOutboundPolicy](Get-ZNMfaOutboundPolicy.md) +Returns the properties of an outbound MFA policy. + +### [Get-ZNMfaPoliciesDistribution](Get-ZNMfaPoliciesDistribution.md) +Returns and object with MFA distribution. + +### [Get-ZNMfaPoliciesStatistics](Get-ZNMfaPoliciesStatistics.md) +Returns an object with MFA statistics. + +### [Get-ZNNetworkOnboardingPoliciesGroupCandidate](Get-ZNNetworkOnboardingPoliciesGroupCandidate.md) +Returns a list of candidates for a network onboarding policy. + +### [Get-ZNNetworkOnboardingPolicy](Get-ZNNetworkOnboardingPolicy.md) +Returns a list of network onboarding policies. + +### [Get-ZNOutboundRule](Get-ZNOutboundRule.md) +Returns the properties of an Outbound rule. + +### [Get-ZNOutboundRulesDestinationCandidate](Get-ZNOutboundRulesDestinationCandidate.md) +Returns a list of destination candidates for Outbound rules. + +### [Get-ZNOutboundRulesExcludedSourceCandidate](Get-ZNOutboundRulesExcludedSourceCandidate.md) +Returns a list of excluded source candidates for Outbound rules. + +### [Get-ZNOutboundRulesSourceCandidate](Get-ZNOutboundRulesSourceCandidate.md) +Returns a list of source candidates for Outbound rules. + +### [Get-ZNOutboundRulesUserCandidate](Get-ZNOutboundRulesUserCandidate.md) +Returns a list of users candidates for Outbound rules. + +### [Get-ZNRpcRule](Get-ZNRpcRule.md) +Returns the properties of an RPC rule. + +### [Get-ZNRpcRulesDestinationCandidate](Get-ZNRpcRulesDestinationCandidate.md) +Returns a list of destination candidates for RPC rules. + +### [Get-ZNRpcRulesExcludedDestinationCandidate](Get-ZNRpcRulesExcludedDestinationCandidate.md) +Returns a list of excluded destination candidates for RPC rules. + +### [Get-ZNRpcRulesSourceCandidate](Get-ZNRpcRulesSourceCandidate.md) +Returns a list of source candidates for RPC rules. + +### [Get-ZNRpcRulesUserCandidate](Get-ZNRpcRulesUserCandidate.md) +Returns a list of user candidates for RPC rules. + +### [Get-ZNRulesDistribution](Get-ZNRulesDistribution.md) +Returns an object with rules distribution. + +### [Get-ZNRulesStatistics](Get-ZNRulesStatistics.md) +Returns an object with rule statistics. + +### [Get-ZNSegmentServer](Get-ZNSegmentServer.md) +Returns a list of segment servers. + +### [Get-ZNSession](Get-ZNSession.md) +Returns a list of Connect sessions. + +### [Get-ZNSettingsAad](Get-ZNSettingsAad.md) +Get Azure AD Settings + +### [Get-ZNSettingsAd](Get-ZNSettingsAd.md) +Get the AD settings in Asset Management + +### [Get-ZNSettingsAdMonitoredCandidate](Get-ZNSettingsAdMonitoredCandidate.md) +Returns a list of monitoring candidates for an AD forest. + +### [Get-ZNSettingsAdProtectedCandidate](Get-ZNSettingsAdProtectedCandidate.md) +Returns a list of protection candidates for an AD forest. + +### [Get-ZNSettingsAnsible](Get-ZNSettingsAnsible.md) +Get the Ansible settings in Asset Management + +### [Get-ZNSettingsAssetManager](Get-ZNSettingsAssetManager.md) +List asset managers + +### [Get-ZNSettingsAuth](Get-ZNSettingsAuth.md) +Get the portal security settings + +### [Get-ZNSettingsBreakGlass](Get-ZNSettingsBreakGlass.md) +Get break glass settings + +### [Get-ZNSettingsClientsTrustedInternet](Get-ZNSettingsClientsTrustedInternet.md) +Get Clients Trusted Internet settings in System + +### [Get-ZNSettingsClientSubnet](Get-ZNSettingsClientSubnet.md) +Get Client Subnets settings in System + +### [Get-ZNSettingsClientsUntrustedInternet](Get-ZNSettingsClientsUntrustedInternet.md) +Get Clients Untrusted Internet settings in System + +### [Get-ZNSettingsClusterStrategy](Get-ZNSettingsClusterStrategy.md) +Returns cluster strategy configuration. + +### [Get-ZNSettingsConnectClientAutoUpdate](Get-ZNSettingsConnectClientAutoUpdate.md) +Get Connect client auto update in Settings + +### [Get-ZNSettingsConnectRegion](Get-ZNSettingsConnectRegion.md) +List Connect Regions in Settings + +### [Get-ZNSettingsConnectServer](Get-ZNSettingsConnectServer.md) +List Connect Servers in Settings + +### [Get-ZNSettingsConnectUserAccessConfig](Get-ZNSettingsConnectUserAccessConfig.md) +List Connect User Access Configurations in Settings + +### [Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate](Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md) +Returns a list of candidates for user access config allowed regions. + +### [Get-ZNSettingsConnectUserAccessConfigAssetsCandidate](Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md) +Returns a list of candidates for user access config excluded assets. + +### [Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate](Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md) +Returns a list of candidates for user access config excluded destinations. + +### [Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate](Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md) +Returns a list of candidates for user access config excluded assets. + +### [Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate](Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md) +Returns a list of candidates for user access config excluded source users. + +### [Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate](Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md) +Returns a list of candidates for user access config source users. + +### [Get-ZNSettingsDefaultApplication](Get-ZNSettingsDefaultApplication.md) +Get Default SSO Application settings in Identity Providers + +### [Get-ZNSettingsFirewall](Get-ZNSettingsFirewall.md) +Returns the properties of Firewall settings. + +### [Get-ZNSettingsFirewallIgnoredGpo](Get-ZNSettingsFirewallIgnoredGpo.md) +Returns the properties of ignored GPO rules Firewall settings. + +### [Get-ZNSettingsFirewallIgnoredRule](Get-ZNSettingsFirewallIgnoredRule.md) +Returns the properties of ignored rules for anti-tampering Firewall settings. + +### [Get-ZNSettingsFirewallProfile](Get-ZNSettingsFirewallProfile.md) +Returns the properties of firewall profiles in Firewall settings. + +### [Get-ZNSettingsIdp](Get-ZNSettingsIdp.md) +Get identity provider settings in Identity Providers + +### [Get-ZNSettingsInactiveAsset](Get-ZNSettingsInactiveAsset.md) +Get inactive assets settings configuration + +### [Get-ZNSettingsInternalSubnet](Get-ZNSettingsInternalSubnet.md) +Get Internal Subnets settings in System + +### [Get-ZNSettingsJamfCredentials](Get-ZNSettingsJamfCredentials.md) +Returns the properties for JAMF Credentials Settings. + +### [Get-ZNSettingsLearningConfig](Get-ZNSettingsLearningConfig.md) +Get Learning Config settings in Network Segmentation + +### [Get-ZNSettingsLicense](Get-ZNSettingsLicense.md) +Get Subscription Licenses + +### [Get-ZNSettingsLinuxSetup](Get-ZNSettingsLinuxSetup.md) +Get the linux setup settings in Asset Management + +### [Get-ZNSettingsLinuxUser](Get-ZNSettingsLinuxUser.md) +Get the linux user settings in Asset Management + +### [Get-ZNSettingsMaintenanceWindow](Get-ZNSettingsMaintenanceWindow.md) +Returns the maintenance window properties + +### [Get-ZNSettingsMfaAuthentication](Get-ZNSettingsMfaAuthentication.md) +Returns the properties of MFA authentication settings. + +### [Get-ZNSettingsMfaCache](Get-ZNSettingsMfaCache.md) +Returns a list of MFA Cache Policies. + +### [Get-ZNSettingsMfaCacheCandidate](Get-ZNSettingsMfaCacheCandidate.md) +Returns a list of candidates for MFA Cache Policy. + +### [Get-ZNSettingsMfaDetection](Get-ZNSettingsMfaDetection.md) +Returns the properties of MFA detection settings. + +### [Get-ZNSettingsNotification](Get-ZNSettingsNotification.md) +Returns the properties of the Mail Notification settings. + +### [Get-ZNSettingsPrivilegedPort](Get-ZNSettingsPrivilegedPort.md) +Get Privileged Ports settings in Network segmentation + +### [Get-ZNSettingsPushNotification](Get-ZNSettingsPushNotification.md) +Get Push Notifications Settings + +### [Get-ZNSettingsServersTrustedInternet](Get-ZNSettingsServersTrustedInternet.md) +Get Servers Trusted Internet settings in System + +### [Get-ZNSettingsServersUntrustedInternet](Get-ZNSettingsServersUntrustedInternet.md) +Get Servers Untrusted Internet settings in System + +### [Get-ZNSettingsTrustedInternetAddress](Get-ZNSettingsTrustedInternetAddress.md) +Get Trusted Internet addresses settings in System + +### [Get-ZNSettingsZpa](Get-ZNSettingsZpa.md) +Get ZPA settings in Integrations + +### [Get-ZNTagGroupsCandidate](Get-ZNTagGroupsCandidate.md) +Returns a list of candidates for tag group membership. + +### [Get-ZNUser](Get-ZNUser.md) +Returns the properties of an user. + +### [Get-ZNUserAudit](Get-ZNUserAudit.md) +Returns a list of audits for the user. + +### [Get-ZNUserExternalAccessPolicy](Get-ZNUserExternalAccessPolicy.md) +Returns an external access policy. + +### [Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate](Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md) +Returns a list of destunation assets candidates for an external access policy. + +### [Get-ZNUserExternalAccessPolicySourceUserCandidate](Get-ZNUserExternalAccessPolicySourceUserCandidate.md) +Returns a list of source user candidates for external access policies. + +### [Get-ZNUserExternalAccessPolicyStatistics](Get-ZNUserExternalAccessPolicyStatistics.md) +Returns statistics for an external access policy. + +### [Get-ZNUserIdentityRule](Get-ZNUserIdentityRule.md) +Returns an identity segmentation rule. + +### [Get-ZNUserIdentityRulesAssetsCandidate](Get-ZNUserIdentityRulesAssetsCandidate.md) +Returns a list of assets candidates for Identity rules. + +### [Get-ZNUserIdentityRulesExcludedAssetsCandidate](Get-ZNUserIdentityRulesExcludedAssetsCandidate.md) +Returns a list of excluded assets candidates for Identity rules. + +### [Get-ZNUserIdentityRulesUserCandidate](Get-ZNUserIdentityRulesUserCandidate.md) +Returns a list of user candidates for Identity rules. + +### [Get-ZNUserMemberOf](Get-ZNUserMemberOf.md) +Returns a list of groups the user is a member of. + +### [Get-ZNUserMemberOfGroupCandidate](Get-ZNUserMemberOfGroupCandidate.md) +Returns a list of groups the user can be a member of. + +### [Get-ZNUserMfaIdentityPoliciesDestinationCandidate](Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md) +Returns a list of candidates for the destination of an identity MFA policy. + +### [Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate](Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md) +Returns a list of candidates for the excluded sources of an Identity MFA policy. + +### [Get-ZNUserMfaIdentityPoliciesMfamethod](Get-ZNUserMfaIdentityPoliciesMfamethod.md) +Returns a list of MFA methods for Identity MFA policies. + +### [Get-ZNUserMfaIdentityPoliciesSourceCandidate](Get-ZNUserMfaIdentityPoliciesSourceCandidate.md) +Returns a list of source candidates on Identity MFA policies. + +### [Get-ZNUserMfaIdentityPoliciesSourceUserCandidate](Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md) +Returns a list of source user candidates for Identity MFA policies. + +### [Get-ZNUserMfaIdentityPolicy](Get-ZNUserMfaIdentityPolicy.md) +Returns a Identity MFA policy object. + +### [Get-ZNUserRulesDistribution](Get-ZNUserRulesDistribution.md) +Returns an object with rules distribution. + +### [Get-ZNUsersIdentityQueued](Get-ZNUsersIdentityQueued.md) +Returns a list of users in Learning. + +### [Get-ZNUsersIdentitySegmented](Get-ZNUsersIdentitySegmented.md) +Returns a list of Identity segmented users. + +### [Get-ZNUsersInactive](Get-ZNUsersInactive.md) +Returns a list of Users. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + +### [Get-ZNUsersManagedAsset](Get-ZNUsersManagedAsset.md) +get managed assets for user + +### [Get-ZNUsersManagedAssetsCandidate](Get-ZNUsersManagedAssetsCandidate.md) +Get asset candidates to be managed by asset managers + +### [Get-ZNUsersPrivileged](Get-ZNUsersPrivileged.md) +Returns a list of Privileged Users. + +### [Get-ZNUsersServiceAccount](Get-ZNUsersServiceAccount.md) +Returns a list of ServiceAccount Users. + +### [Get-ZNUserStatistics](Get-ZNUserStatistics.md) +Get Users statistics + +### [Initialize-ZNAssetBreakGlass](Initialize-ZNAssetBreakGlass.md) +Returns and empty object. + +### [Invoke-ZNAssetDeactivateBreakGlass](Invoke-ZNAssetDeactivateBreakGlass.md) +Returns and empty object. + +### [Invoke-ZNAssetIdentityExtendQueue](Invoke-ZNAssetIdentityExtendQueue.md) +Returns an empty object. + +### [Invoke-ZNAssetIdentityQueue](Invoke-ZNAssetIdentityQueue.md) +Returns and empty object. + +### [Invoke-ZNAssetNetworkExtendQueue](Invoke-ZNAssetNetworkExtendQueue.md) +Extend asset learning + +### [Invoke-ZNAssetNetworkQueue](Invoke-ZNAssetNetworkQueue.md) +Extend asset learning + +### [Invoke-ZNAssetOtNetworkExtendQueue](Invoke-ZNAssetOtNetworkExtendQueue.md) +Extend OT asset learning + +### [Invoke-ZNAssetOtNetworkQueue](Invoke-ZNAssetOtNetworkQueue.md) +Add OT Asset to learning + +### [Invoke-ZNAssetRpcExtendQueue](Invoke-ZNAssetRpcExtendQueue.md) +Returns an empty object. + +### [Invoke-ZNAssetRpcQueue](Invoke-ZNAssetRpcQueue.md) +Returns and empty object. + +### [Invoke-ZNDownloadCloudConnectorInstaller](Invoke-ZNDownloadCloudConnectorInstaller.md) +Returns a temporary url to the Cloud Connector installer. + +### [Invoke-ZNDownloadConnectClient](Invoke-ZNDownloadConnectClient.md) +Returns a temporary url to the Connect client zip. + +### [Invoke-ZNDownloadConnectServer](Invoke-ZNDownloadConnectServer.md) +Returns a temporary url to the Connect server zip. + +### [Invoke-ZNDownloadSegmentServer](Invoke-ZNDownloadSegmentServer.md) +Returns a temporary url to the Segment server zip. + +### [Invoke-ZNEncodeEntityIP](Invoke-ZNEncodeEntityIP.md) +Returns the assetId after encoding the IP address. + +### [Invoke-ZNEncodeEntityIPRange](Invoke-ZNEncodeEntityIPRange.md) +Returns the assetId after encoding the IP range. + +### [Invoke-ZNEncodeEntitySubnet](Invoke-ZNEncodeEntitySubnet.md) +Returns the assetId after encoding the IP subnet. + +### [Invoke-ZNMirrorAsset](Invoke-ZNMirrorAsset.md) +Returns and empty object. + +### [Invoke-ZNRediscoverAd](Invoke-ZNRediscoverAd.md) +Rediscover monitored assets + +### [Invoke-ZNRediscoverLinux](Invoke-ZNRediscoverLinux.md) +Rediscover monitored assets from Ansible + +### [Invoke-ZNResyncAzureAd](Invoke-ZNResyncAzureAd.md) +Resync Azure AD + +### [Invoke-ZNUserIdentityQueue](Invoke-ZNUserIdentityQueue.md) +Returns an empty object. + +### [New-ZNAssetExternalAccessPolicy](New-ZNAssetExternalAccessPolicy.md) +Returns a the external access policy + +### [New-ZNAssetIdentityRule](New-ZNAssetIdentityRule.md) +Returns a the identity segmentation rule. + +### [New-ZNAssetInboundRule](New-ZNAssetInboundRule.md) +Returns the properties of the created Inbound rule. + +### [New-ZNAssetMfaIdentityPolicy](New-ZNAssetMfaIdentityPolicy.md) +Returns the properties of the identity MFA policy after creation. + +### [New-ZNAssetMfaInboundPolicy](New-ZNAssetMfaInboundPolicy.md) +Returns the properties of the inbound MFA policy after creation. + +### [New-ZNAssetMfaOutboundPolicy](New-ZNAssetMfaOutboundPolicy.md) +Returns a the properties of outbound MFA policy created. + +### [New-ZNAssetOutboundRule](New-ZNAssetOutboundRule.md) +Returns the properties of the created Outbound rule. + +### [New-ZNAssetRpcRule](New-ZNAssetRpcRule.md) +Returns the properties of the create RPC rule. + +### [New-ZNAssetsLinux](New-ZNAssetsLinux.md) +Returns the assetId of the created Linux asset. + +### [New-ZNAssetsOt](New-ZNAssetsOt.md) +Returns an empty object. + +### [New-ZNCustomGroup](New-ZNCustomGroup.md) +Returns an empty object. + +### [New-ZNExternalAccessPolicy](New-ZNExternalAccessPolicy.md) +Returns a the external access policy + +### [New-ZNGroupsExternalAccessPolicy](New-ZNGroupsExternalAccessPolicy.md) +Returns a the external access policy + +### [New-ZNGroupsIdentityRule](New-ZNGroupsIdentityRule.md) +Returns a the identity segmentation rule. + +### [New-ZNGroupsInboundRule](New-ZNGroupsInboundRule.md) +Returns the properties of the created Inbound rule. + +### [New-ZNGroupsMfaIdentityPolicy](New-ZNGroupsMfaIdentityPolicy.md) +Returns the properties of the identity MFA policy after creation. + +### [New-ZNGroupsMfaInboundPolicy](New-ZNGroupsMfaInboundPolicy.md) +Returns the properties of the inbound MFA policy after creation. + +### [New-ZNGroupsMfaOutboundPolicy](New-ZNGroupsMfaOutboundPolicy.md) +Returns a the properties of outbound MFA policy created. + +### [New-ZNGroupsOutboundRule](New-ZNGroupsOutboundRule.md) +Returns the properties of the created Outbound rule. + +### [New-ZNGroupsRpcRule](New-ZNGroupsRpcRule.md) +Returns the properties of the create RPC rule. + +### [New-ZNIdentityOnboardingPolicy](New-ZNIdentityOnboardingPolicy.md) +Returns the identity onboarding policy that was created. + +### [New-ZNIdentityRule](New-ZNIdentityRule.md) +Returns a the identity segmentation rule. + +### [New-ZNInboundRule](New-ZNInboundRule.md) +Returns the properties of the created Inbound rule. + +### [New-ZNMfaIdentityPolicy](New-ZNMfaIdentityPolicy.md) +Returns the properties of the identity MFA policy after creation. + +### [New-ZNMfaInboundPolicy](New-ZNMfaInboundPolicy.md) +Returns the properties of the inbound MFA policy after creation. + +### [New-ZNMfaOutboundPolicy](New-ZNMfaOutboundPolicy.md) +Returns a the properties of outbound MFA policy created. + +### [New-ZNNetworkOnboardingPolicy](New-ZNNetworkOnboardingPolicy.md) +Returns the network onboarding policy that was created. + +### [New-ZNOutboundRule](New-ZNOutboundRule.md) +Returns the properties of the created Outbound rule. + +### [New-ZNPortsList](New-ZNPortsList.md) +Create a in-memory object for PortsList + +### [New-ZNRpcRule](New-ZNRpcRule.md) +Returns the properties of the create RPC rule. + +### [New-ZNSettingsAd](New-ZNSettingsAd.md) +Set the AD settings in Asset Management + +### [New-ZNSettingsAdSecondary](New-ZNSettingsAdSecondary.md) +Add a secondary AD settings in Asset Management + +### [New-ZNSettingsConnectRegion](New-ZNSettingsConnectRegion.md) +Create a Connect region in Settings + +### [New-ZNSettingsConnectUserAccessConfig](New-ZNSettingsConnectUserAccessConfig.md) +Create a Connect User Access Configuration in Settings + +### [New-ZNSettingsIdp](New-ZNSettingsIdp.md) +Create an identity provider settings in Identity Providers + +### [New-ZNSettingsMaintenanceWindow](New-ZNSettingsMaintenanceWindow.md) +Returns the maintenance window properties + +### [New-ZNSettingsMfaCache](New-ZNSettingsMfaCache.md) +Creates a MFA Cache Policy. + +### [New-ZNSettingsPushNotification](New-ZNSettingsPushNotification.md) +Create an push notifications settings + +### [New-ZNUserExternalAccessPolicy](New-ZNUserExternalAccessPolicy.md) +Returns a the external access policy + +### [New-ZNUserIdentityRule](New-ZNUserIdentityRule.md) +Returns a the identity segmentation rule. + +### [New-ZNUserMfaIdentityPolicy](New-ZNUserMfaIdentityPolicy.md) +Returns the properties of the identity MFA policy after creation. + +### [Protect-ZNAssetIdentitySegment](Protect-ZNAssetIdentitySegment.md) +Returns and empty object. + +### [Protect-ZNAssetNetworkSegment](Protect-ZNAssetNetworkSegment.md) +Returns an empty object. + +### [Protect-ZNAssetOtNetworkSegment](Protect-ZNAssetOtNetworkSegment.md) +Returns an empty object. + +### [Protect-ZNAssetRpcSegment](Protect-ZNAssetRpcSegment.md) +Returns and empty object. + +### [Protect-ZNUserIdentitySegment](Protect-ZNUserIdentitySegment.md) +Returns and empty object. + +### [Read-ZNJWTtoken](Read-ZNJWTtoken.md) + + +### [Remove-ZNAeExclusionsInbound](Remove-ZNAeExclusionsInbound.md) +Returns an empty object. + +### [Remove-ZNAeExclusionsOutbound](Remove-ZNAeExclusionsOutbound.md) +Returns an empty object. + +### [Remove-ZNApiKey](Remove-ZNApiKey.md) +Deletes the API key + +### [Remove-ZNAssetExternalAccessPolicy](Remove-ZNAssetExternalAccessPolicy.md) +Returns an empty object. + +### [Remove-ZNAssetIdentityRule](Remove-ZNAssetIdentityRule.md) +Returns an empty object. + +### [Remove-ZNAssetInboundRule](Remove-ZNAssetInboundRule.md) +Returns an empty object. + +### [Remove-ZNAssetManager](Remove-ZNAssetManager.md) +Remove an asset manager of asset + +### [Remove-ZNAssetMfaIdentityPolicy](Remove-ZNAssetMfaIdentityPolicy.md) +Returns an empty object. + +### [Remove-ZNAssetMfaInboundPolicy](Remove-ZNAssetMfaInboundPolicy.md) +Returns an empty object. + +### [Remove-ZNAssetMfaOutboundPolicy](Remove-ZNAssetMfaOutboundPolicy.md) +Returns an empty object. + +### [Remove-ZNAssetOtAssetManager](Remove-ZNAssetOtAssetManager.md) +Remove an asset manager of asset + +### [Remove-ZNAssetOutboundRule](Remove-ZNAssetOutboundRule.md) +Returns an empty object. + +### [Remove-ZNAssetRpcMonitoring](Remove-ZNAssetRpcMonitoring.md) +Returns an empty object. + +### [Remove-ZNAssetRpcRule](Remove-ZNAssetRpcRule.md) +Returns an empty object. + +### [Remove-ZNCustomGroup](Remove-ZNCustomGroup.md) +Returns an empty object. + +### [Remove-ZNCustomGroupsMember](Remove-ZNCustomGroupsMember.md) +Returns an empty object. + +### [Remove-ZNExternalAccessPolicy](Remove-ZNExternalAccessPolicy.md) +Returns an empty object. + +### [Remove-ZNGroupsAssetManager](Remove-ZNGroupsAssetManager.md) +Remove asset manager of group + +### [Remove-ZNGroupsExternalAccessPolicy](Remove-ZNGroupsExternalAccessPolicy.md) +Returns an empty object. + +### [Remove-ZNGroupsIdentityRule](Remove-ZNGroupsIdentityRule.md) +Returns an empty object. + +### [Remove-ZNGroupsInboundRule](Remove-ZNGroupsInboundRule.md) +Returns an empty object. + +### [Remove-ZNGroupsManagedAsset](Remove-ZNGroupsManagedAsset.md) +Remove managed asset of group + +### [Remove-ZNGroupsMfaIdentityPolicy](Remove-ZNGroupsMfaIdentityPolicy.md) +Returns an empty object. + +### [Remove-ZNGroupsMfaInboundPolicy](Remove-ZNGroupsMfaInboundPolicy.md) +Returns an empty object. + +### [Remove-ZNGroupsMfaOutboundPolicy](Remove-ZNGroupsMfaOutboundPolicy.md) +Returns an empty object. + +### [Remove-ZNGroupsOutboundRule](Remove-ZNGroupsOutboundRule.md) +Returns an empty object. + +### [Remove-ZNGroupsRpcRule](Remove-ZNGroupsRpcRule.md) +Returns an empty object. + +### [Remove-ZNIdentityOnboardingPolicy](Remove-ZNIdentityOnboardingPolicy.md) +Returns and empty object. + +### [Remove-ZNIdentityRule](Remove-ZNIdentityRule.md) +Returns an empty object. + +### [Remove-ZNInboundRule](Remove-ZNInboundRule.md) +Returns an empty object. + +### [Remove-ZNMfaIdentityPolicy](Remove-ZNMfaIdentityPolicy.md) +Returns an empty object. + +### [Remove-ZNMfaInboundPolicy](Remove-ZNMfaInboundPolicy.md) +Returns an empty object. + +### [Remove-ZNMfaOutboundPolicy](Remove-ZNMfaOutboundPolicy.md) +Returns an empty object. + +### [Remove-ZNNetworkOnboardingPolicy](Remove-ZNNetworkOnboardingPolicy.md) +Returns and empty object. + +### [Remove-ZNOutboundRule](Remove-ZNOutboundRule.md) +Returns an empty object. + +### [Remove-ZNRpcRule](Remove-ZNRpcRule.md) +Returns an empty object. + +### [Remove-ZNSettingsAad](Remove-ZNSettingsAad.md) +Remove Azure AD Settings + +### [Remove-ZNSettingsAd](Remove-ZNSettingsAd.md) +Delete AD forest settings. + +### [Remove-ZNSettingsAdLinux](Remove-ZNSettingsAdLinux.md) +Returns an empty response. + +### [Remove-ZNSettingsAdSecondary](Remove-ZNSettingsAdSecondary.md) +Returns an empty response. + +### [Remove-ZNSettingsConnectRegion](Remove-ZNSettingsConnectRegion.md) +Delete a Connect Region in Settings + +### [Remove-ZNSettingsConnectServer](Remove-ZNSettingsConnectServer.md) +Delete Connect Server in Settings + +### [Remove-ZNSettingsConnectUserAccessConfig](Remove-ZNSettingsConnectUserAccessConfig.md) +Delete a Connect User Access Configuration in Settings + +### [Remove-ZNSettingsIdp](Remove-ZNSettingsIdp.md) +Returns an empty response. + +### [Remove-ZNSettingsJamfCredentials](Remove-ZNSettingsJamfCredentials.md) +Returns an empty object. + +### [Remove-ZNSettingsMaintenanceWindow](Remove-ZNSettingsMaintenanceWindow.md) +Returns an empty object + +### [Remove-ZNSettingsMfaCache](Remove-ZNSettingsMfaCache.md) +deletes a MFA Cache Policy. + +### [Remove-ZNSettingsPushNotification](Remove-ZNSettingsPushNotification.md) +Returns an empty response. + +### [Remove-ZNTagGroupsMember](Remove-ZNTagGroupsMember.md) +Remove tag group members by members id. + +### [Remove-ZNUserExternalAccessPolicy](Remove-ZNUserExternalAccessPolicy.md) +Returns an empty object. + +### [Remove-ZNUserIdentityRule](Remove-ZNUserIdentityRule.md) +Returns an empty object. + +### [Remove-ZNUserMfaIdentityPolicy](Remove-ZNUserMfaIdentityPolicy.md) +Returns an empty object. + +### [Remove-ZNUsersManagedAsset](Remove-ZNUsersManagedAsset.md) +Remove managed asset of user + +### [Revoke-ZNSession](Revoke-ZNSession.md) +Revoke a Connect session. + +### [Search-ZNAsset](Search-ZNAsset.md) +Returns an assetId. + +### [Search-ZNAssetsNetworkSegmented](Search-ZNAssetsNetworkSegmented.md) +Given fqdn, returns assetId, if asset is found and is protected + +### [Search-ZNGroupsExternalId](Search-ZNGroupsExternalId.md) +Returns a group. + +### [Search-ZNUser](Search-ZNUser.md) +Provided user SID - returns user entity id + +### [Set-ZNApiKey](Set-ZNApiKey.md) +Set the API key for use in all other cmdlets + +### [Test-ZNAssetIdentityProtect](Test-ZNAssetIdentityProtect.md) +Returns a number of assets that are valid for identity segmentation. + +### [Test-ZNAssetIdentityUnprotect](Test-ZNAssetIdentityUnprotect.md) +Returns a number of assets that are valid to unprotect. + +### [Test-ZNAssetNetworkSegment](Test-ZNAssetNetworkSegment.md) +Returns a number of assets that are valid for network segmentation. + +### [Test-ZNAssetNetworkUnprotect](Test-ZNAssetNetworkUnprotect.md) +Returns a number of assets that are valid to unprotect. + +### [Unprotect-ZNAssetIdentitySegment](Unprotect-ZNAssetIdentitySegment.md) +Returns an empty object. + +### [Unprotect-ZNAssetNetworkSegment](Unprotect-ZNAssetNetworkSegment.md) +Returns an empty object. + +### [Unprotect-ZNAssetOtNetworkSegment](Unprotect-ZNAssetOtNetworkSegment.md) +Returns an empty object. + +### [Unprotect-ZNAssetRpcSegment](Unprotect-ZNAssetRpcSegment.md) +Returns and empty object. + +### [Unprotect-ZNUserIdentitySegment](Unprotect-ZNUserIdentitySegment.md) +Returns an empty object. + +### [Update-ZNAiExclusionNetworkBoth](Update-ZNAiExclusionNetworkBoth.md) +Set AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +### [Update-ZNAiExclusionNetworkClient](Update-ZNAiExclusionNetworkClient.md) +Set AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +### [Update-ZNAiExclusionNetworkServer](Update-ZNAiExclusionNetworkServer.md) +Set AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. + +### [Update-ZNAssetActive](Update-ZNAssetActive.md) +Returns and empty object. + +### [Update-ZNAssetExternalAccessPolicy](Update-ZNAssetExternalAccessPolicy.md) +Updates an external access policy. + +### [Update-ZNAssetIdentityRule](Update-ZNAssetIdentityRule.md) +Updates an identity rule. + +### [Update-ZNAssetInactive](Update-ZNAssetInactive.md) +Returns and empty object. + +### [Update-ZNAssetInboundRule](Update-ZNAssetInboundRule.md) +Updates an inbound rule. + +### [Update-ZNAssetManager](Update-ZNAssetManager.md) +Update an asset manager of asset + +### [Update-ZNAssetMfaIdentityPolicy](Update-ZNAssetMfaIdentityPolicy.md) +Updates an identity MFA Policy. + +### [Update-ZNAssetMfaInboundPolicy](Update-ZNAssetMfaInboundPolicy.md) +Updates an inbound MFA Policy. + +### [Update-ZNAssetMfaOutboundPolicy](Update-ZNAssetMfaOutboundPolicy.md) +Updates an outbound MFA Policy. + +### [Update-ZNAssetOSType](Update-ZNAssetOSType.md) +Set the OS type (Windows/Linux/Mac) for multiple assets + +### [Update-ZNAssetOt](Update-ZNAssetOt.md) +Edit an OT/IoT asset. + +### [Update-ZNAssetOtAssetManager](Update-ZNAssetOtAssetManager.md) +Update an asset manager of asset + +### [Update-ZNAssetOutboundRestriction](Update-ZNAssetOutboundRestriction.md) +Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + +### [Update-ZNAssetOutboundRule](Update-ZNAssetOutboundRule.md) +Updates an outbound rule. + +### [Update-ZNAssetPreferredSegmentServer](Update-ZNAssetPreferredSegmentServer.md) +Returns and empty object. + +### [Update-ZNAssetRpcRule](Update-ZNAssetRpcRule.md) +Updates an RPC rule. + +### [Update-ZNAssetType](Update-ZNAssetType.md) +Set the asset type (Client/server) + +### [Update-ZNCustomGroup](Update-ZNCustomGroup.md) +Updates a custom group properties. + +### [Update-ZNExternalAccessPolicy](Update-ZNExternalAccessPolicy.md) +Updates an external access policy. + +### [Update-ZNGroupsAssetManager](Update-ZNGroupsAssetManager.md) +Update an asset manager of group + +### [Update-ZNGroupsExternalAccessPolicy](Update-ZNGroupsExternalAccessPolicy.md) +Updates an external access policy. + +### [Update-ZNGroupsIdentityRule](Update-ZNGroupsIdentityRule.md) +Updates an identity rule. + +### [Update-ZNGroupsInboundRule](Update-ZNGroupsInboundRule.md) +Updates an inbound rule. + +### [Update-ZNGroupsManagedAsset](Update-ZNGroupsManagedAsset.md) +Update a managed assets for group + +### [Update-ZNGroupsMfaIdentityPolicy](Update-ZNGroupsMfaIdentityPolicy.md) +Updates an identity MFA Policy. + +### [Update-ZNGroupsMfaInboundPolicy](Update-ZNGroupsMfaInboundPolicy.md) +Updates an inbound MFA Policy. + +### [Update-ZNGroupsMfaOutboundPolicy](Update-ZNGroupsMfaOutboundPolicy.md) +Updates an outbound MFA Policy. + +### [Update-ZNGroupsOutboundRule](Update-ZNGroupsOutboundRule.md) +Updates an outbound rule. + +### [Update-ZNGroupsRpcRule](Update-ZNGroupsRpcRule.md) +Updates an RPC rule. + +### [Update-ZNIdentityOnboardingPolicy](Update-ZNIdentityOnboardingPolicy.md) +Returns the updated settings for the identity onboarding policy. + +### [Update-ZNIdentityRule](Update-ZNIdentityRule.md) +Updates an identity rule. + +### [Update-ZNInboundRule](Update-ZNInboundRule.md) +Updates an inbound rule. + +### [Update-ZNMfaIdentityPolicy](Update-ZNMfaIdentityPolicy.md) +Updates an identity MFA Policy. + +### [Update-ZNMfaInboundPolicy](Update-ZNMfaInboundPolicy.md) +Updates an inbound MFA Policy. + +### [Update-ZNMfaOutboundPolicy](Update-ZNMfaOutboundPolicy.md) +Updates an outbound MFA Policy. + +### [Update-ZNNetworkOnboardingPolicy](Update-ZNNetworkOnboardingPolicy.md) +Returns the updated settings for the network onboarding policy. + +### [Update-ZNOutboundRule](Update-ZNOutboundRule.md) +Updates an outbound rule. + +### [Update-ZNRpcRule](Update-ZNRpcRule.md) +Updates an RPC rule. + +### [Update-ZNSettingsAd](Update-ZNSettingsAd.md) +Update AD forest settings. + +### [Update-ZNSettingsAdLinux](Update-ZNSettingsAdLinux.md) +Adds or updates linux config for a domain. + +### [Update-ZNSettingsAdLinuxAutomationGroup](Update-ZNSettingsAdLinuxAutomationGroup.md) +Update Linux_Rediscover Automation Groups for an AD forest setting. + +### [Update-ZNSettingsAdSecondary](Update-ZNSettingsAdSecondary.md) +Update a secondary AD settings in Asset Management + +### [Update-ZNSettingsAdWindowsAutomationGroup](Update-ZNSettingsAdWindowsAutomationGroup.md) +Update Windows Automation Groups for an AD forest setting. + +### [Update-ZNSettingsAnsible](Update-ZNSettingsAnsible.md) +Get the Ansible settings in Asset Management + +### [Update-ZNSettingsAuth](Update-ZNSettingsAuth.md) +Set the portal security settings + +### [Update-ZNSettingsBreakGlass](Update-ZNSettingsBreakGlass.md) +Update break glass settings + +### [Update-ZNSettingsClientsTrustedInternet](Update-ZNSettingsClientsTrustedInternet.md) +Set Clients Trusted Internet settings in System + +### [Update-ZNSettingsClientSubnet](Update-ZNSettingsClientSubnet.md) +Update the Client Subnets settings in System + +### [Update-ZNSettingsClientsUntrustedInternet](Update-ZNSettingsClientsUntrustedInternet.md) +Set Clients Untrusted Internet settings in System + +### [Update-ZNSettingsClusterStrategy](Update-ZNSettingsClusterStrategy.md) +Returns an empty response. + +### [Update-ZNSettingsConnectClientAutoUpdate](Update-ZNSettingsConnectClientAutoUpdate.md) +Set Connect client auto update settings + +### [Update-ZNSettingsConnectRegion](Update-ZNSettingsConnectRegion.md) +Update a Connect Region in Settings + +### [Update-ZNSettingsConnectServer](Update-ZNSettingsConnectServer.md) +Update Connect Server in Settings + +### [Update-ZNSettingsConnectUserAccessConfig](Update-ZNSettingsConnectUserAccessConfig.md) +Update a Connect User Access Configuration in Settings + +### [Update-ZNSettingsDefaultApplication](Update-ZNSettingsDefaultApplication.md) +Update the Default SSO Application settings in Identity Providers + +### [Update-ZNSettingsFirewall](Update-ZNSettingsFirewall.md) +Returns the properties of the updated Firewall settings. + +### [Update-ZNSettingsFirewallIgnoredGpo](Update-ZNSettingsFirewallIgnoredGpo.md) +Returns the properties of ignored GPO rules Firewall settings. + +### [Update-ZNSettingsFirewallIgnoredRule](Update-ZNSettingsFirewallIgnoredRule.md) +Returns he properties of ignored rules for anti-tampering Firewall settings. + +### [Update-ZNSettingsFirewallProfile](Update-ZNSettingsFirewallProfile.md) +Returns the properties of firewall profiles in Firewall settings. + +### [Update-ZNSettingsIdp](Update-ZNSettingsIdp.md) +Update identity provider settings in Identity Providers + +### [Update-ZNSettingsInactiveAsset](Update-ZNSettingsInactiveAsset.md) +Update inactive assets settings configuration + +### [Update-ZNSettingsInternalSubnet](Update-ZNSettingsInternalSubnet.md) +Update the Internal Subnets settings in System + +### [Update-ZNSettingsJamfCredentials](Update-ZNSettingsJamfCredentials.md) +Returns the updated properties of JAMF Credentials settings. + +### [Update-ZNSettingsLearningConfig](Update-ZNSettingsLearningConfig.md) +Update Learning Config settings in Network Segmentation + +### [Update-ZNSettingsLinuxSetup](Update-ZNSettingsLinuxSetup.md) +Update the linux setup settings in Asset Management + +### [Update-ZNSettingsLinuxUser](Update-ZNSettingsLinuxUser.md) +Update the linux user settings in Asset Management + +### [Update-ZNSettingsMaintenanceWindow](Update-ZNSettingsMaintenanceWindow.md) +Returns the maintenance window properties + +### [Update-ZNSettingsMfaAuthentication](Update-ZNSettingsMfaAuthentication.md) +Returns an empty object. + +### [Update-ZNSettingsMfaDetection](Update-ZNSettingsMfaDetection.md) +Returns the properties of the updated MFA detection settings. + +### [Update-ZNSettingsNotification](Update-ZNSettingsNotification.md) +Returns the properties of the updated Mail Notifications settings. + +### [Update-ZNSettingsPrivilegedPort](Update-ZNSettingsPrivilegedPort.md) +Set Privileged Ports settings in Network segmentation + +### [Update-ZNSettingsServersTrustedInternet](Update-ZNSettingsServersTrustedInternet.md) +Set Servers Trusted Internet settings in System + +### [Update-ZNSettingsServersUntrustedInternet](Update-ZNSettingsServersUntrustedInternet.md) +Set Servers Untrusted Internet settings in System + +### [Update-ZNSettingsTrustedInternetAddress](Update-ZNSettingsTrustedInternetAddress.md) +Set Trusted Internet addresses settings in System + +### [Update-ZNSettingsZpa](Update-ZNSettingsZpa.md) +Set ZPA settings in Integrations + +### [Update-ZNUserExternalAccessPolicy](Update-ZNUserExternalAccessPolicy.md) +Updates an external access policy. + +### [Update-ZNUserIdentityRule](Update-ZNUserIdentityRule.md) +Updates an identity rule. + +### [Update-ZNUserMfaIdentityPolicy](Update-ZNUserMfaIdentityPolicy.md) +Updates an identity MFA Policy. + +### [Update-ZNUsersManagedAsset](Update-ZNUsersManagedAsset.md) +Update a managed asset for user + +### [Update-ZNUserType](Update-ZNUserType.md) +Set user type + diff --git a/help/zeronetworks/readme.md b/help/zeronetworks/readme.md new file mode 100644 index 0000000..1c031a6 --- /dev/null +++ b/help/zeronetworks/readme.md @@ -0,0 +1,11 @@ +# Docs +This directory contains the documentation of the cmdlets for the `ZeroNetworks` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overriden on regeneration*. To update documentation examples, please use the `../examples` folder. + +## Info +- Modifiable: no +- Generated: all +- Committed: yes +- Packaged: yes + +## Details +The process of documentation generation loads `ZeroNetworks` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `../exports` folder. Additionally, when writing custom cmdlets in the `../custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `../examples` folder. \ No newline at end of file diff --git a/src/ZN/README.md b/src/ZN/README.md index 84046d7..09bebc2 100644 --- a/src/ZN/README.md +++ b/src/ZN/README.md @@ -32,7 +32,7 @@ require: input-file: - $(this-folder)/../openapi.yaml -module-version: 0.0.12-preview +module-version: 0.0.15-preview title: Api inlining-threshold: 50 @@ -643,7 +643,7 @@ directive: # 1. Remove the unexpanded parameter set # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well - where: - variant: ^Activate$|^ActivateViaIdentity$|^ActivateViaIdentityExpanded$|^AddViaIdentity$|^AddViaIdentityExpanded$|^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Deactivate$|^DeactivateViaIdentity$|^DeactivateViaIdentityExpanded$|^DeleteViaIdentity$|^DeleteViaIdentityExpanded$|^Extend$|^Extend1$|^ExtendViaIdentity$|^ExtendViaIdentityExpanded$|^GetViaIdentity$|^Learn$|^LearnViaIdentity$|^LearnViaIdentityExpanded$|^ProtectViaIdentity$|^Queue$|^Queue1$|^QueueViaIdentity$|^QueueViaIdentityExpanded$|^RevokeViaIdentity$|^SetViaIdentity$|^SetViaIdentityExpanded$|^UnprotectViaIdentity$|^UpdateViaIdentity$|^UpdateViaIdentityExpanded$|^ValidateViaIdentity$ + variant: ^Activate$|^ActivateViaIdentity$|^ActivateViaIdentityExpanded$|^AddViaIdentity$|^AddViaIdentityExpanded$|^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Deactivate$|^DeactivateViaIdentity$|^DeactivateViaIdentityExpanded$|^DeleteViaIdentity$|^DeleteViaIdentityExpanded$|^Enable$|^EnableViaIdentity$|^EnableViaIdentityExpanded$|^ExpandViaIdentity$|^Extend$|^Extend1$|^ExtendViaIdentity$|^ExtendViaIdentityExpanded$|^GetViaIdentity$|^Learn$|^LearnViaIdentity$|^LearnViaIdentityExpanded$|^Mirror$|^Mirror1$|^MirrorViaIdentity$|^MirrorViaIdentityExpanded$|^ProtectViaIdentity$|^ProtectViaIdentityExpanded$|^Queue$|^Queue1$|^QueueViaIdentity$|^QueueViaIdentityExpanded$|^RevokeViaIdentity$|^SearchViaIdentity$|^SetViaIdentity$|^SetViaIdentityExpanded$|^UnprotectViaIdentity$|^UnprotectViaIdentityExpanded$|^UpdateViaIdentity$|^UpdateViaIdentityExpanded$|^ValidateViaIdentity$ remove: true - where: subject: ^CustomGroupsMember$|^TagGroupsMember$ @@ -715,6 +715,9 @@ directive: - where: subject: (.*)PoliciesSimulate.* hide: true + - where: + subject: GroupsSimulateSegmentation.* + remove: true # hide linux scripts (not useful) - where: subject: ^AssetsLinuxScript$|^AssetsLinuxScriptAvailable$ @@ -723,9 +726,13 @@ directive: - where: subject: ^ProfileEnvironment$|^Profile$ hide: true + #hide OTv2 + - where: + subject: ^OtRule$|^Switch$|^SwitchInterface$ + remove: true # Hide Not useful for OT assets - where: - subject: ^AssetOtAnalysis$|^AssetOtIdentityRule$|^AssetOtIdentityRulesAssetsCandidate$|^AssetOtIdentityRulesExcludedAssetsCandidate$|^AssetOtIdentityRulesUserCandidate$|^AssetOtInboundRule$|^AssetOtInboundRulesDestinationCandidate$|^AssetOtInboundRulesExcludedDestinationCandidate$|^AssetOtInboundRulesSourceCandidate$|^AssetOtmfaIdentityPoliciesDestinationCandidate$|^AssetOtmfaIdentityPoliciesExcludedSourceCandidate$|^AssetOtmfaIdentityPoliciesMfamethod$|^AssetOtmfaIdentityPoliciesSourceCandidate$|^AssetOtmfaIdentityPoliciesSourceUserCandidate$|^AssetOtmfaIdentityPolicy$|^AssetOtmfaInboundPoliciesDestinationCandidate$|^AssetOtmfaInboundPoliciesExcludedSourceCandidate$|^AssetOtmfaInboundPoliciesMfamethod$|^AssetOtmfaInboundPoliciesSourceCandidate$|^AssetOtmfaInboundPoliciesSourceUserCandidate$|^AssetOtmfaInboundPolicy$|^AssetOtOutboundRule$|^AssetOtmfaOutboundPoliciesDestinationCandidate$|^AssetOtmfaOutboundPoliciesExcludedSourceCandidate$|^AssetOtmfaOutboundPoliciesMfamethod$|^AssetOtmfaOutboundPoliciesSourceCandidate$|^AssetOtmfaOutboundPoliciesSourceUserCandidate$|^AssetOtmfaOutboundPolicy$|^AssetOtOutboundRulesDestinationCandidate$|^AssetOtOutboundRulesExcludedSourceCandidate$|^AssetOtOutboundRulesSourceCandidate$|^AssetOtrpcRule$|^AssetOtrpcRulesDestinationCandidate$|^AssetOtrpcRulesExcludedDestinationCandidate$|^AssetOtrpcRulesSourceCandidate$|^AssetOtrpcRulesUserCandidate$|^AssetOtRulesDistribution$ + subject: ^AssetOtAnalysis$|^AssetOtIdentityRule$|^AssetOtIdentityRulesAssetsCandidate$|^AssetOtIdentityRulesExcludedAssetsCandidate$|^AssetOtIdentityRulesUserCandidate$|^AssetOtInboundRule$|^AssetOtInboundRulesDestinationCandidate$|^AssetOtInboundRulesExcludedDestinationCandidate$|^AssetOtInboundRulesSourceCandidate$|^AssetOtmfaIdentityPoliciesDestinationCandidate$|^AssetOtmfaIdentityPoliciesExcludedSourceCandidate$|^AssetOtmfaIdentityPoliciesMfamethod$|^AssetOtmfaIdentityPoliciesSourceCandidate$|^AssetOtmfaIdentityPoliciesSourceUserCandidate$|^AssetOtmfaIdentityPolicy$|^AssetOtmfaInboundPoliciesDestinationCandidate$|^AssetOtmfaInboundPoliciesExcludedSourceCandidate$|^AssetOtmfaInboundPoliciesMfamethod$|^AssetOtmfaInboundPoliciesSourceCandidate$|^AssetOtmfaInboundPoliciesSourceUserCandidate$|^AssetOtmfaInboundPolicy$|^AssetOtOutboundRule$|^AssetOtmfaOutboundPoliciesDestinationCandidate$|^AssetOtmfaOutboundPoliciesExcludedSourceCandidate$|^AssetOtmfaOutboundPoliciesMfamethod$|^AssetOtmfaOutboundPoliciesSourceCandidate$|^AssetOtmfaOutboundPoliciesSourceUserCandidate$|^AssetOtmfaOutboundPolicy$|^AssetOtOutboundRulesDestinationCandidate$|^AssetOtOutboundRulesExcludedSourceCandidate$|^AssetOtOutboundRulesSourceCandidate$|^AssetOtOutboundRulesUserCandidate$|^AssetOtrpcRule$|^AssetOtrpcRulesDestinationCandidate$|^AssetOtrpcRulesExcludedDestinationCandidate$|^AssetOtrpcRulesSourceCandidate$|^AssetOtrpcRulesUserCandidate$|^AssetOtRulesDistribution$ hide: true # Remove APIs that require Human access - where: @@ -737,48 +744,51 @@ directive: - where: subject: ServiceNowAccessToken remove: true + - where: + subject: SettingsCustomUser + remove: true # Rename Queue Commands - where: - subject: QueueAssetsNetwork + subject: ^QueueAssetsNetwork$|^QueueAssetNetwork$ set: subject: AssetNetworkQueue - where: - subject: QueueAssetNetwork + subject: ^QueueAssetsExtendNetwork$|^QueueAssetExtendNetwork$ set: - subject: AssetNetworkQueue + subject: AssetNetworkExtendQueue - where: - subject: QueueAssetExtendNetwork + subject: ^QueueAssetOtNetwork$|^QueueAssetsOtNetwork$ set: - subject: AssetNetworkExtendQueue + subject: AssetOtNetworkQueue - where: - subject: QueueAssetsExtendNetwork + subject: ^QueueAssetOtExtendNetwork$|^QueueAssetsOtExtendNetwork$ set: - subject: AssetNetworkExtendQueue + subject: AssetOtNetworkExtendQueue - where: - subject: QueueAssetOtNetwork + subject: QueueUsersIdentity set: - subject: AssetOtNetworkQueue + subject: UserIdentityQueue - where: - subject: QueueAssetsOtNetwork + subject: ^QueueAssetIdentity$|^QueueAssetsIdentity$ set: - subject: AssetOtNetworkQueue + subject: AssetIdentityQueue - where: - subject: QueueAssetOtExtendNetwork + subject: ^QueueAssetExtendIdentity$|^QueueAssetsExtendIdentity$ set: - subject: AssetOtNetworkExtendQueue + subject: AssetIdentityExtendQueue - where: - subject: QueueAssetsOtExtendNetwork + subject: QueueAssetsRpc set: - subject: AssetOtNetworkExtendQueue + subject: AssetRpcQueue - where: - subject: QueueUsersIdentity + subject: QueueAssetsExtendRpc set: - subject: UserIdentityQueue + subject: AssetRpcExtendQueue # rename asset/ot/user queue/protect/unprotect commands - where: subject: AssetsOtNetworkSegment variant: ^Protect$|^Unprotect$ - hide: true + remove: true - where: subject: AssetsOtNetworkSegment verb: ^Protect$|^Unprotect$ @@ -787,7 +797,7 @@ directive: - where: subject: AssetsNetworkSegment variant: ^Protect$|^Unprotect$ - hide: true + remove: true - where: subject: AssetsNetworkSegment verb: ^Protect$|^Unprotect$ @@ -808,23 +818,32 @@ directive: set: subject: AssetNetworkUnprotect - where: - subject: UsersIdentity + subject: UsersIdentitySegment variant: ^Protect$|^Unprotect$ - hide: true + remove: true - where: - subject: UsersIdentity + subject: UsersIdentitySegment verb: ^Protect$|^Unprotect$ set: - subject: UserIdentity + subject: UserIdentitySegment - where: - subject: AssetsIdentity + subject: AssetsIdentitySegment variant: ^Protect$|^Unprotect$ - hide: true + remove: true + - where: + subject: AssetsIdentitySegment + verb: ^Protect$|^Unprotect$ + set: + subject: AssetIdentitySegment + - where: + subject: ^AssetsRpcSegment$|^AssetRpcSegment$ + variant: ^Protect$|^Unprotect$ + remove: true - where: - subject: AssetsIdentity + subject: AssetsRpcSegment verb: ^Protect$|^Unprotect$ set: - subject: AssetIdentity + subject: AssetRpcSegment - where: subject: ^AssetsIdentityProtect$|^AssetsIdentityUnprotect$ variant: Validate @@ -839,6 +858,32 @@ directive: verb: Test set: subject: AssetIdentityUnprotect + - where: + subject: AssetsQuarantine + verb: Enable + set: + subject: AssetQuarantine + - where: + subject: AssetsOSType + set: + subject: AssetOSType + - where: + subject: AssetsOutboundRestriction + set: + subject: AssetOutboundRestriction + - where: + subject: AssetsOutboundRestriction + set: + subject: AssetOutboundRestriction + - where: + subject: AssetsMirror + set: + subject: AssetMirror + # combine assets/asset + - where: + subject: AssetsPreferredSegmentServer + set: + subject: AssetPreferredSegmentServer # combine user search - where: subject: ^UsersByPrincipalName$|^UsersBySid$ @@ -915,6 +960,20 @@ directive: name: Limit Default description: Sets the limit parameter to 10 script: '10' + - where: + parameter-name: Offset + set: + default: + name: Offset Default + description: Sets the offset parameter to 0 + script: '0' + - where: + parameter-name: AccountName + set: + default: + name: AccountName Default + description: Set the acccount name paramater to an environment variable + script: '(Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0]' # set the default directions for cmdlets - where: subject: ^AssetInboundRule$|^AssetOtOutboundRule$|^GroupsInboundRule$ @@ -957,10 +1016,35 @@ directive: name: WithCount Default description: Sets the WithCount parmaeter to true. script: '$true' + #Set default policy type for onboarding policies + - where: + subject: IdentityOnboardingPolicy + verb: Update + parameter-name: PolicyType + set: + default: + name: PolicyType Default + description: Sets the PolicyType parmaeter to 2. + script: '2' + - where: + subject: NetworkOnboardingPolicy + verb: Update + parameter-name: PolicyType + set: + default: + name: PolicyType Default + description: Sets the PolicyType parmaeter to 1. + script: '1' + # Hide + - where: + verb: Get + subject: AssetPreferredSegmentServer + variant: Get + hide: true # Hide for Custom Wrappers - where: verb: Update - subject: ^AssetIdentityRule$|^AssetInboundRule$|^AssetMfaIdentityPolicy$|^AssetMFAInboundPolicy$|^AssetMFAOutboundPolicy$|^AssetOutboundRule$|^AssetOtMFAOutboundPolicy$|^AssetRpcRule$|^CustomGroup$|^GroupsIdentityRule$|^GroupsInboundRule$|^GroupsMfaIdentityPolicy$|^GroupsMFAInboundPolicy$|^GroupsMFAOutboundPolicy$|^GroupsOutboundRule$|^GroupsRpcRule$|^IdentityRule$|^InboundRule$|^MfaIdentityPolicy$|^MFAInboundPolicy$|^MFAOutboundPolicy$|^OutboundRule$|^RpcRule$|^SettingsPushNotification$|^UserIdentityRule$|^UserMfaIdentityPolicy$ + subject: ^AssetExternalAccessPolicy$|^AssetIdentityRule$|^AssetInboundRule$|^AssetMfaIdentityPolicy$|^AssetMFAInboundPolicy$|^AssetMFAOutboundPolicy$|^AssetOutboundRule$|^AssetOtMFAOutboundPolicy$|^AssetRpcRule$|^CustomGroup$|^ExternalAccessPolicy$|^GroupsExternalAccessPolicy$|^GroupsIdentityRule$|^GroupsInboundRule$|^GroupsMfaIdentityPolicy$|^GroupsMFAInboundPolicy$|^GroupsMFAOutboundPolicy$|^GroupsOutboundRule$|^GroupsRpcRule$|^IdentityRule$|^InboundRule$|^MfaIdentityPolicy$|^MFAInboundPolicy$|^MFAOutboundPolicy$|^OutboundRule$|^RpcRule$|^SettingsPushNotification$|^UserExternalAccessPolicy$|^UserIdentityRule$|^UserMfaIdentityPolicy$ hide: true - where: subject: ^AuthLogin$|^AuthChallenge$ diff --git a/src/ZN/ZeroNetworks.psd1 b/src/ZN/ZeroNetworks.psd1 index b479070..fa19740 100644 --- a/src/ZN/ZeroNetworks.psd1 +++ b/src/ZN/ZeroNetworks.psd1 @@ -1,7 +1,7 @@ @{ GUID = 'e1524bd8-23dd-43fa-bcc0-196b3c1ef81c' RootModule = './ZeroNetworks.psm1' - ModuleVersion = '0.0.12' + ModuleVersion = '0.0.15' CompatiblePSEditions = 'Core', 'Desktop' Author = 'Zero Networks' CompanyName = 'Zero Networks' @@ -11,7 +11,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredAssemblies = './bin/ZeroNetworks.private.dll' FormatsToProcess = './ZeroNetworks.format.ps1xml' - FunctionsToExport = 'Add-ZNAssetManager', 'Add-ZNAssetOtAssetManager', 'Add-ZNAssetRpcMonitoring', 'Add-ZNAssetRpcSegment', 'Add-ZNCustomGroupsMember', 'Add-ZNGroupsAssetManager', 'Add-ZNGroupsManagedAsset', 'Add-ZNTagGroupsMember', 'Add-ZNUsersManagedAsset', 'Approve-ZNAssetInboundRuleReview', 'Approve-ZNAssetOutboundRuleReview', 'Approve-ZNInboundRuleReview', 'Approve-ZNOutboundRuleReview', 'Connect-ZN', 'Deny-ZNAssetInboundRuleReview', 'Deny-ZNAssetOutboundRuleReview', 'Deny-ZNInboundRuleReview', 'Deny-ZNOutboundRuleReview', 'Disconnect-ZN', 'Get-ZNAiExclusionNetworkBoth', 'Get-ZNAiExclusionNetworkClient', 'Get-ZNAiExclusionNetworkServer', 'Get-ZNAiExclusionSourceCandidate', 'Get-ZNAiExclusionSourceEntity', 'Get-ZNAiNextBatch', 'Get-ZNAsset', 'Get-ZNAssetAnalysis', 'Get-ZNAssetAudit', 'Get-ZNAssetClusterInfo', 'Get-ZNAssetHealthState', 'Get-ZNAssetIdentityRule', 'Get-ZNAssetIdentityRulesAssetsCandidate', 'Get-ZNAssetIdentityRulesExcludedAssetsCandidate', 'Get-ZNAssetIdentityRulesUserCandidate', 'Get-ZNAssetInboundRule', 'Get-ZNAssetInboundRulesDestinationCandidate', 'Get-ZNAssetInboundRulesExcludedDestinationCandidate', 'Get-ZNAssetInboundRulesSourceCandidate', 'Get-ZNAssetListeningPort', 'Get-ZNAssetManager', 'Get-ZNAssetManagersCandidate', 'Get-ZNAssetMemberOf', 'Get-ZNAssetMfaIdentityPoliciesDestinationCandidate', 'Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate', 'Get-ZNAssetMfaIdentityPoliciesMfamethod', 'Get-ZNAssetMfaIdentityPoliciesSourceCandidate', 'Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate', 'Get-ZNAssetMfaIdentityPolicy', 'Get-ZNAssetMfaInboundPoliciesDestinationCandidate', 'Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate', 'Get-ZNAssetMfaInboundPoliciesMfamethod', 'Get-ZNAssetMfaInboundPoliciesSourceCandidate', 'Get-ZNAssetMfaInboundPoliciesSourceUserCandidate', 'Get-ZNAssetMfaInboundPolicy', 'Get-ZNAssetMfaOutboundPoliciesDestinationCandidate', 'Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate', 'Get-ZNAssetMfaOutboundPoliciesMfamethod', 'Get-ZNAssetMfaOutboundPoliciesSourceCandidate', 'Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate', 'Get-ZNAssetMfaOutboundPolicy', 'Get-ZNAssetOt', 'Get-ZNAssetOtAssetManager', 'Get-ZNAssetOtAssetManagersCandidate', 'Get-ZNAssetOtAudit', 'Get-ZNAssetOtMemberOf', 'Get-ZNAssetOtTag', 'Get-ZNAssetOutboundRule', 'Get-ZNAssetOutboundRulesDestinationCandidate', 'Get-ZNAssetOutboundRulesExcludedSourceCandidate', 'Get-ZNAssetOutboundRulesSourceCandidate', 'Get-ZNAssetRpcRule', 'Get-ZNAssetRpcRulesDestinationCandidate', 'Get-ZNAssetRpcRulesExcludedDestinationCandidate', 'Get-ZNAssetRpcRulesSourceCandidate', 'Get-ZNAssetRpcRulesUserCandidate', 'Get-ZNAssetRulesDistribution', 'Get-ZNAssetsIdentitySegmented', 'Get-ZNAssetsInactive', 'Get-ZNAssetsMonitored', 'Get-ZNAssetsNetworkQueued', 'Get-ZNAssetsOt', 'Get-ZNAssetsProtected', 'Get-ZNAssetsRpcMonitored', 'Get-ZNAssetsRpcSegmented', 'Get-ZNAssetsStatesStatistics', 'Get-ZNAssetsStatistics', 'Get-ZNAssetTag', 'Get-ZNAudit', 'Get-ZNCustomGroupsCandidate', 'Get-ZNGroup', 'Get-ZNGroupAudit', 'Get-ZNGroupMemberOf', 'Get-ZNGroupsAssetManager', 'Get-ZNGroupsAssetManagersCandidate', 'Get-ZNGroupsByType', 'Get-ZNGroupsIdentityRule', 'Get-ZNGroupsIdentityRulesAssetsCandidate', 'Get-ZNGroupsIdentityRulesExcludedAssetsCandidate', 'Get-ZNGroupsIdentityRulesUserCandidate', 'Get-ZNGroupsInboundRule', 'Get-ZNGroupsInboundRulesDestinationCandidate', 'Get-ZNGroupsInboundRulesExcludedDestinationCandidate', 'Get-ZNGroupsInboundRulesSourceCandidate', 'Get-ZNGroupsManagedAsset', 'Get-ZNGroupsManagedAssetsCandidate', 'Get-ZNGroupsMember', 'Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate', 'Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate', 'Get-ZNGroupsMfaIdentityPoliciesMfamethod', 'Get-ZNGroupsMfaIdentityPoliciesSourceCandidate', 'Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate', 'Get-ZNGroupsMfaIdentityPolicy', 'Get-ZNGroupsMfaInboundPoliciesDestinationCandidate', 'Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate', 'Get-ZNGroupsMfaInboundPoliciesMfamethod', 'Get-ZNGroupsMfaInboundPoliciesSourceCandidate', 'Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate', 'Get-ZNGroupsMfaInboundPolicy', 'Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate', 'Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate', 'Get-ZNGroupsMfaOutboundPoliciesMfamethod', 'Get-ZNGroupsMfaOutboundPoliciesSourceCandidate', 'Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate', 'Get-ZNGroupsMfaOutboundPolicy', 'Get-ZNGroupsOutboundRule', 'Get-ZNGroupsOutboundRulesDestinationCandidate', 'Get-ZNGroupsOutboundRulesExcludedSourceCandidate', 'Get-ZNGroupsOutboundRulesSourceCandidate', 'Get-ZNGroupsRpcRule', 'Get-ZNGroupsRpcRulesDestinationCandidate', 'Get-ZNGroupsRpcRulesExcludedDestinationCandidate', 'Get-ZNGroupsRpcRulesSourceCandidate', 'Get-ZNGroupsRpcRulesUserCandidate', 'Get-ZNGroupsRulesDistribution', 'Get-ZNGroupsStatistics', 'Get-ZNIdentityRule', 'Get-ZNIdentityRulesAssetsCandidate', 'Get-ZNIdentityRulesExcludedAssetsCandidate', 'Get-ZNIdentityRulesUserCandidate', 'Get-ZNInboundRule', 'Get-ZNInboundRulesDestinationCandidate', 'Get-ZNInboundRulesExcludedDestinationCandidate', 'Get-ZNInboundRulesSourceCandidate', 'Get-ZNMfaIdentityPoliciesDestinationCandidate', 'Get-ZNMfaIdentityPoliciesExcludedSourceCandidate', 'Get-ZNMfaIdentityPoliciesMfamethod', 'Get-ZNMfaIdentityPoliciesSourceCandidate', 'Get-ZNMfaIdentityPoliciesSourceUserCandidate', 'Get-ZNMfaIdentityPolicy', 'Get-ZNMfaInboundPoliciesDestinationCandidate', 'Get-ZNMfaInboundPoliciesExcludedSourceCandidate', 'Get-ZNMfaInboundPoliciesMfamethod', 'Get-ZNMfaInboundPoliciesSourceCandidate', 'Get-ZNMfaInboundPoliciesSourceUserCandidate', 'Get-ZNMfaInboundPolicy', 'Get-ZNMfaOutboundPoliciesDestinationCandidate', 'Get-ZNMfaOutboundPoliciesExcludedSourceCandidate', 'Get-ZNMfaOutboundPoliciesMfamethod', 'Get-ZNMfaOutboundPoliciesSourceCandidate', 'Get-ZNMfaOutboundPoliciesSourceUserCandidate', 'Get-ZNMfaOutboundPolicy', 'Get-ZNMfaPoliciesDistribution', 'Get-ZNMfaPoliciesStatistics', 'Get-ZNOutboundRule', 'Get-ZNOutboundRulesDestinationCandidate', 'Get-ZNOutboundRulesExcludedSourceCandidate', 'Get-ZNOutboundRulesSourceCandidate', 'Get-ZNProtectionPoliciesGroupCandidate', 'Get-ZNProtectionPolicy', 'Get-ZNRpcRule', 'Get-ZNRpcRulesDestinationCandidate', 'Get-ZNRpcRulesExcludedDestinationCandidate', 'Get-ZNRpcRulesSourceCandidate', 'Get-ZNRpcRulesUserCandidate', 'Get-ZNRulesDistribution', 'Get-ZNRulesStatistics', 'Get-ZNSegmentServer', 'Get-ZNSession', 'Get-ZNSettingsAad', 'Get-ZNSettingsAd', 'Get-ZNSettingsAdMonitoredCandidate', 'Get-ZNSettingsAdProtectedCandidate', 'Get-ZNSettingsAnsible', 'Get-ZNSettingsAssetManager', 'Get-ZNSettingsAuth', 'Get-ZNSettingsBreakGlass', 'Get-ZNSettingsClientsTrustedInternet', 'Get-ZNSettingsClientSubnet', 'Get-ZNSettingsClientsUntrustedInternet', 'Get-ZNSettingsClusterStrategy', 'Get-ZNSettingsConnectClientAutoUpdate', 'Get-ZNSettingsConnectRegion', 'Get-ZNSettingsConnectServer', 'Get-ZNSettingsConnectUserAccessConfig', 'Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate', 'Get-ZNSettingsConnectUserAccessConfigAssetsCandidate', 'Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate', 'Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate', 'Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate', 'Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate', 'Get-ZNSettingsDefaultApplication', 'Get-ZNSettingsFirewall', 'Get-ZNSettingsFirewallIgnoredGpo', 'Get-ZNSettingsFirewallIgnoredRule', 'Get-ZNSettingsFirewallProfile', 'Get-ZNSettingsIdp', 'Get-ZNSettingsInactiveAsset', 'Get-ZNSettingsInternalSubnet', 'Get-ZNSettingsJamfCredentials', 'Get-ZNSettingsLearningConfig', 'Get-ZNSettingsLicense', 'Get-ZNSettingsLinuxSetup', 'Get-ZNSettingsLinuxUser', 'Get-ZNSettingsMfaAuthentication', 'Get-ZNSettingsMfaDetection', 'Get-ZNSettingsNotification', 'Get-ZNSettingsPrivilegedPort', 'Get-ZNSettingsPushNotification', 'Get-ZNSettingsServersTrustedInternet', 'Get-ZNSettingsServersUntrustedInternet', 'Get-ZNSettingsTrustedInternetAddress', 'Get-ZNSettingsZpa', 'Get-ZNTagGroupsCandidate', 'Get-ZNUser', 'Get-ZNUserAudit', 'Get-ZNUserIdentityRule', 'Get-ZNUserIdentityRulesAssetsCandidate', 'Get-ZNUserIdentityRulesExcludedAssetsCandidate', 'Get-ZNUserIdentityRulesUserCandidate', 'Get-ZNUserMemberOf', 'Get-ZNUserMfaIdentityPoliciesDestinationCandidate', 'Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate', 'Get-ZNUserMfaIdentityPoliciesMfamethod', 'Get-ZNUserMfaIdentityPoliciesSourceCandidate', 'Get-ZNUserMfaIdentityPoliciesSourceUserCandidate', 'Get-ZNUserMfaIdentityPolicy', 'Get-ZNUserRulesDistribution', 'Get-ZNUsersIdentityQueued', 'Get-ZNUsersIdentitySegmented', 'Get-ZNUsersManagedAsset', 'Get-ZNUsersManagedAssetsCandidate', 'Get-ZNUsersServiceAccount', 'Get-ZNUserStatistics', 'Initialize-ZNAssetBreakGlass', 'Invoke-ZNAssetDeactivateBreakGlass', 'Invoke-ZNAssetNetworkExtendQueue', 'Invoke-ZNAssetNetworkQueue', 'Invoke-ZNAssetOtNetworkExtendQueue', 'Invoke-ZNAssetOtNetworkQueue', 'Invoke-ZNDownloadCloudConnectorInstaller', 'Invoke-ZNDownloadConnectClient', 'Invoke-ZNDownloadConnectServer', 'Invoke-ZNDownloadSegmentServer', 'Invoke-ZNEncodeEntityIP', 'Invoke-ZNEncodeEntityIPRange', 'Invoke-ZNEncodeEntitySubnet', 'Invoke-ZNRediscoverAd', 'Invoke-ZNRediscoverLinux', 'Invoke-ZNResyncAzureAd', 'Invoke-ZNUserIdentityQueue', 'New-ZNAssetIdentityRule', 'New-ZNAssetInboundRule', 'New-ZNAssetMfaIdentityPolicy', 'New-ZNAssetMfaInboundPolicy', 'New-ZNAssetMfaOutboundPolicy', 'New-ZNAssetOutboundRule', 'New-ZNAssetRpcRule', 'New-ZNAssetsLinux', 'New-ZNAssetsOt', 'New-ZNCustomGroup', 'New-ZNGroupsIdentityRule', 'New-ZNGroupsInboundRule', 'New-ZNGroupsMfaIdentityPolicy', 'New-ZNGroupsMfaInboundPolicy', 'New-ZNGroupsMfaOutboundPolicy', 'New-ZNGroupsOutboundRule', 'New-ZNGroupsRpcRule', 'New-ZNIdentityRule', 'New-ZNInboundRule', 'New-ZNMfaIdentityPolicy', 'New-ZNMfaInboundPolicy', 'New-ZNMfaOutboundPolicy', 'New-ZNOutboundRule', 'New-ZNPortsList', 'New-ZNProtectionPolicy', 'New-ZNRpcRule', 'New-ZNSettingsAd', 'New-ZNSettingsAdSecondary', 'New-ZNSettingsConnectRegion', 'New-ZNSettingsConnectUserAccessConfig', 'New-ZNSettingsIdp', 'New-ZNSettingsPushNotification', 'New-ZNUserIdentityRule', 'New-ZNUserMfaIdentityPolicy', 'Protect-ZNAssetIdentity', 'Protect-ZNAssetNetworkSegment', 'Protect-ZNAssetOtNetworkSegment', 'Protect-ZNUserIdentity', 'Remove-ZNApiKey', 'Remove-ZNAssetIdentityRule', 'Remove-ZNAssetInboundRule', 'Remove-ZNAssetManager', 'Remove-ZNAssetMfaIdentityPolicy', 'Remove-ZNAssetMfaInboundPolicy', 'Remove-ZNAssetMfaOutboundPolicy', 'Remove-ZNAssetOtAssetManager', 'Remove-ZNAssetOutboundRule', 'Remove-ZNAssetRpcMonitoring', 'Remove-ZNAssetRpcRule', 'Remove-ZNAssetRpcSegment', 'Remove-ZNCustomGroup', 'Remove-ZNCustomGroupsMember', 'Remove-ZNGroupsAssetManager', 'Remove-ZNGroupsIdentityRule', 'Remove-ZNGroupsInboundRule', 'Remove-ZNGroupsManagedAsset', 'Remove-ZNGroupsMfaIdentityPolicy', 'Remove-ZNGroupsMfaInboundPolicy', 'Remove-ZNGroupsMfaOutboundPolicy', 'Remove-ZNGroupsOutboundRule', 'Remove-ZNGroupsRpcRule', 'Remove-ZNIdentityRule', 'Remove-ZNInboundRule', 'Remove-ZNMfaIdentityPolicy', 'Remove-ZNMfaInboundPolicy', 'Remove-ZNMfaOutboundPolicy', 'Remove-ZNOutboundRule', 'Remove-ZNProtectionPolicy', 'Remove-ZNRpcRule', 'Remove-ZNSettingsAad', 'Remove-ZNSettingsAd', 'Remove-ZNSettingsAdSecondary', 'Remove-ZNSettingsConnectRegion', 'Remove-ZNSettingsConnectUserAccessConfig', 'Remove-ZNSettingsIdp', 'Remove-ZNSettingsJamfCredentials', 'Remove-ZNSettingsPushNotification', 'Remove-ZNTagGroupsMember', 'Remove-ZNUserIdentityRule', 'Remove-ZNUserMfaIdentityPolicy', 'Remove-ZNUsersManagedAsset', 'Revoke-ZNSession', 'Search-ZNAsset', 'Search-ZNAssetProtected', 'Search-ZNUser', 'Set-ZNApiKey', 'Test-ZNAssetIdentityProtect', 'Test-ZNAssetIdentityUnprotect', 'Test-ZNAssetNetworkSegment', 'Test-ZNAssetNetworkUnprotect', 'Unprotect-ZNAssetIdentity', 'Unprotect-ZNAssetNetworkSegment', 'Unprotect-ZNAssetOtNetworkSegment', 'Unprotect-ZNUserIdentity', 'Update-ZNAiExclusionNetworkBoth', 'Update-ZNAiExclusionNetworkClient', 'Update-ZNAiExclusionNetworkServer', 'Update-ZNAssetActive', 'Update-ZNAssetIdentityRule', 'Update-ZNAssetInactive', 'Update-ZNAssetInboundRule', 'Update-ZNAssetMfaIdentityPolicy', 'Update-ZNAssetMfaInboundPolicy', 'Update-ZNAssetMfaOutboundPolicy', 'Update-ZNAssetOt', 'Update-ZNAssetOutboundRule', 'Update-ZNAssetRpcRule', 'Update-ZNAssetType', 'Update-ZNCustomGroup', 'Update-ZNGroupsIdentityRule', 'Update-ZNGroupsInboundRule', 'Update-ZNGroupsMfaIdentityPolicy', 'Update-ZNGroupsMfaInboundPolicy', 'Update-ZNGroupsMfaOutboundPolicy', 'Update-ZNGroupsOutboundRule', 'Update-ZNGroupsRpcRule', 'Update-ZNIdentityRule', 'Update-ZNInboundRule', 'Update-ZNMfaIdentityPolicy', 'Update-ZNMfaInboundPolicy', 'Update-ZNMfaOutboundPolicy', 'Update-ZNOutboundRule', 'Update-ZNProtectionPolicy', 'Update-ZNRpcRule', 'Update-ZNSettingsAd', 'Update-ZNSettingsAdAutomationGroup', 'Update-ZNSettingsAdSecondary', 'Update-ZNSettingsAnsible', 'Update-ZNSettingsAuth', 'Update-ZNSettingsBreakGlass', 'Update-ZNSettingsClientsTrustedInternet', 'Update-ZNSettingsClientSubnet', 'Update-ZNSettingsClientsUntrustedInternet', 'Update-ZNSettingsClusterStrategy', 'Update-ZNSettingsConnectClientAutoUpdate', 'Update-ZNSettingsConnectRegion', 'Update-ZNSettingsConnectServer', 'Update-ZNSettingsConnectUserAccessConfig', 'Update-ZNSettingsDefaultApplication', 'Update-ZNSettingsFirewall', 'Update-ZNSettingsFirewallIgnoredGpo', 'Update-ZNSettingsFirewallIgnoredRule', 'Update-ZNSettingsFirewallProfile', 'Update-ZNSettingsIdp', 'Update-ZNSettingsInactiveAsset', 'Update-ZNSettingsInternalSubnet', 'Update-ZNSettingsJamfCredentials', 'Update-ZNSettingsLearningConfig', 'Update-ZNSettingsLinuxSetup', 'Update-ZNSettingsLinuxUser', 'Update-ZNSettingsMfaAuthentication', 'Update-ZNSettingsMfaDetection', 'Update-ZNSettingsNotification', 'Update-ZNSettingsPrivilegedPort', 'Update-ZNSettingsServersTrustedInternet', 'Update-ZNSettingsServersUntrustedInternet', 'Update-ZNSettingsTrustedInternetAddress', 'Update-ZNSettingsZpa', 'Update-ZNUserIdentityRule', 'Update-ZNUserMfaIdentityPolicy', 'Update-ZNUserType' + FunctionsToExport = 'Add-ZNAssetManager', 'Add-ZNAssetOtAssetManager', 'Add-ZNAssetRpcMonitoring', 'Add-ZNCustomGroupsMember', 'Add-ZNGroupsAssetManager', 'Add-ZNGroupsManagedAsset', 'Add-ZNTagGroupsMember', 'Add-ZNUsersManagedAsset', 'Approve-ZNAssetInboundRuleReview', 'Approve-ZNAssetOutboundRuleReview', 'Approve-ZNInboundRuleReview', 'Approve-ZNOutboundRuleReview', 'Connect-ZN', 'Deny-ZNAssetInboundRuleReview', 'Deny-ZNAssetOutboundRuleReview', 'Deny-ZNInboundRuleReview', 'Deny-ZNOutboundRuleReview', 'Disconnect-ZN', 'Enable-ZNAssetQuarantine', 'Get-ZNAeExclusionsInbound', 'Get-ZNAeExclusionsOutbound', 'Get-ZNAiExclusionNetworkBoth', 'Get-ZNAiExclusionNetworkClient', 'Get-ZNAiExclusionNetworkServer', 'Get-ZNAiExclusionSourceCandidate', 'Get-ZNAiExclusionSourceEntity', 'Get-ZNAiNextBatch', 'Get-ZNAsset', 'Get-ZNAssetAnalysis', 'Get-ZNAssetAudit', 'Get-ZNAssetClusterInfo', 'Get-ZNAssetExternalAccessPolicy', 'Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate', 'Get-ZNAssetExternalAccessPolicySourceUserCandidate', 'Get-ZNAssetExternalAccessPolicyStatistics', 'Get-ZNAssetHealthState', 'Get-ZNAssetIdentityRule', 'Get-ZNAssetIdentityRulesAssetsCandidate', 'Get-ZNAssetIdentityRulesExcludedAssetsCandidate', 'Get-ZNAssetIdentityRulesUserCandidate', 'Get-ZNAssetInboundRule', 'Get-ZNAssetInboundRulesDestinationCandidate', 'Get-ZNAssetInboundRulesExcludedDestinationCandidate', 'Get-ZNAssetInboundRulesSourceCandidate', 'Get-ZNAssetListeningPort', 'Get-ZNAssetManager', 'Get-ZNAssetManagersCandidate', 'Get-ZNAssetMemberOf', 'Get-ZNAssetMemberOfGroupCandidate', 'Get-ZNAssetMfaIdentityPoliciesDestinationCandidate', 'Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate', 'Get-ZNAssetMfaIdentityPoliciesMfamethod', 'Get-ZNAssetMfaIdentityPoliciesSourceCandidate', 'Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate', 'Get-ZNAssetMfaIdentityPolicy', 'Get-ZNAssetMfaInboundPoliciesDestinationCandidate', 'Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate', 'Get-ZNAssetMfaInboundPoliciesMfamethod', 'Get-ZNAssetMfaInboundPoliciesSourceCandidate', 'Get-ZNAssetMfaInboundPoliciesSourceUserCandidate', 'Get-ZNAssetMfaInboundPolicy', 'Get-ZNAssetMfaOutboundPoliciesDestinationCandidate', 'Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate', 'Get-ZNAssetMfaOutboundPoliciesMfamethod', 'Get-ZNAssetMfaOutboundPoliciesSourceCandidate', 'Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate', 'Get-ZNAssetMfaOutboundPolicy', 'Get-ZNAssetOt', 'Get-ZNAssetOtAssetManager', 'Get-ZNAssetOtAssetManagersCandidate', 'Get-ZNAssetOtAudit', 'Get-ZNAssetOtMemberOf', 'Get-ZNAssetOtMemberOfGroupCandidate', 'Get-ZNAssetOtTag', 'Get-ZNAssetOutboundRule', 'Get-ZNAssetOutboundRulesDestinationCandidate', 'Get-ZNAssetOutboundRulesExcludedSourceCandidate', 'Get-ZNAssetOutboundRulesSourceCandidate', 'Get-ZNAssetOutboundRulesUserCandidate', 'Get-ZNAssetPreferredSegmentServer', 'Get-ZNAssetRpcRule', 'Get-ZNAssetRpcRulesDestinationCandidate', 'Get-ZNAssetRpcRulesExcludedDestinationCandidate', 'Get-ZNAssetRpcRulesSourceCandidate', 'Get-ZNAssetRpcRulesUserCandidate', 'Get-ZNAssetRulesDistribution', 'Get-ZNAssetsIdentityQueued', 'Get-ZNAssetsIdentitySegmented', 'Get-ZNAssetsInactive', 'Get-ZNAssetsMonitored', 'Get-ZNAssetsNetworkQueued', 'Get-ZNAssetsNetworkSegmented', 'Get-ZNAssetsOt', 'Get-ZNAssetsRpcMonitored', 'Get-ZNAssetsRpcQueued', 'Get-ZNAssetsRpcSegmented', 'Get-ZNAssetsStatesStatistics', 'Get-ZNAssetsStatistics', 'Get-ZNAssetTag', 'Get-ZNAudit', 'Get-ZNCustomGroupsCandidate', 'Get-ZNExternalAccessPolicy', 'Get-ZNExternalAccessPolicyDestinationAssetsCandidate', 'Get-ZNExternalAccessPolicySourceUserCandidate', 'Get-ZNExternalAccessPolicyStatistics', 'Get-ZNGroup', 'Get-ZNGroupAudit', 'Get-ZNGroupMemberOf', 'Get-ZNGroupMemberOfGroupCandidate', 'Get-ZNGroupsAssetManager', 'Get-ZNGroupsAssetManagersCandidate', 'Get-ZNGroupsByType', 'Get-ZNGroupsExternalAccessPolicy', 'Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate', 'Get-ZNGroupsExternalAccessPolicySourceUserCandidate', 'Get-ZNGroupsExternalAccessPolicyStatistics', 'Get-ZNGroupsIdentityRule', 'Get-ZNGroupsIdentityRulesAssetsCandidate', 'Get-ZNGroupsIdentityRulesExcludedAssetsCandidate', 'Get-ZNGroupsIdentityRulesUserCandidate', 'Get-ZNGroupsInboundRule', 'Get-ZNGroupsInboundRulesDestinationCandidate', 'Get-ZNGroupsInboundRulesExcludedDestinationCandidate', 'Get-ZNGroupsInboundRulesSourceCandidate', 'Get-ZNGroupsManagedAsset', 'Get-ZNGroupsManagedAssetsCandidate', 'Get-ZNGroupsMember', 'Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate', 'Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate', 'Get-ZNGroupsMfaIdentityPoliciesMfamethod', 'Get-ZNGroupsMfaIdentityPoliciesSourceCandidate', 'Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate', 'Get-ZNGroupsMfaIdentityPolicy', 'Get-ZNGroupsMfaInboundPoliciesDestinationCandidate', 'Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate', 'Get-ZNGroupsMfaInboundPoliciesMfamethod', 'Get-ZNGroupsMfaInboundPoliciesSourceCandidate', 'Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate', 'Get-ZNGroupsMfaInboundPolicy', 'Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate', 'Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate', 'Get-ZNGroupsMfaOutboundPoliciesMfamethod', 'Get-ZNGroupsMfaOutboundPoliciesSourceCandidate', 'Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate', 'Get-ZNGroupsMfaOutboundPolicy', 'Get-ZNGroupsOutboundRule', 'Get-ZNGroupsOutboundRulesDestinationCandidate', 'Get-ZNGroupsOutboundRulesExcludedSourceCandidate', 'Get-ZNGroupsOutboundRulesSourceCandidate', 'Get-ZNGroupsOutboundRulesUserCandidate', 'Get-ZNGroupsRpcRule', 'Get-ZNGroupsRpcRulesDestinationCandidate', 'Get-ZNGroupsRpcRulesExcludedDestinationCandidate', 'Get-ZNGroupsRpcRulesSourceCandidate', 'Get-ZNGroupsRpcRulesUserCandidate', 'Get-ZNGroupsRulesDistribution', 'Get-ZNGroupsStatistics', 'Get-ZNIdentityOnboardingPoliciesGroupCandidate', 'Get-ZNIdentityOnboardingPolicy', 'Get-ZNIdentityRule', 'Get-ZNIdentityRulesAssetsCandidate', 'Get-ZNIdentityRulesExcludedAssetsCandidate', 'Get-ZNIdentityRulesUserCandidate', 'Get-ZNInboundRule', 'Get-ZNInboundRulesDestinationCandidate', 'Get-ZNInboundRulesExcludedDestinationCandidate', 'Get-ZNInboundRulesSourceCandidate', 'Get-ZNMfaIdentityPoliciesDestinationCandidate', 'Get-ZNMfaIdentityPoliciesExcludedSourceCandidate', 'Get-ZNMfaIdentityPoliciesMfamethod', 'Get-ZNMfaIdentityPoliciesSourceCandidate', 'Get-ZNMfaIdentityPoliciesSourceUserCandidate', 'Get-ZNMfaIdentityPolicy', 'Get-ZNMfaInboundPoliciesDestinationCandidate', 'Get-ZNMfaInboundPoliciesExcludedSourceCandidate', 'Get-ZNMfaInboundPoliciesMfamethod', 'Get-ZNMfaInboundPoliciesSourceCandidate', 'Get-ZNMfaInboundPoliciesSourceUserCandidate', 'Get-ZNMfaInboundPolicy', 'Get-ZNMfaOutboundPoliciesDestinationCandidate', 'Get-ZNMfaOutboundPoliciesExcludedSourceCandidate', 'Get-ZNMfaOutboundPoliciesMfamethod', 'Get-ZNMfaOutboundPoliciesSourceCandidate', 'Get-ZNMfaOutboundPoliciesSourceUserCandidate', 'Get-ZNMfaOutboundPolicy', 'Get-ZNMfaPoliciesDistribution', 'Get-ZNMfaPoliciesStatistics', 'Get-ZNNetworkOnboardingPoliciesGroupCandidate', 'Get-ZNNetworkOnboardingPolicy', 'Get-ZNOutboundRule', 'Get-ZNOutboundRulesDestinationCandidate', 'Get-ZNOutboundRulesExcludedSourceCandidate', 'Get-ZNOutboundRulesSourceCandidate', 'Get-ZNOutboundRulesUserCandidate', 'Get-ZNRpcRule', 'Get-ZNRpcRulesDestinationCandidate', 'Get-ZNRpcRulesExcludedDestinationCandidate', 'Get-ZNRpcRulesSourceCandidate', 'Get-ZNRpcRulesUserCandidate', 'Get-ZNRulesDistribution', 'Get-ZNRulesStatistics', 'Get-ZNSegmentServer', 'Get-ZNSession', 'Get-ZNSettingsAad', 'Get-ZNSettingsAd', 'Get-ZNSettingsAdMonitoredCandidate', 'Get-ZNSettingsAdProtectedCandidate', 'Get-ZNSettingsAnsible', 'Get-ZNSettingsAssetManager', 'Get-ZNSettingsAuth', 'Get-ZNSettingsBreakGlass', 'Get-ZNSettingsClientsTrustedInternet', 'Get-ZNSettingsClientSubnet', 'Get-ZNSettingsClientsUntrustedInternet', 'Get-ZNSettingsClusterStrategy', 'Get-ZNSettingsConnectClientAutoUpdate', 'Get-ZNSettingsConnectRegion', 'Get-ZNSettingsConnectServer', 'Get-ZNSettingsConnectUserAccessConfig', 'Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate', 'Get-ZNSettingsConnectUserAccessConfigAssetsCandidate', 'Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate', 'Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate', 'Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate', 'Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate', 'Get-ZNSettingsDefaultApplication', 'Get-ZNSettingsFirewall', 'Get-ZNSettingsFirewallIgnoredGpo', 'Get-ZNSettingsFirewallIgnoredRule', 'Get-ZNSettingsFirewallProfile', 'Get-ZNSettingsIdp', 'Get-ZNSettingsInactiveAsset', 'Get-ZNSettingsInternalSubnet', 'Get-ZNSettingsJamfCredentials', 'Get-ZNSettingsLearningConfig', 'Get-ZNSettingsLicense', 'Get-ZNSettingsLinuxSetup', 'Get-ZNSettingsLinuxUser', 'Get-ZNSettingsMaintenanceWindow', 'Get-ZNSettingsMfaAuthentication', 'Get-ZNSettingsMfaCache', 'Get-ZNSettingsMfaCacheCandidate', 'Get-ZNSettingsMfaDetection', 'Get-ZNSettingsNotification', 'Get-ZNSettingsPrivilegedPort', 'Get-ZNSettingsPushNotification', 'Get-ZNSettingsServersTrustedInternet', 'Get-ZNSettingsServersUntrustedInternet', 'Get-ZNSettingsTrustedInternetAddress', 'Get-ZNSettingsZpa', 'Get-ZNTagGroupsCandidate', 'Get-ZNUser', 'Get-ZNUserAudit', 'Get-ZNUserExternalAccessPolicy', 'Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate', 'Get-ZNUserExternalAccessPolicySourceUserCandidate', 'Get-ZNUserExternalAccessPolicyStatistics', 'Get-ZNUserIdentityRule', 'Get-ZNUserIdentityRulesAssetsCandidate', 'Get-ZNUserIdentityRulesExcludedAssetsCandidate', 'Get-ZNUserIdentityRulesUserCandidate', 'Get-ZNUserMemberOf', 'Get-ZNUserMemberOfGroupCandidate', 'Get-ZNUserMfaIdentityPoliciesDestinationCandidate', 'Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate', 'Get-ZNUserMfaIdentityPoliciesMfamethod', 'Get-ZNUserMfaIdentityPoliciesSourceCandidate', 'Get-ZNUserMfaIdentityPoliciesSourceUserCandidate', 'Get-ZNUserMfaIdentityPolicy', 'Get-ZNUserRulesDistribution', 'Get-ZNUsersIdentityQueued', 'Get-ZNUsersIdentitySegmented', 'Get-ZNUsersInactive', 'Get-ZNUsersManagedAsset', 'Get-ZNUsersManagedAssetsCandidate', 'Get-ZNUsersPrivileged', 'Get-ZNUsersServiceAccount', 'Get-ZNUserStatistics', 'Initialize-ZNAssetBreakGlass', 'Invoke-ZNAssetDeactivateBreakGlass', 'Invoke-ZNAssetIdentityExtendQueue', 'Invoke-ZNAssetIdentityQueue', 'Invoke-ZNAssetNetworkExtendQueue', 'Invoke-ZNAssetNetworkQueue', 'Invoke-ZNAssetOtNetworkExtendQueue', 'Invoke-ZNAssetOtNetworkQueue', 'Invoke-ZNAssetRpcExtendQueue', 'Invoke-ZNAssetRpcQueue', 'Invoke-ZNDownloadCloudConnectorInstaller', 'Invoke-ZNDownloadConnectClient', 'Invoke-ZNDownloadConnectServer', 'Invoke-ZNDownloadSegmentServer', 'Invoke-ZNEncodeEntityIP', 'Invoke-ZNEncodeEntityIPRange', 'Invoke-ZNEncodeEntitySubnet', 'Invoke-ZNMirrorAsset', 'Invoke-ZNRediscoverAd', 'Invoke-ZNRediscoverLinux', 'Invoke-ZNResyncAzureAd', 'Invoke-ZNUserIdentityQueue', 'New-ZNAssetExternalAccessPolicy', 'New-ZNAssetIdentityRule', 'New-ZNAssetInboundRule', 'New-ZNAssetMfaIdentityPolicy', 'New-ZNAssetMfaInboundPolicy', 'New-ZNAssetMfaOutboundPolicy', 'New-ZNAssetOutboundRule', 'New-ZNAssetRpcRule', 'New-ZNAssetsLinux', 'New-ZNAssetsOt', 'New-ZNCustomGroup', 'New-ZNExternalAccessPolicy', 'New-ZNGroupsExternalAccessPolicy', 'New-ZNGroupsIdentityRule', 'New-ZNGroupsInboundRule', 'New-ZNGroupsMfaIdentityPolicy', 'New-ZNGroupsMfaInboundPolicy', 'New-ZNGroupsMfaOutboundPolicy', 'New-ZNGroupsOutboundRule', 'New-ZNGroupsRpcRule', 'New-ZNIdentityOnboardingPolicy', 'New-ZNIdentityRule', 'New-ZNInboundRule', 'New-ZNMfaIdentityPolicy', 'New-ZNMfaInboundPolicy', 'New-ZNMfaOutboundPolicy', 'New-ZNNetworkOnboardingPolicy', 'New-ZNOutboundRule', 'New-ZNPortsList', 'New-ZNRpcRule', 'New-ZNSettingsAd', 'New-ZNSettingsAdSecondary', 'New-ZNSettingsConnectRegion', 'New-ZNSettingsConnectUserAccessConfig', 'New-ZNSettingsIdp', 'New-ZNSettingsMaintenanceWindow', 'New-ZNSettingsMfaCache', 'New-ZNSettingsPushNotification', 'New-ZNUserExternalAccessPolicy', 'New-ZNUserIdentityRule', 'New-ZNUserMfaIdentityPolicy', 'Protect-ZNAssetIdentitySegment', 'Protect-ZNAssetNetworkSegment', 'Protect-ZNAssetOtNetworkSegment', 'Protect-ZNAssetRpcSegment', 'Protect-ZNUserIdentitySegment', 'Read-ZNJWTtoken', 'Remove-ZNAeExclusionsInbound', 'Remove-ZNAeExclusionsOutbound', 'Remove-ZNApiKey', 'Remove-ZNAssetExternalAccessPolicy', 'Remove-ZNAssetIdentityRule', 'Remove-ZNAssetInboundRule', 'Remove-ZNAssetManager', 'Remove-ZNAssetMfaIdentityPolicy', 'Remove-ZNAssetMfaInboundPolicy', 'Remove-ZNAssetMfaOutboundPolicy', 'Remove-ZNAssetOtAssetManager', 'Remove-ZNAssetOutboundRule', 'Remove-ZNAssetRpcMonitoring', 'Remove-ZNAssetRpcRule', 'Remove-ZNCustomGroup', 'Remove-ZNCustomGroupsMember', 'Remove-ZNExternalAccessPolicy', 'Remove-ZNGroupsAssetManager', 'Remove-ZNGroupsExternalAccessPolicy', 'Remove-ZNGroupsIdentityRule', 'Remove-ZNGroupsInboundRule', 'Remove-ZNGroupsManagedAsset', 'Remove-ZNGroupsMfaIdentityPolicy', 'Remove-ZNGroupsMfaInboundPolicy', 'Remove-ZNGroupsMfaOutboundPolicy', 'Remove-ZNGroupsOutboundRule', 'Remove-ZNGroupsRpcRule', 'Remove-ZNIdentityOnboardingPolicy', 'Remove-ZNIdentityRule', 'Remove-ZNInboundRule', 'Remove-ZNMfaIdentityPolicy', 'Remove-ZNMfaInboundPolicy', 'Remove-ZNMfaOutboundPolicy', 'Remove-ZNNetworkOnboardingPolicy', 'Remove-ZNOutboundRule', 'Remove-ZNRpcRule', 'Remove-ZNSettingsAad', 'Remove-ZNSettingsAd', 'Remove-ZNSettingsAdLinux', 'Remove-ZNSettingsAdSecondary', 'Remove-ZNSettingsConnectRegion', 'Remove-ZNSettingsConnectServer', 'Remove-ZNSettingsConnectUserAccessConfig', 'Remove-ZNSettingsIdp', 'Remove-ZNSettingsJamfCredentials', 'Remove-ZNSettingsMaintenanceWindow', 'Remove-ZNSettingsMfaCache', 'Remove-ZNSettingsPushNotification', 'Remove-ZNTagGroupsMember', 'Remove-ZNUserExternalAccessPolicy', 'Remove-ZNUserIdentityRule', 'Remove-ZNUserMfaIdentityPolicy', 'Remove-ZNUsersManagedAsset', 'Revoke-ZNSession', 'Search-ZNAsset', 'Search-ZNAssetsNetworkSegmented', 'Search-ZNGroupsExternalId', 'Search-ZNUser', 'Set-ZNApiKey', 'Test-ZNAssetIdentityProtect', 'Test-ZNAssetIdentityUnprotect', 'Test-ZNAssetNetworkSegment', 'Test-ZNAssetNetworkUnprotect', 'Unprotect-ZNAssetIdentitySegment', 'Unprotect-ZNAssetNetworkSegment', 'Unprotect-ZNAssetOtNetworkSegment', 'Unprotect-ZNAssetRpcSegment', 'Unprotect-ZNUserIdentitySegment', 'Update-ZNAiExclusionNetworkBoth', 'Update-ZNAiExclusionNetworkClient', 'Update-ZNAiExclusionNetworkServer', 'Update-ZNAssetActive', 'Update-ZNAssetExternalAccessPolicy', 'Update-ZNAssetIdentityRule', 'Update-ZNAssetInactive', 'Update-ZNAssetInboundRule', 'Update-ZNAssetManager', 'Update-ZNAssetMfaIdentityPolicy', 'Update-ZNAssetMfaInboundPolicy', 'Update-ZNAssetMfaOutboundPolicy', 'Update-ZNAssetOSType', 'Update-ZNAssetOt', 'Update-ZNAssetOtAssetManager', 'Update-ZNAssetOutboundRestriction', 'Update-ZNAssetOutboundRule', 'Update-ZNAssetPreferredSegmentServer', 'Update-ZNAssetRpcRule', 'Update-ZNAssetType', 'Update-ZNCustomGroup', 'Update-ZNExternalAccessPolicy', 'Update-ZNGroupsAssetManager', 'Update-ZNGroupsExternalAccessPolicy', 'Update-ZNGroupsIdentityRule', 'Update-ZNGroupsInboundRule', 'Update-ZNGroupsManagedAsset', 'Update-ZNGroupsMfaIdentityPolicy', 'Update-ZNGroupsMfaInboundPolicy', 'Update-ZNGroupsMfaOutboundPolicy', 'Update-ZNGroupsOutboundRule', 'Update-ZNGroupsRpcRule', 'Update-ZNIdentityOnboardingPolicy', 'Update-ZNIdentityRule', 'Update-ZNInboundRule', 'Update-ZNMfaIdentityPolicy', 'Update-ZNMfaInboundPolicy', 'Update-ZNMfaOutboundPolicy', 'Update-ZNNetworkOnboardingPolicy', 'Update-ZNOutboundRule', 'Update-ZNRpcRule', 'Update-ZNSettingsAd', 'Update-ZNSettingsAdLinux', 'Update-ZNSettingsAdLinuxAutomationGroup', 'Update-ZNSettingsAdSecondary', 'Update-ZNSettingsAdWindowsAutomationGroup', 'Update-ZNSettingsAnsible', 'Update-ZNSettingsAuth', 'Update-ZNSettingsBreakGlass', 'Update-ZNSettingsClientsTrustedInternet', 'Update-ZNSettingsClientSubnet', 'Update-ZNSettingsClientsUntrustedInternet', 'Update-ZNSettingsClusterStrategy', 'Update-ZNSettingsConnectClientAutoUpdate', 'Update-ZNSettingsConnectRegion', 'Update-ZNSettingsConnectServer', 'Update-ZNSettingsConnectUserAccessConfig', 'Update-ZNSettingsDefaultApplication', 'Update-ZNSettingsFirewall', 'Update-ZNSettingsFirewallIgnoredGpo', 'Update-ZNSettingsFirewallIgnoredRule', 'Update-ZNSettingsFirewallProfile', 'Update-ZNSettingsIdp', 'Update-ZNSettingsInactiveAsset', 'Update-ZNSettingsInternalSubnet', 'Update-ZNSettingsJamfCredentials', 'Update-ZNSettingsLearningConfig', 'Update-ZNSettingsLinuxSetup', 'Update-ZNSettingsLinuxUser', 'Update-ZNSettingsMaintenanceWindow', 'Update-ZNSettingsMfaAuthentication', 'Update-ZNSettingsMfaDetection', 'Update-ZNSettingsNotification', 'Update-ZNSettingsPrivilegedPort', 'Update-ZNSettingsServersTrustedInternet', 'Update-ZNSettingsServersUntrustedInternet', 'Update-ZNSettingsTrustedInternetAddress', 'Update-ZNSettingsZpa', 'Update-ZNUserExternalAccessPolicy', 'Update-ZNUserIdentityRule', 'Update-ZNUserMfaIdentityPolicy', 'Update-ZNUsersManagedAsset', 'Update-ZNUserType' PrivateData = @{ PSData = @{ Prerelease = 'preview' diff --git a/src/ZN/custom/Approve-ZNAssetInboundRuleReview.ps1 b/src/ZN/custom/Approve-ZNAssetInboundRuleReview.ps1 index c45ef0b..a5fb065 100644 --- a/src/ZN/custom/Approve-ZNAssetInboundRuleReview.ps1 +++ b/src/ZN/custom/Approve-ZNAssetInboundRuleReview.ps1 @@ -5,7 +5,7 @@ Approve a "pending review" rule with or without changes Approve a "pending review" rule with or without changes .Link -https://github.com/zeronetworks/zero-powershell/Approve-ZNAssetInboundRuleReview +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNAssetInboundRuleReview #> function Approve-ZNAssetInboundRuleReview { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] @@ -58,6 +58,12 @@ function Approve-ZNAssetInboundRuleReview { ${ExpiresAt}, #[-RuleInfoExpiresAt ] + [Parameter(ParameterSetName = 'ApproveWithChangesExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Int] + # when the rule should expiry. + ${ipSecOpt}, + [Parameter(ParameterSetName = 'ApproveWithChangesExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] @@ -155,7 +161,6 @@ function Approve-ZNAssetInboundRuleReview { #Handle Get $ruleId = $PSBoundParameters['RuleId'].ToString() $rule = ZeroNetworks\Get-ZNInboundRule -RuleId $ruleId - $rule = $rule.Item $ruleReview = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleReviewApproveWithChanges]::new() @@ -185,15 +190,15 @@ function Approve-ZNAssetInboundRuleReview { $ruleReview.ReviewDetails = "" } - $ruleReview.RuleInfoAction = 1 - $ruleReview.RuleInfoDirection = 1 + $ruleReview.RuleInfoAction = $rule.ItemAction + $ruleReview.RuleInfoDirection = $rule.ItemDirection if ($PSBoundParameters['Description']) { $ruleReview.RuleInfoDescription = $PSBoundParameters['Description'] $null = $PSBoundParameters.Remove('Description') } else { - $ruleReview.RuleInfoDescription = $rule.Description + $ruleReview.RuleInfoDescription = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -202,7 +207,7 @@ function Approve-ZNAssetInboundRuleReview { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else { - $ruleReview.RuleInfoExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $ruleReview.RuleInfoExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } @@ -211,16 +216,25 @@ function Approve-ZNAssetInboundRuleReview { $null = $PSBoundParameters.Remove('ExpiresAt') } else { - $ruleReview.RuleInfoExpiresAt = $rule.ExpiresAt + $ruleReview.RuleInfoExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } + if ($PSBoundParameters['ipSecOpt']) { + $ruleReview.RuleInfoIpSecOpt = $PSBoundParameters['ipSecOpt'] + $null = $PSBoundParameters.Remove('ipSecOpt') + } + else { + $ruleReview.RuleInfoIpSecOpt = $rule.ItemipSecOpt + $null = $PSBoundParameters.Remove('ipSecOpt') + } + if ($PSBoundParameters['LocalEntityId']) { $ruleReview.RuleInfoLocalEntityId = $PSBoundParameters['LocalEntityId'] $null = $PSBoundParameters.Remove('LocalEntityId') } else { - $ruleReview.RuleInfoLocalEntityId = $rule.LocalEntityId + $ruleReview.RuleInfoLocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -229,7 +243,7 @@ function Approve-ZNAssetInboundRuleReview { $null = $PSBoundParameters.Remove('LocalProcessesList') } else { - $ruleReview.RuleInfoLocalProcessesList = $rule.LocalProcessesList + $ruleReview.RuleInfoLocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -238,7 +252,7 @@ function Approve-ZNAssetInboundRuleReview { $null = $PSBoundParameters.Remove('PortsList') } else { - $ruleReview.RuleInfoPortsList = $rule.PortsList + $ruleReview.RuleInfoPortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -247,7 +261,7 @@ function Approve-ZNAssetInboundRuleReview { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else { - $ruleReview.RuleInfoRemoteEntityIdsList = $rule.RemoteEntityIdsList + $ruleReview.RuleInfoRemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } diff --git a/src/ZN/custom/Approve-ZNAssetOutboundRuleReview.ps1 b/src/ZN/custom/Approve-ZNAssetOutboundRuleReview.ps1 index b50d050..d12657a 100644 --- a/src/ZN/custom/Approve-ZNAssetOutboundRuleReview.ps1 +++ b/src/ZN/custom/Approve-ZNAssetOutboundRuleReview.ps1 @@ -5,7 +5,7 @@ Approve a "pending review" rule with or without changes Approve a "pending review" rule with or without changes .Link -https://github.com/zeronetworks/zero-powershell/Approve-ZNAssetOutboundRuleReview +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNAssetOutboundRuleReview #> function Approve-ZNAssetOutboundRuleReview { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] @@ -56,7 +56,13 @@ function Approve-ZNAssetOutboundRuleReview { [Int64] # when the rule should expiry. ${ExpiresAt}, - #[-RuleInfoExpiresAt ] + #[-RuleInfoExpiresAt ] + + [Parameter(ParameterSetName = 'ApproveWithChangesExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Int] + # when the rule should expiry. + ${ipSecOpt}, [Parameter(ParameterSetName = 'ApproveWithChangesExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] @@ -155,7 +161,6 @@ function Approve-ZNAssetOutboundRuleReview { #Handle Get $ruleId = $PSBoundParameters['RuleId'].ToString() $rule = ZeroNetworks\Get-ZNOutboundRule -RuleId $ruleId - $rule = $rule.Item $ruleReview = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleReviewApproveWithChanges]::new() @@ -183,15 +188,15 @@ function Approve-ZNAssetOutboundRuleReview { $null = $PSBoundParameters.Remove('Details') } - $ruleReview.RuleInfoAction = 1 - $ruleReview.RuleInfoDirection = 2 + $ruleReview.RuleInfoAction = $rule.ItemAction + $ruleReview.RuleInfoDirection = $rule.ItemDirection if ($PSBoundParameters['Description']) { $ruleReview.RuleInfoDescription = $PSBoundParameters['Description'] $null = $PSBoundParameters.Remove('Description') } else { - $ruleReview.RuleInfoDescription = $rule.Description + $ruleReview.RuleInfoDescription = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -200,7 +205,7 @@ function Approve-ZNAssetOutboundRuleReview { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else { - $ruleReview.RuleInfoExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $ruleReview.RuleInfoExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } @@ -209,16 +214,25 @@ function Approve-ZNAssetOutboundRuleReview { $null = $PSBoundParameters.Remove('ExpiresAt') } else { - $ruleReview.RuleInfoExpiresAt = $rule.ExpiresAt + $ruleReview.RuleInfoExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } + + if ($PSBoundParameters['ipSecOpt']) { + $ruleReview.RuleInfoIpSecOpt = $PSBoundParameters['ipSecOpt'] + $null = $PSBoundParameters.Remove('ipSecOpt') + } + else { + $ruleReview.RuleInfoIpSecOpt = $rule.ItemipSecOpt + $null = $PSBoundParameters.Remove('ipSecOpt') + } if ($PSBoundParameters['LocalEntityId']) { $ruleReview.RuleInfoLocalEntityId = $PSBoundParameters['LocalEntityId'] $null = $PSBoundParameters.Remove('LocalEntityId') } else { - $ruleReview.RuleInfoLocalEntityId = $rule.LocalEntityId + $ruleReview.RuleInfoLocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -227,7 +241,7 @@ function Approve-ZNAssetOutboundRuleReview { $null = $PSBoundParameters.Remove('LocalProcessesList') } else { - $ruleReview.RuleInfoLocalProcessesList = $rule.LocalProcessesList + $ruleReview.RuleInfoLocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -236,7 +250,7 @@ function Approve-ZNAssetOutboundRuleReview { $null = $PSBoundParameters.Remove('PortsList') } else { - $ruleReview.RuleInfoPortsList = $rule.PortsList + $ruleReview.RuleInfoPortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -245,7 +259,7 @@ function Approve-ZNAssetOutboundRuleReview { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else { - $ruleReview.RuleInfoRemoteEntityIdsList = $rule.RemoteEntityIdsList + $ruleReview.RuleInfoRemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } diff --git a/src/ZN/custom/Approve-ZNInboundRuleReview.ps1 b/src/ZN/custom/Approve-ZNInboundRuleReview.ps1 index e7791d2..095bdc5 100644 --- a/src/ZN/custom/Approve-ZNInboundRuleReview.ps1 +++ b/src/ZN/custom/Approve-ZNInboundRuleReview.ps1 @@ -5,7 +5,7 @@ Approve a "pending review" rule with or without changes Approve a "pending review" rule with or without changes .Link -https://github.com/zeronetworks/zero-powershell/Approve-ZNInboundRuleReview +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNInboundRuleReview #> function Approve-ZNInboundRuleReview { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] @@ -49,7 +49,13 @@ function Approve-ZNInboundRuleReview { [Int64] # when the rule should expiry. ${ExpiresAt}, - #[-RuleInfoExpiresAt ] + #[-RuleInfoExpiresAt ] + + [Parameter(ParameterSetName = 'ApproveWithChangesExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Int] + # when the rule should expiry. + ${ipSecOpt}, [Parameter(ParameterSetName = 'ApproveWithChangesExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] @@ -148,7 +154,6 @@ function Approve-ZNInboundRuleReview { #Handle Get $ruleId = $PSBoundParameters['RuleId'].ToString() $rule = ZeroNetworks\Get-ZNInboundRule -RuleId $ruleId - $rule = $rule.Item $ruleReview = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleReviewApproveWithChanges]::new() @@ -176,15 +181,15 @@ function Approve-ZNInboundRuleReview { $null = $PSBoundParameters.Remove('Details') } - $ruleReview.RuleInfoAction = 1 - $ruleReview.RuleInfoDirection = 1 + $ruleReview.RuleInfoAction = $rule.ItemAction + $ruleReview.RuleInfoDirection = $rule.ItemDirection if ($PSBoundParameters['Description']) { $ruleReview.RuleInfoDescription = $PSBoundParameters['Description'] $null = $PSBoundParameters.Remove('Description') } else { - $ruleReview.RuleInfoDescription = $rule.Description + $ruleReview.RuleInfoDescription = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -193,7 +198,7 @@ function Approve-ZNInboundRuleReview { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else { - $ruleReview.RuleInfoExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $ruleReview.RuleInfoExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } @@ -202,16 +207,25 @@ function Approve-ZNInboundRuleReview { $null = $PSBoundParameters.Remove('ExpiresAt') } else { - $ruleReview.RuleInfoExpiresAt = $rule.ExpiresAt + $ruleReview.RuleInfoExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } + + if ($PSBoundParameters['ipSecOpt']) { + $ruleReview.RuleInfoIpSecOpt = $PSBoundParameters['ipSecOpt'] + $null = $PSBoundParameters.Remove('ipSecOpt') + } + else { + $ruleReview.RuleInfoIpSecOpt = $rule.ItemipSecOpt + $null = $PSBoundParameters.Remove('ipSecOpt') + } if ($PSBoundParameters['LocalEntityId']) { $ruleReview.RuleInfoLocalEntityId = $PSBoundParameters['LocalEntityId'] $null = $PSBoundParameters.Remove('LocalEntityId') } else { - $ruleReview.RuleInfoLocalEntityId = $rule.LocalEntityId + $ruleReview.RuleInfoLocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -220,7 +234,7 @@ function Approve-ZNInboundRuleReview { $null = $PSBoundParameters.Remove('LocalProcessesList') } else { - $ruleReview.RuleInfoLocalProcessesList = $rule.LocalProcessesList + $ruleReview.RuleInfoLocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -229,7 +243,7 @@ function Approve-ZNInboundRuleReview { $null = $PSBoundParameters.Remove('PortsList') } else { - $ruleReview.RuleInfoPortsList = $rule.PortsList + $ruleReview.RuleInfoPortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -238,7 +252,7 @@ function Approve-ZNInboundRuleReview { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else { - $ruleReview.RuleInfoRemoteEntityIdsList = $rule.RemoteEntityIdsList + $ruleReview.RuleInfoRemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } diff --git a/src/ZN/custom/Approve-ZNOutboundRuleReview.ps1 b/src/ZN/custom/Approve-ZNOutboundRuleReview.ps1 index 6ec3bc2..0dc6f12 100644 --- a/src/ZN/custom/Approve-ZNOutboundRuleReview.ps1 +++ b/src/ZN/custom/Approve-ZNOutboundRuleReview.ps1 @@ -5,7 +5,7 @@ Approve a "pending review" rule with or without changes Approve a "pending review" rule with or without changes .Link -https://github.com/zeronetworks/zero-powershell/Approve-ZNOutboundRuleReview +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNOutboundRuleReview #> function Approve-ZNOutboundRuleReview { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] @@ -51,6 +51,12 @@ function Approve-ZNOutboundRuleReview { ${ExpiresAt}, #[-RuleInfoExpiresAt ] + [Parameter(ParameterSetName = 'ApproveWithChangesExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Int] + # when the rule should expiry. + ${ipSecOpt}, + [Parameter(ParameterSetName = 'ApproveWithChangesExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] @@ -148,7 +154,6 @@ function Approve-ZNOutboundRuleReview { #Handle Get $ruleId = $PSBoundParameters['RuleId'].ToString() $rule = ZeroNetworks\Get-ZNOutboundRule -RuleId $ruleId - $rule = $rule.Item $ruleReview = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleReviewApproveWithChanges]::new() @@ -176,15 +181,15 @@ function Approve-ZNOutboundRuleReview { $null = $PSBoundParameters.Remove('Details') } - $ruleReview.RuleInfoAction = 1 - $ruleReview.RuleInfoDirection = 2 + $ruleReview.RuleInfoAction = $rule.ItemAction + $ruleReview.RuleInfoDirection = $rule.ItemDirection if ($PSBoundParameters['Description']) { $ruleReview.RuleInfoDescription = $PSBoundParameters['Description'] $null = $PSBoundParameters.Remove('Description') } else { - $ruleReview.RuleInfoDescription = $rule.Description + $ruleReview.RuleInfoDescription = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -193,7 +198,7 @@ function Approve-ZNOutboundRuleReview { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else { - $ruleReview.RuleInfoExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $ruleReview.RuleInfoExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } @@ -202,16 +207,25 @@ function Approve-ZNOutboundRuleReview { $null = $PSBoundParameters.Remove('ExpiresAt') } else { - $ruleReview.RuleInfoExpiresAt = $rule.ExpiresAt + $ruleReview.RuleInfoExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } + + if ($PSBoundParameters['ipSecOpt']) { + $ruleReview.RuleInfoIpSecOpt = $PSBoundParameters['ipSecOpt'] + $null = $PSBoundParameters.Remove('ipSecOpt') + } + else { + $ruleReview.RuleInfoIpSecOpt = $rule.ItemipSecOpt + $null = $PSBoundParameters.Remove('ipSecOpt') + } if ($PSBoundParameters['LocalEntityId']) { $ruleReview.RuleInfoLocalEntityId = $PSBoundParameters['LocalEntityId'] $null = $PSBoundParameters.Remove('LocalEntityId') } else { - $ruleReview.RuleInfoLocalEntityId = $rule.LocalEntityId + $ruleReview.RuleInfoLocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -220,7 +234,7 @@ function Approve-ZNOutboundRuleReview { $null = $PSBoundParameters.Remove('LocalProcessesList') } else { - $ruleReview.RuleInfoLocalProcessesList = $rule.LocalProcessesList + $ruleReview.RuleInfoLocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -229,7 +243,7 @@ function Approve-ZNOutboundRuleReview { $null = $PSBoundParameters.Remove('PortsList') } else { - $ruleReview.RuleInfoPortsList = $rule.PortsList + $ruleReview.RuleInfoPortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -238,7 +252,7 @@ function Approve-ZNOutboundRuleReview { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else { - $ruleReview.RuleInfoRemoteEntityIdsList = $rule.RemoteEntityIdsList + $ruleReview.RuleInfoRemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } diff --git a/src/ZN/custom/Connect-ZN.ps1 b/src/ZN/custom/Connect-ZN.ps1 index 57f8fda..10b546a 100644 --- a/src/ZN/custom/Connect-ZN.ps1 +++ b/src/ZN/custom/Connect-ZN.ps1 @@ -7,11 +7,16 @@ Login to Zero Networks to get a token for cmdlet use. NOTE: If your environment has a IdP set for default authentication, you cannot use this cmdlet and will need to use Set-ZNApiKey cmdlet using an API token. #.Link -https://github.com/zeronetworks/zero-powershell/connect-zn +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Connect-ZN #> function Connect-ZN { [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Low')] param( + [Parameter(Mandatory)] + [System.String] + # Domain + ${AccountName}, + [Parameter(Mandatory)] [System.String] # login @@ -21,7 +26,9 @@ function Connect-ZN { process { CheckModuleLatest - $uri = "https://portal.zeronetworks.com/api/v1" + $env:ZNAccountName = $AccountName + + #$uri = "https://portal.zeronetworks.com/api/v1" $challengeBody = @{ "challengeMediumType" = "email" diff --git a/src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 b/src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 index 0f26f44..6c07476 100644 --- a/src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 +++ b/src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 @@ -5,7 +5,7 @@ Reject a "pending review" rule Reject a "pending review" rule .Link -https://github.com/zeronetworks/zero-powershell/Deny-ZNAssetInboundRuleReview +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNAssetInboundRuleReview #> function Deny-ZNAssetInboundRuleReview { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] diff --git a/src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 b/src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 index b987363..bbfd7b8 100644 --- a/src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 +++ b/src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 @@ -5,7 +5,7 @@ Reject a "pending review" rule Reject a "pending review" rule .Link -https://github.com/zeronetworks/zero-powershell/Deny-ZNAssetOutboundRuleReview +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNAssetOutboundRuleReview #> function Deny-ZNAssetOutboundRuleReview { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] diff --git a/src/ZN/custom/Deny-ZNInboundRuleReview.ps1 b/src/ZN/custom/Deny-ZNInboundRuleReview.ps1 index 40b0d4f..4a2a158 100644 --- a/src/ZN/custom/Deny-ZNInboundRuleReview.ps1 +++ b/src/ZN/custom/Deny-ZNInboundRuleReview.ps1 @@ -5,7 +5,7 @@ Reject a "pending review" rule Reject a "pending review" rule .Link -https://github.com/zeronetworks/zero-powershell/Deny-ZNInboundRuleReview +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNInboundRuleReview #> function Deny-ZNInboundRuleReview { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] diff --git a/src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 b/src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 index c5efe44..5ae6d82 100644 --- a/src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 +++ b/src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 @@ -5,7 +5,7 @@ Reject a "pending review" rule Reject a "pending review" rule .Link -https://github.com/zeronetworks/zero-powershell/Deny-ZNOutboundRuleReview +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNOutboundRuleReview #> function Deny-ZNOutboundRuleReview { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] diff --git a/src/ZN/custom/Disconnect-ZN.ps1 b/src/ZN/custom/Disconnect-ZN.ps1 index d37a441..6332c30 100644 --- a/src/ZN/custom/Disconnect-ZN.ps1 +++ b/src/ZN/custom/Disconnect-ZN.ps1 @@ -6,7 +6,7 @@ Logout of Zero Networks Logout of Zero Networks #.Link -https://github.com/zeronetworks/zero-powershell/Disconnect-zn +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Disconnect-zn #> function Disconnect-ZN { [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Low')] diff --git a/src/ZN/custom/New-ZNPortsList.ps1 b/src/ZN/custom/New-ZNPortsList.ps1 index d1e2022..ad84d55 100644 --- a/src/ZN/custom/New-ZNPortsList.ps1 +++ b/src/ZN/custom/New-ZNPortsList.ps1 @@ -7,7 +7,7 @@ .Outputs ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem .Link - https://github.com/zeronetworks/zero-powershell/new-znportslist + https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znportslist #> function New-ZNPortsList { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem])] diff --git a/src/ZN/custom/New-ZNSettingsPushNotification.ps1 b/src/ZN/custom/New-ZNSettingsPushNotification.ps1 index 86c79b5..717cb7d 100644 --- a/src/ZN/custom/New-ZNSettingsPushNotification.ps1 +++ b/src/ZN/custom/New-ZNSettingsPushNotification.ps1 @@ -7,7 +7,7 @@ .Outputs ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any .Link - https://github.com/zeronetworks/zero-powershell/New-ZNSettingsPushNotification + https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/New-ZNSettingsPushNotification #> function New-ZNSettingsPushNotification { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any])] diff --git a/src/ZN/custom/Read-ZNJWT.ps1 b/src/ZN/custom/Read-ZNJWT.ps1 new file mode 100644 index 0000000..9de4bf0 --- /dev/null +++ b/src/ZN/custom/Read-ZNJWT.ps1 @@ -0,0 +1,37 @@ +function Read-ZNJWTtoken { + + [cmdletbinding()] + param([Parameter(Mandatory=$true)][string]$token) + + #Validate as per https://tools.ietf.org/html/rfc7519 + #Access and ID tokens are fine, Refresh tokens will not work + if (!$token.Contains(".") -or !$token.StartsWith("eyJ")) { Write-Error "Invalid token" -ErrorAction Stop } + + #Header + $tokenheader = $token.Split(".")[0].Replace('-', '+').Replace('_', '/') + #Fix padding as needed, keep adding "=" until string length modulus 4 reaches 0 + while ($tokenheader.Length % 4) { Write-Verbose "Invalid length for a Base-64 char array or string, adding ="; $tokenheader += "=" } + Write-Verbose "Base64 encoded (padded) header:" + Write-Verbose $tokenheader + #Convert from Base64 encoded string to PSObject all at once + Write-Verbose "Decoded header:" + #[System.Text.Encoding]::ASCII.GetString([system.convert]::FromBase64String($tokenheader)) | ConvertFrom-Json | fl | Out-Default + + #Payload + $tokenPayload = $token.Split(".")[1].Replace('-', '+').Replace('_', '/') + #Fix padding as needed, keep adding "=" until string length modulus 4 reaches 0 + while ($tokenPayload.Length % 4) { Write-Verbose "Invalid length for a Base-64 char array or string, adding ="; $tokenPayload += "=" } + Write-Verbose "Base64 encoded (padded) payoad:" + Write-Verbose $tokenPayload + #Convert to Byte array + $tokenByteArray = [System.Convert]::FromBase64String($tokenPayload) + #Convert to string array + $tokenArray = [System.Text.Encoding]::ASCII.GetString($tokenByteArray) + Write-Verbose "Decoded array in JSON format:" + Write-Verbose $tokenArray + #Convert from JSON to PSObject + $tokobj = $tokenArray | ConvertFrom-Json + Write-Verbose "Decoded Payload:" + + return $tokobj +} \ No newline at end of file diff --git a/src/ZN/custom/Remove-ZNAPIKey.ps1 b/src/ZN/custom/Remove-ZNAPIKey.ps1 index f489b7e..ea26235 100644 --- a/src/ZN/custom/Remove-ZNAPIKey.ps1 +++ b/src/ZN/custom/Remove-ZNAPIKey.ps1 @@ -6,7 +6,7 @@ Deletes the API key Deletes the API Key #.Link -https://github.com/zeronetworks/zero-powershell/remove-znapikey +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znapikey #> function Remove-ZNApiKey { [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Low')] diff --git a/src/ZN/custom/Set-ZNAPIKey.ps1 b/src/ZN/custom/Set-ZNAPIKey.ps1 index 00968c7..032a21e 100644 --- a/src/ZN/custom/Set-ZNAPIKey.ps1 +++ b/src/ZN/custom/Set-ZNAPIKey.ps1 @@ -6,7 +6,7 @@ Set the API key for use in all other cmdlets Set the API key for use in all other cmdlets #.Link -https://github.com/zeronetworks/zero-powershell/set-znapikey +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/set-znapikey #> function Set-ZNApiKey { [CmdletBinding(PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Low')] @@ -20,6 +20,15 @@ function Set-ZNApiKey { process { CheckModuleLatest + try { + $decodedToken = Read-ZNJWTtoken $ApiKey + $env:ZNAccountName = $decodedToken.aud.Split(".zeronetworks.com")[0] + $ZNAccountName = $decodedToken.aud.Split(".zeronetworks.com")[0] + } + catch { + throw + } + try { $env:ZNApiKey = $ApiKey } diff --git a/src/ZN/custom/Update-ZNAssetExternalAccessPolicy.ps1 b/src/ZN/custom/Update-ZNAssetExternalAccessPolicy.ps1 new file mode 100644 index 0000000..dad5e6c --- /dev/null +++ b/src/ZN/custom/Update-ZNAssetExternalAccessPolicy.ps1 @@ -0,0 +1,223 @@ +<# +.Synopsis +Updates an external access policy. +.Description +Updates an external access policy. + +.Link +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetexternalaccesspolicy +#> +function Update-ZNAssetExternalAccessPolicy { + [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem])] + [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] + param( + [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Path')] + [System.String] + # assetId + ${AssetId}, + + [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Path')] + [System.String] + # policy Id + ${PolicyId}, + + #[Parameter(ParameterSetName = 'UpdateExpanded')] + #[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + #[System.String] + # destination asset(s). + #${DstAssetId}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[]] + # extra ports to open. + ${DstPortsList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [System.String[]] + # destination processes. + ${DstProcessNamesList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [System.String] + # aname. + ${Name}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Int] + # Duration of the rule + ${RuleDuration}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String[]] + # List of source users + ${SrcUserIdsList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String] + # description + ${Description}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [int[]] + # State + ${State}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String] + # Url + ${Url}, + + [Parameter()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + + process { + try { + #Handle Get + $assetId = $PSBoundParameters['AssetId'].ToString() + $policy = ZeroNetworks\Get-ZNAssetExternalAccessPolicy -AssetId $assetId -PolicyId $policyId + + $updatedPolicy = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyBody]::new() + + if($PSBoundParameters['Description']){ + $updatedPolicy.Description = $PSBoundParameters['Description'] + $null = $PSBoundParameters.Remove('Description') + } + else{ + $updatedPolicy.Description = $policy.ItemDescription + $null = $PSBoundParameters.Remove('Description') + } + + $updatedPolicy.DstAssetId = $policy.ItemDstAssetId + + + if($PSBoundParameters['DstPortsList']){ + $updatedPolicy.DstPortsList = $PSBoundParameters['DstPortsList'] + $null = $PSBoundParameters.Remove('DstPortsList') + } + else{ + $updatedPolicy.DstPortsList = $policy.ItemDstPortsList + $null = $PSBoundParameters.Remove('DstPortsList') + } + + if($PSBoundParameters['DstProcessNamesList']){ + $updatedPolicy.DstProcessNamesList = $PSBoundParameters['DstProcessNamesList'] + $null = $PSBoundParameters.Remove('DstProcessNamesList') + } + else{ + $updatedPolicy.DstProcessNamesList = $policy.ItemDstProcessNamesList + $null = $PSBoundParameters.Remove('DstProcessNamesList') + } + + if($PSBoundParameters['Name']){ + $updatedPolicy.Name = $PSBoundParameters['Name'] + $null = $PSBoundParameters.Remove('Name') + } + else{ + $updatedPolicy.Name = $policy.ItemName + $null = $PSBoundParameters.Remove('Name') + } + + if($PSBoundParameters['RuleDuration']){ + $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] + $null = $PSBoundParameters.Remove('RuleDuration') + } + else{ + $updatedPolicy.RuleDuration = $policy.ItemRuleDuration + $null = $PSBoundParameters.Remove('RuleDuration') + } + + if($PSBoundParameters['SrcUserIdsList']){ + $updatedPolicy.SrcUserIdsList = $PSBoundParameters['SrcUserIdsList'] + $null = $PSBoundParameters.Remove('SrcUserIdsList') + } + else{ + $updatedPolicy.SrcUserIdsList = $policy.ItemSrcUserIdsList + $null = $PSBoundParameters.Remove('SrcUserIdsList') + } + + if($PSBoundParameters['State']){ + $updatedPolicy.State = $PSBoundParameters['State'] + $null = $PSBoundParameters.Remove('State') + } + else{ + $updatedPolicy.State = $policy.ItemState + $null = $PSBoundParameters.Remove('State') + } + + if($PSBoundParameters['Url']){ + $updatedPolicy.Url = $PSBoundParameters['Url'] + $null = $PSBoundParameters.Remove('Url') + } + else{ + $updatedPolicy.Url = $policy.ItemUrl + $null = $PSBoundParameters.Remove('Url') + } + + #Write-Debug $updatedPolicy | Out-String + $null = $PSBoundParameters.Add('Body', $updatedPolicy) + ZeroNetworks.internal\Update-ZNAssetExternalAccessPolicy @PSBoundParameters + } + catch { + throw + } + } +} \ No newline at end of file diff --git a/src/ZN/custom/Update-ZNAssetIdentityRule.ps1 b/src/ZN/custom/Update-ZNAssetIdentityRule.ps1 index 9d1c17c..a100369 100644 --- a/src/ZN/custom/Update-ZNAssetIdentityRule.ps1 +++ b/src/ZN/custom/Update-ZNAssetIdentityRule.ps1 @@ -5,7 +5,7 @@ Updates an identity rule. Updates an identity rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znassetidentityrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetidentityrule #> function Update-ZNAssetIdentityRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityRule])] diff --git a/src/ZN/custom/Update-ZNAssetInboundRule.ps1 b/src/ZN/custom/Update-ZNAssetInboundRule.ps1 index f26a46e..5abfbc4 100644 --- a/src/ZN/custom/Update-ZNAssetInboundRule.ps1 +++ b/src/ZN/custom/Update-ZNAssetInboundRule.ps1 @@ -5,7 +5,7 @@ Updates an inbound rule. Updates an inbound rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znassetinboundrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetinboundrule #> function Update-ZNAssetInboundRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule])] @@ -135,7 +135,7 @@ function Update-ZNAssetInboundRule { $ruleId = $PSBoundParameters['RuleId'].ToString() $assetId = $PSBoundParameters['AssetId'].ToString() $rule = ZeroNetworks\Get-ZNAssetInboundRule -AssetId $assetId -RuleId $ruleId - $rule = $rule.Item + #$rule = $rule.Item $updatedRule = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleBody]::new() @@ -144,7 +144,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('LocalEntityId') } else{ - $updatedRule.LocalEntityId = $rule.LocalEntityId + $updatedRule.LocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -153,7 +153,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('LocalProcessesList') } else{ - $updatedRule.LocalProcessesList = $rule.LocalProcessesList + $updatedRule.LocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -163,7 +163,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('PortsList') } else{ - $updatedRule.PortsList = $rule.PortsList + $updatedRule.PortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -172,7 +172,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else{ - $updatedRule.RemoteEntityIdsList = $rule.RemoteEntityIdsList + $updatedRule.RemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } @@ -181,7 +181,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else{ - $updatedRule.ExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $updatedRule.ExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } @@ -190,7 +190,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('State') } else{ - $updatedRule.State = $rule.State + $updatedRule.State = $rule.ItemState $null = $PSBoundParameters.Remove('State') } @@ -199,7 +199,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('ExpiresAt') } else{ - $updatedRule.ExpiresAt = $rule.ExpiresAt + $updatedRule.ExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } @@ -208,7 +208,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('Description') } else{ - $updatedRule.Description = $rule.Description + $updatedRule.Description = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -217,7 +217,7 @@ function Update-ZNAssetInboundRule { $null = $PSBoundParameters.Remove('Action') } else{ - $updatedRule.Action = $rule.Action + $updatedRule.Action = $rule.ItemAction $null = $PSBoundParameters.Remove('Action') } #Write-Debug $updatedRule | Out-String diff --git a/src/ZN/custom/Update-ZNAssetMfaIdentityPolicy.ps1 b/src/ZN/custom/Update-ZNAssetMfaIdentityPolicy.ps1 index ae05805..e90218a 100644 --- a/src/ZN/custom/Update-ZNAssetMfaIdentityPolicy.ps1 +++ b/src/ZN/custom/Update-ZNAssetMfaIdentityPolicy.ps1 @@ -5,7 +5,7 @@ Updates an identity MFA Policy. Updates an identity MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-znmassetfaidentitypolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmassetfaidentitypolicy #> function Update-ZNAssetMfaIdentityPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityReactivePolicy])] @@ -53,6 +53,12 @@ function Update-ZNAssetMfaIdentityPolicy { # Override built in MFA policies ${OverrideBuiltins}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -200,6 +206,15 @@ function Update-ZNAssetMfaIdentityPolicy { $null = $PSBoundParameters.Remove('OverrideBuiltins') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNAssetMfaInboundPolicy.ps1 b/src/ZN/custom/Update-ZNAssetMfaInboundPolicy.ps1 index a0c77e8..523cd77 100644 --- a/src/ZN/custom/Update-ZNAssetMfaInboundPolicy.ps1 +++ b/src/ZN/custom/Update-ZNAssetMfaInboundPolicy.ps1 @@ -5,7 +5,7 @@ Updates an inbound MFA Policy. Updates an inbound MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-znassetmfainboundpolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmfainboundpolicy #> function Update-ZNAssetMfaInboundPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy])] @@ -83,6 +83,12 @@ function Update-ZNAssetMfaInboundPolicy { # protocol 6 for TCP, 17 for UDP. ${ProtocolType}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -264,6 +270,15 @@ function Update-ZNAssetMfaInboundPolicy { $null = $PSBoundParameters.Remove('ProtocolType') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNAssetMfaOutboundPolicy.ps1 b/src/ZN/custom/Update-ZNAssetMfaOutboundPolicy.ps1 index 008573a..52565a6 100644 --- a/src/ZN/custom/Update-ZNAssetMfaOutboundPolicy.ps1 +++ b/src/ZN/custom/Update-ZNAssetMfaOutboundPolicy.ps1 @@ -5,7 +5,7 @@ Updates an outbound MFA Policy. Updates an outbound MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-znassetmfaoutboundpolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmfaoutboundpolicy #> function Update-ZNAssetMfaOutboundPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy])] @@ -83,6 +83,12 @@ function Update-ZNAssetMfaOutboundPolicy { # protocol 6 for TCP, 17 for UDP. ${ProtocolType}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -256,6 +262,15 @@ function Update-ZNAssetMfaOutboundPolicy { $null = $PSBoundParameters.Remove('ProtocolType') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNAssetOutboundRule.ps1 b/src/ZN/custom/Update-ZNAssetOutboundRule.ps1 index e80f485..f20de07 100644 --- a/src/ZN/custom/Update-ZNAssetOutboundRule.ps1 +++ b/src/ZN/custom/Update-ZNAssetOutboundRule.ps1 @@ -5,7 +5,7 @@ Updates an outbound rule. Updates an outbound rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znassetoutboundrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetoutboundrule #> function Update-ZNAssetOutboundRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule])] @@ -59,6 +59,12 @@ function Update-ZNAssetOutboundRule { # excluded source entities. ${ExcludedLocalIdsList}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem] + # the source users. + ${SrcUsersList}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -135,7 +141,7 @@ function Update-ZNAssetOutboundRule { $ruleId = $PSBoundParameters['RuleId'].ToString() $assetId = $PSBoundParameters['AssetId'].ToString() $rule = ZeroNetworks\Get-ZNAssetOutboundRule -AssetId $assetId -RuleId $ruleId - $rule = $rule.Item + #$rule = $rule.ItemItem $updatedRule = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleBody]::new() @@ -144,7 +150,7 @@ function Update-ZNAssetOutboundRule { $null = $PSBoundParameters.Remove('LocalEntityId') } else{ - $updatedRule.LocalEntityId = $rule.LocalEntityId + $updatedRule.LocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -153,7 +159,7 @@ function Update-ZNAssetOutboundRule { $null = $PSBoundParameters.Remove('LocalProcessesList') } else{ - $updatedRule.LocalProcessesList = $rule.LocalProcessesList + $updatedRule.LocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -163,7 +169,7 @@ function Update-ZNAssetOutboundRule { $null = $PSBoundParameters.Remove('PortsList') } else{ - $updatedRule.PortsList = $rule.PortsList + $updatedRule.PortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -172,7 +178,7 @@ function Update-ZNAssetOutboundRule { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else{ - $updatedRule.RemoteEntityIdsList = $rule.RemoteEntityIdsList + $updatedRule.RemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } @@ -181,16 +187,25 @@ function Update-ZNAssetOutboundRule { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else{ - $updatedRule.ExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $updatedRule.ExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } + if($PSBoundParameters['SrcUsersList']){ + $updatedRule.SrcUsersList = $PSBoundParameters['SrcUsersList'] + $null = $PSBoundParameters.Remove('SrcUsersList') + } + else{ + $updatedRule.SrcUsersList = $rule.ItemSrcUsersList + $null = $PSBoundParameters.Remove('SrcUsersList') + } + if($PSBoundParameters['State']){ $updatedRule.State = $PSBoundParameters['State'] $null = $PSBoundParameters.Remove('State') } else{ - $updatedRule.State = $rule.State + $updatedRule.State = $rule.ItemState $null = $PSBoundParameters.Remove('State') } @@ -199,7 +214,7 @@ function Update-ZNAssetOutboundRule { $null = $PSBoundParameters.Remove('ExpiresAt') } else{ - $updatedRule.ExpiresAt = $rule.ExpiresAt + $updatedRule.ExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } @@ -208,7 +223,7 @@ function Update-ZNAssetOutboundRule { $null = $PSBoundParameters.Remove('Description') } else{ - $updatedRule.Description = $rule.Description + $updatedRule.Description = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -217,7 +232,7 @@ function Update-ZNAssetOutboundRule { $null = $PSBoundParameters.Remove('Action') } else{ - $updatedRule.Action = $rule.Action + $updatedRule.Action = $rule.ItemAction $null = $PSBoundParameters.Remove('Action') } #Write-Debug $updatedRule | Out-String diff --git a/src/ZN/custom/Update-ZNAssetRpcRule.ps1 b/src/ZN/custom/Update-ZNAssetRpcRule.ps1 index f47e80d..4973fd5 100644 --- a/src/ZN/custom/Update-ZNAssetRpcRule.ps1 +++ b/src/ZN/custom/Update-ZNAssetRpcRule.ps1 @@ -5,7 +5,7 @@ Updates an RPC rule. Updates an RPC rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znassetrpcrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetrpcrule #> function Update-ZNAssetRpcRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.RpcRuleResponse])] diff --git a/src/ZN/custom/Update-ZNCustomGroup.ps1 b/src/ZN/custom/Update-ZNCustomGroup.ps1 index f042ddf..4341eb4 100644 --- a/src/ZN/custom/Update-ZNCustomGroup.ps1 +++ b/src/ZN/custom/Update-ZNCustomGroup.ps1 @@ -5,7 +5,7 @@ Updates a custom group properties. Updates a custom group properties. .Link -https://github.com/zeronetworks/zero-powershell/update-zncustomgroup +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zncustomgroup #> function Update-ZNCustomGroup { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Group])] diff --git a/src/ZN/custom/Update-ZNExternalAccessPolicy.ps1 b/src/ZN/custom/Update-ZNExternalAccessPolicy.ps1 new file mode 100644 index 0000000..c3126c2 --- /dev/null +++ b/src/ZN/custom/Update-ZNExternalAccessPolicy.ps1 @@ -0,0 +1,217 @@ +<# +.Synopsis +Updates an external access policy. +.Description +Updates an external access policy. + +.Link +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znexternalaccesspolicy +#> +function Update-ZNExternalAccessPolicy { + [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem])] + [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] + param( + [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Path')] + [System.String] + # policy Id + ${PolicyId}, + + #[Parameter(ParameterSetName = 'UpdateExpanded')] + #[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + #[System.String] + # destination asset(s). + #${DstAssetId}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[]] + # extra ports to open. + ${DstPortsList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [System.String[]] + # destination processes. + ${DstProcessNamesList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [System.String] + # aname. + ${Name}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Int] + # Duration of the rule + ${RuleDuration}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String[]] + # List of source users + ${SrcUserIdsList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String] + # description + ${Description}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [int[]] + # State + ${State}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String] + # Url + ${Url}, + + [Parameter()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + + process { + try { + #Handle Get + $policyId = $PSBoundParameters['PolicyId'].ToString() + $policy = ZeroNetworks\Get-ZNExternalAccessPolicy -PolicyId $policyId + + $updatedPolicy = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyBody]::new() + + if($PSBoundParameters['Description']){ + $updatedPolicy.Description = $PSBoundParameters['Description'] + $null = $PSBoundParameters.Remove('Description') + } + else{ + $updatedPolicy.Description = $policy.ItemDescription + $null = $PSBoundParameters.Remove('Description') + } + + $updatedPolicy.DstAssetId = $policy.ItemDstAssetId + + + if($PSBoundParameters['DstPortsList']){ + $updatedPolicy.DstPortsList = $PSBoundParameters['DstPortsList'] + $null = $PSBoundParameters.Remove('DstPortsList') + } + else{ + $updatedPolicy.DstPortsList = $policy.ItemDstPortsList + $null = $PSBoundParameters.Remove('DstPortsList') + } + + if($PSBoundParameters['DstProcessNamesList']){ + $updatedPolicy.DstProcessNamesList = $PSBoundParameters['DstProcessNamesList'] + $null = $PSBoundParameters.Remove('DstProcessNamesList') + } + else{ + $updatedPolicy.DstProcessNamesList = $policy.ItemDstProcessNamesList + $null = $PSBoundParameters.Remove('DstProcessNamesList') + } + + if($PSBoundParameters['Name']){ + $updatedPolicy.Name = $PSBoundParameters['Name'] + $null = $PSBoundParameters.Remove('Name') + } + else{ + $updatedPolicy.Name = $policy.ItemName + $null = $PSBoundParameters.Remove('Name') + } + + if($PSBoundParameters['RuleDuration']){ + $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] + $null = $PSBoundParameters.Remove('RuleDuration') + } + else{ + $updatedPolicy.RuleDuration = $policy.ItemRuleDuration + $null = $PSBoundParameters.Remove('RuleDuration') + } + + if($PSBoundParameters['SrcUserIdsList']){ + $updatedPolicy.SrcUserIdsList = $PSBoundParameters['SrcUserIdsList'] + $null = $PSBoundParameters.Remove('SrcUserIdsList') + } + else{ + $updatedPolicy.SrcUserIdsList = $policy.ItemSrcUserIdsList + $null = $PSBoundParameters.Remove('SrcUserIdsList') + } + + if($PSBoundParameters['State']){ + $updatedPolicy.State = $PSBoundParameters['State'] + $null = $PSBoundParameters.Remove('State') + } + else{ + $updatedPolicy.State = $policy.ItemState + $null = $PSBoundParameters.Remove('State') + } + + if($PSBoundParameters['Url']){ + $updatedPolicy.Url = $PSBoundParameters['Url'] + $null = $PSBoundParameters.Remove('Url') + } + else{ + $updatedPolicy.Url = $policy.ItemUrl + $null = $PSBoundParameters.Remove('Url') + } + + #Write-Debug $updatedPolicy | Out-String + $null = $PSBoundParameters.Add('Body', $updatedPolicy) + ZeroNetworks.internal\Update-ZNExternalAccessPolicy @PSBoundParameters + } + catch { + throw + } + } +} \ No newline at end of file diff --git a/src/ZN/custom/Update-ZNGroupsExternalAccessPolicy.ps1 b/src/ZN/custom/Update-ZNGroupsExternalAccessPolicy.ps1 new file mode 100644 index 0000000..36a0b22 --- /dev/null +++ b/src/ZN/custom/Update-ZNGroupsExternalAccessPolicy.ps1 @@ -0,0 +1,230 @@ +<# +.Synopsis +Updates an external access policy. +.Description +Updates an external access policy. + +.Link +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsexternalaccesspolicy +#> +function Update-ZNGroupsExternalAccessPolicy { + [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem])] + [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] + param( + [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Path')] + [System.String] + # Group Id + ${GroupId}, + + [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Path')] + [System.String] + # Group Type + ${GroupType}, + + [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Path')] + [System.String] + # policy Id + ${PolicyId}, + + #[Parameter(ParameterSetName = 'UpdateExpanded')] + #[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + #[System.String] + # destination asset(s). + #${DstAssetId}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[]] + # extra ports to open. + ${DstPortsList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [System.String[]] + # destination processes. + ${DstProcessNamesList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [System.String] + # aname. + ${Name}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Int] + # Duration of the rule + ${RuleDuration}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String[]] + # List of source users + ${SrcUserIdsList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String] + # description + ${Description}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [int[]] + # State + ${State}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String] + # Url + ${Url}, + + [Parameter()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + + process { + try { + #Handle Get + $groupId = $PSBoundParameters['GroupId'].ToString() + $groupType = $PSBoundParameters['GroupType'].ToString() + $policy = ZeroNetworks\Get-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType $groupType -PolicyId $policyId + + $updatedPolicy = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyBody]::new() + + if($PSBoundParameters['Description']){ + $updatedPolicy.Description = $PSBoundParameters['Description'] + $null = $PSBoundParameters.Remove('Description') + } + else{ + $updatedPolicy.Description = $policy.ItemDescription + $null = $PSBoundParameters.Remove('Description') + } + + $updatedPolicy.DstAssetId = $policy.ItemDstAssetId + + + if($PSBoundParameters['DstPortsList']){ + $updatedPolicy.DstPortsList = $PSBoundParameters['DstPortsList'] + $null = $PSBoundParameters.Remove('DstPortsList') + } + else{ + $updatedPolicy.DstPortsList = $policy.ItemDstPortsList + $null = $PSBoundParameters.Remove('DstPortsList') + } + + if($PSBoundParameters['DstProcessNamesList']){ + $updatedPolicy.DstProcessNamesList = $PSBoundParameters['DstProcessNamesList'] + $null = $PSBoundParameters.Remove('DstProcessNamesList') + } + else{ + $updatedPolicy.DstProcessNamesList = $policy.ItemDstProcessNamesList + $null = $PSBoundParameters.Remove('DstProcessNamesList') + } + + if($PSBoundParameters['Name']){ + $updatedPolicy.Name = $PSBoundParameters['Name'] + $null = $PSBoundParameters.Remove('Name') + } + else{ + $updatedPolicy.Name = $policy.ItemName + $null = $PSBoundParameters.Remove('Name') + } + + if($PSBoundParameters['RuleDuration']){ + $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] + $null = $PSBoundParameters.Remove('RuleDuration') + } + else{ + $updatedPolicy.RuleDuration = $policy.ItemRuleDuration + $null = $PSBoundParameters.Remove('RuleDuration') + } + + if($PSBoundParameters['SrcUserIdsList']){ + $updatedPolicy.SrcUserIdsList = $PSBoundParameters['SrcUserIdsList'] + $null = $PSBoundParameters.Remove('SrcUserIdsList') + } + else{ + $updatedPolicy.SrcUserIdsList = $policy.ItemSrcUserIdsList + $null = $PSBoundParameters.Remove('SrcUserIdsList') + } + + if($PSBoundParameters['State']){ + $updatedPolicy.State = $PSBoundParameters['State'] + $null = $PSBoundParameters.Remove('State') + } + else{ + $updatedPolicy.State = $policy.ItemState + $null = $PSBoundParameters.Remove('State') + } + + if($PSBoundParameters['Url']){ + $updatedPolicy.Url = $PSBoundParameters['Url'] + $null = $PSBoundParameters.Remove('Url') + } + else{ + $updatedPolicy.Url = $policy.ItemUrl + $null = $PSBoundParameters.Remove('Url') + } + + #Write-Debug $updatedPolicy | Out-String + $null = $PSBoundParameters.Add('Body', $updatedPolicy) + ZeroNetworks.internal\Update-ZNGroupsExternalAccessPolicy @PSBoundParameters + } + catch { + throw + } + } +} \ No newline at end of file diff --git a/src/ZN/custom/Update-ZNGroupsIdentityRule.ps1 b/src/ZN/custom/Update-ZNGroupsIdentityRule.ps1 index b3668c3..be30725 100644 --- a/src/ZN/custom/Update-ZNGroupsIdentityRule.ps1 +++ b/src/ZN/custom/Update-ZNGroupsIdentityRule.ps1 @@ -5,7 +5,7 @@ Updates an identity rule. Updates an identity rule. .Link -https://github.com/zeronetworks/zero-powershell/update-zngroupsidentityrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsidentityrule #> function Update-ZNGroupsIdentityRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityRule])] diff --git a/src/ZN/custom/Update-ZNGroupsInboundRule.ps1 b/src/ZN/custom/Update-ZNGroupsInboundRule.ps1 index a9cf980..66c0f39 100644 --- a/src/ZN/custom/Update-ZNGroupsInboundRule.ps1 +++ b/src/ZN/custom/Update-ZNGroupsInboundRule.ps1 @@ -5,7 +5,7 @@ Updates an inbound rule. Updates an inbound rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znGroupsinboundrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znGroupsinboundrule #> function Update-ZNGroupsInboundRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule])] @@ -142,7 +142,7 @@ function Update-ZNGroupsInboundRule { $groupId = $PSBoundParameters['GroupId'].ToString() $groupType = $PSBoundParameters['GroupType'].ToString() $rule = ZeroNetworks\Get-ZNGroupsInboundRule -GroupId $groupId -GroupType $groupType -RuleId $ruleId - $rule = $rule.Item + #$rule = $rule.ItemItem $updatedRule = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleBody]::new() @@ -151,7 +151,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('LocalEntityId') } else{ - $updatedRule.LocalEntityId = $rule.LocalEntityId + $updatedRule.LocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -160,7 +160,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('LocalProcessesList') } else{ - $updatedRule.LocalProcessesList = $rule.LocalProcessesList + $updatedRule.LocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -170,7 +170,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('PortsList') } else{ - $updatedRule.PortsList = $rule.PortsList + $updatedRule.PortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -179,7 +179,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else{ - $updatedRule.RemoteEntityIdsList = $rule.RemoteEntityIdsList + $updatedRule.RemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } @@ -188,7 +188,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else{ - $updatedRule.ExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $updatedRule.ExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } @@ -197,7 +197,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('State') } else{ - $updatedRule.State = $rule.State + $updatedRule.State = $rule.ItemState $null = $PSBoundParameters.Remove('State') } @@ -206,7 +206,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('ExpiresAt') } else{ - $updatedRule.ExpiresAt = $rule.ExpiresAt + $updatedRule.ExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } @@ -215,7 +215,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('Description') } else{ - $updatedRule.Description = $rule.Description + $updatedRule.Description = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -224,7 +224,7 @@ function Update-ZNGroupsInboundRule { $null = $PSBoundParameters.Remove('Action') } else{ - $updatedRule.Action = $rule.Action + $updatedRule.Action = $rule.ItemAction $null = $PSBoundParameters.Remove('Action') } #Write-Debug $updatedRule | Out-String diff --git a/src/ZN/custom/Update-ZNGroupsMfaIdentityPolicy.ps1 b/src/ZN/custom/Update-ZNGroupsMfaIdentityPolicy.ps1 index d2921f3..e1ee08f 100644 --- a/src/ZN/custom/Update-ZNGroupsMfaIdentityPolicy.ps1 +++ b/src/ZN/custom/Update-ZNGroupsMfaIdentityPolicy.ps1 @@ -5,7 +5,7 @@ Updates an identity MFA Policy. Updates an identity MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-zngroupsmfaidentitypolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfaidentitypolicy #> function Update-ZNGroupsMfaIdentityPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityReactivePolicy])] @@ -59,6 +59,12 @@ function Update-ZNGroupsMfaIdentityPolicy { # Override built in MFA policies ${OverrideBuiltins}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -207,6 +213,15 @@ function Update-ZNGroupsMfaIdentityPolicy { $null = $PSBoundParameters.Remove('OverrideBuiltins') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNGroupsMfaInboundPolicy.ps1 b/src/ZN/custom/Update-ZNGroupsMfaInboundPolicy.ps1 index 3257c30..3389b81 100644 --- a/src/ZN/custom/Update-ZNGroupsMfaInboundPolicy.ps1 +++ b/src/ZN/custom/Update-ZNGroupsMfaInboundPolicy.ps1 @@ -5,7 +5,7 @@ Updates an inbound MFA Policy. Updates an inbound MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-zngroupsmfainboundpolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfainboundpolicy #> function Update-ZNGroupsMfaInboundPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy])] @@ -89,6 +89,12 @@ function Update-ZNGroupsMfaInboundPolicy { # protocol 6 for TCP, 17 for UDP. ${ProtocolType}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -271,6 +277,15 @@ function Update-ZNGroupsMfaInboundPolicy { $null = $PSBoundParameters.Remove('ProtocolType') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNGroupsMfaOutboundPolicy.ps1 b/src/ZN/custom/Update-ZNGroupsMfaOutboundPolicy.ps1 index c43c519..2f3ba92 100644 --- a/src/ZN/custom/Update-ZNGroupsMfaOutboundPolicy.ps1 +++ b/src/ZN/custom/Update-ZNGroupsMfaOutboundPolicy.ps1 @@ -5,7 +5,7 @@ Updates an outbound MFA Policy. Updates an outbound MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-zngroupsmfaoutboundpolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfaoutboundpolicy #> function Update-ZNGroupsMfaOutboundPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy])] @@ -89,6 +89,12 @@ function Update-ZNGroupsMfaOutboundPolicy { # protocol 6 for TCP, 17 for UDP. ${ProtocolType}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -263,6 +269,15 @@ function Update-ZNGroupsMfaOutboundPolicy { $null = $PSBoundParameters.Remove('ProtocolType') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNGroupsOutboundRule.ps1 b/src/ZN/custom/Update-ZNGroupsOutboundRule.ps1 index 8f9a993..e67f762 100644 --- a/src/ZN/custom/Update-ZNGroupsOutboundRule.ps1 +++ b/src/ZN/custom/Update-ZNGroupsOutboundRule.ps1 @@ -5,7 +5,7 @@ Updates an outbound rule. Updates an outbound rule. .Link -https://github.com/zeronetworks/zero-powershell/update-zngroupsoutboundrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsoutboundrule #> function Update-ZNGroupsOutboundRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule])] @@ -65,6 +65,12 @@ function Update-ZNGroupsOutboundRule { # excluded source entities. ${ExcludedLocalIdsList}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem] + # the source users. + ${SrcUsersList}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -142,7 +148,7 @@ function Update-ZNGroupsOutboundRule { $groupId = $PSBoundParameters['GroupId'].ToString() $groupType = $PSBoundParameters['GroupType'].ToString() $rule = ZeroNetworks\Get-ZNGroupsOutboundRule -GroupId $groupId -GroupType $groupType -RuleId $ruleId - $rule = $rule.Item + #$rule = $rule.ItemItem $updatedRule = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleBody]::new() @@ -151,7 +157,7 @@ function Update-ZNGroupsOutboundRule { $null = $PSBoundParameters.Remove('LocalEntityId') } else{ - $updatedRule.LocalEntityId = $rule.LocalEntityId + $updatedRule.LocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -160,7 +166,7 @@ function Update-ZNGroupsOutboundRule { $null = $PSBoundParameters.Remove('LocalProcessesList') } else{ - $updatedRule.LocalProcessesList = $rule.LocalProcessesList + $updatedRule.LocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -170,7 +176,7 @@ function Update-ZNGroupsOutboundRule { $null = $PSBoundParameters.Remove('PortsList') } else{ - $updatedRule.PortsList = $rule.PortsList + $updatedRule.PortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -179,7 +185,7 @@ function Update-ZNGroupsOutboundRule { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else{ - $updatedRule.RemoteEntityIdsList = $rule.RemoteEntityIdsList + $updatedRule.RemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } @@ -188,16 +194,25 @@ function Update-ZNGroupsOutboundRule { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else{ - $updatedRule.ExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $updatedRule.ExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } + if($PSBoundParameters['SrcUsersList']){ + $updatedRule.SrcUsersList = $PSBoundParameters['SrcUsersList'] + $null = $PSBoundParameters.Remove('SrcUsersList') + } + else{ + $updatedRule.SrcUsersList = $rule.ItemSrcUsersList + $null = $PSBoundParameters.Remove('SrcUsersList') + } + if($PSBoundParameters['State']){ $updatedRule.State = $PSBoundParameters['State'] $null = $PSBoundParameters.Remove('State') } else{ - $updatedRule.State = $rule.State + $updatedRule.State = $rule.ItemState $null = $PSBoundParameters.Remove('State') } @@ -206,7 +221,7 @@ function Update-ZNGroupsOutboundRule { $null = $PSBoundParameters.Remove('ExpiresAt') } else{ - $updatedRule.ExpiresAt = $rule.ExpiresAt + $updatedRule.ExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } @@ -215,7 +230,7 @@ function Update-ZNGroupsOutboundRule { $null = $PSBoundParameters.Remove('Description') } else{ - $updatedRule.Description = $rule.Description + $updatedRule.Description = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -224,7 +239,7 @@ function Update-ZNGroupsOutboundRule { $null = $PSBoundParameters.Remove('Action') } else{ - $updatedRule.Action = $rule.Action + $updatedRule.Action = $rule.ItemAction $null = $PSBoundParameters.Remove('Action') } #Write-Debug $updatedRule | Out-String diff --git a/src/ZN/custom/Update-ZNGroupsRpcRule.ps1 b/src/ZN/custom/Update-ZNGroupsRpcRule.ps1 index 17055ec..81f5ca1 100644 --- a/src/ZN/custom/Update-ZNGroupsRpcRule.ps1 +++ b/src/ZN/custom/Update-ZNGroupsRpcRule.ps1 @@ -5,7 +5,7 @@ Updates an RPC rule. Updates an RPC rule. .Link -https://github.com/zeronetworks/zero-powershell/update-zngroupsrpcrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsrpcrule #> function Update-ZNGroupsRpcRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.RpcRuleResponse])] diff --git a/src/ZN/custom/Update-ZNIdentityRule.ps1 b/src/ZN/custom/Update-ZNIdentityRule.ps1 index e1b204e..ba61e46 100644 --- a/src/ZN/custom/Update-ZNIdentityRule.ps1 +++ b/src/ZN/custom/Update-ZNIdentityRule.ps1 @@ -5,7 +5,7 @@ Updates an identity rule. Updates an identity rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znidentityrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znidentityrule #> function Update-ZNIdentityRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityRule])] diff --git a/src/ZN/custom/Update-ZNInboundRule.ps1 b/src/ZN/custom/Update-ZNInboundRule.ps1 index 408981e..a42e7dd 100644 --- a/src/ZN/custom/Update-ZNInboundRule.ps1 +++ b/src/ZN/custom/Update-ZNInboundRule.ps1 @@ -5,7 +5,7 @@ Updates an inbound rule. Updates an inbound rule. .Link -https://github.com/zeronetworks/zero-powershell/update-zninboundrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zninboundrule #> function Update-ZNInboundRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule])] @@ -128,7 +128,7 @@ function Update-ZNInboundRule { #Handle Get $ruleId = $PSBoundParameters['RuleId'].ToString() $rule = ZeroNetworks\Get-ZNInboundRule -RuleId $ruleId - $rule = $rule.Item + #$rule = $rule.Item $updatedRule = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleBody]::new() @@ -137,7 +137,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('LocalEntityId') } else{ - $updatedRule.LocalEntityId = $rule.LocalEntityId + $updatedRule.LocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -146,7 +146,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('LocalProcessesList') } else{ - $updatedRule.LocalProcessesList = $rule.LocalProcessesList + $updatedRule.LocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -156,7 +156,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('PortsList') } else{ - $updatedRule.PortsList = $rule.PortsList + $updatedRule.PortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -165,7 +165,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else{ - $updatedRule.RemoteEntityIdsList = $rule.RemoteEntityIdsList + $updatedRule.RemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } @@ -174,7 +174,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else{ - $updatedRule.ExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $updatedRule.ExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } @@ -183,7 +183,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('State') } else{ - $updatedRule.State = $rule.State + $updatedRule.State = $rule.ItemState $null = $PSBoundParameters.Remove('State') } @@ -192,7 +192,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('ExpiresAt') } else{ - $updatedRule.ExpiresAt = $rule.ExpiresAt + $updatedRule.ExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } @@ -201,7 +201,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('Description') } else{ - $updatedRule.Description = $rule.Description + $updatedRule.Description = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -210,7 +210,7 @@ function Update-ZNInboundRule { $null = $PSBoundParameters.Remove('Action') } else{ - $updatedRule.Action = $rule.Action + $updatedRule.Action = $rule.ItemAction $null = $PSBoundParameters.Remove('Action') } #Write-Debug $updatedRule | Out-String diff --git a/src/ZN/custom/Update-ZNMfaIdentityPolicy.ps1 b/src/ZN/custom/Update-ZNMfaIdentityPolicy.ps1 index cd52709..320759e 100644 --- a/src/ZN/custom/Update-ZNMfaIdentityPolicy.ps1 +++ b/src/ZN/custom/Update-ZNMfaIdentityPolicy.ps1 @@ -5,7 +5,7 @@ Updates an identity MFA Policy. Updates an identity MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-znmfaidentitypolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfaidentitypolicy #> function Update-ZNMfaIdentityPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityReactivePolicy])] @@ -47,6 +47,12 @@ function Update-ZNMfaIdentityPolicy { # Override built in MFA policies ${OverrideBuiltins}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -193,6 +199,15 @@ function Update-ZNMfaIdentityPolicy { $null = $PSBoundParameters.Remove('OverrideBuiltins') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNMfaInboundPolicy.ps1 b/src/ZN/custom/Update-ZNMfaInboundPolicy.ps1 index d2e60ac..82aeb59 100644 --- a/src/ZN/custom/Update-ZNMfaInboundPolicy.ps1 +++ b/src/ZN/custom/Update-ZNMfaInboundPolicy.ps1 @@ -5,7 +5,7 @@ Updates an inbound MFA Policy. Updates an inbound MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-znmfainboundpolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfainboundpolicy #> function Update-ZNMfaInboundPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy])] @@ -77,6 +77,12 @@ function Update-ZNMfaInboundPolicy { # protocol 6 for TCP, 17 for UDP. ${ProtocolType}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -257,6 +263,15 @@ function Update-ZNMfaInboundPolicy { $null = $PSBoundParameters.Remove('ProtocolType') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNMfaOutboundPolicy.ps1 b/src/ZN/custom/Update-ZNMfaOutboundPolicy.ps1 index 175d092..f87259d 100644 --- a/src/ZN/custom/Update-ZNMfaOutboundPolicy.ps1 +++ b/src/ZN/custom/Update-ZNMfaOutboundPolicy.ps1 @@ -5,7 +5,7 @@ Updates an outbound MFA Policy. Updates an outbound MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-znmfaoutboundpolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfaoutboundpolicy #> function Update-ZNMfaOutboundPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ReactivePolicy])] @@ -77,6 +77,12 @@ function Update-ZNMfaOutboundPolicy { # protocol 6 for TCP, 17 for UDP. ${ProtocolType}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -249,6 +255,15 @@ function Update-ZNMfaOutboundPolicy { $null = $PSBoundParameters.Remove('ProtocolType') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/custom/Update-ZNOutboundRule.ps1 b/src/ZN/custom/Update-ZNOutboundRule.ps1 index 6eeb29d..0d62ce9 100644 --- a/src/ZN/custom/Update-ZNOutboundRule.ps1 +++ b/src/ZN/custom/Update-ZNOutboundRule.ps1 @@ -5,7 +5,7 @@ Updates an outbound rule. Updates an outbound rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znoutboundrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znoutboundrule #> function Update-ZNOutboundRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.Rule])] @@ -53,6 +53,12 @@ function Update-ZNOutboundRule { # excluded source entities. ${ExcludedLocalIdsList}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem] + # the source users. + ${SrcUsersList}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -128,7 +134,7 @@ function Update-ZNOutboundRule { #Handle Get $ruleId = $PSBoundParameters['RuleId'].ToString() $rule = ZeroNetworks\Get-ZNOutboundRule -RuleId $ruleId - $rule = $rule.Item + #$rule = $rule.ItemItem $updatedRule = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.RuleBody]::new() @@ -137,7 +143,7 @@ function Update-ZNOutboundRule { $null = $PSBoundParameters.Remove('LocalEntityId') } else{ - $updatedRule.LocalEntityId = $rule.LocalEntityId + $updatedRule.LocalEntityId = $rule.ItemLocalEntityId $null = $PSBoundParameters.Remove('LocalEntityId') } @@ -146,7 +152,7 @@ function Update-ZNOutboundRule { $null = $PSBoundParameters.Remove('LocalProcessesList') } else{ - $updatedRule.LocalProcessesList = $rule.LocalProcessesList + $updatedRule.LocalProcessesList = $rule.ItemLocalProcessesList $null = $PSBoundParameters.Remove('LocalProcessesList') } @@ -156,7 +162,7 @@ function Update-ZNOutboundRule { $null = $PSBoundParameters.Remove('PortsList') } else{ - $updatedRule.PortsList = $rule.PortsList + $updatedRule.PortsList = $rule.ItemPortsList $null = $PSBoundParameters.Remove('PortsList') } @@ -165,7 +171,7 @@ function Update-ZNOutboundRule { $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } else{ - $updatedRule.RemoteEntityIdsList = $rule.RemoteEntityIdsList + $updatedRule.RemoteEntityIdsList = $rule.ItemRemoteEntityIdsList $null = $PSBoundParameters.Remove('RemoteEntityIdsList') } @@ -174,16 +180,25 @@ function Update-ZNOutboundRule { $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } else{ - $updatedRule.ExcludedLocalIdsList = $rule.ExcludedLocalIdsList + $updatedRule.ExcludedLocalIdsList = $rule.ItemExcludedLocalIdsList $null = $PSBoundParameters.Remove('ExcludedLocalIdsList') } + if($PSBoundParameters['SrcUsersList']){ + $updatedRule.SrcUsersList = $PSBoundParameters['SrcUsersList'] + $null = $PSBoundParameters.Remove('SrcUsersList') + } + else{ + $updatedRule.SrcUsersList = $rule.ItemSrcUsersList + $null = $PSBoundParameters.Remove('SrcUsersList') + } + if($PSBoundParameters['State']){ $updatedRule.State = $PSBoundParameters['State'] $null = $PSBoundParameters.Remove('State') } else{ - $updatedRule.State = $rule.State + $updatedRule.State = $rule.ItemState $null = $PSBoundParameters.Remove('State') } @@ -192,7 +207,7 @@ function Update-ZNOutboundRule { $null = $PSBoundParameters.Remove('ExpiresAt') } else{ - $updatedRule.ExpiresAt = $rule.ExpiresAt + $updatedRule.ExpiresAt = $rule.ItemExpiresAt $null = $PSBoundParameters.Remove('ExpiresAt') } @@ -201,7 +216,7 @@ function Update-ZNOutboundRule { $null = $PSBoundParameters.Remove('Description') } else{ - $updatedRule.Description = $rule.Description + $updatedRule.Description = $rule.ItemDescription $null = $PSBoundParameters.Remove('Description') } @@ -210,7 +225,7 @@ function Update-ZNOutboundRule { $null = $PSBoundParameters.Remove('Action') } else{ - $updatedRule.Action = $rule.Action + $updatedRule.Action = $rule.ItemAction $null = $PSBoundParameters.Remove('Action') } #Write-Debug $updatedRule | Out-String diff --git a/src/ZN/custom/Update-ZNRpcRule.ps1 b/src/ZN/custom/Update-ZNRpcRule.ps1 index 8aa5839..273cc35 100644 --- a/src/ZN/custom/Update-ZNRpcRule.ps1 +++ b/src/ZN/custom/Update-ZNRpcRule.ps1 @@ -5,7 +5,7 @@ Updates an RPC rule. Updates an RPC rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znrpcrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znrpcrule #> function Update-ZNRpcRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.RpcRuleResponse])] diff --git a/src/ZN/custom/Update-ZNUserExternalAccessPolicy.ps1 b/src/ZN/custom/Update-ZNUserExternalAccessPolicy.ps1 new file mode 100644 index 0000000..c94ab9a --- /dev/null +++ b/src/ZN/custom/Update-ZNUserExternalAccessPolicy.ps1 @@ -0,0 +1,223 @@ +<# +.Synopsis +Updates an external access policy. +.Description +Updates an external access policy. + +.Link +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znuserexternalaccesspolicy +#> +function Update-ZNUserExternalAccessPolicy { + [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem])] + [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')] + param( + [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Path')] + [System.String] + # User Id + ${UserId}, + + [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Path')] + [System.String] + # policy Id + ${PolicyId}, + + #[Parameter(ParameterSetName = 'UpdateExpanded')] + #[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + #[System.String] + # destination asset(s). + #${DstAssetId}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[]] + # extra ports to open. + ${DstPortsList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [System.String[]] + # destination processes. + ${DstProcessNamesList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [System.String] + # aname. + ${Name}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Int] + # Duration of the rule + ${RuleDuration}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String[]] + # List of source users + ${SrcUserIdsList}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String] + # description + ${Description}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [int[]] + # State + ${State}, + + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [String] + # Url + ${Url}, + + [Parameter()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + + process { + try { + #Handle Get + $userId = $PSBoundParameters['UserId'].ToString() + $policy = ZeroNetworks\Get-ZNUserExternalAccessPolicy -UserId $userId -PolicyId $policyId + + $updatedPolicy = [ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyBody]::new() + + if($PSBoundParameters['Description']){ + $updatedPolicy.Description = $PSBoundParameters['Description'] + $null = $PSBoundParameters.Remove('Description') + } + else{ + $updatedPolicy.Description = $policy.ItemDescription + $null = $PSBoundParameters.Remove('Description') + } + + $updatedPolicy.DstAssetId = $policy.ItemDstAssetId + + + if($PSBoundParameters['DstPortsList']){ + $updatedPolicy.DstPortsList = $PSBoundParameters['DstPortsList'] + $null = $PSBoundParameters.Remove('DstPortsList') + } + else{ + $updatedPolicy.DstPortsList = $policy.ItemDstPortsList + $null = $PSBoundParameters.Remove('DstPortsList') + } + + if($PSBoundParameters['DstProcessNamesList']){ + $updatedPolicy.DstProcessNamesList = $PSBoundParameters['DstProcessNamesList'] + $null = $PSBoundParameters.Remove('DstProcessNamesList') + } + else{ + $updatedPolicy.DstProcessNamesList = $policy.ItemDstProcessNamesList + $null = $PSBoundParameters.Remove('DstProcessNamesList') + } + + if($PSBoundParameters['Name']){ + $updatedPolicy.Name = $PSBoundParameters['Name'] + $null = $PSBoundParameters.Remove('Name') + } + else{ + $updatedPolicy.Name = $policy.ItemName + $null = $PSBoundParameters.Remove('Name') + } + + if($PSBoundParameters['RuleDuration']){ + $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] + $null = $PSBoundParameters.Remove('RuleDuration') + } + else{ + $updatedPolicy.RuleDuration = $policy.ItemRuleDuration + $null = $PSBoundParameters.Remove('RuleDuration') + } + + if($PSBoundParameters['SrcUserIdsList']){ + $updatedPolicy.SrcUserIdsList = $PSBoundParameters['SrcUserIdsList'] + $null = $PSBoundParameters.Remove('SrcUserIdsList') + } + else{ + $updatedPolicy.SrcUserIdsList = $policy.ItemSrcUserIdsList + $null = $PSBoundParameters.Remove('SrcUserIdsList') + } + + if($PSBoundParameters['State']){ + $updatedPolicy.State = $PSBoundParameters['State'] + $null = $PSBoundParameters.Remove('State') + } + else{ + $updatedPolicy.State = $policy.ItemState + $null = $PSBoundParameters.Remove('State') + } + + if($PSBoundParameters['Url']){ + $updatedPolicy.Url = $PSBoundParameters['Url'] + $null = $PSBoundParameters.Remove('Url') + } + else{ + $updatedPolicy.Url = $policy.ItemUrl + $null = $PSBoundParameters.Remove('Url') + } + + #Write-Debug $updatedPolicy | Out-String + $null = $PSBoundParameters.Add('Body', $updatedPolicy) + ZeroNetworks.internal\Update-ZNGroupsExternalAccessPolicy @PSBoundParameters + } + catch { + throw + } + } +} \ No newline at end of file diff --git a/src/ZN/custom/Update-ZNUserIdentityRule.ps1 b/src/ZN/custom/Update-ZNUserIdentityRule.ps1 index cb3025a..18db016 100644 --- a/src/ZN/custom/Update-ZNUserIdentityRule.ps1 +++ b/src/ZN/custom/Update-ZNUserIdentityRule.ps1 @@ -5,7 +5,7 @@ Updates an identity rule. Updates an identity rule. .Link -https://github.com/zeronetworks/zero-powershell/update-znuseridentityrule +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znuseridentityrule #> function Update-ZNUserIdentityRule { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityRule])] diff --git a/src/ZN/custom/Update-ZNUserMfaIdentityPolicy.ps1 b/src/ZN/custom/Update-ZNUserMfaIdentityPolicy.ps1 index 5e55113..7c046a0 100644 --- a/src/ZN/custom/Update-ZNUserMfaIdentityPolicy.ps1 +++ b/src/ZN/custom/Update-ZNUserMfaIdentityPolicy.ps1 @@ -5,7 +5,7 @@ Updates an identity MFA Policy. Updates an identity MFA Policy. .Link -https://github.com/zeronetworks/zero-powershell/update-znusermfaidentitypolicy +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znusermfaidentitypolicy #> function Update-ZNUserMfaIdentityPolicy { [OutputType([ZeroNetworks.PowerShell.Cmdlets.Api.Models.IdentityReactivePolicy])] @@ -53,6 +53,12 @@ function Update-ZNUserMfaIdentityPolicy { # Override built in MFA policies ${OverrideBuiltins}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] + [Switch] + # Restrict login to originating user + ${RestrictLoginToOriginatingUser}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] @@ -200,6 +206,15 @@ function Update-ZNUserMfaIdentityPolicy { $null = $PSBoundParameters.Remove('OverrideBuiltins') } + if($PSBoundParameters['RestrictLoginToOriginatingUser']){ + $updatedPolicy.RestrictLoginToOriginatingUser = $PSBoundParameters['RestrictLoginToOriginatingUser'] + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + else{ + $updatedPolicy.RestrictLoginToOriginatingUser = $policy.ItemRestrictLoginToOriginatingUser + $null = $PSBoundParameters.Remove('RestrictLoginToOriginatingUser') + } + if($PSBoundParameters['RuleDuration']){ $updatedPolicy.RuleDuration = $PSBoundParameters['RuleDuration'] $null = $PSBoundParameters.Remove('RuleDuration') diff --git a/src/ZN/docs/Add-ZNAssetManager.md b/src/ZN/docs/Add-ZNAssetManager.md index 6dc9e38..3c6d5f5 100644 --- a/src/ZN/docs/Add-ZNAssetManager.md +++ b/src/ZN/docs/Add-ZNAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-znassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znassetmanager schema: 2.0.0 --- @@ -13,8 +13,8 @@ Add an asset manager of asset ## SYNTAX ``` -Add-ZNAssetManager -AssetId -ManagerIds [-PassThru] [-Confirm] [-WhatIf] - [] +Add-ZNAssetManager -AssetId -ManagerIds -Permission [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -33,6 +33,21 @@ This cmdlet adds an asset manager to an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -78,6 +93,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ZN/docs/Add-ZNAssetOtAssetManager.md b/src/ZN/docs/Add-ZNAssetOtAssetManager.md index b532fba..08c8035 100644 --- a/src/ZN/docs/Add-ZNAssetOtAssetManager.md +++ b/src/ZN/docs/Add-ZNAssetOtAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-znassetotassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znassetotassetmanager schema: 2.0.0 --- @@ -13,8 +13,8 @@ Add an asset manager of asset ## SYNTAX ``` -Add-ZNAssetOtAssetManager -AssetId -ManagerIds [-PassThru] [-Confirm] [-WhatIf] - [] +Add-ZNAssetOtAssetManager -AssetId -ManagerIds -Permission [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -33,6 +33,21 @@ This cmdlet adds an asset manager to an OT asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -78,6 +93,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ZN/docs/Add-ZNAssetRpcMonitoring.md b/src/ZN/docs/Add-ZNAssetRpcMonitoring.md index d7b6674..b3055c4 100644 --- a/src/ZN/docs/Add-ZNAssetRpcMonitoring.md +++ b/src/ZN/docs/Add-ZNAssetRpcMonitoring.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-znassetrpcmonitoring +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znassetrpcmonitoring schema: 2.0.0 --- @@ -14,12 +14,12 @@ Returns an empty object. ### Add (Default) ``` -Add-ZNAssetRpcMonitoring -AssetId [-Confirm] [-WhatIf] [] +Add-ZNAssetRpcMonitoring -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] ``` ### AddExpanded ``` -Add-ZNAssetRpcMonitoring -Items [-Confirm] [-WhatIf] [] +Add-ZNAssetRpcMonitoring -Items [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -43,6 +43,21 @@ This cmdlet adds an asset to RPC monitoring. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Add-ZNCustomGroupsMember.md b/src/ZN/docs/Add-ZNCustomGroupsMember.md index 56a48a3..dc925e5 100644 --- a/src/ZN/docs/Add-ZNCustomGroupsMember.md +++ b/src/ZN/docs/Add-ZNCustomGroupsMember.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-zncustomgroupsmember +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-zncustomgroupsmember schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Add-ZNCustomGroupsMember -GroupId -MembersId [-Confirm] [-WhatIf] [] +Add-ZNCustomGroupsMember -GroupId -MembersId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -31,6 +32,21 @@ This cmdlet adds a member to the custom group in the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Add-ZNGroupsAssetManager.md b/src/ZN/docs/Add-ZNGroupsAssetManager.md index b19a009..4de3336 100644 --- a/src/ZN/docs/Add-ZNGroupsAssetManager.md +++ b/src/ZN/docs/Add-ZNGroupsAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-zngroupsassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-zngroupsassetmanager schema: 2.0.0 --- @@ -13,8 +13,8 @@ Add an asset manager of a group ## SYNTAX ``` -Add-ZNGroupsAssetManager -GroupId -GroupType -ManagerIds [-PassThru] [-Confirm] - [-WhatIf] [] +Add-ZNGroupsAssetManager -GroupId -GroupType -ManagerIds -Permission + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ An asset manager can be a group or user. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -92,6 +107,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ZN/docs/Add-ZNGroupsManagedAsset.md b/src/ZN/docs/Add-ZNGroupsManagedAsset.md index 8212080..468c5d7 100644 --- a/src/ZN/docs/Add-ZNGroupsManagedAsset.md +++ b/src/ZN/docs/Add-ZNGroupsManagedAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-zngroupsmanagedasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-zngroupsmanagedasset schema: 2.0.0 --- @@ -13,8 +13,8 @@ Add a managed assets for group ## SYNTAX ``` -Add-ZNGroupsManagedAsset -GroupId -GroupType [-EntityIds ] [-PassThru] [-Confirm] - [-WhatIf] [] +Add-ZNGroupsManagedAsset -GroupId -GroupType [-AccountName ] [-EntityIds ] + [-Permission ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ A managed asset can be a group or asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EntityIds managed asset ids @@ -92,6 +107,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Permission +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ZN/docs/Add-ZNTagGroupsMember.md b/src/ZN/docs/Add-ZNTagGroupsMember.md index 2e3d0a4..da79ca2 100644 --- a/src/ZN/docs/Add-ZNTagGroupsMember.md +++ b/src/ZN/docs/Add-ZNTagGroupsMember.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-zntaggroupsmember +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-zntaggroupsmember schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Add-ZNTagGroupsMember -GroupId -MembersId [-Comment ] [-Confirm] [-WhatIf] - [] +Add-ZNTagGroupsMember -GroupId -MembersId [-AccountName ] [-Comment ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -33,6 +33,21 @@ This cmdlet adds members to a tag group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Comment . diff --git a/src/ZN/docs/Add-ZNUsersManagedAsset.md b/src/ZN/docs/Add-ZNUsersManagedAsset.md index 10ed842..9e3a616 100644 --- a/src/ZN/docs/Add-ZNUsersManagedAsset.md +++ b/src/ZN/docs/Add-ZNUsersManagedAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/add-znusersmanagedasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/add-znusersmanagedasset schema: 2.0.0 --- @@ -13,8 +13,8 @@ Add a managed assets for user ## SYNTAX ``` -Add-ZNUsersManagedAsset -UserId [-EntityIds ] [-PassThru] [-Confirm] [-WhatIf] - [] +Add-ZNUsersManagedAsset -UserId [-AccountName ] [-EntityIds ] [-Permission ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ A managed asset can be a group or asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EntityIds managed asset ids @@ -62,6 +77,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Permission +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -UserId userId to filter on diff --git a/src/ZN/docs/Approve-ZNAssetInboundRuleReview.md b/src/ZN/docs/Approve-ZNAssetInboundRuleReview.md index bca0b17..607e591 100644 --- a/src/ZN/docs/Approve-ZNAssetInboundRuleReview.md +++ b/src/ZN/docs/Approve-ZNAssetInboundRuleReview.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/Approve-ZNAssetInboundRuleReview +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNAssetInboundRuleReview schema: 2.0.0 --- @@ -21,9 +21,10 @@ Approve-ZNAssetInboundRuleReview -AssetId -RuleId [-AsJob] [-N ### ApproveWithChangesExpanded ``` Approve-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Description ] - [-Details ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] - [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] - [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-Details ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] + [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] + [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -140,9 +141,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -LocalEntityId +### -ipSecOpt [-RuleInfoExpiresAt \] - The Destination asset(s). + when the rule should expiry. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). ```yaml Type: System.String @@ -315,7 +331,7 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: [-RuleInfoLocalProcessesList ] the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Approve-ZNAssetOutboundRuleReview.md b/src/ZN/docs/Approve-ZNAssetOutboundRuleReview.md index fa8cdd3..bf053e0 100644 --- a/src/ZN/docs/Approve-ZNAssetOutboundRuleReview.md +++ b/src/ZN/docs/Approve-ZNAssetOutboundRuleReview.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/Approve-ZNAssetOutboundRuleReview +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNAssetOutboundRuleReview schema: 2.0.0 --- @@ -21,9 +21,10 @@ Approve-ZNAssetOutboundRuleReview -AssetId -RuleId [-AsJob] [- ### ApproveWithChangesExpanded ``` Approve-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Description ] - [-Details ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] - [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] - [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-Details ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] + [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] + [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -140,9 +141,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ipSecOpt +[-RuleInfoExpiresAt \] + when the rule should expiry. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId -[-RuleInfoExpiresAt \] - The Destination asset(s). +The Destination asset(s). ```yaml Type: System.String @@ -315,7 +331,7 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: [-RuleInfoLocalProcessesList ] the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Approve-ZNInboundRuleReview.md b/src/ZN/docs/Approve-ZNInboundRuleReview.md index 6324087..a4a2dcb 100644 --- a/src/ZN/docs/Approve-ZNInboundRuleReview.md +++ b/src/ZN/docs/Approve-ZNInboundRuleReview.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/Approve-ZNInboundRuleReview +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNInboundRuleReview schema: 2.0.0 --- @@ -20,7 +20,7 @@ Approve-ZNInboundRuleReview -RuleId [-AsJob] [-NoWait] [-Confirm] [-Wha ### ApproveWithChangesExpanded ``` Approve-ZNInboundRuleReview -RuleId -Reason [-Description ] [-Details ] - [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -123,9 +123,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ipSecOpt +[-RuleInfoExpiresAt \] + when the rule should expiry. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId -[-RuleInfoExpiresAt \] - The Destination asset(s). +The Destination asset(s). ```yaml Type: System.String @@ -298,7 +313,7 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: [-RuleInfoLocalProcessesList ] the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Approve-ZNOutboundRuleReview.md b/src/ZN/docs/Approve-ZNOutboundRuleReview.md index afe10ec..3e05357 100644 --- a/src/ZN/docs/Approve-ZNOutboundRuleReview.md +++ b/src/ZN/docs/Approve-ZNOutboundRuleReview.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/Approve-ZNOutboundRuleReview +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Approve-ZNOutboundRuleReview schema: 2.0.0 --- @@ -20,7 +20,7 @@ Approve-ZNOutboundRuleReview -RuleId [-AsJob] [-NoWait] [-Confirm] [-Wh ### ApproveWithChangesExpanded ``` Approve-ZNOutboundRuleReview -RuleId -Reason [-Description ] [-Details ] - [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -123,9 +123,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -LocalEntityId +### -ipSecOpt [-RuleInfoExpiresAt \] - The Destination asset(s). + when the rule should expiry. + +```yaml +Type: System.Int32 +Parameter Sets: ApproveWithChangesExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocalEntityId +The Destination asset(s). ```yaml Type: System.String @@ -298,7 +313,7 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: [-RuleInfoLocalProcessesList ] the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Connect-ZN.md b/src/ZN/docs/Connect-ZN.md index b06cf39..73aa0c0 100644 --- a/src/ZN/docs/Connect-ZN.md +++ b/src/ZN/docs/Connect-ZN.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/connect-zn +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/connect-zn schema: 2.0.0 --- @@ -13,7 +13,7 @@ Login to Zero Networks to get a token for cmdlet use ## SYNTAX ``` -Connect-ZN -Email [-Confirm] [-WhatIf] [] +Connect-ZN -AccountName -Email [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -21,7 +21,7 @@ Login to Zero Networks to get a token for cmdlet use. NOTE: If your environment has a IdP set for default authentication, you cannot use this cmdlet and will need to use Set-ZNApiKey cmdlet using an API token. #.Link -https://github.com/zeronetworks/zero-powershell/connect-zn +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Connect-ZN ## EXAMPLES @@ -42,6 +42,21 @@ This cmdlet logs into Zero Networks ## PARAMETERS +### -AccountName +Domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Email login diff --git a/src/ZN/docs/Deny-ZNAssetInboundRuleReview.md b/src/ZN/docs/Deny-ZNAssetInboundRuleReview.md index 559ea47..855a8d7 100644 --- a/src/ZN/docs/Deny-ZNAssetInboundRuleReview.md +++ b/src/ZN/docs/Deny-ZNAssetInboundRuleReview.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/Deny-ZNAssetInboundRuleReview +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNAssetInboundRuleReview schema: 2.0.0 --- @@ -25,7 +25,7 @@ Reject a "pending review" rule ### Example 1: Deny a rule for a specific asset ```powershell $asset = Search-ZNAsset -Fqdn linux0.posh.local -Deny-ZNAssetInboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -Reason 'RedundantRule' +Deny-ZNAssetInboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -ReviewReason 'RedundantRule' ``` This cmdlet denies a rule pending review for a specific asset. diff --git a/src/ZN/docs/Deny-ZNAssetOutboundRuleReview.md b/src/ZN/docs/Deny-ZNAssetOutboundRuleReview.md index 630d8ef..8891e49 100644 --- a/src/ZN/docs/Deny-ZNAssetOutboundRuleReview.md +++ b/src/ZN/docs/Deny-ZNAssetOutboundRuleReview.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/Deny-ZNAssetOutboundRuleReview +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNAssetOutboundRuleReview schema: 2.0.0 --- @@ -25,7 +25,7 @@ Reject a "pending review" rule ### Example 1: Deny a rule for a specific asset ```powershell $asset = Search-ZNAsset -Fqdn linux0.posh.local -Deny-ZNAssetOutboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -Reason 'RedundantRule' +Deny-ZNAssetOutboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -ReviewReason 'RedundantRule' ``` This cmdlet denies a rule pending review for a specific asset. diff --git a/src/ZN/docs/Deny-ZNInboundRuleReview.md b/src/ZN/docs/Deny-ZNInboundRuleReview.md index 6bad251..9afeb80 100644 --- a/src/ZN/docs/Deny-ZNInboundRuleReview.md +++ b/src/ZN/docs/Deny-ZNInboundRuleReview.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/Deny-ZNInboundRuleReview +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNInboundRuleReview schema: 2.0.0 --- @@ -24,7 +24,7 @@ Reject a "pending review" rule ### Example 1: Reject a pending inbound rule ```powershell -Deny-ZNInboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -Reason MissingPortorProcess +Deny-ZNInboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -ReviewReason MissingPortorProcess ``` This cmdlet rejects a pending rule review for inbound rules. diff --git a/src/ZN/docs/Deny-ZNOutboundRuleReview.md b/src/ZN/docs/Deny-ZNOutboundRuleReview.md index 2d3aa18..5e5c673 100644 --- a/src/ZN/docs/Deny-ZNOutboundRuleReview.md +++ b/src/ZN/docs/Deny-ZNOutboundRuleReview.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/Deny-ZNOutboundRuleReview +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Deny-ZNOutboundRuleReview schema: 2.0.0 --- @@ -24,7 +24,7 @@ Reject a "pending review" rule ### Example 1: Reject a pending outbound rule ```powershell -Deny-ZNOutboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -Reason RedundantRule +Deny-ZNOutboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -ReviewReason RedundantRule ``` This cmdlet rejects a pending rule review for outbound rules. diff --git a/src/ZN/docs/Disconnect-ZN.md b/src/ZN/docs/Disconnect-ZN.md index a87ab6b..25b9029 100644 --- a/src/ZN/docs/Disconnect-ZN.md +++ b/src/ZN/docs/Disconnect-ZN.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/disconnect-zn +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/disconnect-zn schema: 2.0.0 --- @@ -20,7 +20,7 @@ Disconnect-ZN [-Confirm] [-WhatIf] [] Logout of Zero Networks #.Link -https://github.com/zeronetworks/zero-powershell/Disconnect-zn +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/Disconnect-zn ## EXAMPLES diff --git a/src/ZN/docs/Enable-ZNAssetQuarantine.md b/src/ZN/docs/Enable-ZNAssetQuarantine.md new file mode 100644 index 0000000..24fea1a --- /dev/null +++ b/src/ZN/docs/Enable-ZNAssetQuarantine.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/enable-znassetquarantine +schema: 2.0.0 +--- + +# Enable-ZNAssetQuarantine + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### EnableExpanded (Default) +``` +Enable-ZNAssetQuarantine -AssetId -Quarantine [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### EnableExpanded1 +``` +Enable-ZNAssetQuarantine -AssetIds -Quarantine [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Quarnatine an asset +```powershell +Enable-ZNAssetQuarantine -AssetId "a:d:FMVqm8jZ" -Quarantine +``` + +This cmdlet enables quarantine for an asset. + +### Example 2: Disable quarantine for an asset +```powershell +Enable-ZNAssetQuarantine -AssetId "a:d:FMVqm8jZ" -Quarantine:$false +``` + +This cmdlet disables quarantine for an asset. + +### Example 3: Quarnatine assets +```powershell +Enable-ZNAssetQuarantine -AssetIds @("a:d:FMVqm8jZ","a:l:4NMHdoaO") -Quarantine +``` + +This cmdlet enables quarantine for assets. + +### Example 2: Disable quarantine for assets +```powershell +Enable-ZNAssetQuarantine -AssetIds @("a:d:FMVqm8jZ","a:l:4NMHdoaO") -Quarantine:$false +``` + +This cmdlet disables quarantine for assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: EnableExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: EnableExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Quarantine +Indicates whether to enable or disable quarantine + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAeExclusionsInbound.md b/src/ZN/docs/Get-ZNAeExclusionsInbound.md new file mode 100644 index 0000000..f597373 --- /dev/null +++ b/src/ZN/docs/Get-ZNAeExclusionsInbound.md @@ -0,0 +1,279 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaeexclusionsinbound +schema: 2.0.0 +--- + +# Get-ZNAeExclusionsInbound + +## SYNOPSIS +Returns a list of AE exclusions. + +## SYNTAX + +``` +Get-ZNAeExclusionsInbound [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of AE exclusions. + +## EXAMPLES + +### Example 1: List Inbound AE Exclusions +```powershell +(Get-ZNAeExclusionsInbound).Items +``` + +```output +Action : 1 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1709213209409 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1726517957934 +DeltedById : +DeltedByName : +Description : +Direction : 1 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem, + ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:110001} +RemoteEntityInfos : {Any asset} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1726517957934 +UpdatedById : +UpdatedByName : + +Action : 1 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1702254842410 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1723024981263 +DeltedById : +DeltedByName : +Description : Auto-generated rule for tagged traffic +Direction : 1 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : 12726147-20f1-49d3-96b1-1090bbcbe15d +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem, + ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:110001} +RemoteEntityInfos : {Any asset} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1723024981263 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet lists inbound AE Exclusions. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAeExclusionList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAeExclusionsOutbound.md b/src/ZN/docs/Get-ZNAeExclusionsOutbound.md new file mode 100644 index 0000000..1588cf0 --- /dev/null +++ b/src/ZN/docs/Get-ZNAeExclusionsOutbound.md @@ -0,0 +1,239 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaeexclusionsoutbound +schema: 2.0.0 +--- + +# Get-ZNAeExclusionsOutbound + +## SYNOPSIS +Returns a list of AE exclusions. + +## SYNTAX + +``` +Get-ZNAeExclusionsOutbound [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of AE exclusions. + +## EXAMPLES + +### Example 1: List Outbound AE Exclusions +```powershell +(Get-ZNAeExclusionsOutbound).Items +``` + +```output +Action : 2 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1708466176008 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1726517957934 +DeltedById : +DeltedByName : +Description : +Direction : 2 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : a9c77d74-68f5-4205-9219-1e012d317902 +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:120101010120} +RemoteEntityInfos : {1.1.1.1} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1726517957934 +UpdatedById : +UpdatedByName : +``` + +This cmdlet lists outbound AE Exclusions. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAeExclusionList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAiExclusionNetworkBoth.md b/src/ZN/docs/Get-ZNAiExclusionNetworkBoth.md index 0dffa5d..8e36336 100644 --- a/src/ZN/docs/Get-ZNAiExclusionNetworkBoth.md +++ b/src/ZN/docs/Get-ZNAiExclusionNetworkBoth.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znaiexclusionnetworkboth +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionnetworkboth schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get AI network exclusion for clients and servers: lists of tcp/udp ports / ports ## SYNTAX ``` -Get-ZNAiExclusionNetworkBoth [] +Get-ZNAiExclusionNetworkBoth [-AccountName ] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ This cmdlet returns the AI Exclusion setting for all asset types under Data Coll ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNAiExclusionNetworkClient.md b/src/ZN/docs/Get-ZNAiExclusionNetworkClient.md index 54028de..a1751d4 100644 --- a/src/ZN/docs/Get-ZNAiExclusionNetworkClient.md +++ b/src/ZN/docs/Get-ZNAiExclusionNetworkClient.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znaiexclusionnetworkclient +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionnetworkclient schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get AI network exclusion for clients: lists of tcp/udp ports / ports ranges + bo ## SYNTAX ``` -Get-ZNAiExclusionNetworkClient [] +Get-ZNAiExclusionNetworkClient [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the AI Exclusion setting for clients under Data Collection. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNAiExclusionNetworkServer.md b/src/ZN/docs/Get-ZNAiExclusionNetworkServer.md index 5c42089..0803703 100644 --- a/src/ZN/docs/Get-ZNAiExclusionNetworkServer.md +++ b/src/ZN/docs/Get-ZNAiExclusionNetworkServer.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znaiexclusionnetworkserver +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionnetworkserver schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get AI network exclusion for servers: lists of tcp/udp ports / ports ranges + bo ## SYNTAX ``` -Get-ZNAiExclusionNetworkServer [] +Get-ZNAiExclusionNetworkServer [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the AI Exclusion setting for servers under Data Collection. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNAiExclusionSourceCandidate.md b/src/ZN/docs/Get-ZNAiExclusionSourceCandidate.md index ea61073..4fd822a 100644 --- a/src/ZN/docs/Get-ZNAiExclusionSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAiExclusionSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znaiexclusionsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionsourcecandidate schema: 2.0.0 --- @@ -13,7 +13,8 @@ Get AI source candidates to ignore during learning. ## SYNTAX ``` -Get-ZNAiExclusionSourceCandidate [-Limit ] [-Offset ] [-Search ] [] +Get-ZNAiExclusionSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] ``` ## DESCRIPTION @@ -45,6 +46,21 @@ This cmdlet will list candidates for AI exclusion sources. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -70,7 +86,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAiExclusionSourceEntity.md b/src/ZN/docs/Get-ZNAiExclusionSourceEntity.md index 7ee2d10..1afd243 100644 --- a/src/ZN/docs/Get-ZNAiExclusionSourceEntity.md +++ b/src/ZN/docs/Get-ZNAiExclusionSourceEntity.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znaiexclusionsourceentity +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaiexclusionsourceentity schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get AI source entities to ignore during learning. ## SYNTAX ``` -Get-ZNAiExclusionSourceEntity [] +Get-ZNAiExclusionSourceEntity [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet lists the excluded source entities for AI settings under Data Collec ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNAiNextBatch.md b/src/ZN/docs/Get-ZNAiNextBatch.md index 3e8e1fd..4935fdd 100644 --- a/src/ZN/docs/Get-ZNAiNextBatch.md +++ b/src/ZN/docs/Get-ZNAiNextBatch.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znainextbatch +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znainextbatch schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a date in epoch(ms) for the next batch of AI rules. ## SYNTAX ``` -Get-ZNAiNextBatch [] +Get-ZNAiNextBatch [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ It can easily be converted to human readable date. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNAsset.md b/src/ZN/docs/Get-ZNAsset.md index d3d5d07..30e2b87 100644 --- a/src/ZN/docs/Get-ZNAsset.md +++ b/src/ZN/docs/Get-ZNAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znasset schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns the properties of an asset. ### List (Default) ``` -Get-ZNAsset [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-ShowInactive] [-WithCount] [] +Get-ZNAsset [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [] ``` ### Get ``` -Get-ZNAsset -AssetId [] +Get-ZNAsset -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -98,6 +98,21 @@ Use the id parameter get an asset's properties. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -129,7 +144,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -168,7 +183,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetAnalysis.md b/src/ZN/docs/Get-ZNAssetAnalysis.md index 2a2a3d6..a9a903f 100644 --- a/src/ZN/docs/Get-ZNAssetAnalysis.md +++ b/src/ZN/docs/Get-ZNAssetAnalysis.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetanalysis +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetanalysis schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an object with asset analysis data. ## SYNTAX ``` -Get-ZNAssetAnalysis -AssetId -Direction [-Connectionstate ] [-From ] - [-Sort ] [-To ] [] +Get-ZNAssetAnalysis -AssetId -Direction [-AccountName ] [-Connectionstate ] + [-From ] [-Sort ] [-To ] [] ``` ## DESCRIPTION @@ -43,6 +43,21 @@ This cmdlet gets an asset analysis. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -59,7 +74,7 @@ Accept wildcard characters: False ``` ### -Connectionstate -connnection state for the query +connection state for the query ```yaml Type: System.Int32 diff --git a/src/ZN/docs/Get-ZNAssetAudit.md b/src/ZN/docs/Get-ZNAssetAudit.md index c92668e..e41aac0 100644 --- a/src/ZN/docs/Get-ZNAssetAudit.md +++ b/src/ZN/docs/Get-ZNAssetAudit.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetaudit +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetaudit schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of audits for the asset. ## SYNTAX ``` -Get-ZNAssetAudit -AssetId [-Cursor ] [-Order ] [-Search ] [] +Get-ZNAssetAudit -AssetId [-AccountName ] [-Cursor ] [-Order ] + [-Search ] [] ``` ## DESCRIPTION @@ -38,6 +39,21 @@ This cmdlet gets audits for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetClusterInfo.md b/src/ZN/docs/Get-ZNAssetClusterInfo.md index 26073f4..60efc4c 100644 --- a/src/ZN/docs/Get-ZNAssetClusterInfo.md +++ b/src/ZN/docs/Get-ZNAssetClusterInfo.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetclusterinfo +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetclusterinfo schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an object of cluster name and cluster members ## SYNTAX ``` -Get-ZNAssetClusterInfo -AssetId [] +Get-ZNAssetClusterInfo -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets cluster information for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetExternalAccessPolicy.md b/src/ZN/docs/Get-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..45c45c3 --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,293 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetexternalaccesspolicy +schema: 2.0.0 +--- + +# Get-ZNAssetExternalAccessPolicy + +## SYNOPSIS +Returns an external access policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNAssetExternalAccessPolicy -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNAssetExternalAccessPolicy -AssetId -PolicyId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns an external access policy. + +## EXAMPLES + +### Example 1: List external access policies for an asset +```powershell +(Get-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40).Items +``` + +```output +CreatedAt : 1726598869813 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:JBy1jmUL +Name : Ansible Server +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1726600514080 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +Url : https://ansible.test.local +``` + +This cmdlet lists all external access policies for an asset. + +### Example 2: Get an external access policy for an asset +```powershell +Get-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:JBy1jmUL +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1726600514080 +ItemUrl : https://ansible.test.local +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an external access policy for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md b/src/ZN/docs/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..0a8e5e3 --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetexternalaccesspolicydestinationassetscandidate +schema: 2.0.0 +--- + +# Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate + +## SYNOPSIS +Returns a list of destunation assets candidates for an external access policy. + +## SYNTAX + +``` +Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate -AssetId [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destunation assets candidates for an external access policy. + +## EXAMPLES + +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Address + es +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md b/src/ZN/docs/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..b832b28 --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetexternalaccesspolicysourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetExternalAccessPolicySourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for external access policies. + +## SYNTAX + +``` +Get-ZNAssetExternalAccessPolicySourceUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for external access policies. + +## EXAMPLES + +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNAssetExternalAccessPolicySourceUserCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetExternalAccessPolicyStatistics.md b/src/ZN/docs/Get-ZNAssetExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..5115aa1 --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetExternalAccessPolicyStatistics.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetexternalaccesspolicystatistics +schema: 2.0.0 +--- + +# Get-ZNAssetExternalAccessPolicyStatistics + +## SYNOPSIS +Returns statistics for an external access policy. + +## SYNTAX + +``` +Get-ZNAssetExternalAccessPolicyStatistics -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns statistics for an external access policy. + +## EXAMPLES + +### Example 1: Get external access policy statistics +```powershell +Get-ZNAssetExternalAccessPolicyStatistics -AssetId a:n:3Odw9d40 +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyStatistics + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetHealthState.md b/src/ZN/docs/Get-ZNAssetHealthState.md index 1fd2167..558148e 100644 --- a/src/ZN/docs/Get-ZNAssetHealthState.md +++ b/src/ZN/docs/Get-ZNAssetHealthState.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassethealthstate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassethealthstate schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get asset health state ## SYNTAX ``` -Get-ZNAssetHealthState -AssetId [] +Get-ZNAssetHealthState -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets an asset health state. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetIdentityRule.md b/src/ZN/docs/Get-ZNAssetIdentityRule.md index 3eb50f6..115898e 100644 --- a/src/ZN/docs/Get-ZNAssetIdentityRule.md +++ b/src/ZN/docs/Get-ZNAssetIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetidentityrule schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns the properties of an Identity rule. ### List (Default) ``` -Get-ZNAssetIdentityRule -AssetId [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] - [-Limit ] [-Search ] [-WithCount] [] +Get-ZNAssetIdentityRule -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Cursor ] [-Filters ] [-Limit ] [-Search ] [-WithCount] [] ``` ### Get ``` -Get-ZNAssetIdentityRule -AssetId -RuleId [] +Get-ZNAssetIdentityRule -AssetId -RuleId [-AccountName ] [] ``` ## DESCRIPTION @@ -84,6 +84,21 @@ This cmdlet gets an identity rule for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -145,7 +160,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String diff --git a/src/ZN/docs/Get-ZNAssetIdentityRulesAssetsCandidate.md b/src/ZN/docs/Get-ZNAssetIdentityRulesAssetsCandidate.md index 09471fe..a492920 100644 --- a/src/ZN/docs/Get-ZNAssetIdentityRulesAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNAssetIdentityRulesAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetidentityrulesassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetidentityrulesassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of assets candidates for Identity rules. ## SYNTAX ``` -Get-ZNAssetIdentityRulesAssetsCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetIdentityRulesAssetsCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -54,6 +54,21 @@ This cmdlet lists the asset candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -94,7 +109,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md b/src/ZN/docs/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md index 0e91723..5486b42 100644 --- a/src/ZN/docs/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetidentityrulesexcludedassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetidentityrulesexcludedassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of excluded assets candidates for Identity rules. ## SYNTAX ``` -Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -51,6 +51,21 @@ This cmdlet lists excluded asset candidates for identity rules for a specific as ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -91,7 +106,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetIdentityRulesUserCandidate.md b/src/ZN/docs/Get-ZNAssetIdentityRulesUserCandidate.md index 8c389f5..f244f45 100644 --- a/src/ZN/docs/Get-ZNAssetIdentityRulesUserCandidate.md +++ b/src/ZN/docs/Get-ZNAssetIdentityRulesUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetidentityrulesusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetidentityrulesusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of user candidates for Identity rules. ## SYNTAX ``` -Get-ZNAssetIdentityRulesUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNAssetIdentityRulesUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet lists the user candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -97,7 +112,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetInboundRule.md b/src/ZN/docs/Get-ZNAssetInboundRule.md index 04a2df4..91c5a49 100644 --- a/src/ZN/docs/Get-ZNAssetInboundRule.md +++ b/src/ZN/docs/Get-ZNAssetInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetinboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetinboundrule schema: 2.0.0 --- @@ -14,14 +14,14 @@ Returns the properties of an Inbound rule. ### List (Default) ``` -Get-ZNAssetInboundRule -AssetId [-AddAncestors] [-AddBuiltins] [-Direction ] - [-EntityParams ] [-Filters ] [-Limit ] [-Offset ] [-WithCount] - [] +Get-ZNAssetInboundRule -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Direction ] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] ``` ### Get ``` -Get-ZNAssetInboundRule -AssetId -RuleId [] +Get-ZNAssetInboundRule -AssetId -RuleId [-AccountName ] [] ``` ## DESCRIPTION @@ -86,6 +86,21 @@ This cmdlet can get a specific rule for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -146,6 +161,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EntityParams JSON string URI encoded object {id: string, direction: AssetDirection} @@ -162,7 +192,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -199,6 +229,36 @@ Type: System.Int32 Parameter Sets: List Aliases: +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + Required: False Position: Named Default value: None diff --git a/src/ZN/docs/Get-ZNAssetInboundRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNAssetInboundRulesDestinationCandidate.md index a9e65f2..cf06c5a 100644 --- a/src/ZN/docs/Get-ZNAssetInboundRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNAssetInboundRulesDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetinboundrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetinboundrulesdestinationcandidate schema: 2.0.0 --- # Get-ZNAssetInboundRulesDestinationCandidate ## SYNOPSIS -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ## SYNTAX ``` -Get-ZNAssetInboundRulesDestinationCandidate -AssetId [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNAssetInboundRulesDestinationCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ## EXAMPLES @@ -60,6 +60,21 @@ This cmdlet gets the possible destination candidates for a rule for a specific a ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetInboundRulesExcludedDestinationCandidate.md b/src/ZN/docs/Get-ZNAssetInboundRulesExcludedDestinationCandidate.md index 01b6b16..8989eac 100644 --- a/src/ZN/docs/Get-ZNAssetInboundRulesExcludedDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNAssetInboundRulesExcludedDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetinboundrulesexcludeddestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetinboundrulesexcludeddestinationcandidate schema: 2.0.0 --- # Get-ZNAssetInboundRulesExcludedDestinationCandidate ## SYNOPSIS -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ## SYNTAX ``` -Get-ZNAssetInboundRulesExcludedDestinationCandidate -AssetId [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNAssetInboundRulesExcludedDestinationCandidate -AssetId [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ## EXAMPLES @@ -57,6 +57,21 @@ This cmdlet gets the possible destination candidates to exclude for a rule for a ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetInboundRulesSourceCandidate.md b/src/ZN/docs/Get-ZNAssetInboundRulesSourceCandidate.md index e0c549f..a6cf937 100644 --- a/src/ZN/docs/Get-ZNAssetInboundRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetInboundRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetinboundrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetinboundrulessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates for Inbound rules. ## SYNTAX ``` -Get-ZNAssetInboundRulesSourceCandidate -AssetId -RuleType [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNAssetInboundRulesSourceCandidate -AssetId -RuleType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -58,6 +58,21 @@ This cmdlet gets the possible source candidates for a rule for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetListeningPort.md b/src/ZN/docs/Get-ZNAssetListeningPort.md index 4348e6f..d4a946b 100644 --- a/src/ZN/docs/Get-ZNAssetListeningPort.md +++ b/src/ZN/docs/Get-ZNAssetListeningPort.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetlisteningport +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetlisteningport schema: 2.0.0 --- @@ -13,7 +13,7 @@ List listening ports of an asset ## SYNTAX ``` -Get-ZNAssetListeningPort -AssetId [] +Get-ZNAssetListeningPort -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -54,6 +54,21 @@ This cmdlet lists the listening ports for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetManager.md b/src/ZN/docs/Get-ZNAssetManager.md index 130f1a0..55ef9ba 100644 --- a/src/ZN/docs/Get-ZNAssetManager.md +++ b/src/ZN/docs/Get-ZNAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmanager schema: 2.0.0 --- @@ -13,7 +13,8 @@ Get asset managers of asset ## SYNTAX ``` -Get-ZNAssetManager -AssetId [-Limit ] [-Offset ] [] +Get-ZNAssetManager -AssetId [-AccountName ] [-Limit ] [-Offset ] + [] ``` ## DESCRIPTION @@ -37,6 +38,21 @@ This cmdlet lists asset managers for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -77,7 +93,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetManagersCandidate.md b/src/ZN/docs/Get-ZNAssetManagersCandidate.md index 3edcdd3..f3103d8 100644 --- a/src/ZN/docs/Get-ZNAssetManagersCandidate.md +++ b/src/ZN/docs/Get-ZNAssetManagersCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmanagerscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmanagerscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Get manager candidates for asset managers ## SYNTAX ``` -Get-ZNAssetManagersCandidate -AssetId [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNAssetManagersCandidate -AssetId [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -53,6 +53,21 @@ This cmdlet lists asset manager candidates for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -93,7 +108,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMemberOf.md b/src/ZN/docs/Get-ZNAssetMemberOf.md index e1bacc9..49cde34 100644 --- a/src/ZN/docs/Get-ZNAssetMemberOf.md +++ b/src/ZN/docs/Get-ZNAssetMemberOf.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmemberof +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmemberof schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of groups the asset is a member of. ## SYNTAX ``` -Get-ZNAssetMemberOf -AssetId [] +Get-ZNAssetMemberOf -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -41,6 +41,21 @@ This cmdlet returns the groups an asset is a member of. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetMemberOfGroupCandidate.md b/src/ZN/docs/Get-ZNAssetMemberOfGroupCandidate.md new file mode 100644 index 0000000..72e8b09 --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetMemberOfGroupCandidate.md @@ -0,0 +1,85 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmemberofgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetMemberOfGroupCandidate + +## SYNOPSIS +Returns a list of groups the asset can be a member of. + +## SYNTAX + +``` +Get-ZNAssetMemberOfGroupCandidate -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the asset can be a member of. + +## EXAMPLES + +### Example 1: List group candidates for adding an asset to +```powershell +Get-ZNAssetMemberOfGroupCandidate -AssetId a:a:ZgBWOMyc +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +g:t:01669ce2 Domain controllers +g:t:5U669ce2 Externally facing clients +``` + +This cmdlet lists group candidates that an asset can be added to. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdNamePairList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md index 7966da3..8a73d07 100644 --- a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaidentitypoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the destination of an identity MFA policy. ## SYNTAX ``` -Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -50,6 +50,21 @@ This cmdlet lists destination candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -90,7 +105,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md index 59bb31a..1f6c5f1 100644 --- a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaidentitypoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the excluded sources of an Identity MFA policy. ## SYNTAX ``` -Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate -AssetId [-IsSrcAssetUnmonitored] - [-Limit ] [-Offset ] [-Search ] [] +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate -AssetId [-AccountName ] + [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -47,6 +47,21 @@ This cmdlet lists excluded sources candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -102,7 +117,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesMfamethod.md b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesMfamethod.md index d515821..daf5aa2 100644 --- a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaidentitypoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of MFA methods for Identity MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId [] +Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ This cmdlet lists MFA methods for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md index bc0505c..4d23e6a 100644 --- a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaidentitypoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on Identity MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaIdentityPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaIdentityPoliciesSourceCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -47,6 +47,21 @@ This cmdlet lists sources candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -87,7 +102,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md index 9753ac3..2f60c25 100644 --- a/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaidentitypoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source user candidates for Identity MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -51,6 +51,21 @@ This cmdlet lists source user candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -91,7 +106,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaIdentityPolicy.md b/src/ZN/docs/Get-ZNAssetMfaIdentityPolicy.md index d11ed2f..ee10d15 100644 --- a/src/ZN/docs/Get-ZNAssetMfaIdentityPolicy.md +++ b/src/ZN/docs/Get-ZNAssetMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaidentitypolicy schema: 2.0.0 --- @@ -14,14 +14,15 @@ Returns a Identity MFA policy object. ### List (Default) ``` -Get-ZNAssetMfaIdentityPolicy -AssetId [-AddAncestors] [-AddBuiltins] [-Filters ] - [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] - [] +Get-ZNAssetMfaIdentityPolicy -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] ``` ### Get ``` -Get-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [] +Get-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-AccountName ] + [] ``` ## DESCRIPTION @@ -111,6 +112,21 @@ This cmdlet gets an Identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -157,7 +173,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -196,7 +212,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md index 30bd6f5..0247a34 100644 --- a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfainboundpoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciesdestinationcandidate schema: 2.0.0 --- # Get-ZNAssetMfaInboundPoliciesDestinationCandidate ## SYNOPSIS -Returns a list of candidates for the destionation of an inbound MFA policy. +Returns a list of candidates for the destination of an inbound MFA policy. ## SYNTAX ``` -Get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of candidates for the destionation of an inbound MFA policy. +Returns a list of candidates for the destination of an inbound MFA policy. ## EXAMPLES @@ -60,6 +60,21 @@ This cmdlet lists the destination candidates for an inbound MFA policy for a spe ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -100,7 +115,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md index 6d575a1..341b944 100644 --- a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfainboundpoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the excluded sources of an inbound MFA policy. ## SYNTAX ``` -Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId [-IsSrcAssetUnmonitored] - [-Limit ] [-Offset ] [-Search ] [] +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId [-AccountName ] + [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -60,6 +60,21 @@ This cmdlet lists the excluded source candidates for an inbound MFA policy for a ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -115,7 +130,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesMfamethod.md b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesMfamethod.md index 5174a3d..8019b3b 100644 --- a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfainboundpoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of MFA methods for inbound MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId [] +Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -38,6 +38,21 @@ This cmdlet lists the MFA methods for an inbound MFA policy for a specific asset ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesSourceCandidate.md index 6432fc2..ca6dd82 100644 --- a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfainboundpoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on inbound MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -60,6 +60,21 @@ This cmdlet lists the source candidates for an inbound MFA policy for a specific ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -100,7 +115,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md index 34ab486..0b23af8 100644 --- a/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfainboundpoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source user candidates for inbound MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet lists the source user candidates for an inbound MFA policy for a spe ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -97,7 +112,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaInboundPolicy.md b/src/ZN/docs/Get-ZNAssetMfaInboundPolicy.md index 7db7285..40a54cf 100644 --- a/src/ZN/docs/Get-ZNAssetMfaInboundPolicy.md +++ b/src/ZN/docs/Get-ZNAssetMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfainboundpolicy schema: 2.0.0 --- @@ -14,13 +14,14 @@ Returns a inbound MFA policy object. ### List (Default) ``` -Get-ZNAssetMfaInboundPolicy -AssetId [-AddAncestors] [-AddBuiltins] [-EntityId ] - [-Filters ] [-Limit ] [-Offset ] [] +Get-ZNAssetMfaInboundPolicy -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-EntityId ] [-Filters ] [-Limit ] [-Offset ] [] ``` ### Get ``` -Get-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [] +Get-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AccountName ] + [] ``` ## DESCRIPTION @@ -89,6 +90,21 @@ This cmdlet gets a specific inbound MFA policies for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -150,7 +166,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -189,7 +205,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md index 9c819cd..aeff321 100644 --- a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaoutboundpoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of destination candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -58,6 +58,21 @@ This cmdlet lists the destination candidates for an outbound MFA policy for a sp ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -98,7 +113,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md index 65e6ac5..bc8d871 100644 --- a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaoutboundpoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the excluded sources of an outbound MFA policy. ## SYNTAX ``` -Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId [-IsSrcAssetUnmonitored] - [-Limit ] [-Offset ] [-Search ] [] +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId [-AccountName ] + [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet lists the excluded source candidates for an outbound MFA policy for ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -112,7 +127,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesMfamethod.md b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesMfamethod.md index 7b9c983..fe692e8 100644 --- a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaoutboundpoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of MFA methods on outbound MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId [] +Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -38,6 +38,21 @@ This cmdlet lists the MFA methods for an outbound MFA policy for a specific asse ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md index fcef8fd..bb1bfc7 100644 --- a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaoutboundpoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet lists the source candidates for an outbound MFA policy for a specifi ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -97,7 +112,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md index 2156b75..9f43f9d 100644 --- a/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaoutboundpoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source users candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet lists the source user candidates for an outbound MFA policy for a sp ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -97,7 +112,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetMfaOutboundPolicy.md b/src/ZN/docs/Get-ZNAssetMfaOutboundPolicy.md index 064e285..cdd1e86 100644 --- a/src/ZN/docs/Get-ZNAssetMfaOutboundPolicy.md +++ b/src/ZN/docs/Get-ZNAssetMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetmfaoutboundpolicy schema: 2.0.0 --- @@ -14,13 +14,14 @@ Returns the properties of an outbound MFA policy. ### List (Default) ``` -Get-ZNAssetMfaOutboundPolicy -AssetId [-AddAncestors] [-AddBuiltins] [-Filters ] - [-Limit ] [-Offset ] [] +Get-ZNAssetMfaOutboundPolicy -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Filters ] [-Limit ] [-Offset ] [] ``` ### Get ``` -Get-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [] +Get-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AccountName ] + [] ``` ## DESCRIPTION @@ -93,6 +94,21 @@ This cmdlet lists a specific outbound MFA policies for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -139,7 +155,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -178,7 +194,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetOt.md b/src/ZN/docs/Get-ZNAssetOt.md index 0e7b144..89a1bc1 100644 --- a/src/ZN/docs/Get-ZNAssetOt.md +++ b/src/ZN/docs/Get-ZNAssetOt.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetot +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetot schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties of an OT asset. ## SYNTAX ``` -Get-ZNAssetOt -AssetId [] +Get-ZNAssetOt -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -45,6 +45,21 @@ This cmdlet gets an OT asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetOtAssetManager.md b/src/ZN/docs/Get-ZNAssetOtAssetManager.md index c913c7f..a31f0ed 100644 --- a/src/ZN/docs/Get-ZNAssetOtAssetManager.md +++ b/src/ZN/docs/Get-ZNAssetOtAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetotassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotassetmanager schema: 2.0.0 --- @@ -13,7 +13,8 @@ Get asset managers of asset ## SYNTAX ``` -Get-ZNAssetOtAssetManager -AssetId [-Limit ] [-Offset ] [] +Get-ZNAssetOtAssetManager -AssetId [-AccountName ] [-Limit ] [-Offset ] + [] ``` ## DESCRIPTION @@ -37,6 +38,21 @@ This cmdlet lists the asset managers for an OT asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -77,7 +93,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetOtAssetManagersCandidate.md b/src/ZN/docs/Get-ZNAssetOtAssetManagersCandidate.md index f0548d0..62e86b3 100644 --- a/src/ZN/docs/Get-ZNAssetOtAssetManagersCandidate.md +++ b/src/ZN/docs/Get-ZNAssetOtAssetManagersCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetotassetmanagerscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotassetmanagerscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Get manager candidates for asset managers ## SYNTAX ``` -Get-ZNAssetOtAssetManagersCandidate -AssetId [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNAssetOtAssetManagersCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -53,6 +53,21 @@ This cmdlet lists the asset manager candidates for an OT asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -93,7 +108,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetOtAudit.md b/src/ZN/docs/Get-ZNAssetOtAudit.md index 2aa904d..6968644 100644 --- a/src/ZN/docs/Get-ZNAssetOtAudit.md +++ b/src/ZN/docs/Get-ZNAssetOtAudit.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetotaudit +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotaudit schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of audits for the asset. ## SYNTAX ``` -Get-ZNAssetOtAudit -AssetId [-Cursor ] [-Order ] [-Search ] - [] +Get-ZNAssetOtAudit -AssetId [-AccountName ] [-Cursor ] [-Order ] + [-Search ] [] ``` ## DESCRIPTION @@ -47,6 +47,21 @@ This cmdlet returns audits for an OT asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetOtMemberOf.md b/src/ZN/docs/Get-ZNAssetOtMemberOf.md index bd4bfd0..9000457 100644 --- a/src/ZN/docs/Get-ZNAssetOtMemberOf.md +++ b/src/ZN/docs/Get-ZNAssetOtMemberOf.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetotmemberof +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotmemberof schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of groups the asset is a member of. ## SYNTAX ``` -Get-ZNAssetOtMemberOf -AssetId [] +Get-ZNAssetOtMemberOf -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -39,6 +39,21 @@ This cmdlet returns groups the asset is a member of for an OT asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetOtMemberOfGroupCandidate.md b/src/ZN/docs/Get-ZNAssetOtMemberOfGroupCandidate.md new file mode 100644 index 0000000..96a01b9 --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetOtMemberOfGroupCandidate.md @@ -0,0 +1,86 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetotmemberofgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOtMemberOfGroupCandidate + +## SYNOPSIS +Returns a list of groups the asset can be a member of. + +## SYNTAX + +``` +Get-ZNAssetOtMemberOfGroupCandidate -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the asset can be a member of. + +## EXAMPLES + +### Example 1: List group candidates for adding an asset to +```powershell +Get-ZNAssetOTMemberOfGroupCandidate -AssetId a:t:0altpr5J +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +g:t:01669ce2 Domain controllers +g:t:5U669ce2 Externally facing clients +g:t:5V669ce2 Externally facing servers +``` + +This cmdlet lists group candidates that an asset can be added to. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdNamePairList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetOtTag.md b/src/ZN/docs/Get-ZNAssetOtTag.md index 8c9d39f..8c425de 100644 --- a/src/ZN/docs/Get-ZNAssetOtTag.md +++ b/src/ZN/docs/Get-ZNAssetOtTag.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetottag +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetottag schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of tags for an entity. ## SYNTAX ``` -Get-ZNAssetOtTag -AssetId [] +Get-ZNAssetOtTag -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -38,6 +38,21 @@ This cmdlet lists tags for an OT asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetOutboundRule.md b/src/ZN/docs/Get-ZNAssetOutboundRule.md index 6dc9ed8..18875db 100644 --- a/src/ZN/docs/Get-ZNAssetOutboundRule.md +++ b/src/ZN/docs/Get-ZNAssetOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrule schema: 2.0.0 --- @@ -14,14 +14,14 @@ Returns the properties of an Outbound rule. ### List (Default) ``` -Get-ZNAssetOutboundRule -AssetId [-AddAncestors] [-AddBuiltins] [-Direction ] - [-EntityParams ] [-Filters ] [-Limit ] [-Offset ] [-WithCount] - [] +Get-ZNAssetOutboundRule -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Direction ] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] ``` ### Get ``` -Get-ZNAssetOutboundRule -AssetId -RuleId [] +Get-ZNAssetOutboundRule -AssetId -RuleId [-AccountName ] [] ``` ## DESCRIPTION @@ -88,6 +88,21 @@ This cmdlet can get a specific rule for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -148,6 +163,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EntityParams JSON string URI encoded object {id: string, direction: AssetDirection} @@ -164,7 +194,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -201,6 +231,36 @@ Type: System.Int32 Parameter Sets: List Aliases: +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + Required: False Position: Named Default value: None diff --git a/src/ZN/docs/Get-ZNAssetOutboundRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNAssetOutboundRulesDestinationCandidate.md index fc1fd5a..bf3508b 100644 --- a/src/ZN/docs/Get-ZNAssetOutboundRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNAssetOutboundRulesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetoutboundrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrulesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of destination candidates for Outbound rules. ## SYNTAX ``` -Get-ZNAssetOutboundRulesDestinationCandidate -AssetId -RuleType [-Cursor ] - [-Limit ] [-Search ] [] +Get-ZNAssetOutboundRulesDestinationCandidate -AssetId -RuleType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -58,6 +58,21 @@ This cmdlet gets the possible destination candidates for a rule for a specific a ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetOutboundRulesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNAssetOutboundRulesExcludedSourceCandidate.md index 9d3e1dd..3c7591a 100644 --- a/src/ZN/docs/Get-ZNAssetOutboundRulesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetOutboundRulesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetoutboundrulesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrulesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of excluded source candidates for Outbound rules. ## SYNTAX ``` -Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet gets the possible source candidates to exclude for a rule for a spec ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetOutboundRulesSourceCandidate.md b/src/ZN/docs/Get-ZNAssetOutboundRulesSourceCandidate.md index f47307e..358e60c 100644 --- a/src/ZN/docs/Get-ZNAssetOutboundRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetOutboundRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetoutboundrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrulessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates for Outbound rules. ## SYNTAX ``` -Get-ZNAssetOutboundRulesSourceCandidate -AssetId [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNAssetOutboundRulesSourceCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -60,6 +60,21 @@ This cmdlet gets the possible source candidates for a rule for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetOutboundRulesUserCandidate.md b/src/ZN/docs/Get-ZNAssetOutboundRulesUserCandidate.md new file mode 100644 index 0000000..c5d9e3f --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetOutboundRulesUserCandidate.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetoutboundrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNAssetOutboundRulesUserCandidate + +## SYNOPSIS +Returns a list of users candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNAssetOutboundRulesUserCandidate -AssetId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of users candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNAssetOutboundRulesUserCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetPreferredSegmentServer.md b/src/ZN/docs/Get-ZNAssetPreferredSegmentServer.md new file mode 100644 index 0000000..4f6f1a0 --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetPreferredSegmentServer.md @@ -0,0 +1,84 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetpreferredsegmentserver +schema: 2.0.0 +--- + +# Get-ZNAssetPreferredSegmentServer + +## SYNOPSIS +Returns the preferred segment server id. + +## SYNTAX + +``` +Get-ZNAssetPreferredSegmentServer -AssetId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the preferred segment server id. + +## EXAMPLES + +### Example 1: Get preferred segment server +```powershell +Get-ZNAssetPreferredSegmentServer -AssetId a:a:ZgBWOMyc +``` + +```output +Error1 Message +------ ------- +not found +``` + +This cmdlet gets the preferred segement server for an asset. +If not found is returned, a preferred server has not been set. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsPreferredSegmentServer + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetRpcRule.md b/src/ZN/docs/Get-ZNAssetRpcRule.md index a447de0..c9d7312 100644 --- a/src/ZN/docs/Get-ZNAssetRpcRule.md +++ b/src/ZN/docs/Get-ZNAssetRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrule schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns the properties of an RPC rule. ### List (Default) ``` -Get-ZNAssetRpcRule -AssetId [-AddAncestors] [-AddBuiltins] [-Filters ] [-Limit ] - [-Offset ] [-WithCount] [] +Get-ZNAssetRpcRule -AssetId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Filters ] [-Limit ] [-Offset ] [-WithCount] [] ``` ### Get ``` -Get-ZNAssetRpcRule -AssetId -RuleId [] +Get-ZNAssetRpcRule -AssetId -RuleId [-AccountName ] [] ``` ## DESCRIPTION @@ -104,6 +104,21 @@ This cmdlet gets a RPC Rule for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -150,7 +165,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -189,7 +204,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetRpcRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNAssetRpcRulesDestinationCandidate.md index bdc22fb..44120c9 100644 --- a/src/ZN/docs/Get-ZNAssetRpcRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNAssetRpcRulesDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetrpcrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrulesdestinationcandidate schema: 2.0.0 --- # Get-ZNAssetRpcRulesDestinationCandidate ## SYNOPSIS -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ## SYNTAX ``` -Get-ZNAssetRpcRulesDestinationCandidate -AssetId [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNAssetRpcRulesDestinationCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ## EXAMPLES @@ -59,6 +59,21 @@ This cmdlet gets the possible destination candidates for a rpc rule for a specif ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetRpcRulesExcludedDestinationCandidate.md b/src/ZN/docs/Get-ZNAssetRpcRulesExcludedDestinationCandidate.md index 7cacd8f..d72fa79 100644 --- a/src/ZN/docs/Get-ZNAssetRpcRulesExcludedDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNAssetRpcRulesExcludedDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetrpcrulesexcludeddestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrulesexcludeddestinationcandidate schema: 2.0.0 --- # Get-ZNAssetRpcRulesExcludedDestinationCandidate ## SYNOPSIS -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ## SYNTAX ``` -Get-ZNAssetRpcRulesExcludedDestinationCandidate -AssetId [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNAssetRpcRulesExcludedDestinationCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ## EXAMPLES @@ -56,6 +56,21 @@ This cmdlet gets the possible excluded destination candidates for a rpc rule for ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetRpcRulesSourceCandidate.md b/src/ZN/docs/Get-ZNAssetRpcRulesSourceCandidate.md index 1b98e79..6270a6b 100644 --- a/src/ZN/docs/Get-ZNAssetRpcRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNAssetRpcRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetrpcrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrulessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates for RPC rules. ## SYNTAX ``` -Get-ZNAssetRpcRulesSourceCandidate -AssetId [-Cursor ] [-Limit ] [-Search ] - [] +Get-ZNAssetRpcRulesSourceCandidate -AssetId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet gets the possible source candidates for a rpc rule for a specific as ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetRpcRulesUserCandidate.md b/src/ZN/docs/Get-ZNAssetRpcRulesUserCandidate.md index 18e80ae..af931b2 100644 --- a/src/ZN/docs/Get-ZNAssetRpcRulesUserCandidate.md +++ b/src/ZN/docs/Get-ZNAssetRpcRulesUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetrpcrulesusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrpcrulesusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of user candidates for RPC rules. ## SYNTAX ``` -Get-ZNAssetRpcRulesUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNAssetRpcRulesUserCandidate -AssetId [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet gets the possible user candidates for a rpc rule for a specific asse ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -97,7 +112,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetRulesDistribution.md b/src/ZN/docs/Get-ZNAssetRulesDistribution.md index 31a6023..b50aa75 100644 --- a/src/ZN/docs/Get-ZNAssetRulesDistribution.md +++ b/src/ZN/docs/Get-ZNAssetRulesDistribution.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetrulesdistribution +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetrulesdistribution schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an object with rules distribution. ## SYNTAX ``` -Get-ZNAssetRulesDistribution -AssetId -RuleId -RuleDirection [] +Get-ZNAssetRulesDistribution -AssetId -RuleId -RuleDirection [-AccountName ] + [] ``` ## DESCRIPTION @@ -67,6 +68,21 @@ This cmdlet returns the rules distribution for a rule for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetTag.md b/src/ZN/docs/Get-ZNAssetTag.md index dd7d562..921d20f 100644 --- a/src/ZN/docs/Get-ZNAssetTag.md +++ b/src/ZN/docs/Get-ZNAssetTag.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassettag +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassettag schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of tags for an entity. ## SYNTAX ``` -Get-ZNAssetTag -AssetId [] +Get-ZNAssetTag -AssetId [-AccountName ] [] ``` ## DESCRIPTION @@ -39,6 +39,21 @@ This cmdlet gets the tags for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Get-ZNAssetsIdentityQueued.md b/src/ZN/docs/Get-ZNAssetsIdentityQueued.md new file mode 100644 index 0000000..fcdf1f0 --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetsIdentityQueued.md @@ -0,0 +1,159 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsidentityqueued +schema: 2.0.0 +--- + +# Get-ZNAssetsIdentityQueued + +## SYNOPSIS +Returns a list of assets that are identity learning. + +## SYNTAX + +``` +Get-ZNAssetsIdentityQueued [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets that are identity learning. + +## EXAMPLES + +### Example 1: List assets in Identity Learning +```powershell +Get-ZNAssetsIdentityQueued +``` + +```output +Count Items NextCursor +----- ----- ---------- + 1 {dc01} +``` + +This cmdlet lists assets in identity learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetsIdentitySegmented.md b/src/ZN/docs/Get-ZNAssetsIdentitySegmented.md index 5a27dd3..1ae4afd 100644 --- a/src/ZN/docs/Get-ZNAssetsIdentitySegmented.md +++ b/src/ZN/docs/Get-ZNAssetsIdentitySegmented.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsidentitysegmented +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsidentitysegmented schema: 2.0.0 --- # Get-ZNAssetsIdentitySegmented ## SYNOPSIS -Returns a list of assets that are identity segmentated. +Returns a list of assets that are identity segmented. ## SYNTAX ``` -Get-ZNAssetsIdentitySegmented [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-WithCount] [] +Get-ZNAssetsIdentitySegmented [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-WithCount] [] ``` ## DESCRIPTION -Returns a list of assets that are identity segmentated. +Returns a list of assets that are identity segmented. ## EXAMPLES @@ -37,8 +37,23 @@ This cmdlet lists identity segmented assets. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -77,7 +92,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetsInactive.md b/src/ZN/docs/Get-ZNAssetsInactive.md index 78ce2ed..1b1e7fe 100644 --- a/src/ZN/docs/Get-ZNAssetsInactive.md +++ b/src/ZN/docs/Get-ZNAssetsInactive.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsinactive +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsinactive schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of assets that are inactive. ## SYNTAX ``` -Get-ZNAssetsInactive [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-ShowInactive] [-WithCount] [] +Get-ZNAssetsInactive [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [] ``` ## DESCRIPTION @@ -46,8 +46,23 @@ Use offset to get the next page of inactive Assets. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -86,7 +101,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetsMonitored.md b/src/ZN/docs/Get-ZNAssetsMonitored.md index aa6b12b..c3904ee 100644 --- a/src/ZN/docs/Get-ZNAssetsMonitored.md +++ b/src/ZN/docs/Get-ZNAssetsMonitored.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsmonitored +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsmonitored schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of assets that are monitored. ## SYNTAX ``` -Get-ZNAssetsMonitored [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-WithCount] [] +Get-ZNAssetsMonitored [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] ``` ## DESCRIPTION @@ -64,8 +64,38 @@ Use offset to get the next page of monitored Assets. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -104,7 +134,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetsNetworkQueued.md b/src/ZN/docs/Get-ZNAssetsNetworkQueued.md index 41c2c89..ed1209f 100644 --- a/src/ZN/docs/Get-ZNAssetsNetworkQueued.md +++ b/src/ZN/docs/Get-ZNAssetsNetworkQueued.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsnetworkqueued +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsnetworkqueued schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of assets in network learning. ## SYNTAX ``` -Get-ZNAssetsNetworkQueued [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-WithCount] [] +Get-ZNAssetsNetworkQueued [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] ``` ## DESCRIPTION @@ -44,8 +44,38 @@ Use offset to get the next page of Assets in learning. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -84,7 +114,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetsNetworkSegmented.md b/src/ZN/docs/Get-ZNAssetsNetworkSegmented.md new file mode 100644 index 0000000..39dfa0d --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetsNetworkSegmented.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsnetworksegmented +schema: 2.0.0 +--- + +# Get-ZNAssetsNetworkSegmented + +## SYNOPSIS +Returns a list of Protected assets. + +## SYNTAX + +``` +Get-ZNAssetsNetworkSegmented [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of Protected assets. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetsOt.md b/src/ZN/docs/Get-ZNAssetsOt.md index 9c455a7..6cae380 100644 --- a/src/ZN/docs/Get-ZNAssetsOt.md +++ b/src/ZN/docs/Get-ZNAssetsOt.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsot +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsot schema: 2.0.0 --- @@ -13,8 +13,9 @@ Returns a list of OT/IoT assets. ## SYNTAX ``` -Get-ZNAssetsOt [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-ShowInactive] [-WithCount] [] +Get-ZNAssetsOt [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] + [] ``` ## DESCRIPTION @@ -44,8 +45,38 @@ Use offset to get the next page of OT/IoT Assets. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -84,7 +115,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetsRpcMonitored.md b/src/ZN/docs/Get-ZNAssetsRpcMonitored.md index 99f0822..01de6d6 100644 --- a/src/ZN/docs/Get-ZNAssetsRpcMonitored.md +++ b/src/ZN/docs/Get-ZNAssetsRpcMonitored.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsrpcmonitored +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsrpcmonitored schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of assets that are RPC monitored. ## SYNTAX ``` -Get-ZNAssetsRpcMonitored [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-WithCount] [] +Get-ZNAssetsRpcMonitored [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] ``` ## DESCRIPTION @@ -37,8 +37,38 @@ This cmdlet lists RPC monitored assets. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -77,7 +107,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetsRpcQueued.md b/src/ZN/docs/Get-ZNAssetsRpcQueued.md new file mode 100644 index 0000000..4e41a8f --- /dev/null +++ b/src/ZN/docs/Get-ZNAssetsRpcQueued.md @@ -0,0 +1,174 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsrpcqueued +schema: 2.0.0 +--- + +# Get-ZNAssetsRpcQueued + +## SYNOPSIS +Returns a list of assets in RPC learning. + +## SYNTAX + +``` +Get-ZNAssetsRpcQueued [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of assets in RPC learning. + +## EXAMPLES + +### Example 1: List assets in RPC Learning +```powershell +Get-ZNAssetsRpcQueued +``` + +```output +Count Items NextCursor +----- ----- ---------- + 1 {dc01} +``` + +This cmdlet lists assets in RPC learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchAssetsResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNAssetsRpcSegmented.md b/src/ZN/docs/Get-ZNAssetsRpcSegmented.md index b8f1fb8..6381c9e 100644 --- a/src/ZN/docs/Get-ZNAssetsRpcSegmented.md +++ b/src/ZN/docs/Get-ZNAssetsRpcSegmented.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsrpcsegmented +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsrpcsegmented schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of assets that are RPC Segmented. ## SYNTAX ``` -Get-ZNAssetsRpcSegmented [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-WithCount] [] +Get-ZNAssetsRpcSegmented [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [] ``` ## DESCRIPTION @@ -45,8 +45,38 @@ Use offset to get the next page of Assets in RPC segmentation. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -85,7 +115,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNAssetsStatesStatistics.md b/src/ZN/docs/Get-ZNAssetsStatesStatistics.md index 2030d14..4e34037 100644 --- a/src/ZN/docs/Get-ZNAssetsStatesStatistics.md +++ b/src/ZN/docs/Get-ZNAssetsStatesStatistics.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsstatesstatistics +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsstatesstatistics schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an object with asset state statistics. ## SYNTAX ``` -Get-ZNAssetsStatesStatistics [] +Get-ZNAssetsStatesStatistics [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet returns the number of connected assets. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNAssetsStatistics.md b/src/ZN/docs/Get-ZNAssetsStatistics.md index 7491dd0..d80c4f2 100644 --- a/src/ZN/docs/Get-ZNAssetsStatistics.md +++ b/src/ZN/docs/Get-ZNAssetsStatistics.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znassetsstatistics +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znassetsstatistics schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an object with asset statistics. ## SYNTAX ``` -Get-ZNAssetsStatistics [] +Get-ZNAssetsStatistics [-AccountName ] [] ``` ## DESCRIPTION @@ -46,6 +46,21 @@ This cmdlet lists the asset statistics for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNAudit.md b/src/ZN/docs/Get-ZNAudit.md index 97f7b77..eefc179 100644 --- a/src/ZN/docs/Get-ZNAudit.md +++ b/src/ZN/docs/Get-ZNAudit.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znaudit +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znaudit schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of audit events. ## SYNTAX ``` -Get-ZNAudit [-Cursor ] [-EntityId ] [-Filters ] [-From ] [-Limit ] - [-Order ] [-Search ] [-To ] [] +Get-ZNAudit [-AccountName ] [-Cursor ] [-EntityId ] [-Filters ] [-From ] + [-Limit ] [-Order ] [-Search ] [-To ] [] ``` ## DESCRIPTION @@ -70,6 +70,21 @@ scrollCurosor is the epochtime (ms) of the last event and can be used to get the ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at @@ -101,7 +116,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String diff --git a/src/ZN/docs/Get-ZNCustomGroupsCandidate.md b/src/ZN/docs/Get-ZNCustomGroupsCandidate.md index 83c4e2f..f1a24bb 100644 --- a/src/ZN/docs/Get-ZNCustomGroupsCandidate.md +++ b/src/ZN/docs/Get-ZNCustomGroupsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zncustomgroupscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zncustomgroupscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for custom group membership. ## SYNTAX ``` -Get-ZNCustomGroupsCandidate [-GroupId ] [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNCustomGroupsCandidate [-AccountName ] [-GroupId ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -45,6 +45,21 @@ This cmdlet list candidates for custom group membership. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -85,7 +100,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNExternalAccessPolicy.md b/src/ZN/docs/Get-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..6890e5c --- /dev/null +++ b/src/ZN/docs/Get-ZNExternalAccessPolicy.md @@ -0,0 +1,277 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znexternalaccesspolicy +schema: 2.0.0 +--- + +# Get-ZNExternalAccessPolicy + +## SYNOPSIS +Returns an external access policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNExternalAccessPolicy [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Cursor ] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] +``` + +### Get +``` +Get-ZNExternalAccessPolicy -PolicyId [-AccountName ] [] +``` + +## DESCRIPTION +Returns an external access policy. + +## EXAMPLES + +### Example 1: List external access policies +```powershell +(Get-ZNExternalAccessPolicy).Items +``` + +```output +CreatedAt : 1726598869813 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:JBy1jmUL +Name : Ansible Server +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1726600514080 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +Url : https://ansible.test.local +``` + +This cmdlet lists all external access policies. + +### Example 2: Get an external access policy +```powershell +Get-ZNExternalAccessPolicy -PolicyId p:e:JBy1jmUL +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1726600514080 +ItemUrl : https://ansible.test.local +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md b/src/ZN/docs/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..2bc199e --- /dev/null +++ b/src/ZN/docs/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znexternalaccesspolicydestinationassetscandidate +schema: 2.0.0 +--- + +# Get-ZNExternalAccessPolicyDestinationAssetsCandidate + +## SYNOPSIS +Returns a list of destunation assets candidates for an external access policy. + +## SYNTAX + +``` +Get-ZNExternalAccessPolicyDestinationAssetsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destunation assets candidates for an external access policy. + +## EXAMPLES + +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNExternalAccessPolicyDestinationAssetsCandidate +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNExternalAccessPolicySourceUserCandidate.md b/src/ZN/docs/Get-ZNExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..a03b30b --- /dev/null +++ b/src/ZN/docs/Get-ZNExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,127 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znexternalaccesspolicysourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNExternalAccessPolicySourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for external access policies. + +## SYNTAX + +``` +Get-ZNExternalAccessPolicySourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for external access policies. + +## EXAMPLES + +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNExternalAccessPolicySourceUserCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNExternalAccessPolicyStatistics.md b/src/ZN/docs/Get-ZNExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..3e30090 --- /dev/null +++ b/src/ZN/docs/Get-ZNExternalAccessPolicyStatistics.md @@ -0,0 +1,68 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znexternalaccesspolicystatistics +schema: 2.0.0 +--- + +# Get-ZNExternalAccessPolicyStatistics + +## SYNOPSIS +Returns statistics for an external access policy. + +## SYNTAX + +``` +Get-ZNExternalAccessPolicyStatistics [-AccountName ] [] +``` + +## DESCRIPTION +Returns statistics for an external access policy. + +## EXAMPLES + +### Example 1: Get external access policy statistics +```powershell +Get-ZNExternalAccessPolicyStatistics +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyStatistics + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNGroup.md b/src/ZN/docs/Get-ZNGroup.md index feda333..090c4af 100644 --- a/src/ZN/docs/Get-ZNGroup.md +++ b/src/ZN/docs/Get-ZNGroup.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroup +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroup schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns the properties of an group. ### List (Default) ``` -Get-ZNGroup [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNGroup [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] [-Offset ] + [-Search ] [] ``` ### Get ``` -Get-ZNGroup -GroupId -GroupType [] +Get-ZNGroup -GroupId -GroupType [-AccountName ] [] ``` ## DESCRIPTION @@ -86,6 +86,21 @@ Use the search parameter to search by Name property. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at @@ -102,7 +117,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -171,7 +186,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupAudit.md b/src/ZN/docs/Get-ZNGroupAudit.md index 20eada4..2b75816 100644 --- a/src/ZN/docs/Get-ZNGroupAudit.md +++ b/src/ZN/docs/Get-ZNGroupAudit.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupaudit +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupaudit schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of audits for the group. ## SYNTAX ``` -Get-ZNGroupAudit -GroupId -GroupType [-Cursor ] [-Order ] [-Search ] - [] +Get-ZNGroupAudit -GroupId -GroupType [-AccountName ] [-Cursor ] + [-Order ] [-Search ] [] ``` ## DESCRIPTION @@ -38,6 +38,21 @@ This cmdlet get the audits for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupMemberOf.md b/src/ZN/docs/Get-ZNGroupMemberOf.md index 55119cb..6fc5e64 100644 --- a/src/ZN/docs/Get-ZNGroupMemberOf.md +++ b/src/ZN/docs/Get-ZNGroupMemberOf.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupmemberof +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupmemberof schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of groups the group is a member of. ## SYNTAX ``` -Get-ZNGroupMemberOf -GroupId -GroupType [] +Get-ZNGroupMemberOf -GroupId -GroupType [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets the groups a group is a member of ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Get-ZNGroupMemberOfGroupCandidate.md b/src/ZN/docs/Get-ZNGroupMemberOfGroupCandidate.md new file mode 100644 index 0000000..456516d --- /dev/null +++ b/src/ZN/docs/Get-ZNGroupMemberOfGroupCandidate.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupmemberofgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNGroupMemberOfGroupCandidate + +## SYNOPSIS +Returns a list of groups the asset can be a member of. + +## SYNTAX + +``` +Get-ZNGroupMemberOfGroupCandidate -GroupId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a list of groups the asset can be a member of. + +## EXAMPLES + +### Example 1: List group candidates for adding a group to +```powershell +Get-ZNGroupMemberOfGroupCandidate -GroupId g:t:01669ce2 -GroupType tag +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +``` + +This cmdlet lists group candidates that a group can be added to. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdNamePairList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNGroupsAssetManager.md b/src/ZN/docs/Get-ZNGroupsAssetManager.md index 98c58ab..9bc71ba 100644 --- a/src/ZN/docs/Get-ZNGroupsAssetManager.md +++ b/src/ZN/docs/Get-ZNGroupsAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsassetmanager schema: 2.0.0 --- @@ -13,8 +13,8 @@ Get asset managers of group ## SYNTAX ``` -Get-ZNGroupsAssetManager -GroupId -GroupType [-Limit ] [-Offset ] - [] +Get-ZNGroupsAssetManager -GroupId -GroupType [-AccountName ] [-Limit ] + [-Offset ] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ This cmdlet lists the asset managers for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -92,7 +107,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsAssetManagersCandidate.md b/src/ZN/docs/Get-ZNGroupsAssetManagersCandidate.md index 24aa3ed..fbbfde7 100644 --- a/src/ZN/docs/Get-ZNGroupsAssetManagersCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsAssetManagersCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsassetmanagerscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsassetmanagerscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Get manager candidates for group managers ## SYNTAX ``` -Get-ZNGroupsAssetManagersCandidate -GroupId -GroupType [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNGroupsAssetManagersCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -51,6 +51,21 @@ This cmdlet lists asset manager candidates for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -106,7 +121,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsByType.md b/src/ZN/docs/Get-ZNGroupsByType.md index 512625c..710ee5e 100644 --- a/src/ZN/docs/Get-ZNGroupsByType.md +++ b/src/ZN/docs/Get-ZNGroupsByType.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsbytype +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsbytype schema: 2.0.0 --- @@ -14,8 +14,8 @@ Pass the returned 'nextCursor' as the '_cursor' query param of the next request ## SYNTAX ``` -Get-ZNGroupsByType -GroupType [-Filters ] [-Limit ] [-Offset ] - [-Search ] [-WithCount] [] +Get-ZNGroupsByType -GroupType [-AccountName ] [-Cursor ] [-Filters ] + [-Limit ] [-Offset ] [-Search ] [-WithCount] [] ``` ## DESCRIPTION @@ -48,8 +48,38 @@ This cmdlet lists groups by type. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -103,7 +133,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsExternalAccessPolicy.md b/src/ZN/docs/Get-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..ffdebd0 --- /dev/null +++ b/src/ZN/docs/Get-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,308 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsexternalaccesspolicy +schema: 2.0.0 +--- + +# Get-ZNGroupsExternalAccessPolicy + +## SYNOPSIS +Returns an external access policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNGroupsExternalAccessPolicy -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNGroupsExternalAccessPolicy -GroupId -GroupType -PolicyId + [-AccountName ] [] +``` + +## DESCRIPTION +Returns an external access policy. + +## EXAMPLES + +### Example 1: List external access policies for a group +```powershell +(Get-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag).Items +``` + +```output +CreatedAt : 1728091784452 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +Description : +DstAssetId : g:t:5V669ce2 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:EhAz2WVR +Name : External Servers +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1728091784452 +UpdatedById : +UpdatedByName : +Url : https://external.posh.local +``` + +This cmdlet lists external access policies for a group. + +### Example 2: Get an external access policy for a group +```powershell +Get-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag -PolicyId p:e:EhAz2WVR +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +ItemCreatedAt : 1728091784452 +ItemDescription : +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:EhAz2WVR +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728091784452 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet gets an external access policy for a group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md b/src/ZN/docs/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..a20b4fd --- /dev/null +++ b/src/ZN/docs/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsexternalaccesspolicydestinationassetscandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate + +## SYNOPSIS +Returns a list of destunation assets candidates for an external access policy. + +## SYNTAX + +``` +Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destunation assets candidates for an external access policy. + +## EXAMPLES + +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md b/src/ZN/docs/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..7dd3577 --- /dev/null +++ b/src/ZN/docs/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,157 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsexternalaccesspolicysourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsExternalAccessPolicySourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for external access policies. + +## SYNTAX + +``` +Get-ZNGroupsExternalAccessPolicySourceUserCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for external access policies. + +## EXAMPLES + +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNGroupsExternalAccessPolicySourceUserCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNGroupsExternalAccessPolicyStatistics.md b/src/ZN/docs/Get-ZNGroupsExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..dfc9cec --- /dev/null +++ b/src/ZN/docs/Get-ZNGroupsExternalAccessPolicyStatistics.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsexternalaccesspolicystatistics +schema: 2.0.0 +--- + +# Get-ZNGroupsExternalAccessPolicyStatistics + +## SYNOPSIS +Returns statistics for an external access policy. + +## SYNTAX + +``` +Get-ZNGroupsExternalAccessPolicyStatistics -GroupId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns statistics for an external access policy. + +## EXAMPLES + +### Example 1: Get external access policy statistics +```powershell +Get-ZNGroupsExternalAccessPolicyStatistics -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyStatistics + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNGroupsIdentityRule.md b/src/ZN/docs/Get-ZNGroupsIdentityRule.md index 6b46b76..48ffb39 100644 --- a/src/ZN/docs/Get-ZNGroupsIdentityRule.md +++ b/src/ZN/docs/Get-ZNGroupsIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsidentityrule schema: 2.0.0 --- @@ -14,13 +14,15 @@ Returns an identity segmentation rule. ### List (Default) ``` -Get-ZNGroupsIdentityRule -GroupId -GroupType [-AddAncestors] [-AddBuiltins] - [-Cursor ] [-Filters ] [-Limit ] [-Search ] [-WithCount] [] +Get-ZNGroupsIdentityRule -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Cursor ] [-Filters ] [-Limit ] [-Search ] [-WithCount] + [] ``` ### Get ``` -Get-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [] +Get-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-AccountName ] + [] ``` ## DESCRIPTION @@ -82,6 +84,21 @@ This cmdlet gets an identity rule for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -128,7 +145,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String diff --git a/src/ZN/docs/Get-ZNGroupsIdentityRulesAssetsCandidate.md b/src/ZN/docs/Get-ZNGroupsIdentityRulesAssetsCandidate.md index 0d9ac42..5eb610e 100644 --- a/src/ZN/docs/Get-ZNGroupsIdentityRulesAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsIdentityRulesAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsidentityrulesassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsidentityrulesassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of assets candidates for Identity rules. ## SYNTAX ``` -Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -53,6 +53,21 @@ This cmdlet lists the asset candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -108,7 +123,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md b/src/ZN/docs/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md index 3d2b357..ffc7d8a 100644 --- a/src/ZN/docs/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsidentityrulesexcludedassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsidentityrulesexcludedassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of excluded Assets candidates for Identity rules. ## SYNTAX ``` -Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -50,6 +50,21 @@ This cmdlet lists excluded asset candidates for identity rules for a specific gr ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -105,7 +120,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsIdentityRulesUserCandidate.md b/src/ZN/docs/Get-ZNGroupsIdentityRulesUserCandidate.md index 1b78b02..3e04919 100644 --- a/src/ZN/docs/Get-ZNGroupsIdentityRulesUserCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsIdentityRulesUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsidentityrulesusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsidentityrulesusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of user candidates for Identity rules. ## SYNTAX ``` -Get-ZNGroupsIdentityRulesUserCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsIdentityRulesUserCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -56,6 +56,21 @@ This cmdlet lists the user candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -111,7 +126,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsInboundRule.md b/src/ZN/docs/Get-ZNGroupsInboundRule.md index 13f82b1..df9145d 100644 --- a/src/ZN/docs/Get-ZNGroupsInboundRule.md +++ b/src/ZN/docs/Get-ZNGroupsInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsinboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsinboundrule schema: 2.0.0 --- @@ -14,14 +14,16 @@ Returns the properties of an Inbound rule. ### List (Default) ``` -Get-ZNGroupsInboundRule -GroupId -GroupType [-AddAncestors] [-AddBuiltins] - [-Direction ] [-EntityParams ] [-Filters ] [-Limit ] [-Offset ] - [-WithCount] [] +Get-ZNGroupsInboundRule -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Direction ] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] + [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] + [] ``` ### Get ``` -Get-ZNGroupsInboundRule -GroupId -GroupType -RuleId [] +Get-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-AccountName ] + [] ``` ## DESCRIPTION @@ -85,6 +87,21 @@ This cmdlet can get a specific rule for a specific group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -130,6 +147,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EntityParams JSON string URI encoded object {id: string, direction: AssetDirection} @@ -146,7 +178,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -213,6 +245,36 @@ Type: System.Int32 Parameter Sets: List Aliases: +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + Required: False Position: Named Default value: None diff --git a/src/ZN/docs/Get-ZNGroupsInboundRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNGroupsInboundRulesDestinationCandidate.md index 43e290c..591fcee 100644 --- a/src/ZN/docs/Get-ZNGroupsInboundRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsInboundRulesDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsinboundrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsinboundrulesdestinationcandidate schema: 2.0.0 --- # Get-ZNGroupsInboundRulesDestinationCandidate ## SYNOPSIS -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ## SYNTAX ``` -Get-ZNGroupsInboundRulesDestinationCandidate -GroupId -GroupType [-Cursor ] - [-Limit ] [-Search ] [] +Get-ZNGroupsInboundRulesDestinationCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ## EXAMPLES @@ -60,6 +60,21 @@ This cmdlet gets the possible destination candidates for a rule for a specific g ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md b/src/ZN/docs/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md index 3b11ee9..6dceb41 100644 --- a/src/ZN/docs/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsinboundrulesexcludeddestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsinboundrulesexcludeddestinationcandidate schema: 2.0.0 --- # Get-ZNGroupsInboundRulesExcludedDestinationCandidate ## SYNOPSIS -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ## SYNTAX ``` -Get-ZNGroupsInboundRulesExcludedDestinationCandidate -GroupId -GroupType [-Cursor ] - [-Limit ] [-Search ] [] +Get-ZNGroupsInboundRulesExcludedDestinationCandidate -GroupId -GroupType + [-AccountName ] [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ## EXAMPLES @@ -57,6 +57,21 @@ This cmdlet gets the possible excluded destination candidates for a rule for a s ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsInboundRulesSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsInboundRulesSourceCandidate.md index aa567db..b24d1ea 100644 --- a/src/ZN/docs/Get-ZNGroupsInboundRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsInboundRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsinboundrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsinboundrulessourcecandidate schema: 2.0.0 --- @@ -14,7 +14,7 @@ Returns a list of source candidates for Inbound rules. ``` Get-ZNGroupsInboundRulesSourceCandidate -GroupId -GroupType -RuleType - [-Cursor ] [-Limit ] [-Search ] [] + [-AccountName ] [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -58,6 +58,21 @@ This cmdlet gets the possible source candidates for a rule for a specific group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsManagedAsset.md b/src/ZN/docs/Get-ZNGroupsManagedAsset.md index 12a9c30..d15ccfa 100644 --- a/src/ZN/docs/Get-ZNGroupsManagedAsset.md +++ b/src/ZN/docs/Get-ZNGroupsManagedAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmanagedasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmanagedasset schema: 2.0.0 --- @@ -13,8 +13,8 @@ Get managed assets for group ## SYNTAX ``` -Get-ZNGroupsManagedAsset -GroupId -GroupType [-Limit ] [-Offset ] - [] +Get-ZNGroupsManagedAsset -GroupId -GroupType [-AccountName ] [-Limit ] + [-Offset ] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ This cmdlet lists managed assets for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -92,7 +107,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsManagedAssetsCandidate.md b/src/ZN/docs/Get-ZNGroupsManagedAssetsCandidate.md index c9e65a0..ec05859 100644 --- a/src/ZN/docs/Get-ZNGroupsManagedAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsManagedAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmanagedassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmanagedassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Get asset candidates to be managed by group ## SYNTAX ``` -Get-ZNGroupsManagedAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNGroupsManagedAssetsCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -54,6 +54,21 @@ This cmdlet lists managed assets candidates for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -109,7 +124,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMember.md b/src/ZN/docs/Get-ZNGroupsMember.md index 89a4f60..d257d62 100644 --- a/src/ZN/docs/Get-ZNGroupsMember.md +++ b/src/ZN/docs/Get-ZNGroupsMember.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmember +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmember schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of potential members for a group. ## SYNTAX ``` -Get-ZNGroupsMember -GroupId -GroupType -IncludeNestedMembers [-Limit ] - [-Offset ] [] +Get-ZNGroupsMember -GroupId -GroupType -IncludeNestedMembers [-AccountName ] + [-Limit ] [-Offset ] [] ``` ## DESCRIPTION @@ -62,6 +62,21 @@ Setting -IncludeNestedMembers to $true will get all members of the group and nes ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -132,7 +147,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md index 2e477ea..4f6e025 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaidentitypoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the destination of an identity MFA policy. ## SYNTAX ``` -Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -50,6 +50,21 @@ This cmdlet gets destination candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -105,7 +120,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md index 67912f6..a8ae18a 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaidentitypoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -14,7 +14,8 @@ Returns a list of candidates for the excluded sources of an Identity MFA policy. ``` Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate -GroupId -GroupType - [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] + [-AccountName ] [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] + [] ``` ## DESCRIPTION @@ -47,6 +48,21 @@ This cmdlet lists excluded sources candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -117,7 +133,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesMfamethod.md b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesMfamethod.md index 2c9edf9..9886484 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaidentitypoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of MFA methods for Identity MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaIdentityPoliciesMfamethod -GroupId -GroupType [] +Get-ZNGroupsMfaIdentityPoliciesMfamethod -GroupId -GroupType [-AccountName ] + [] ``` ## DESCRIPTION @@ -36,6 +37,21 @@ This cmdlet lists MFA methods for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md index 4dc7d2b..a9c966b 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaidentitypoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on Identity MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaIdentityPoliciesSourceCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -47,6 +47,21 @@ This cmdlet lists source candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -102,7 +117,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md index 897f55b..25726b5 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaidentitypoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source user candidates for Identity MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -56,6 +56,21 @@ This cmdlet lists the source user candidates for an inbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -111,7 +126,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaIdentityPolicy.md b/src/ZN/docs/Get-ZNGroupsMfaIdentityPolicy.md index 946a8ac..55e0241 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaIdentityPolicy.md +++ b/src/ZN/docs/Get-ZNGroupsMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaidentitypolicy schema: 2.0.0 --- @@ -14,15 +14,15 @@ Returns a Identity MFA policy object. ### List (Default) ``` -Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType [-AddAncestors] [-AddBuiltins] - [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] - [-WithCount] [] +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] ``` ### Get ``` Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId - [] + [-AccountName ] [] ``` ## DESCRIPTION @@ -112,6 +112,21 @@ This cmdlet gets an Identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -143,7 +158,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -212,7 +227,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md index a21205a..913ed8a 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfainboundpoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciesdestinationcandidate schema: 2.0.0 --- # Get-ZNGroupsMfaInboundPoliciesDestinationCandidate ## SYNOPSIS -Returns a list of candidates for the destionation of an inbound MFA policy. +Returns a list of candidates for the destination of an inbound MFA policy. ## SYNTAX ``` -Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of candidates for the destionation of an inbound MFA policy. +Returns a list of candidates for the destination of an inbound MFA policy. ## EXAMPLES @@ -60,6 +60,21 @@ This cmdlet returns possible destination candidates for a MFA policy for a group ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -115,7 +130,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md index ee5ae9e..364e4d8 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfainboundpoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -14,7 +14,8 @@ Returns a list of candidates for the excluded sources of an inbound MFA policy. ``` Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate -GroupId -GroupType - [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] + [-AccountName ] [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] + [] ``` ## DESCRIPTION @@ -57,6 +58,21 @@ This cmdlet returns possible excluded source candidates for a MFA policy for a g ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -127,7 +143,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesMfamethod.md b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesMfamethod.md index be3a4da..4e0d39b 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfainboundpoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of MFA methods for inbound MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaInboundPoliciesMfamethod -GroupId -GroupType [] +Get-ZNGroupsMfaInboundPoliciesMfamethod -GroupId -GroupType [-AccountName ] + [] ``` ## DESCRIPTION @@ -38,6 +39,21 @@ This cmdlet returns possible MFA methods for a MFA policy for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md index d8b5627..6b56073 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfainboundpoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on inbound MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaInboundPoliciesSourceCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaInboundPoliciesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -59,6 +59,21 @@ This cmdlet returns possible source candidates for a MFA policy for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -114,7 +129,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md index 658a80d..dde5673 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfainboundpoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source user candidates for inbound MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -58,6 +58,21 @@ This cmdlet returns possible source user candidates for a MFA policy for a group ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -113,7 +128,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaInboundPolicy.md b/src/ZN/docs/Get-ZNGroupsMfaInboundPolicy.md index 4002f5f..31b1c9f 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaInboundPolicy.md +++ b/src/ZN/docs/Get-ZNGroupsMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfainboundpolicy schema: 2.0.0 --- @@ -14,14 +14,15 @@ Returns a inbound MFA policy object. ### List (Default) ``` -Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType [-AddAncestors] [-AddBuiltins] - [-EntityId ] [-Filters ] [-Limit ] [-Offset ] [] +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-EntityId ] [-Filters ] [-Limit ] [-Offset ] + [] ``` ### Get ``` Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId - [] + [-AccountName ] [] ``` ## DESCRIPTION @@ -92,6 +93,21 @@ This cmdlet can get a specific MFA policy for a specific group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -138,7 +154,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -207,7 +223,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md index 7285ea6..f3f82d4 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaoutboundpoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of destination candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -58,6 +58,21 @@ This cmdlet returns possible destination candidates for a MFA policy for a group ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -113,7 +128,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md index 7f2cc80..40f41ea 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaoutboundpoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -14,7 +14,8 @@ Returns a list of candidates for the excluded sources of an outbound MFA policy. ``` Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate -GroupId -GroupType - [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] + [-AccountName ] [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] + [] ``` ## DESCRIPTION @@ -57,6 +58,21 @@ This cmdlet returns possible excluded source candidates for a MFA policy for a g ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -127,7 +143,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesMfamethod.md b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesMfamethod.md index 4dcbb8d..3aeef16 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaoutboundpoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of MFA methods on outbound MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaOutboundPoliciesMfamethod -GroupId -GroupType [] +Get-ZNGroupsMfaOutboundPoliciesMfamethod -GroupId -GroupType [-AccountName ] + [] ``` ## DESCRIPTION @@ -38,6 +39,21 @@ This cmdlet returns possible MFA methods for a MFA policy for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md index 3b2ddec..7536031 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaoutboundpoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -59,6 +59,21 @@ This cmdlet returns possible source candidates for a MFA policy for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -114,7 +129,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md index 287090c..80d6d91 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaoutboundpoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source users candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] - [-Offset ] [-Search ] [] +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -GroupId -GroupType + [-AccountName ] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -58,6 +58,21 @@ This cmdlet returns possible source user candidates for a MFA policy for a group ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -113,7 +128,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsMfaOutboundPolicy.md b/src/ZN/docs/Get-ZNGroupsMfaOutboundPolicy.md index d275652..415ac5e 100644 --- a/src/ZN/docs/Get-ZNGroupsMfaOutboundPolicy.md +++ b/src/ZN/docs/Get-ZNGroupsMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsmfaoutboundpolicy schema: 2.0.0 --- @@ -14,14 +14,14 @@ Returns the properties of an outbound MFA policy. ### List (Default) ``` -Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType [-AddAncestors] [-AddBuiltins] - [-Filters ] [-Limit ] [-Offset ] [] +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] [] ``` ### Get ``` Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId - [] + [-AccountName ] [] ``` ## DESCRIPTION @@ -93,6 +93,21 @@ This cmdlet can get a specific MFA policy for a specific group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -124,7 +139,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -193,7 +208,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsOutboundRule.md b/src/ZN/docs/Get-ZNGroupsOutboundRule.md index 965a95c..5e2ec67 100644 --- a/src/ZN/docs/Get-ZNGroupsOutboundRule.md +++ b/src/ZN/docs/Get-ZNGroupsOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrule schema: 2.0.0 --- @@ -14,14 +14,16 @@ Returns the properties of an Outbound rule. ### List (Default) ``` -Get-ZNGroupsOutboundRule -GroupId -GroupType [-AddAncestors] [-AddBuiltins] - [-Direction ] [-EntityParams ] [-Filters ] [-Limit ] [-Offset ] - [-WithCount] [] +Get-ZNGroupsOutboundRule -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Direction ] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] + [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] + [] ``` ### Get ``` -Get-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [] +Get-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-AccountName ] + [] ``` ## DESCRIPTION @@ -88,6 +90,21 @@ This cmdlet can get a specific rule for a specific group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -133,6 +150,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EntityParams JSON string URI encoded object {id: string, direction: AssetDirection} @@ -149,7 +181,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -216,6 +248,36 @@ Type: System.Int32 Parameter Sets: List Aliases: +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + Required: False Position: Named Default value: None diff --git a/src/ZN/docs/Get-ZNGroupsOutboundRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNGroupsOutboundRulesDestinationCandidate.md index 08fe2b5..ed90a88 100644 --- a/src/ZN/docs/Get-ZNGroupsOutboundRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsOutboundRulesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsoutboundrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrulesdestinationcandidate schema: 2.0.0 --- @@ -14,7 +14,7 @@ Returns a list of destination candidates for Outbound rules. ``` Get-ZNGroupsOutboundRulesDestinationCandidate -GroupId -GroupType -RuleType - [-Cursor ] [-Limit ] [-Search ] [] + [-AccountName ] [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -58,6 +58,21 @@ This cmdlet gets the possible destination candidates for a rule for a specific g ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md index 2cf2b6d..6a71ae0 100644 --- a/src/ZN/docs/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsoutboundrulesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrulesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of excluded source candidates for Outbound rules. ## SYNTAX ``` -Get-ZNGroupsOutboundRulesExcludedSourceCandidate -GroupId -GroupType [-Cursor ] - [-Limit ] [-Search ] [] +Get-ZNGroupsOutboundRulesExcludedSourceCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet gets the possible destination candidates for a rule for a specific g ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsOutboundRulesSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsOutboundRulesSourceCandidate.md index f86005e..4c2f6bc 100644 --- a/src/ZN/docs/Get-ZNGroupsOutboundRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsOutboundRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsoutboundrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrulessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates for Outbound rules. ## SYNTAX ``` -Get-ZNGroupsOutboundRulesSourceCandidate -GroupId -GroupType [-Cursor ] - [-Limit ] [-Search ] [] +Get-ZNGroupsOutboundRulesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -60,6 +60,21 @@ This cmdlet gets the possible destination candidates for a rule for a specific g ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsOutboundRulesUserCandidate.md b/src/ZN/docs/Get-ZNGroupsOutboundRulesUserCandidate.md new file mode 100644 index 0000000..72e57cc --- /dev/null +++ b/src/ZN/docs/Get-ZNGroupsOutboundRulesUserCandidate.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsoutboundrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNGroupsOutboundRulesUserCandidate + +## SYNOPSIS +Returns a list of users candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNGroupsOutboundRulesUserCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of users candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNGroupsOutboundRulesUserCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNGroupsRpcRule.md b/src/ZN/docs/Get-ZNGroupsRpcRule.md index 3078687..49818e9 100644 --- a/src/ZN/docs/Get-ZNGroupsRpcRule.md +++ b/src/ZN/docs/Get-ZNGroupsRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrule schema: 2.0.0 --- @@ -14,13 +14,14 @@ Returns the properties of an RPC rule. ### List (Default) ``` -Get-ZNGroupsRpcRule -GroupId -GroupType [-AddAncestors] [-AddBuiltins] [-Filters ] - [-Limit ] [-Offset ] [-WithCount] [] +Get-ZNGroupsRpcRule -GroupId -GroupType [-AccountName ] [-AddAncestors] + [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] [-WithCount] [] ``` ### Get ``` -Get-ZNGroupsRpcRule -GroupId -GroupType -RuleId [] +Get-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-AccountName ] + [] ``` ## DESCRIPTION @@ -104,6 +105,21 @@ This cmdlet gets a RPC Rule for a specific group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -135,7 +151,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -204,7 +220,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsRpcRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNGroupsRpcRulesDestinationCandidate.md index 89cd4fd..7151735 100644 --- a/src/ZN/docs/Get-ZNGroupsRpcRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsRpcRulesDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsrpcrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrulesdestinationcandidate schema: 2.0.0 --- # Get-ZNGroupsRpcRulesDestinationCandidate ## SYNOPSIS -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ## SYNTAX ``` -Get-ZNGroupsRpcRulesDestinationCandidate -GroupId -GroupType [-Cursor ] - [-Limit ] [-Search ] [] +Get-ZNGroupsRpcRulesDestinationCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ## EXAMPLES @@ -59,6 +59,21 @@ This cmdlet gets the possible destination candidates for a rpc rule for a specif ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md b/src/ZN/docs/Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md index 122e191..fcc012e 100644 --- a/src/ZN/docs/Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsrpcrulesexcludeddestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrulesexcludeddestinationcandidate schema: 2.0.0 --- # Get-ZNGroupsRpcRulesExcludedDestinationCandidate ## SYNOPSIS -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ## SYNTAX ``` -Get-ZNGroupsRpcRulesExcludedDestinationCandidate -GroupId -GroupType [-Cursor ] - [-Limit ] [-Search ] [] +Get-ZNGroupsRpcRulesExcludedDestinationCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ## EXAMPLES @@ -56,6 +56,21 @@ This cmdlet gets the possible excluded destination candidates for a rpc rule for ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsRpcRulesSourceCandidate.md b/src/ZN/docs/Get-ZNGroupsRpcRulesSourceCandidate.md index 112d936..a672b40 100644 --- a/src/ZN/docs/Get-ZNGroupsRpcRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsRpcRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsrpcrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrulessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates for RPC rules. ## SYNTAX ``` -Get-ZNGroupsRpcRulesSourceCandidate -GroupId -GroupType [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNGroupsRpcRulesSourceCandidate -GroupId -GroupType [-AccountName ] + [-Cursor ] [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet gets the possible source candidates for a rpc rule for a specific gr ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNGroupsRpcRulesUserCandidate.md b/src/ZN/docs/Get-ZNGroupsRpcRulesUserCandidate.md index 54e7198..c8e9509 100644 --- a/src/ZN/docs/Get-ZNGroupsRpcRulesUserCandidate.md +++ b/src/ZN/docs/Get-ZNGroupsRpcRulesUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsrpcrulesusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrpcrulesusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of user candidates for RPC rules. ## SYNTAX ``` -Get-ZNGroupsRpcRulesUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNGroupsRpcRulesUserCandidate -GroupId -GroupType [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet gets the possible user candidates for a rpc rule for a specific grou ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -112,7 +127,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNGroupsRulesDistribution.md b/src/ZN/docs/Get-ZNGroupsRulesDistribution.md index 89b26f9..a10b3f2 100644 --- a/src/ZN/docs/Get-ZNGroupsRulesDistribution.md +++ b/src/ZN/docs/Get-ZNGroupsRulesDistribution.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsrulesdistribution +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsrulesdistribution schema: 2.0.0 --- @@ -14,7 +14,7 @@ Returns an object with rules distribution. ``` Get-ZNGroupsRulesDistribution -GroupId -GroupType -RuleId -RuleDirection - [] + [-AccountName ] [] ``` ## DESCRIPTION @@ -68,6 +68,21 @@ This cmdlet returns the rules distribution for a rule for an group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Get-ZNGroupsStatistics.md b/src/ZN/docs/Get-ZNGroupsStatistics.md index 957a017..ec06230 100644 --- a/src/ZN/docs/Get-ZNGroupsStatistics.md +++ b/src/ZN/docs/Get-ZNGroupsStatistics.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zngroupsstatistics +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zngroupsstatistics schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an object with group statistics. ## SYNTAX ``` -Get-ZNGroupsStatistics [] +Get-ZNGroupsStatistics [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets group statistics for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md b/src/ZN/docs/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md new file mode 100644 index 0000000..350fe5e --- /dev/null +++ b/src/ZN/docs/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md @@ -0,0 +1,133 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityonboardingpoliciesgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNIdentityOnboardingPoliciesGroupCandidate + +## SYNOPSIS +Returns a list of candidates for identity onboarding policies. + +## SYNTAX + +``` +Get-ZNIdentityOnboardingPoliciesGroupCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for identity onboarding policies. + +## EXAMPLES + +### Example 1: List Identity onboarding policies +```powershell +Get-ZNIdentityOnboardingPolicy +``` + +```output +CreatedAt : 1720788060631 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +EnforceBlocks : +ExistingMembersLearningDays : 60 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 14cf1464-2807-490b-8009-9ce1d736fd38 +InitialProtectAt : 1725981560665 +NewMembersLearningDays : 60 +PolicyType : 2 +UpdatedAt : 1720797560665 +``` + +This cmdlet lists the identity onboarding policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNIdentityOnboardingPolicy.md b/src/ZN/docs/Get-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..5a3355f --- /dev/null +++ b/src/ZN/docs/Get-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,127 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityonboardingpolicy +schema: 2.0.0 +--- + +# Get-ZNIdentityOnboardingPolicy + +## SYNOPSIS +Returns a list of identity onboarding policies. + +## SYNTAX + +``` +Get-ZNIdentityOnboardingPolicy [-AccountName ] [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +Returns a list of identity onboarding policies. + +## EXAMPLES + +### Example 1: List candidates for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for identity onboarding policies. + +### Example 2: Search for a candidate for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search Servers).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:DkSpCxPu RDS Endpoint Servers +posh.local g:a:npRV5X4F RDS Management Servers +posh.local g:a:W2iRFLTg RDS Remote Access Servers +posh.local g:a:wklutzfZ Terminal Server License Servers +system g:s:01669ce2 Segment servers +system g:s:03669ce2 Servers +tag g:t:5V669ce2 Externally facing servers +``` + +This cmdlet also allows searching for a group name. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPoliciesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNIdentityRule.md b/src/ZN/docs/Get-ZNIdentityRule.md index cafb74c..8bf7582 100644 --- a/src/ZN/docs/Get-ZNIdentityRule.md +++ b/src/ZN/docs/Get-ZNIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityrule schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns an identity segmentation rule. ### List (Default) ``` -Get-ZNIdentityRule [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Limit ] - [-Search ] [-WithCount] [] +Get-ZNIdentityRule [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Cursor ] + [-Filters ] [-Limit ] [-Search ] [-WithCount] [] ``` ### Get ``` -Get-ZNIdentityRule -RuleId [] +Get-ZNIdentityRule -RuleId [-AccountName ] [] ``` ## DESCRIPTION @@ -83,6 +83,21 @@ This cmdlet gets an identity rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -129,7 +144,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String diff --git a/src/ZN/docs/Get-ZNIdentityRulesAssetsCandidate.md b/src/ZN/docs/Get-ZNIdentityRulesAssetsCandidate.md index ffa8bfc..d47e7d6 100644 --- a/src/ZN/docs/Get-ZNIdentityRulesAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNIdentityRulesAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znidentityrulesassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityrulesassetscandidate schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of assets candidates for Identity rules. ## SYNTAX ``` -Get-ZNIdentityRulesAssetsCandidate [-Limit ] [-Offset ] [-Search ] [] +Get-ZNIdentityRulesAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -52,6 +53,21 @@ This cmdlet lists the asset candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -77,7 +93,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNIdentityRulesExcludedAssetsCandidate.md b/src/ZN/docs/Get-ZNIdentityRulesExcludedAssetsCandidate.md index a38ae42..5b73503 100644 --- a/src/ZN/docs/Get-ZNIdentityRulesExcludedAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNIdentityRulesExcludedAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znidentityrulesexcludedassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityrulesexcludedassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of excluded assets candidates for Identity rules. ## SYNTAX ``` -Get-ZNIdentityRulesExcludedAssetsCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNIdentityRulesExcludedAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -50,6 +50,21 @@ This cmdlet lists excluded asset candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -75,7 +90,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNIdentityRulesUserCandidate.md b/src/ZN/docs/Get-ZNIdentityRulesUserCandidate.md index f8f216f..e569f11 100644 --- a/src/ZN/docs/Get-ZNIdentityRulesUserCandidate.md +++ b/src/ZN/docs/Get-ZNIdentityRulesUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znidentityrulesusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znidentityrulesusercandidate schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of user candidates for Identity rules. ## SYNTAX ``` -Get-ZNIdentityRulesUserCandidate [-Limit ] [-Offset ] [-Search ] [] +Get-ZNIdentityRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] ``` ## DESCRIPTION @@ -55,6 +56,21 @@ This cmdlet lists the user candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -80,7 +96,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNInboundRule.md b/src/ZN/docs/Get-ZNInboundRule.md index f71e18b..dd2222d 100644 --- a/src/ZN/docs/Get-ZNInboundRule.md +++ b/src/ZN/docs/Get-ZNInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zninboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zninboundrule schema: 2.0.0 --- @@ -14,13 +14,14 @@ Returns the properties of an Inbound rule. ### List (Default) ``` -Get-ZNInboundRule [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Limit ] - [-Offset ] [-WithCount] [] +Get-ZNInboundRule [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] + [-EntityParams ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] ``` ### Get ``` -Get-ZNInboundRule -RuleId [] +Get-ZNInboundRule -RuleId [-AccountName ] [] ``` ## DESCRIPTION @@ -97,6 +98,21 @@ Get a specific inbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -127,6 +143,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EntityParams JSON string URI encoded object {id: string, direction: AssetDirection} @@ -143,7 +174,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -180,6 +211,36 @@ Type: System.Int32 Parameter Sets: List Aliases: +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + Required: False Position: Named Default value: None diff --git a/src/ZN/docs/Get-ZNInboundRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNInboundRulesDestinationCandidate.md index 8d57aa1..aaa7029 100644 --- a/src/ZN/docs/Get-ZNInboundRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNInboundRulesDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zninboundrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zninboundrulesdestinationcandidate schema: 2.0.0 --- # Get-ZNInboundRulesDestinationCandidate ## SYNOPSIS -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ## SYNTAX ``` -Get-ZNInboundRulesDestinationCandidate [-Cursor ] [-Limit ] [-Search ] - [] +Get-ZNInboundRulesDestinationCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] ``` ## DESCRIPTION -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ## EXAMPLES @@ -70,6 +70,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNInboundRulesExcludedDestinationCandidate.md b/src/ZN/docs/Get-ZNInboundRulesExcludedDestinationCandidate.md index 12d087c..9cb5fb9 100644 --- a/src/ZN/docs/Get-ZNInboundRulesExcludedDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNInboundRulesExcludedDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zninboundrulesexcludeddestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zninboundrulesexcludeddestinationcandidate schema: 2.0.0 --- # Get-ZNInboundRulesExcludedDestinationCandidate ## SYNOPSIS -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ## SYNTAX ``` -Get-ZNInboundRulesExcludedDestinationCandidate [-Cursor ] [-Limit ] [-Search ] - [] +Get-ZNInboundRulesExcludedDestinationCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] ``` ## DESCRIPTION -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ## EXAMPLES @@ -67,6 +67,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNInboundRulesSourceCandidate.md b/src/ZN/docs/Get-ZNInboundRulesSourceCandidate.md index a9b39d7..abff11f 100644 --- a/src/ZN/docs/Get-ZNInboundRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNInboundRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zninboundrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zninboundrulessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates for Inbound rules. ## SYNTAX ``` -Get-ZNInboundRulesSourceCandidate -RuleType [-Cursor ] [-Limit ] [-Search ] - [] +Get-ZNInboundRulesSourceCandidate -RuleType [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] ``` ## DESCRIPTION @@ -55,6 +55,21 @@ This cmdlet lists the source candidates for an inbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNMfaIdentityPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNMfaIdentityPoliciesDestinationCandidate.md index 07e9a07..8d1cfa8 100644 --- a/src/ZN/docs/Get-ZNMfaIdentityPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNMfaIdentityPoliciesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaidentitypoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the destination of an identity MFA policy. ## SYNTAX ``` -Get-ZNMfaIdentityPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaIdentityPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -49,6 +49,21 @@ This cmdlet gets destination candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -74,7 +89,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md index 89575c5..deb0015 100644 --- a/src/ZN/docs/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaidentitypoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the excluded sources of an Identity MFA policy. ## SYNTAX ``` -Get-ZNMfaIdentityPoliciesExcludedSourceCandidate [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate [-AccountName ] [-IsSrcAssetUnmonitored] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -46,6 +46,21 @@ This cmdlet gets excluded source candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IsSrcAssetUnmonitored filter for unmonitored sources @@ -86,7 +101,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaIdentityPoliciesMfamethod.md b/src/ZN/docs/Get-ZNMfaIdentityPoliciesMfamethod.md index f3e2a1e..ab58c36 100644 --- a/src/ZN/docs/Get-ZNMfaIdentityPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNMfaIdentityPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaidentitypoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of MFA methods for Identity MFA policies. ## SYNTAX ``` -Get-ZNMfaIdentityPoliciesMfamethod [] +Get-ZNMfaIdentityPoliciesMfamethod [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets MFA methods for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNMfaIdentityPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNMfaIdentityPoliciesSourceCandidate.md index cfb2936..11fab0b 100644 --- a/src/ZN/docs/Get-ZNMfaIdentityPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNMfaIdentityPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaidentitypoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on Identity MFA policies. ## SYNTAX ``` -Get-ZNMfaIdentityPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaIdentityPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -46,6 +46,21 @@ This cmdlet gets source candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -71,7 +86,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaIdentityPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNMfaIdentityPoliciesSourceUserCandidate.md index f074e15..6c08d94 100644 --- a/src/ZN/docs/Get-ZNMfaIdentityPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNMfaIdentityPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaidentitypoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source user candidates for Identity MFA policies. ## SYNTAX ``` -Get-ZNMfaIdentityPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaIdentityPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -56,6 +56,21 @@ This cmdlet lists the source user candidates for an inbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -81,7 +96,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaIdentityPolicy.md b/src/ZN/docs/Get-ZNMfaIdentityPolicy.md index d04c3f5..fc1374a 100644 --- a/src/ZN/docs/Get-ZNMfaIdentityPolicy.md +++ b/src/ZN/docs/Get-ZNMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaidentitypolicy schema: 2.0.0 --- @@ -14,13 +14,14 @@ Returns a Identity MFA policy object. ### List (Default) ``` -Get-ZNMfaIdentityPolicy [-AddAncestors] [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] - [-Order ] [-OrderColumns ] [-WithCount] [] +Get-ZNMfaIdentityPolicy [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Filters ] + [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] + [] ``` ### Get ``` -Get-ZNMfaIdentityPolicy -ReactivePolicyId [] +Get-ZNMfaIdentityPolicy -ReactivePolicyId [-AccountName ] [] ``` ## DESCRIPTION @@ -108,6 +109,21 @@ This cmdlet gets an Identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -139,7 +155,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -178,7 +194,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaInboundPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNMfaInboundPoliciesDestinationCandidate.md index 0ebc615..62d74cb 100644 --- a/src/ZN/docs/Get-ZNMfaInboundPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNMfaInboundPoliciesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfainboundpoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the destination of an inbound MFA policy. ## SYNTAX ``` -Get-ZNMfaInboundPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaInboundPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -70,6 +70,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -95,7 +110,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md index c8c8759..779cbae 100644 --- a/src/ZN/docs/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfainboundpoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the excluded sources of an inbound MFA policy. ## SYNTAX ``` -Get-ZNMfaInboundPoliciesExcludedSourceCandidate [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNMfaInboundPoliciesExcludedSourceCandidate [-AccountName ] [-IsSrcAssetUnmonitored] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -70,6 +70,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IsSrcAssetUnmonitored filter for unmonitored sources @@ -110,7 +125,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaInboundPoliciesMfamethod.md b/src/ZN/docs/Get-ZNMfaInboundPoliciesMfamethod.md index 8c944d6..1708bba 100644 --- a/src/ZN/docs/Get-ZNMfaInboundPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNMfaInboundPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfainboundpoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of MFA methods for inbound MFA policies. ## SYNTAX ``` -Get-ZNMfaInboundPoliciesMfamethod [] +Get-ZNMfaInboundPoliciesMfamethod [-AccountName ] [] ``` ## DESCRIPTION @@ -44,6 +44,21 @@ The values are mapped to: ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNMfaInboundPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNMfaInboundPoliciesSourceCandidate.md index cd2125d..a0f503b 100644 --- a/src/ZN/docs/Get-ZNMfaInboundPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNMfaInboundPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfainboundpoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on inbound MFA policies. ## SYNTAX ``` -Get-ZNMfaInboundPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaInboundPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -69,6 +69,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -94,7 +109,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaInboundPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNMfaInboundPoliciesSourceUserCandidate.md index 90b9ba8..c60a7a8 100644 --- a/src/ZN/docs/Get-ZNMfaInboundPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNMfaInboundPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfainboundpoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source user candidates for inbound MFA policies. ## SYNTAX ``` -Get-ZNMfaInboundPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaInboundPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -72,6 +72,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -97,7 +112,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaInboundPolicy.md b/src/ZN/docs/Get-ZNMfaInboundPolicy.md index ee0ce04..34122c1 100644 --- a/src/ZN/docs/Get-ZNMfaInboundPolicy.md +++ b/src/ZN/docs/Get-ZNMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfainboundpolicy schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns a inbound MFA policy object. ### List (Default) ``` -Get-ZNMfaInboundPolicy [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] - [-Limit ] [-Offset ] [] +Get-ZNMfaInboundPolicy [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EntityId ] + [-Filters ] [-Limit ] [-Offset ] [] ``` ### Get ``` -Get-ZNMfaInboundPolicy -ReactivePolicyId [] +Get-ZNMfaInboundPolicy -ReactivePolicyId [-AccountName ] [] ``` ## DESCRIPTION @@ -81,6 +81,21 @@ Get a specific inbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -127,7 +142,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -166,7 +181,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaOutboundPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNMfaOutboundPoliciesDestinationCandidate.md index 0323b92..d04597a 100644 --- a/src/ZN/docs/Get-ZNMfaOutboundPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNMfaOutboundPoliciesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaoutboundpoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of destination candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNMfaOutboundPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaOutboundPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -52,6 +52,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -77,7 +92,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md index be63432..78b1e39 100644 --- a/src/ZN/docs/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaoutboundpoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the excluded sources of an outbound MFA policy. ## SYNTAX ``` -Get-ZNMfaOutboundPoliciesExcludedSourceCandidate [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate [-AccountName ] [-IsSrcAssetUnmonitored] + [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -52,6 +52,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IsSrcAssetUnmonitored filter for unmonitored sources @@ -92,7 +107,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaOutboundPoliciesMfamethod.md b/src/ZN/docs/Get-ZNMfaOutboundPoliciesMfamethod.md index 2f473ed..f9cf205 100644 --- a/src/ZN/docs/Get-ZNMfaOutboundPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNMfaOutboundPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaoutboundpoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of MFA methods on outbound MFA policies. ## SYNTAX ``` -Get-ZNMfaOutboundPoliciesMfamethod [] +Get-ZNMfaOutboundPoliciesMfamethod [-AccountName ] [] ``` ## DESCRIPTION @@ -44,6 +44,21 @@ The values are mapped to: ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNMfaOutboundPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNMfaOutboundPoliciesSourceCandidate.md index e3b79c0..3870ec6 100644 --- a/src/ZN/docs/Get-ZNMfaOutboundPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNMfaOutboundPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaoutboundpoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNMfaOutboundPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaOutboundPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -70,6 +70,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -95,7 +110,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaOutboundPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNMfaOutboundPoliciesSourceUserCandidate.md index 38c258c..f17e9ca 100644 --- a/src/ZN/docs/Get-ZNMfaOutboundPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNMfaOutboundPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaoutboundpoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source users candidates on outbound MFA policies. ## SYNTAX ``` -Get-ZNMfaOutboundPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNMfaOutboundPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -72,6 +72,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -97,7 +112,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaOutboundPolicy.md b/src/ZN/docs/Get-ZNMfaOutboundPolicy.md index 0c22ae4..a286018 100644 --- a/src/ZN/docs/Get-ZNMfaOutboundPolicy.md +++ b/src/ZN/docs/Get-ZNMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfaoutboundpolicy schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns the properties of an outbound MFA policy. ### List (Default) ``` -Get-ZNMfaOutboundPolicy [-AddAncestors] [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] - [] +Get-ZNMfaOutboundPolicy [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Filters ] + [-Limit ] [-Offset ] [] ``` ### Get ``` -Get-ZNMfaOutboundPolicy -ReactivePolicyId [] +Get-ZNMfaOutboundPolicy -ReactivePolicyId [-AccountName ] [] ``` ## DESCRIPTION @@ -74,6 +74,21 @@ Get a specific outbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -105,7 +120,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -144,7 +159,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNMfaPoliciesDistribution.md b/src/ZN/docs/Get-ZNMfaPoliciesDistribution.md index 678c009..1ab2e2f 100644 --- a/src/ZN/docs/Get-ZNMfaPoliciesDistribution.md +++ b/src/ZN/docs/Get-ZNMfaPoliciesDistribution.md @@ -1,23 +1,23 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfapoliciesdistribution +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfapoliciesdistribution schema: 2.0.0 --- # Get-ZNMfaPoliciesDistribution ## SYNOPSIS -Returns and object with MFA distrubiton. +Returns and object with MFA distribution. ## SYNTAX ``` -Get-ZNMfaPoliciesDistribution [] +Get-ZNMfaPoliciesDistribution [-AccountName ] [] ``` ## DESCRIPTION -Returns and object with MFA distrubiton. +Returns and object with MFA distribution. ## EXAMPLES @@ -67,6 +67,21 @@ There is a count for accepted, rejected and a timestamp (epoch(ms)) for each. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNMfaPoliciesStatistics.md b/src/ZN/docs/Get-ZNMfaPoliciesStatistics.md index 14a643f..e1bbc50 100644 --- a/src/ZN/docs/Get-ZNMfaPoliciesStatistics.md +++ b/src/ZN/docs/Get-ZNMfaPoliciesStatistics.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znmfapoliciesstatistics +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znmfapoliciesstatistics schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an object with MFA statistics. ## SYNTAX ``` -Get-ZNMfaPoliciesStatistics [] +Get-ZNMfaPoliciesStatistics [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet gets a total count of MFA polcies for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md b/src/ZN/docs/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md new file mode 100644 index 0000000..49c241f --- /dev/null +++ b/src/ZN/docs/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md @@ -0,0 +1,143 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znnetworkonboardingpoliciesgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNNetworkOnboardingPoliciesGroupCandidate + +## SYNOPSIS +Returns a list of candidates for a network onboarding policy. + +## SYNTAX + +``` +Get-ZNNetworkOnboardingPoliciesGroupCandidate [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] +``` + +## DESCRIPTION +Returns a list of candidates for a network onboarding policy. + +## EXAMPLES + +### Example 1: List candidates for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for identity onboarding policies. + +### Example 2: Search for a candidate for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search Servers).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:DkSpCxPu RDS Endpoint Servers +posh.local g:a:npRV5X4F RDS Management Servers +posh.local g:a:W2iRFLTg RDS Remote Access Servers +posh.local g:a:wklutzfZ Terminal Server License Servers +system g:s:01669ce2 Segment servers +system g:s:03669ce2 Servers +tag g:t:5V669ce2 Externally facing servers +``` + +This cmdlet also allows searching for a group name. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNNetworkOnboardingPolicy.md b/src/ZN/docs/Get-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..02db359 --- /dev/null +++ b/src/ZN/docs/Get-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,117 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znnetworkonboardingpolicy +schema: 2.0.0 +--- + +# Get-ZNNetworkOnboardingPolicy + +## SYNOPSIS +Returns a list of network onboarding policies. + +## SYNTAX + +``` +Get-ZNNetworkOnboardingPolicy [-AccountName ] [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +Returns a list of network onboarding policies. + +## EXAMPLES + +### Example 1: List Network onboarding policies +```powershell +Get-ZNNetworkOnboardingPolicy +``` + +```output +CreatedAt : 1720788122962 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +EnforceBlocks : False +ExistingMembersLearningDays : 60 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 22c13631-c31d-4698-a875-fa1327cf01b5 +InitialProtectAt : 1726924854503 +NewMembersLearningDays : 30 +PolicyType : 1 +UpdatedAt : 1721740854504 +``` + +This cmdlet lists the network onboarding policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPoliciesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNOutboundRule.md b/src/ZN/docs/Get-ZNOutboundRule.md index c359e0d..8678709 100644 --- a/src/ZN/docs/Get-ZNOutboundRule.md +++ b/src/ZN/docs/Get-ZNOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrule schema: 2.0.0 --- @@ -14,13 +14,14 @@ Returns the properties of an Outbound rule. ### List (Default) ``` -Get-ZNOutboundRule [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] - [-Limit ] [-Offset ] [-WithCount] [] +Get-ZNOutboundRule [-AccountName ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] + [-EntityParams ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] ``` ### Get ``` -Get-ZNOutboundRule -RuleId [] +Get-ZNOutboundRule -RuleId [-AccountName ] [] ``` ## DESCRIPTION @@ -77,6 +78,21 @@ Get a specific outbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -107,6 +123,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EnrichRemoteIps +enrich remote IPs + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EntityParams JSON string URI encoded object {id: string, direction: AssetDirection} @@ -123,7 +154,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -160,6 +191,36 @@ Type: System.Int32 Parameter Sets: List Aliases: +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + Required: False Position: Named Default value: None diff --git a/src/ZN/docs/Get-ZNOutboundRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNOutboundRulesDestinationCandidate.md index 87dfa23..2d239bc 100644 --- a/src/ZN/docs/Get-ZNOutboundRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNOutboundRulesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znoutboundrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrulesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of destination candidates for Outbound rules. ## SYNTAX ``` -Get-ZNOutboundRulesDestinationCandidate -RuleType [-Cursor ] [-Limit ] - [-Search ] [] +Get-ZNOutboundRulesDestinationCandidate -RuleType [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -68,6 +68,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNOutboundRulesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNOutboundRulesExcludedSourceCandidate.md index fef2987..9233eb6 100644 --- a/src/ZN/docs/Get-ZNOutboundRulesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNOutboundRulesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znoutboundrulesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrulesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of excluded source candidates for Outbound rules. ## SYNTAX ``` -Get-ZNOutboundRulesExcludedSourceCandidate [-Cursor ] [-Limit ] [-Search ] - [] +Get-ZNOutboundRulesExcludedSourceCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] ``` ## DESCRIPTION @@ -67,6 +67,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNOutboundRulesSourceCandidate.md b/src/ZN/docs/Get-ZNOutboundRulesSourceCandidate.md index ebc4123..dd4bc69 100644 --- a/src/ZN/docs/Get-ZNOutboundRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNOutboundRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znoutboundrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrulessourcecandidate schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of source candidates for Outbound rules. ## SYNTAX ``` -Get-ZNOutboundRulesSourceCandidate [-Cursor ] [-Limit ] [-Search ] [] +Get-ZNOutboundRulesSourceCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] ``` ## DESCRIPTION @@ -69,6 +70,21 @@ To find a specific candidate use the search parameter with the Name to be search ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNOutboundRulesUserCandidate.md b/src/ZN/docs/Get-ZNOutboundRulesUserCandidate.md new file mode 100644 index 0000000..f653f22 --- /dev/null +++ b/src/ZN/docs/Get-ZNOutboundRulesUserCandidate.md @@ -0,0 +1,123 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znoutboundrulesusercandidate +schema: 2.0.0 +--- + +# Get-ZNOutboundRulesUserCandidate + +## SYNOPSIS +Returns a list of users candidates for Outbound rules. + +## SYNTAX + +``` +Get-ZNOutboundRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of users candidates for Outbound rules. + +## EXAMPLES + +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNOutboundRulesUserCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNProtectionPoliciesGroupCandidate.md b/src/ZN/docs/Get-ZNProtectionPoliciesGroupCandidate.md deleted file mode 100644 index 7c11260..0000000 --- a/src/ZN/docs/Get-ZNProtectionPoliciesGroupCandidate.md +++ /dev/null @@ -1,121 +0,0 @@ ---- -external help file: -Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znprotectionpoliciesgroupcandidate -schema: 2.0.0 ---- - -# Get-ZNProtectionPoliciesGroupCandidate - -## SYNOPSIS -Returns a list of candidates for protection policies. - -## SYNTAX - -``` -Get-ZNProtectionPoliciesGroupCandidate [-Limit ] [-Offset ] [-Search ] - [] -``` - -## DESCRIPTION -Returns a list of candidates for protection policies. - -## EXAMPLES - -### Example 1: List candidates for protection policies -```powershell -(Get-ZNProtectionPoliciesGroupCandidate).Items -``` - -```output -Domain HasProtectionPolicy Id Name ------- ------------------- -- ---- -zero.labs False g:a:yu1gHyge Access Control Assistance Operators -zero.labs False g:a:LXwCiIyG Account Operators -tag False g:t:32276c2c Acronis backup -zero.labs False g:a:ukYAIg2J Administrators -zero.labs False g:a:zpYqGY8G Allowed RODC Password Replication Group -tag False g:t:10276c2c Asset management -zero.labs False g:a:GqUGqkiM Backup Operators -tag False g:t:23276c2c Backup servers -tag False g:t:37276c2c Certificate Authority -zero.labs False g:a:zobH4QmN Certificate Service DCOM Access -``` - -The cmdlet gets candidates for protection policies for the environment - -### Example 2: Search for a candidate -```powershell -(Get-ZNProtectionPoliciesGroupCandidate -Search Clients).Items -``` - -```output -Domain HasProtectionPolicy Id Name ------- ------------------- -- ---- -system False g:s:04276c2c Clients -``` - -To find a specific candidate use the search parameter with the Name to be searched. - -## PARAMETERS - -### -Limit -Limit the return results - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: 10 -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Offset -Used to page through results - -```yaml -Type: System.Int32 -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Search -Test to search for - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### CommonParameters -This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -## OUTPUTS - -### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError - -### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupCandidatesList - -## NOTES - -## RELATED LINKS - diff --git a/src/ZN/docs/Get-ZNRpcRule.md b/src/ZN/docs/Get-ZNRpcRule.md index 9f67402..7b0cf4d 100644 --- a/src/ZN/docs/Get-ZNRpcRule.md +++ b/src/ZN/docs/Get-ZNRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrule schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns the properties of an RPC rule. ### List (Default) ``` -Get-ZNRpcRule [-AddAncestors] [-AddBuiltins] [-Filters ] [-Limit ] [-Offset ] - [-WithCount] [] +Get-ZNRpcRule [-AccountName ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Limit ] + [-Offset ] [-WithCount] [] ``` ### Get ``` -Get-ZNRpcRule -RuleId [] +Get-ZNRpcRule -RuleId [-AccountName ] [] ``` ## DESCRIPTION @@ -104,6 +104,21 @@ This cmdlet gets a RPC Rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -135,7 +150,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -174,7 +189,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNRpcRulesDestinationCandidate.md b/src/ZN/docs/Get-ZNRpcRulesDestinationCandidate.md index 70f21c8..7775c5c 100644 --- a/src/ZN/docs/Get-ZNRpcRulesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNRpcRulesDestinationCandidate.md @@ -1,23 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znrpcrulesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrulesdestinationcandidate schema: 2.0.0 --- # Get-ZNRpcRulesDestinationCandidate ## SYNOPSIS -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ## SYNTAX ``` -Get-ZNRpcRulesDestinationCandidate [-Cursor ] [-Limit ] [-Search ] [] +Get-ZNRpcRulesDestinationCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] ``` ## DESCRIPTION -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ## EXAMPLES @@ -55,6 +56,21 @@ This cmdlet gets the possible destination candidates for a rpc rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNRpcRulesExcludedDestinationCandidate.md b/src/ZN/docs/Get-ZNRpcRulesExcludedDestinationCandidate.md index 4e28bbf..870f7ef 100644 --- a/src/ZN/docs/Get-ZNRpcRulesExcludedDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNRpcRulesExcludedDestinationCandidate.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znrpcrulesexcludeddestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrulesexcludeddestinationcandidate schema: 2.0.0 --- # Get-ZNRpcRulesExcludedDestinationCandidate ## SYNOPSIS -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ## SYNTAX ``` -Get-ZNRpcRulesExcludedDestinationCandidate [-Cursor ] [-Limit ] [-Search ] - [] +Get-ZNRpcRulesExcludedDestinationCandidate [-AccountName ] [-Cursor ] [-Limit ] + [-Search ] [] ``` ## DESCRIPTION -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ## EXAMPLES @@ -56,6 +56,21 @@ This cmdlet gets the possible excluded destination candidates for a rpc rule for ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNRpcRulesSourceCandidate.md b/src/ZN/docs/Get-ZNRpcRulesSourceCandidate.md index b211b8b..228fb3d 100644 --- a/src/ZN/docs/Get-ZNRpcRulesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNRpcRulesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znrpcrulessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrulessourcecandidate schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of source candidates for RPC rules. ## SYNTAX ``` -Get-ZNRpcRulesSourceCandidate [-Cursor ] [-Limit ] [-Search ] [] +Get-ZNRpcRulesSourceCandidate [-AccountName ] [-Cursor ] [-Limit ] [-Search ] + [] ``` ## DESCRIPTION @@ -56,6 +57,21 @@ This cmdlet gets the possible source candidates for a rpc rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNRpcRulesUserCandidate.md b/src/ZN/docs/Get-ZNRpcRulesUserCandidate.md index 0cefac9..b87d62f 100644 --- a/src/ZN/docs/Get-ZNRpcRulesUserCandidate.md +++ b/src/ZN/docs/Get-ZNRpcRulesUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znrpcrulesusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrpcrulesusercandidate schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of user candidates for RPC rules. ## SYNTAX ``` -Get-ZNRpcRulesUserCandidate [-Limit ] [-Offset ] [-Search ] [] +Get-ZNRpcRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] ``` ## DESCRIPTION @@ -56,6 +57,21 @@ This cmdlet gets the possible user candidates for a rpc rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -81,7 +97,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNRulesDistribution.md b/src/ZN/docs/Get-ZNRulesDistribution.md index 2ae1a98..685704a 100644 --- a/src/ZN/docs/Get-ZNRulesDistribution.md +++ b/src/ZN/docs/Get-ZNRulesDistribution.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znrulesdistribution +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrulesdistribution schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an object with rules distribution. ## SYNTAX ``` -Get-ZNRulesDistribution -RuleId -RuleDirection [] +Get-ZNRulesDistribution -RuleId -RuleDirection [-AccountName ] [] ``` ## DESCRIPTION @@ -67,6 +67,21 @@ Rule direction is 1 for inbound rules and 2 for outbound rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDirection direction of the rule (1-Inbound, 2-Outbound) diff --git a/src/ZN/docs/Get-ZNRulesStatistics.md b/src/ZN/docs/Get-ZNRulesStatistics.md index e4334fb..fdc5b76 100644 --- a/src/ZN/docs/Get-ZNRulesStatistics.md +++ b/src/ZN/docs/Get-ZNRulesStatistics.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znrulesstatistics +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znrulesstatistics schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an object with rule statistics. ## SYNTAX ``` -Get-ZNRulesStatistics [] +Get-ZNRulesStatistics [-AccountName ] [] ``` ## DESCRIPTION @@ -65,6 +65,21 @@ This cmdlet lists the rules statistics for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSegmentServer.md b/src/ZN/docs/Get-ZNSegmentServer.md index ebf4ec4..a13e622 100644 --- a/src/ZN/docs/Get-ZNSegmentServer.md +++ b/src/ZN/docs/Get-ZNSegmentServer.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsegmentserver +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsegmentserver schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of segment servers. ## SYNTAX ``` -Get-ZNSegmentServer [] +Get-ZNSegmentServer [-AccountName ] [] ``` ## DESCRIPTION @@ -42,6 +42,21 @@ This cmdlet lists all Segment servers for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSession.md b/src/ZN/docs/Get-ZNSession.md index a3f10e2..ec0bee9 100644 --- a/src/ZN/docs/Get-ZNSession.md +++ b/src/ZN/docs/Get-ZNSession.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsession +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsession schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns a list of Connect sessions. ## SYNTAX ``` -Get-ZNSession [-Filters ] [-Limit ] [-Offset ] [] +Get-ZNSession [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [] ``` ## DESCRIPTION @@ -36,8 +37,23 @@ This cmdlet lists Connect sessions. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -76,7 +92,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsAad.md b/src/ZN/docs/Get-ZNSettingsAad.md index 20193d4..10f904e 100644 --- a/src/ZN/docs/Get-ZNSettingsAad.md +++ b/src/ZN/docs/Get-ZNSettingsAad.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsaad +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsaad schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Azure AD Settings ## SYNTAX ``` -Get-ZNSettingsAad [] +Get-ZNSettingsAad [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the aad setings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsAd.md b/src/ZN/docs/Get-ZNSettingsAd.md index f24bdff..02ea6ff 100644 --- a/src/ZN/docs/Get-ZNSettingsAd.md +++ b/src/ZN/docs/Get-ZNSettingsAd.md @@ -1,23 +1,23 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsad +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsad schema: 2.0.0 --- # Get-ZNSettingsAd ## SYNOPSIS -Get the AD settings in Asset Managment +Get the AD settings in Asset Management ## SYNTAX ``` -Get-ZNSettingsAd [] +Get-ZNSettingsAd [-AccountName ] [] ``` ## DESCRIPTION -Get the AD settings in Asset Managment +Get the AD settings in Asset Management ## EXAMPLES @@ -27,15 +27,49 @@ Get-ZNSettingsAd ``` ```output -ForestId --------- -f:a:0bec706b +ActiveDirectoryInfoAllowInstallLinuxPackages : True +ActiveDirectoryInfoDomainControllerFqdn : dc01.posh.local +ActiveDirectoryInfoDomainName : posh.local +ActiveDirectoryInfoUseLdaps : False +ActiveDirectoryInfoUserFqdn : znremotemanagement +AllowNtlmFallback : True +AutomationGroupsMonitoredGroupDomain : +AutomationGroupsMonitoredGroupHasProtectionPolicy : +AutomationGroupsMonitoredGroupId : b:110003 +AutomationGroupsMonitoredGroupName : All AD assets +ForestId : f:a:0bec706b +LinuxAutomationGroupsMonitoredGroupDomain : +LinuxAutomationGroupsMonitoredGroupHasProtectionPolicy : +LinuxAutomationGroupsMonitoredGroupId : b:110003 +LinuxAutomationGroupsMonitoredGroupName : All AD assets +ProtectedGroupDomain : posh.local +ProtectedGroupHasProtectionPolicy : +ProtectedGroupId : g:a:s2FnXfXk +ProtectedGroupName : ZeroNetworksProtectedAssets-DoNotModify +SecondaryDomains : {} +UsePrimaryLinuxUserForAllDomains : True +UsePrimaryUserForAllDomains : True ``` This cmdlet returns the AD forest Id settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsAdMonitoredCandidate.md b/src/ZN/docs/Get-ZNSettingsAdMonitoredCandidate.md index 6d96e1d..e328b67 100644 --- a/src/ZN/docs/Get-ZNSettingsAdMonitoredCandidate.md +++ b/src/ZN/docs/Get-ZNSettingsAdMonitoredCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsadmonitoredcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsadmonitoredcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of monitoring candidates for an AD forest. ## SYNTAX ``` -Get-ZNSettingsAdMonitoredCandidate -ForestId [-Cursor ] [-Limit ] [-Search ] - [] +Get-ZNSettingsAdMonitoredCandidate -ForestId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -50,6 +50,21 @@ This cmdlet lists possible candidates for monitoring control in Active Directory ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNSettingsAdProtectedCandidate.md b/src/ZN/docs/Get-ZNSettingsAdProtectedCandidate.md index 729a94d..1de3411 100644 --- a/src/ZN/docs/Get-ZNSettingsAdProtectedCandidate.md +++ b/src/ZN/docs/Get-ZNSettingsAdProtectedCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsadprotectedcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsadprotectedcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of protection candidates for an AD forest. ## SYNTAX ``` -Get-ZNSettingsAdProtectedCandidate -ForestId [-Cursor ] [-Limit ] [-Search ] - [] +Get-ZNSettingsAdProtectedCandidate -ForestId [-AccountName ] [-Cursor ] + [-Limit ] [-Search ] [] ``` ## DESCRIPTION @@ -47,6 +47,21 @@ This cmdlet lists possible candidates for protected control in Active Directory ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at diff --git a/src/ZN/docs/Get-ZNSettingsAnsible.md b/src/ZN/docs/Get-ZNSettingsAnsible.md index 49845d3..205c22c 100644 --- a/src/ZN/docs/Get-ZNSettingsAnsible.md +++ b/src/ZN/docs/Get-ZNSettingsAnsible.md @@ -1,23 +1,23 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsansible +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsansible schema: 2.0.0 --- # Get-ZNSettingsAnsible ## SYNOPSIS -Get the Ansible settings in Asset Managment +Get the Ansible settings in Asset Management ## SYNTAX ``` -Get-ZNSettingsAnsible [] +Get-ZNSettingsAnsible [-AccountName ] [] ``` ## DESCRIPTION -Get the Ansible settings in Asset Managment +Get the Ansible settings in Asset Management ## EXAMPLES @@ -36,6 +36,21 @@ This cmdlet returns the Ansible settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsAssetManager.md b/src/ZN/docs/Get-ZNSettingsAssetManager.md index d7c3626..68c92da 100644 --- a/src/ZN/docs/Get-ZNSettingsAssetManager.md +++ b/src/ZN/docs/Get-ZNSettingsAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsassetmanager schema: 2.0.0 --- @@ -13,7 +13,7 @@ List asset managers ## SYNTAX ``` -Get-ZNSettingsAssetManager [-Limit ] [-Offset ] [] +Get-ZNSettingsAssetManager [-AccountName ] [-Limit ] [-Offset ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet lists all asset managers from Settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -61,7 +76,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsAuth.md b/src/ZN/docs/Get-ZNSettingsAuth.md index d5ce803..0fad950 100644 --- a/src/ZN/docs/Get-ZNSettingsAuth.md +++ b/src/ZN/docs/Get-ZNSettingsAuth.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsauth +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsauth schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get the portal security settings ## SYNTAX ``` -Get-ZNSettingsAuth [] +Get-ZNSettingsAuth [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet returns the Portal Security setting under System. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsBreakGlass.md b/src/ZN/docs/Get-ZNSettingsBreakGlass.md index 228a9fe..3616293 100644 --- a/src/ZN/docs/Get-ZNSettingsBreakGlass.md +++ b/src/ZN/docs/Get-ZNSettingsBreakGlass.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsbreakglass +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsbreakglass schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get break glass settings ## SYNTAX ``` -Get-ZNSettingsBreakGlass [] +Get-ZNSettingsBreakGlass [-AccountName ] [] ``` ## DESCRIPTION @@ -39,6 +39,21 @@ This cmdlet gets the cloud break glass settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsClientSubnet.md b/src/ZN/docs/Get-ZNSettingsClientSubnet.md index 7ef197a..2d38403 100644 --- a/src/ZN/docs/Get-ZNSettingsClientSubnet.md +++ b/src/ZN/docs/Get-ZNSettingsClientSubnet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsclientsubnet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsclientsubnet schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Client Subnets settings in System ## SYNTAX ``` -Get-ZNSettingsClientSubnet [] +Get-ZNSettingsClientSubnet [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets the client subnet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsClientsTrustedInternet.md b/src/ZN/docs/Get-ZNSettingsClientsTrustedInternet.md index f48f758..62d8986 100644 --- a/src/ZN/docs/Get-ZNSettingsClientsTrustedInternet.md +++ b/src/ZN/docs/Get-ZNSettingsClientsTrustedInternet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsclientstrustedinternet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsclientstrustedinternet schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Clients Trusted Internet settings in System ## SYNTAX ``` -Get-ZNSettingsClientsTrustedInternet [] +Get-ZNSettingsClientsTrustedInternet [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet lists the clients trusted internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsClientsUntrustedInternet.md b/src/ZN/docs/Get-ZNSettingsClientsUntrustedInternet.md index 245d064..140cdbc 100644 --- a/src/ZN/docs/Get-ZNSettingsClientsUntrustedInternet.md +++ b/src/ZN/docs/Get-ZNSettingsClientsUntrustedInternet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsclientsuntrustedinternet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsclientsuntrustedinternet schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Clients Untrusted Internet settings in System ## SYNTAX ``` -Get-ZNSettingsClientsUntrustedInternet [] +Get-ZNSettingsClientsUntrustedInternet [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet lists the clients untrusted internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsClusterStrategy.md b/src/ZN/docs/Get-ZNSettingsClusterStrategy.md index 061d008..cfc2532 100644 --- a/src/ZN/docs/Get-ZNSettingsClusterStrategy.md +++ b/src/ZN/docs/Get-ZNSettingsClusterStrategy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsclusterstrategy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsclusterstrategy schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns cluster strategy configuration. ## SYNTAX ``` -Get-ZNSettingsClusterStrategy [] +Get-ZNSettingsClusterStrategy [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the current setting for Segment server cluster strategy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsConnectClientAutoUpdate.md b/src/ZN/docs/Get-ZNSettingsConnectClientAutoUpdate.md index cd2364a..e5f3d73 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectClientAutoUpdate.md +++ b/src/ZN/docs/Get-ZNSettingsConnectClientAutoUpdate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectclientautoupdate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectclientautoupdate schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Connect client auto update in Settings ## SYNTAX ``` -Get-ZNSettingsConnectClientAutoUpdate [] +Get-ZNSettingsConnectClientAutoUpdate [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet returns the connect client auto update settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsConnectRegion.md b/src/ZN/docs/Get-ZNSettingsConnectRegion.md index 0527fdd..df77cb1 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectRegion.md +++ b/src/ZN/docs/Get-ZNSettingsConnectRegion.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectregion +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectregion schema: 2.0.0 --- @@ -13,7 +13,7 @@ List Connect Regions in Settings ## SYNTAX ``` -Get-ZNSettingsConnectRegion [-Limit ] [-Offset ] [] +Get-ZNSettingsConnectRegion [-AccountName ] [-Limit ] [-Offset ] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ This cmdlet lists the Connect regsion settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -62,7 +77,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsConnectServer.md b/src/ZN/docs/Get-ZNSettingsConnectServer.md index 1c7691e..0403454 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectServer.md +++ b/src/ZN/docs/Get-ZNSettingsConnectServer.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectserver +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectserver schema: 2.0.0 --- @@ -13,7 +13,8 @@ List Connect Servers in Settings ## SYNTAX ``` -Get-ZNSettingsConnectServer [-Filters ] [-Limit ] [-Offset ] [] +Get-ZNSettingsConnectServer [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [] ``` ## DESCRIPTION @@ -36,8 +37,23 @@ This cmdlet lists Connect servers under settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -76,7 +92,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfig.md b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfig.md index 8087e8a..557ae3e 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfig.md +++ b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfig.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectuseraccessconfig +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfig schema: 2.0.0 --- @@ -13,7 +13,8 @@ List Connect User Access Configurations in Settings ## SYNTAX ``` -Get-ZNSettingsConnectUserAccessConfig [-Limit ] [-Offset ] [] +Get-ZNSettingsConnectUserAccessConfig [-AccountName ] [-Limit ] [-Offset ] + [] ``` ## DESCRIPTION @@ -36,6 +37,21 @@ This cmdlet lists User access configurations under Connect in Settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -61,7 +77,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md index 60e4fe5..b1e1268 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md +++ b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectuseraccessconfigallowedregionscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigallowedregionscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for user access config allowed regions. ## SYNTAX ``` -Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -39,6 +39,21 @@ This cmdlet returns the possible candidates for allowed regions in the user acce ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -64,7 +79,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md index e553fb9..a9a44da 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectuseraccessconfigassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for user access config excluded assets. ## SYNTAX ``` -Get-ZNSettingsConnectUserAccessConfigAssetsCandidate [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet list User Access Configruation assets candidates. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -82,7 +97,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md index 7f8b2c0..7087bd5 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md +++ b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectuseraccessconfigdestinationscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigdestinationscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for user access config excluded destinations. ## SYNTAX ``` -Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -57,6 +57,21 @@ This cmdlet list User Access Configruation destination candidates. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -82,7 +97,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md index 34b1a2a..da3906e 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectuseraccessconfigexcludedassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigexcludedassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for user access config excluded assets. ## SYNTAX ``` -Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -61,6 +61,21 @@ This cmdlet lists the asset candidates for User Access Configs. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -86,7 +101,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md index 6dae175..882dd35 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md +++ b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectuseraccessconfigexcludedsourceuserscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigexcludedsourceuserscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for user access config excluded source users. ## SYNTAX ``` -Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -53,6 +53,21 @@ This cmdlet list possible excluded sources for an User Access Configuration in s ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -78,7 +93,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md index c805b61..c2ccf53 100644 --- a/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md +++ b/src/ZN/docs/Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsconnectuseraccessconfigsourceuserscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsconnectuseraccessconfigsourceuserscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for user access config source users. ## SYNTAX ``` -Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -54,6 +54,21 @@ This cmdlet list possible sources for an User Access Configuration in settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -79,7 +94,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNSettingsDefaultApplication.md b/src/ZN/docs/Get-ZNSettingsDefaultApplication.md index 617c5b4..5a4fbbf 100644 --- a/src/ZN/docs/Get-ZNSettingsDefaultApplication.md +++ b/src/ZN/docs/Get-ZNSettingsDefaultApplication.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsdefaultapplication +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsdefaultapplication schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Default SSO Application settings in Identity Providers ## SYNTAX ``` -Get-ZNSettingsDefaultApplication [] +Get-ZNSettingsDefaultApplication [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet returns the default SSO application settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsFirewall.md b/src/ZN/docs/Get-ZNSettingsFirewall.md index bf20b5a..02e7cd3 100644 --- a/src/ZN/docs/Get-ZNSettingsFirewall.md +++ b/src/ZN/docs/Get-ZNSettingsFirewall.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsfirewall +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsfirewall schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties of Firewall settings. ## SYNTAX ``` -Get-ZNSettingsFirewall [] +Get-ZNSettingsFirewall [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet returns the Create implicit ICMP rules settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsFirewallIgnoredGpo.md b/src/ZN/docs/Get-ZNSettingsFirewallIgnoredGpo.md index 29d3a29..ccbeb0e 100644 --- a/src/ZN/docs/Get-ZNSettingsFirewallIgnoredGpo.md +++ b/src/ZN/docs/Get-ZNSettingsFirewallIgnoredGpo.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsfirewallignoredgpo +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsfirewallignoredgpo schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties of ignored GPO rules Firewall settings. ## SYNTAX ``` -Get-ZNSettingsFirewallIgnoredGpo [] +Get-ZNSettingsFirewallIgnoredGpo [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the Asset health - Windows firewall GPO rule checkup exclusi ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsFirewallIgnoredRule.md b/src/ZN/docs/Get-ZNSettingsFirewallIgnoredRule.md index c0b1494..e24f00c 100644 --- a/src/ZN/docs/Get-ZNSettingsFirewallIgnoredRule.md +++ b/src/ZN/docs/Get-ZNSettingsFirewallIgnoredRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsfirewallignoredrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsfirewallignoredrule schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties of ignored rules for anti-tampering Firewall settings. ## SYNTAX ``` -Get-ZNSettingsFirewallIgnoredRule [] +Get-ZNSettingsFirewallIgnoredRule [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the Anti-tampering - Windows firewall rule exclusions settin ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsFirewallProfile.md b/src/ZN/docs/Get-ZNSettingsFirewallProfile.md index d1a6159..e2753cb 100644 --- a/src/ZN/docs/Get-ZNSettingsFirewallProfile.md +++ b/src/ZN/docs/Get-ZNSettingsFirewallProfile.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsfirewallprofile +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsfirewallprofile schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties of firewall profiles in Firewall settings. ## SYNTAX ``` -Get-ZNSettingsFirewallProfile [] +Get-ZNSettingsFirewallProfile [-AccountName ] [] ``` ## DESCRIPTION @@ -42,6 +42,21 @@ This cmdlet returns the Firewall Profiles settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsIdp.md b/src/ZN/docs/Get-ZNSettingsIdp.md index 7d641cd..a40b889 100644 --- a/src/ZN/docs/Get-ZNSettingsIdp.md +++ b/src/ZN/docs/Get-ZNSettingsIdp.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsidp +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsidp schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get identity provider settings in Identity Providers ## SYNTAX ``` -Get-ZNSettingsIdp [] +Get-ZNSettingsIdp [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the Identity Provider settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsInactiveAsset.md b/src/ZN/docs/Get-ZNSettingsInactiveAsset.md index 0bd15c5..504219b 100644 --- a/src/ZN/docs/Get-ZNSettingsInactiveAsset.md +++ b/src/ZN/docs/Get-ZNSettingsInactiveAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsinactiveasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsinactiveasset schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get inactive assets settings configuration ## SYNTAX ``` -Get-ZNSettingsInactiveAsset [] +Get-ZNSettingsInactiveAsset [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets the inactive assets setting. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsInternalSubnet.md b/src/ZN/docs/Get-ZNSettingsInternalSubnet.md index da55598..ca2b9d6 100644 --- a/src/ZN/docs/Get-ZNSettingsInternalSubnet.md +++ b/src/ZN/docs/Get-ZNSettingsInternalSubnet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsinternalsubnet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsinternalsubnet schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Internal Subnets settings in System ## SYNTAX ``` -Get-ZNSettingsInternalSubnet [] +Get-ZNSettingsInternalSubnet [-AccountName ] [] ``` ## DESCRIPTION @@ -40,6 +40,21 @@ This cmdlet lists the internal subnets Settings under System. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsJamfCredentials.md b/src/ZN/docs/Get-ZNSettingsJamfCredentials.md index dbf1724..1328958 100644 --- a/src/ZN/docs/Get-ZNSettingsJamfCredentials.md +++ b/src/ZN/docs/Get-ZNSettingsJamfCredentials.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsjamfcredentials +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsjamfcredentials schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties for JAMF Credentials Settings. ## SYNTAX ``` -Get-ZNSettingsJamfCredentials [] +Get-ZNSettingsJamfCredentials [-AccountName ] [] ``` ## DESCRIPTION @@ -30,6 +30,21 @@ This cmdlet returns the Jamf settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsLearningConfig.md b/src/ZN/docs/Get-ZNSettingsLearningConfig.md index 1f90a77..8e504ac 100644 --- a/src/ZN/docs/Get-ZNSettingsLearningConfig.md +++ b/src/ZN/docs/Get-ZNSettingsLearningConfig.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingslearningconfig +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingslearningconfig schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Learning Config settings in Network Segmentation ## SYNTAX ``` -Get-ZNSettingsLearningConfig [] +Get-ZNSettingsLearningConfig [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets the lerarning config settings from AI. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsLicense.md b/src/ZN/docs/Get-ZNSettingsLicense.md index 9f172d5..9f4c308 100644 --- a/src/ZN/docs/Get-ZNSettingsLicense.md +++ b/src/ZN/docs/Get-ZNSettingsLicense.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingslicense +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingslicense schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Subscription Licenses ## SYNTAX ``` -Get-ZNSettingsLicense -ProtectionType [] +Get-ZNSettingsLicense -LicenseType [-AccountName ] [] ``` ## DESCRIPTION @@ -68,8 +68,23 @@ This cmdlet gets the RPC licenses. ## PARAMETERS -### -ProtectionType -protection type +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LicenseType +The license ```yaml Type: System.String diff --git a/src/ZN/docs/Get-ZNSettingsLinuxSetup.md b/src/ZN/docs/Get-ZNSettingsLinuxSetup.md index d174f07..6061569 100644 --- a/src/ZN/docs/Get-ZNSettingsLinuxSetup.md +++ b/src/ZN/docs/Get-ZNSettingsLinuxSetup.md @@ -1,23 +1,23 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingslinuxsetup +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingslinuxsetup schema: 2.0.0 --- # Get-ZNSettingsLinuxSetup ## SYNOPSIS -Get the linux setup settings in Asset Managment +Get the linux setup settings in Asset Management ## SYNTAX ``` -Get-ZNSettingsLinuxSetup [] +Get-ZNSettingsLinuxSetup [-AccountName ] [] ``` ## DESCRIPTION -Get the linux setup settings in Asset Managment +Get the linux setup settings in Asset Management ## EXAMPLES @@ -34,6 +34,21 @@ This cmdlet gets the Linux setup settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsLinuxUser.md b/src/ZN/docs/Get-ZNSettingsLinuxUser.md index 2c46b09..d578dbb 100644 --- a/src/ZN/docs/Get-ZNSettingsLinuxUser.md +++ b/src/ZN/docs/Get-ZNSettingsLinuxUser.md @@ -1,23 +1,23 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingslinuxuser +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingslinuxuser schema: 2.0.0 --- # Get-ZNSettingsLinuxUser ## SYNOPSIS -Get the linux user settings in Asset Managment +Get the linux user settings in Asset Management ## SYNTAX ``` -Get-ZNSettingsLinuxUser [] +Get-ZNSettingsLinuxUser [-AccountName ] [] ``` ## DESCRIPTION -Get the linux user settings in Asset Managment +Get the linux user settings in Asset Management ## EXAMPLES @@ -34,6 +34,21 @@ This cmdlet returns the Linux user settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsMaintenanceWindow.md b/src/ZN/docs/Get-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..06d6173 --- /dev/null +++ b/src/ZN/docs/Get-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,120 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmaintenancewindow +schema: 2.0.0 +--- + +# Get-ZNSettingsMaintenanceWindow + +## SYNOPSIS +Returns the maintenance window properties + +## SYNTAX + +### List (Default) +``` +Get-ZNSettingsMaintenanceWindow [-AccountName ] [] +``` + +### Get +``` +Get-ZNSettingsMaintenanceWindow -MaintenanceWindowId [-AccountName ] [] +``` + +## DESCRIPTION +Returns the maintenance window properties + +## EXAMPLES + +### Example 1: List maintenance windows +```powershell +Get-ZNSettingsMaintenanceWindow +``` + +```output +CreatedAt : 1728092138778 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +Id : e:m:eCoheWFb +IsDefault : True +Name : Default +StartTime : 4 +UpdatedAt : 1728092138778 +UpdatedById : +UpdatedByName : +Weekday : 1 +``` + +This cmdlet lists maintenance windows. + +### Example 2: Get a maintenance window +```powershell +Get-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:eCoheWFb +``` + +```output +CreatedAt : 1728092138778 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +Id : e:m:eCoheWFb +IsDefault : True +Name : Default +StartTime : 4 +UpdatedAt : 1728092138778 +UpdatedById : +UpdatedByName : +Weekday : 1 +``` + +This cmdlet gets a maintenance window. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +id of the maintence window + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IMaintenanceWindowItems + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IMaintenanceWindowList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNSettingsMfaAuthentication.md b/src/ZN/docs/Get-ZNSettingsMfaAuthentication.md index cd9e648..2167674 100644 --- a/src/ZN/docs/Get-ZNSettingsMfaAuthentication.md +++ b/src/ZN/docs/Get-ZNSettingsMfaAuthentication.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsmfaauthentication +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmfaauthentication schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties of MFA authentication settings. ## SYNTAX ``` -Get-ZNSettingsMfaAuthentication [] +Get-ZNSettingsMfaAuthentication [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the MFA settings settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsMfaCache.md b/src/ZN/docs/Get-ZNSettingsMfaCache.md new file mode 100644 index 0000000..51c4d3d --- /dev/null +++ b/src/ZN/docs/Get-ZNSettingsMfaCache.md @@ -0,0 +1,114 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmfacache +schema: 2.0.0 +--- + +# Get-ZNSettingsMfaCache + +## SYNOPSIS +Returns a list of MFA Cache Policies. + +## SYNTAX + +``` +Get-ZNSettingsMfaCache [-AccountName ] [-Limit ] [-Offset ] [-WithCount] + [] +``` + +## DESCRIPTION +Returns a list of MFA Cache Policies. + +## EXAMPLES + +### Example 1: List MFA Cache Policies +```powershell +(Get-ZNSettingsMfaCache).Items +``` + +```output +AssetLimit EntityId EntityInfo TtlMinutes +---------- -------- ---------- ---------- + 10 g:a:3U1Z38mF ZeroNetworks.PowerShell.Cmdlets.Api.Models.SettingsMfaCacheEntityInfo 720 +``` + +This cmdlet lists MFA Cache policies. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaCacheList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNSettingsMfaCacheCandidate.md b/src/ZN/docs/Get-ZNSettingsMfaCacheCandidate.md new file mode 100644 index 0000000..feafd1f --- /dev/null +++ b/src/ZN/docs/Get-ZNSettingsMfaCacheCandidate.md @@ -0,0 +1,141 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmfacachecandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsMfaCacheCandidate + +## SYNOPSIS +Returns a list of candidates for MFA Cache Policy. + +## SYNTAX + +``` +Get-ZNSettingsMfaCacheCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of candidates for MFA Cache Policy. + +## EXAMPLES + +### Example 1: List MFA Cache candidates +```powershell +Get-ZNSettingsMfaCacheCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:2mkAN4DS Domain Computers +g:a:3AFg9RPE Backup Operators +u:a:Q9tgABYw Guest (disabled) +u:a:WfuzrUyt krbtgt (disabled) +u:a:JnQxZS6j nicholas-ad nicholas+poshprd@zeronetworks.com +g:a:3npP67jr Windows Authorization Access Group +g:a:3U1Z38mF Domain Admins +g:a:7tzfiueO DnsAdmins +g:a:81Tnx8va Pre-Windows 2000 Compatible Access +``` + +This cmdlet lists the MFA cache candidates. + +### Example 2: {{ Add title here }} +```powershell +Get-ZNSettingsMfaCacheCandidate -Search Servers +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:DkSpCxPu RDS Endpoint Servers +g:a:npRV5X4F RDS Management Servers +g:a:AcuMXaSY RAS and IAS Servers +g:a:wklutzfZ Terminal Server License Servers +g:a:W2iRFLTg RDS Remote Access Servers +``` + +This cmdlet allows search for an MFA cache candidates. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNSettingsMfaDetection.md b/src/ZN/docs/Get-ZNSettingsMfaDetection.md index 1e8576b..fadfb03 100644 --- a/src/ZN/docs/Get-ZNSettingsMfaDetection.md +++ b/src/ZN/docs/Get-ZNSettingsMfaDetection.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsmfadetection +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsmfadetection schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties of MFA detection settings. ## SYNTAX ``` -Get-ZNSettingsMfaDetection [] +Get-ZNSettingsMfaDetection [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet returns the MFA detection settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsNotification.md b/src/ZN/docs/Get-ZNSettingsNotification.md index d391877..7ec8ba2 100644 --- a/src/ZN/docs/Get-ZNSettingsNotification.md +++ b/src/ZN/docs/Get-ZNSettingsNotification.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsnotification +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsnotification schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the properties of the Mail Notification settings. ## SYNTAX ``` -Get-ZNSettingsNotification [] +Get-ZNSettingsNotification [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the notifications settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsPrivilegedPort.md b/src/ZN/docs/Get-ZNSettingsPrivilegedPort.md index f08b9de..fd0096d 100644 --- a/src/ZN/docs/Get-ZNSettingsPrivilegedPort.md +++ b/src/ZN/docs/Get-ZNSettingsPrivilegedPort.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsprivilegedport +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsprivilegedport schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Privileged Ports settings in Network segmentation ## SYNTAX ``` -Get-ZNSettingsPrivilegedPort [] +Get-ZNSettingsPrivilegedPort [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the privileged ports settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsPushNotification.md b/src/ZN/docs/Get-ZNSettingsPushNotification.md index 1f9fb43..e4167d1 100644 --- a/src/ZN/docs/Get-ZNSettingsPushNotification.md +++ b/src/ZN/docs/Get-ZNSettingsPushNotification.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingspushnotification +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingspushnotification schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Push Notifications Settings ## SYNTAX ``` -Get-ZNSettingsPushNotification [] +Get-ZNSettingsPushNotification [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the Push Notifications settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). @@ -45,7 +60,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError -### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsPushNotificaitionsList +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsPushNotificationsList ## NOTES diff --git a/src/ZN/docs/Get-ZNSettingsServersTrustedInternet.md b/src/ZN/docs/Get-ZNSettingsServersTrustedInternet.md index f33ce7e..994b613 100644 --- a/src/ZN/docs/Get-ZNSettingsServersTrustedInternet.md +++ b/src/ZN/docs/Get-ZNSettingsServersTrustedInternet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsserverstrustedinternet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsserverstrustedinternet schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Servers Trusted Internet settings in System ## SYNTAX ``` -Get-ZNSettingsServersTrustedInternet [] +Get-ZNSettingsServersTrustedInternet [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet lists the servers trusted internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsServersUntrustedInternet.md b/src/ZN/docs/Get-ZNSettingsServersUntrustedInternet.md index 93f6b8b..514dbd1 100644 --- a/src/ZN/docs/Get-ZNSettingsServersUntrustedInternet.md +++ b/src/ZN/docs/Get-ZNSettingsServersUntrustedInternet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingsserversuntrustedinternet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingsserversuntrustedinternet schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Servers Untrusted Internet settings in System ## SYNTAX ``` -Get-ZNSettingsServersUntrustedInternet [] +Get-ZNSettingsServersUntrustedInternet [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet lists the servers untrusted internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsTrustedInternetAddress.md b/src/ZN/docs/Get-ZNSettingsTrustedInternetAddress.md index 04ab757..f611d6c 100644 --- a/src/ZN/docs/Get-ZNSettingsTrustedInternetAddress.md +++ b/src/ZN/docs/Get-ZNSettingsTrustedInternetAddress.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingstrustedinternetaddress +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingstrustedinternetaddress schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Trusted Internet addresses settings in System ## SYNTAX ``` -Get-ZNSettingsTrustedInternetAddress [] +Get-ZNSettingsTrustedInternetAddress [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet returns the Trusted Internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNSettingsZpa.md b/src/ZN/docs/Get-ZNSettingsZpa.md index 13daa5e..1d053c9 100644 --- a/src/ZN/docs/Get-ZNSettingsZpa.md +++ b/src/ZN/docs/Get-ZNSettingsZpa.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znsettingszpa +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znsettingszpa schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get ZPA settings in Integrations ## SYNTAX ``` -Get-ZNSettingsZpa [] +Get-ZNSettingsZpa [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet returns the ZPA settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNTagGroupsCandidate.md b/src/ZN/docs/Get-ZNTagGroupsCandidate.md index 7626754..7c03e51 100644 --- a/src/ZN/docs/Get-ZNTagGroupsCandidate.md +++ b/src/ZN/docs/Get-ZNTagGroupsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-zntaggroupscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-zntaggroupscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for tag group membership. ## SYNTAX ``` -Get-ZNTagGroupsCandidate [-GroupId ] [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNTagGroupsCandidate [-AccountName ] [-GroupId ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -150,6 +150,21 @@ This cmdlet list candidates to add to a tag group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on @@ -190,7 +205,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUser.md b/src/ZN/docs/Get-ZNUser.md index 7a7883a..63f2d30 100644 --- a/src/ZN/docs/Get-ZNUser.md +++ b/src/ZN/docs/Get-ZNUser.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znuser +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuser schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns the properties of an user. ### List (Default) ``` -Get-ZNUser [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-Search ] [-WithCount] [] +Get-ZNUser [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] ``` ### Get ``` -Get-ZNUser -UserId [] +Get-ZNUser -UserId [-AccountName ] [] ``` ## DESCRIPTION @@ -84,6 +84,21 @@ Use offset to get the next page of users. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at @@ -100,7 +115,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -139,7 +154,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserAudit.md b/src/ZN/docs/Get-ZNUserAudit.md index 7a8abf5..70b030f 100644 --- a/src/ZN/docs/Get-ZNUserAudit.md +++ b/src/ZN/docs/Get-ZNUserAudit.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znuseraudit +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseraudit schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of audits for the user. ## SYNTAX ``` -Get-ZNUserAudit -UserId [-Cursor ] [-Filters ] [-Limit ] [-Order ] - [-Search ] [] +Get-ZNUserAudit -UserId [-AccountName ] [-Cursor ] [-Filters ] + [-Limit ] [-Order ] [-Search ] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ This cmdlet gets the audits for a user. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Cursor cursor position to start at @@ -53,7 +68,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String diff --git a/src/ZN/docs/Get-ZNUserExternalAccessPolicy.md b/src/ZN/docs/Get-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..4ca2fe2 --- /dev/null +++ b/src/ZN/docs/Get-ZNUserExternalAccessPolicy.md @@ -0,0 +1,293 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserexternalaccesspolicy +schema: 2.0.0 +--- + +# Get-ZNUserExternalAccessPolicy + +## SYNOPSIS +Returns an external access policy. + +## SYNTAX + +### List (Default) +``` +Get-ZNUserExternalAccessPolicy -UserId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Cursor ] [-Filters ] [-Limit ] [-Offset ] [-Order ] + [-OrderColumns ] [-WithCount] [] +``` + +### Get +``` +Get-ZNUserExternalAccessPolicy -PolicyId -UserId [-AccountName ] + [] +``` + +## DESCRIPTION +Returns an external access policy. + +## EXAMPLES + +### Example 1: List external access policies for a user +```powershell +(Get-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp).Items +``` + +```output +CreatedAt : 1728092471548 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:J92SSHLf +Name : Ansible +RuleDuration : 8 +SrcUserIdsList : {u:a:jRVryncp} +SrcUserInfos : {zero} +State : 1 +UpdatedAt : 1728092471548 +UpdatedById : +UpdatedByName : +Url : https://ansible.posh.local +``` + +This cmdlet lists external access policies for a user. + +### Example 2: Get an extenal access policy for a user +```powershell +Get-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp -PolicyId p:e:J92SSHLf +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +ItemCreatedAt : 1728092471548 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:J92SSHLf +ItemName : Ansible +ItemRuleDuration : 8 +ItemSrcUserIdsList : {u:a:jRVryncp} +ItemSrcUserInfos : {zero} +ItemState : 1 +ItemUpdatedAt : 1728092471548 +ItemUrl : https://ansible.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet gets an external access policy for a user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddAncestors +show rules where the asset is part of a group + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AddBuiltins +show global rules + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md b/src/ZN/docs/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..d4c4ab7 --- /dev/null +++ b/src/ZN/docs/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserexternalaccesspolicydestinationassetscandidate +schema: 2.0.0 +--- + +# Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate + +## SYNOPSIS +Returns a list of destunation assets candidates for an external access policy. + +## SYNTAX + +``` +Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate -UserId [-AccountName ] + [-Limit ] [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of destunation assets candidates for an external access policy. + +## EXAMPLES + +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate -UserId u:a:jRVryncp +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsOrGroupsList + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNUserExternalAccessPolicySourceUserCandidate.md b/src/ZN/docs/Get-ZNUserExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..41fbb93 --- /dev/null +++ b/src/ZN/docs/Get-ZNUserExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserexternalaccesspolicysourceusercandidate +schema: 2.0.0 +--- + +# Get-ZNUserExternalAccessPolicySourceUserCandidate + +## SYNOPSIS +Returns a list of source user candidates for external access policies. + +## SYNTAX + +``` +Get-ZNUserExternalAccessPolicySourceUserCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] +``` + +## DESCRIPTION +Returns a list of source user candidates for external access policies. + +## EXAMPLES + +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNUserExternalAccessPolicySourceUserCandidate -UserId u:a:jRVryncp +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupsOrUsersList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNUserExternalAccessPolicyStatistics.md b/src/ZN/docs/Get-ZNUserExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..aa9bb7f --- /dev/null +++ b/src/ZN/docs/Get-ZNUserExternalAccessPolicyStatistics.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserexternalaccesspolicystatistics +schema: 2.0.0 +--- + +# Get-ZNUserExternalAccessPolicyStatistics + +## SYNOPSIS +Returns statistics for an external access policy. + +## SYNTAX + +``` +Get-ZNUserExternalAccessPolicyStatistics -UserId [-AccountName ] [] +``` + +## DESCRIPTION +Returns statistics for an external access policy. + +## EXAMPLES + +### Example 1: Get external access policy statistics +```powershell +Get-ZNUserExternalAccessPolicyStatistics -UserId u:a:jRVryncp +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyStatistics + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNUserIdentityRule.md b/src/ZN/docs/Get-ZNUserIdentityRule.md index 207712d..76e8ea0 100644 --- a/src/ZN/docs/Get-ZNUserIdentityRule.md +++ b/src/ZN/docs/Get-ZNUserIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znuseridentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseridentityrule schema: 2.0.0 --- @@ -14,13 +14,13 @@ Returns an identity segmentation rule. ### List (Default) ``` -Get-ZNUserIdentityRule -UserId [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] - [-Limit ] [-Search ] [-WithCount] [] +Get-ZNUserIdentityRule -UserId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Cursor ] [-Filters ] [-Limit ] [-Search ] [-WithCount] [] ``` ### Get ``` -Get-ZNUserIdentityRule -RuleId -UserId [] +Get-ZNUserIdentityRule -RuleId -UserId [-AccountName ] [] ``` ## DESCRIPTION @@ -82,6 +82,21 @@ This cmdlet gets an identity rule for a user. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -128,7 +143,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String diff --git a/src/ZN/docs/Get-ZNUserIdentityRulesAssetsCandidate.md b/src/ZN/docs/Get-ZNUserIdentityRulesAssetsCandidate.md index 39c3ae7..6ba0e12 100644 --- a/src/ZN/docs/Get-ZNUserIdentityRulesAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNUserIdentityRulesAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znuseridentityrulesassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseridentityrulesassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of assets candidates for Identity rules. ## SYNTAX ``` -Get-ZNUserIdentityRulesAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNUserIdentityRulesAssetsCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -53,6 +53,21 @@ This cmdlet lists the asset candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -78,7 +93,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserIdentityRulesExcludedAssetsCandidate.md b/src/ZN/docs/Get-ZNUserIdentityRulesExcludedAssetsCandidate.md index d4b1a1b..3e73650 100644 --- a/src/ZN/docs/Get-ZNUserIdentityRulesExcludedAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNUserIdentityRulesExcludedAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znuseridentityrulesexcludedassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseridentityrulesexcludedassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of excluded assets candidates for Identity rules. ## SYNTAX ``` -Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -50,6 +50,21 @@ This cmdlet lists excluded asset candidates for identity rules for a specific us ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -75,7 +90,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserIdentityRulesUserCandidate.md b/src/ZN/docs/Get-ZNUserIdentityRulesUserCandidate.md index f356e95..1f44040 100644 --- a/src/ZN/docs/Get-ZNUserIdentityRulesUserCandidate.md +++ b/src/ZN/docs/Get-ZNUserIdentityRulesUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znuseridentityrulesusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuseridentityrulesusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of user candidates for Identity rules. ## SYNTAX ``` -Get-ZNUserIdentityRulesUserCandidate -UserId [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNUserIdentityRulesUserCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -56,6 +56,21 @@ This cmdlet lists the user candidates for identity rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -81,7 +96,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserMemberOf.md b/src/ZN/docs/Get-ZNUserMemberOf.md index 8cea582..4513290 100644 --- a/src/ZN/docs/Get-ZNUserMemberOf.md +++ b/src/ZN/docs/Get-ZNUserMemberOf.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusermemberof +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermemberof schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of groups the user is a member of. ## SYNTAX ``` -Get-ZNUserMemberOf -UserId [] +Get-ZNUserMemberOf -UserId [-AccountName ] [] ``` ## DESCRIPTION @@ -39,6 +39,21 @@ This cmdlet gets the groups a user is a member of. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -UserId userId to filter on diff --git a/src/ZN/docs/Get-ZNUserMemberOfGroupCandidate.md b/src/ZN/docs/Get-ZNUserMemberOfGroupCandidate.md new file mode 100644 index 0000000..3b575f5 --- /dev/null +++ b/src/ZN/docs/Get-ZNUserMemberOfGroupCandidate.md @@ -0,0 +1,83 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermemberofgroupcandidate +schema: 2.0.0 +--- + +# Get-ZNUserMemberOfGroupCandidate + +## SYNOPSIS +Returns a list of groups the user can be a member of. + +## SYNTAX + +``` +Get-ZNUserMemberOfGroupCandidate -UserId [-AccountName ] [] +``` + +## DESCRIPTION +Returns a list of groups the user can be a member of. + +## EXAMPLES + +### Example 1: List group candidates for adding a user to +```powershell +Get-ZNUserMemberOfGroupCandidate -UserId u:d:2HOfhbpY +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +``` + +This cmdlet lists group candidates that a user can be added to. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IIdNamePairList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md index 70d0d8b..9a11c56 100644 --- a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md +++ b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusermfaidentitypoliciesdestinationcandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciesdestinationcandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the destination of an identity MFA policy. ## SYNTAX ``` -Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -50,6 +50,21 @@ This cmdlet lists destination candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -75,7 +90,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md index e89f259..90499c5 100644 --- a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md +++ b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusermfaidentitypoliciesexcludedsourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciesexcludedsourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of candidates for the excluded sources of an Identity MFA policy. ## SYNTAX ``` -Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId [-IsSrcAssetUnmonitored] - [-Limit ] [-Offset ] [-Search ] [] +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId [-AccountName ] + [-IsSrcAssetUnmonitored] [-Limit ] [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -47,6 +47,21 @@ This cmdlet lists excluded source candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IsSrcAssetUnmonitored filter for unmonitored sources @@ -87,7 +102,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesMfamethod.md b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesMfamethod.md index 5c145ff..14a31f5 100644 --- a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesMfamethod.md +++ b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesMfamethod.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusermfaidentitypoliciesmfamethod +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciesmfamethod schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a list of MFA methods for Identity MFA policies. ## SYNTAX ``` -Get-ZNUserMfaIdentityPoliciesMfamethod -UserId [] +Get-ZNUserMfaIdentityPoliciesMfamethod -UserId [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet lists MFA methods for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -UserId userId to filter on diff --git a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesSourceCandidate.md b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesSourceCandidate.md index 3fb63ae..7194fca 100644 --- a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesSourceCandidate.md +++ b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesSourceCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusermfaidentitypoliciessourcecandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciessourcecandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source candidates on Identity MFA policies. ## SYNTAX ``` -Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -47,6 +47,21 @@ This cmdlet lists source candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -72,7 +87,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md index b15152d..83cb53c 100644 --- a/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md +++ b/src/ZN/docs/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusermfaidentitypoliciessourceusercandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypoliciessourceusercandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of source user candidates for Identity MFA policies. ## SYNTAX ``` -Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId [-Limit ] [-Offset ] - [-Search ] [] +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId [-AccountName ] [-Limit ] + [-Offset ] [-Search ] [] ``` ## DESCRIPTION @@ -51,6 +51,21 @@ This cmdlet lists source user candidates for Identity MFA. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -76,7 +91,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserMfaIdentityPolicy.md b/src/ZN/docs/Get-ZNUserMfaIdentityPolicy.md index 44411e3..399e1c7 100644 --- a/src/ZN/docs/Get-ZNUserMfaIdentityPolicy.md +++ b/src/ZN/docs/Get-ZNUserMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusermfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusermfaidentitypolicy schema: 2.0.0 --- @@ -14,14 +14,15 @@ Returns a Identity MFA policy object. ### List (Default) ``` -Get-ZNUserMfaIdentityPolicy -UserId [-AddAncestors] [-AddBuiltins] [-Filters ] - [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] - [] +Get-ZNUserMfaIdentityPolicy -UserId [-AccountName ] [-AddAncestors] [-AddBuiltins] + [-Filters ] [-Limit ] [-Offset ] [-Order ] [-OrderColumns ] + [-WithCount] [] ``` ### Get ``` -Get-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [] +Get-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-AccountName ] + [] ``` ## DESCRIPTION @@ -109,6 +110,21 @@ This cmdlet gets a specific Identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AddAncestors show rules where the asset is part of a group @@ -140,7 +156,7 @@ Accept wildcard characters: False ``` ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -179,7 +195,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUserRulesDistribution.md b/src/ZN/docs/Get-ZNUserRulesDistribution.md index e5338d2..d6cf6e0 100644 --- a/src/ZN/docs/Get-ZNUserRulesDistribution.md +++ b/src/ZN/docs/Get-ZNUserRulesDistribution.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znuserrulesdistribution +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserrulesdistribution schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an object with rules distribution. ## SYNTAX ``` -Get-ZNUserRulesDistribution -RuleId -UserId -RuleDirection [] +Get-ZNUserRulesDistribution -RuleId -UserId -RuleDirection [-AccountName ] + [] ``` ## DESCRIPTION @@ -67,6 +68,21 @@ Rule direction is 1 for inbound rules and 2 for outbound rules. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDirection direction of the rule (1-Inbound, 2-Outbound) diff --git a/src/ZN/docs/Get-ZNUserStatistics.md b/src/ZN/docs/Get-ZNUserStatistics.md index dff94cb..fbb482d 100644 --- a/src/ZN/docs/Get-ZNUserStatistics.md +++ b/src/ZN/docs/Get-ZNUserStatistics.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znuserstatistics +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znuserstatistics schema: 2.0.0 --- @@ -13,7 +13,7 @@ Get Users statistics ## SYNTAX ``` -Get-ZNUserStatistics [] +Get-ZNUserStatistics [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet lists the user statistics for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Get-ZNUsersIdentityQueued.md b/src/ZN/docs/Get-ZNUsersIdentityQueued.md index d9ba541..4f2f8bf 100644 --- a/src/ZN/docs/Get-ZNUsersIdentityQueued.md +++ b/src/ZN/docs/Get-ZNUsersIdentityQueued.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusersidentityqueued +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersidentityqueued schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of users in Learning. ## SYNTAX ``` -Get-ZNUsersIdentityQueued [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-Search ] [-WithCount] [] +Get-ZNUsersIdentityQueued [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] ``` ## DESCRIPTION @@ -37,8 +37,23 @@ This cmdlet lists the users in learning. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -77,7 +92,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUsersIdentitySegmented.md b/src/ZN/docs/Get-ZNUsersIdentitySegmented.md index a8562ea..ad4e1d0 100644 --- a/src/ZN/docs/Get-ZNUsersIdentitySegmented.md +++ b/src/ZN/docs/Get-ZNUsersIdentitySegmented.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusersidentitysegmented +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersidentitysegmented schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of Identity segmented users. ## SYNTAX ``` -Get-ZNUsersIdentitySegmented [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-Search ] [-WithCount] [] +Get-ZNUsersIdentitySegmented [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] ``` ## DESCRIPTION @@ -37,8 +37,23 @@ This cmdlet lists identity segmented users. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -77,7 +92,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUsersInactive.md b/src/ZN/docs/Get-ZNUsersInactive.md new file mode 100644 index 0000000..516fdeb --- /dev/null +++ b/src/ZN/docs/Get-ZNUsersInactive.md @@ -0,0 +1,215 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersinactive +schema: 2.0.0 +--- + +# Get-ZNUsersInactive + +## SYNOPSIS +Returns a list of Users. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + +## SYNTAX + +``` +Get-ZNUsersInactive [-AccountName ] [-Cursor ] [-Filters ] [-Limit ] + [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] + [] +``` + +## DESCRIPTION +Returns a list of Users. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + +## EXAMPLES + +### Example 1: List inactive users +```powershell +(Get-ZNUsersInactive).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +ClassifiedByName : Zero Networks +CreatedAt : 1702251607249 +DistinguishedName : CN=zSvcAcct3,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : +FirstName : +Guid : 13bcfd10-6848-441f-85da-b7a548d68cf8 +Id : u:a:Hk7V9Fp7 +JobTitle : +LastLogonReplicated : +LastName : +Name : zSvcAcct3 (inactive) +OfficePhone : +Phone : +PrincipalName : POSH\zSvcAcct3 +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 3 +Sid : S-1-5-21-4035814016-3211323426-385196088-1111 +Source : 3 +UserPrincipleName : +UserType : 3 +``` + +This cmdlet will list the inactive users. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cursor +cursor position to start at + +```yaml +Type: System.Int64 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchUsersResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNUsersManagedAsset.md b/src/ZN/docs/Get-ZNUsersManagedAsset.md index 7a50fff..c652b23 100644 --- a/src/ZN/docs/Get-ZNUsersManagedAsset.md +++ b/src/ZN/docs/Get-ZNUsersManagedAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusersmanagedasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersmanagedasset schema: 2.0.0 --- @@ -13,7 +13,8 @@ get managed assets for user ## SYNTAX ``` -Get-ZNUsersManagedAsset -UserId [-Limit ] [-Offset ] [] +Get-ZNUsersManagedAsset -UserId [-AccountName ] [-Limit ] [-Offset ] + [] ``` ## DESCRIPTION @@ -37,6 +38,21 @@ This cmdlet lists a users managed assets. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -62,7 +78,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUsersManagedAssetsCandidate.md b/src/ZN/docs/Get-ZNUsersManagedAssetsCandidate.md index 3a62f58..54fb539 100644 --- a/src/ZN/docs/Get-ZNUsersManagedAssetsCandidate.md +++ b/src/ZN/docs/Get-ZNUsersManagedAssetsCandidate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusersmanagedassetscandidate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersmanagedassetscandidate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Get asset candidates to be managed by asset managers ## SYNTAX ``` -Get-ZNUsersManagedAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] - [] +Get-ZNUsersManagedAssetsCandidate -UserId [-AccountName ] [-Limit ] [-Offset ] + [-Search ] [] ``` ## DESCRIPTION @@ -56,6 +56,21 @@ This cmdlet lists possible candidates for managed assets for a specific user. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Limit Limit the return results @@ -81,7 +96,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Get-ZNUsersPrivileged.md b/src/ZN/docs/Get-ZNUsersPrivileged.md new file mode 100644 index 0000000..d4d6658 --- /dev/null +++ b/src/ZN/docs/Get-ZNUsersPrivileged.md @@ -0,0 +1,233 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersprivileged +schema: 2.0.0 +--- + +# Get-ZNUsersPrivileged + +## SYNOPSIS +Returns a list of Privileged Users. + +## SYNTAX + +``` +Get-ZNUsersPrivileged [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] +``` + +## DESCRIPTION +Returns a list of Privileged Users. + +## EXAMPLES + +### Example 1: List privileged users +```powershell +(Get-ZNUsersPrivileged).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : u:a:JnQxZS6j +ClassifiedByName : nicholas-ad +CreatedAt : 1702251607787 +DistinguishedName : CN=zero,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : nicholas+poshprdzero@zeronetworks.com +FirstName : +Guid : a1b2e06b-f114-4ca1-a577-c0d7d138f743 +Id : u:a:jRVryncp +JobTitle : +LastLogonReplicated : +LastName : +Name : zero +OfficePhone : +Phone : +PrincipalName : POSH\zero +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 1 +Sid : S-1-5-21-4035814016-3211323426-385196088-500 +Source : 3 +UserPrincipleName : +UserType : 7 +``` + +This cmdlet lists privileged users. + +### Example 2: Search for a privileged user +```powershell +(Get-ZNUsersPrivileged -Search zero).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : u:a:JnQxZS6j +ClassifiedByName : nicholas-ad +CreatedAt : 1702251607787 +DistinguishedName : CN=zero,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : nicholas+poshprdzero@zeronetworks.com +FirstName : +Guid : a1b2e06b-f114-4ca1-a577-c0d7d138f743 +Id : u:a:jRVryncp +JobTitle : +LastLogonReplicated : +LastName : +Name : zero +OfficePhone : +Phone : +PrincipalName : POSH\zero +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 1 +Sid : S-1-5-21-4035814016-3211323426-385196088-500 +Source : 3 +UserPrincipleName : +UserType : 7 +``` + +This cmdlet can serch for a privleged user. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Filters +JSON string URI encoded set of filters + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 0 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Order +What order to sort the results + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OrderColumns +what column to order on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISearchUsersResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNUsersServiceAccount.md b/src/ZN/docs/Get-ZNUsersServiceAccount.md index d6a1f07..0c45cc8 100644 --- a/src/ZN/docs/Get-ZNUsersServiceAccount.md +++ b/src/ZN/docs/Get-ZNUsersServiceAccount.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/get-znusersserviceaccount +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/get-znusersserviceaccount schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns a list of ServiceAccount Users. ## SYNTAX ``` -Get-ZNUsersServiceAccount [-Filters ] [-Limit ] [-Offset ] [-Order ] - [-OrderColumns ] [-Search ] [-WithCount] [] +Get-ZNUsersServiceAccount [-AccountName ] [-Filters ] [-Limit ] [-Offset ] + [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [] ``` ## DESCRIPTION @@ -79,8 +79,23 @@ This cmdlet lists service accounts. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Filters -JSON string URI encoded set of fiters +JSON string URI encoded set of filters ```yaml Type: System.String @@ -119,7 +134,7 @@ Aliases: Required: False Position: Named -Default value: None +Default value: 0 Accept pipeline input: False Accept wildcard characters: False ``` diff --git a/src/ZN/docs/Initialize-ZNAssetBreakGlass.md b/src/ZN/docs/Initialize-ZNAssetBreakGlass.md index 92adec5..777756c 100644 --- a/src/ZN/docs/Initialize-ZNAssetBreakGlass.md +++ b/src/ZN/docs/Initialize-ZNAssetBreakGlass.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/initialize-znassetbreakglass +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/initialize-znassetbreakglass schema: 2.0.0 --- @@ -14,12 +14,14 @@ Returns and empty object. ### ActivateExpanded (Default) ``` -Initialize-ZNAssetBreakGlass -Items [-Confirm] [-WhatIf] [] +Initialize-ZNAssetBreakGlass -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### ActivateExpanded1 ``` -Initialize-ZNAssetBreakGlass -AssetId [-Confirm] [-WhatIf] [] +Initialize-ZNAssetBreakGlass -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -43,12 +45,27 @@ This cmdlet enables cloud break glass on an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: ActivateExpanded1 +Parameter Sets: ActivateExpanded Aliases: Required: True @@ -63,7 +80,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: ActivateExpanded +Parameter Sets: ActivateExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Invoke-ZNAssetDeactivateBreakGlass.md b/src/ZN/docs/Invoke-ZNAssetDeactivateBreakGlass.md index 8dd7cb6..7775b2a 100644 --- a/src/ZN/docs/Invoke-ZNAssetDeactivateBreakGlass.md +++ b/src/ZN/docs/Invoke-ZNAssetDeactivateBreakGlass.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znassetdeactivatebreakglass +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetdeactivatebreakglass schema: 2.0.0 --- @@ -14,12 +14,14 @@ Returns and empty object. ### DeactivateExpanded (Default) ``` -Invoke-ZNAssetDeactivateBreakGlass -Items [-Confirm] [-WhatIf] [] +Invoke-ZNAssetDeactivateBreakGlass -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### DeactivateExpanded1 ``` -Invoke-ZNAssetDeactivateBreakGlass -AssetId [-Confirm] [-WhatIf] [] +Invoke-ZNAssetDeactivateBreakGlass -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -43,12 +45,27 @@ This cmdlet disables cloud break glass on an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: DeactivateExpanded1 +Parameter Sets: DeactivateExpanded Aliases: Required: True @@ -63,7 +80,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: DeactivateExpanded +Parameter Sets: DeactivateExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Invoke-ZNAssetIdentityExtendQueue.md b/src/ZN/docs/Invoke-ZNAssetIdentityExtendQueue.md new file mode 100644 index 0000000..2936016 --- /dev/null +++ b/src/ZN/docs/Invoke-ZNAssetIdentityExtendQueue.md @@ -0,0 +1,176 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetidentityextendqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetIdentityExtendQueue + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### QueueExpanded (Default) +``` +Invoke-ZNAssetIdentityExtendQueue -AssetId -ExtendByDays [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +### QueueExpanded1 +``` +Invoke-ZNAssetIdentityExtendQueue -ExtendByDays -Items [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Extend asset in identity learning +```powershell +Invoke-ZNAssetIdentityExtendQueue -AssetId a:a:P0GVm1iZ -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends identity learning for an asset. + +### Example 2: Exnted assets in identity learning +```powershell +Invoke-ZNAssetIdentityExtendQueue -items @(a:a:P0GVm1iZ) -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends identity learning for assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: QueueExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtendByDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: QueueExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RelearnReason +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Invoke-ZNAssetIdentityQueue.md b/src/ZN/docs/Invoke-ZNAssetIdentityQueue.md new file mode 100644 index 0000000..32b2eb7 --- /dev/null +++ b/src/ZN/docs/Invoke-ZNAssetIdentityQueue.md @@ -0,0 +1,161 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetidentityqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetIdentityQueue + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### QueueExpanded (Default) +``` +Invoke-ZNAssetIdentityQueue -AssetId -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### QueueExpanded1 +``` +Invoke-ZNAssetIdentityQueue -Items -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Add asset to identity learning +```powershell +Invoke-ZNAssetIdentityQueue -AssetId a:a:P0GVm1iZ -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds an asset to identity learning. + +### Example 2: Add assets to identity learning +```powershell +Invoke-ZNAssetIdentityQueue -items @(a:a:P0GVm1iZ) -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds assets to identity learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: QueueExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: QueueExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QueueDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Invoke-ZNAssetNetworkExtendQueue.md b/src/ZN/docs/Invoke-ZNAssetNetworkExtendQueue.md index 3d4271d..5a2744b 100644 --- a/src/ZN/docs/Invoke-ZNAssetNetworkExtendQueue.md +++ b/src/ZN/docs/Invoke-ZNAssetNetworkExtendQueue.md @@ -1,31 +1,31 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znassetnetworkextendqueue +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetnetworkextendqueue schema: 2.0.0 --- # Invoke-ZNAssetNetworkExtendQueue ## SYNOPSIS -Returns an empty object. +Extend asset learning ## SYNTAX ### QueueExpanded (Default) ``` -Invoke-ZNAssetNetworkExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Confirm] - [-WhatIf] [] +Invoke-ZNAssetNetworkExtendQueue -AssetId -ExtendByDays [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] ``` ### QueueExpanded1 ``` -Invoke-ZNAssetNetworkExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Confirm] - [-WhatIf] [] +Invoke-ZNAssetNetworkExtendQueue -ExtendByDays -Items [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Returns an empty object. +Extend asset learning ## EXAMPLES @@ -46,12 +46,27 @@ This cmdlet will extend network learning for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: QueueExpanded1 +Parameter Sets: QueueExpanded Aliases: Required: True @@ -81,7 +96,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: QueueExpanded +Parameter Sets: QueueExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Invoke-ZNAssetNetworkQueue.md b/src/ZN/docs/Invoke-ZNAssetNetworkQueue.md index ffa3fcd..3fa1a48 100644 --- a/src/ZN/docs/Invoke-ZNAssetNetworkQueue.md +++ b/src/ZN/docs/Invoke-ZNAssetNetworkQueue.md @@ -1,29 +1,31 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znassetnetworkqueue +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetnetworkqueue schema: 2.0.0 --- # Invoke-ZNAssetNetworkQueue ## SYNOPSIS -Returns and empty object. +Extend asset learning ## SYNTAX ### QueueExpanded (Default) ``` -Invoke-ZNAssetNetworkQueue -Items -QueueDays [-Confirm] [-WhatIf] [] +Invoke-ZNAssetNetworkQueue -AssetId -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### QueueExpanded1 ``` -Invoke-ZNAssetNetworkQueue -AssetId -QueueDays [-Confirm] [-WhatIf] [] +Invoke-ZNAssetNetworkQueue -Items -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION -Returns and empty object. +Extend asset learning ## EXAMPLES @@ -44,12 +46,27 @@ This cmdlet will enable network learning for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: QueueExpanded1 +Parameter Sets: QueueExpanded Aliases: Required: True @@ -64,7 +81,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: QueueExpanded +Parameter Sets: QueueExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Invoke-ZNAssetOtNetworkExtendQueue.md b/src/ZN/docs/Invoke-ZNAssetOtNetworkExtendQueue.md index 7c00647..8db35c9 100644 --- a/src/ZN/docs/Invoke-ZNAssetOtNetworkExtendQueue.md +++ b/src/ZN/docs/Invoke-ZNAssetOtNetworkExtendQueue.md @@ -1,31 +1,31 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znassetotnetworkextendqueue +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetotnetworkextendqueue schema: 2.0.0 --- # Invoke-ZNAssetOtNetworkExtendQueue ## SYNOPSIS -Returns an empty object. +Extend OT asset learning ## SYNTAX ### QueueExpanded (Default) ``` -Invoke-ZNAssetOtNetworkExtendQueue -ExtendByDays -Items [-RelearnReason ] - [-Confirm] [-WhatIf] [] +Invoke-ZNAssetOtNetworkExtendQueue -AssetId -ExtendByDays [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] ``` ### QueueExpanded1 ``` -Invoke-ZNAssetOtNetworkExtendQueue -AssetId -ExtendByDays [-RelearnReason ] - [-Confirm] [-WhatIf] [] +Invoke-ZNAssetOtNetworkExtendQueue -ExtendByDays -Items [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Returns an empty object. +Extend OT asset learning ## EXAMPLES @@ -46,12 +46,27 @@ This cmdlet will extend network learning for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: QueueExpanded1 +Parameter Sets: QueueExpanded Aliases: Required: True @@ -81,7 +96,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: QueueExpanded +Parameter Sets: QueueExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Invoke-ZNAssetOtNetworkQueue.md b/src/ZN/docs/Invoke-ZNAssetOtNetworkQueue.md index 5845201..01e9742 100644 --- a/src/ZN/docs/Invoke-ZNAssetOtNetworkQueue.md +++ b/src/ZN/docs/Invoke-ZNAssetOtNetworkQueue.md @@ -1,29 +1,31 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znassetotnetworkqueue +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetotnetworkqueue schema: 2.0.0 --- # Invoke-ZNAssetOtNetworkQueue ## SYNOPSIS -Returns and empty object. +Add OT Asset to learning ## SYNTAX ### QueueExpanded (Default) ``` -Invoke-ZNAssetOtNetworkQueue -Items -QueueDays [-Confirm] [-WhatIf] [] +Invoke-ZNAssetOtNetworkQueue -AssetId -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### QueueExpanded1 ``` -Invoke-ZNAssetOtNetworkQueue -AssetId -QueueDays [-Confirm] [-WhatIf] [] +Invoke-ZNAssetOtNetworkQueue -Items -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION -Returns and empty object. +Add OT Asset to learning ## EXAMPLES @@ -44,12 +46,27 @@ This cmdlet will enable network learning for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: QueueExpanded1 +Parameter Sets: QueueExpanded Aliases: Required: True @@ -64,7 +81,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: QueueExpanded +Parameter Sets: QueueExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Invoke-ZNAssetRpcExtendQueue.md b/src/ZN/docs/Invoke-ZNAssetRpcExtendQueue.md new file mode 100644 index 0000000..655d561 --- /dev/null +++ b/src/ZN/docs/Invoke-ZNAssetRpcExtendQueue.md @@ -0,0 +1,143 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetrpcextendqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetRpcExtendQueue + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Invoke-ZNAssetRpcExtendQueue -ExtendByDays -Items [-AccountName ] + [-RelearnReason ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Exnted assets in RPC learning +```powershell +Invoke-ZNAssetRpcExtendQueue -items @(a:a:P0GVm1iZ) -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends RPC learning for assets. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExtendByDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RelearnReason +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Invoke-ZNAssetRpcQueue.md b/src/ZN/docs/Invoke-ZNAssetRpcQueue.md new file mode 100644 index 0000000..c033a82 --- /dev/null +++ b/src/ZN/docs/Invoke-ZNAssetRpcQueue.md @@ -0,0 +1,128 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znassetrpcqueue +schema: 2.0.0 +--- + +# Invoke-ZNAssetRpcQueue + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Invoke-ZNAssetRpcQueue -Items -QueueDays [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Add assets to RPC learning +```powershell +Invoke-ZNAssetRPCQueue -items @(a:a:P0GVm1iZ) -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds assets to RPC learning. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -QueueDays +number of days + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Invoke-ZNDownloadCloudConnectorInstaller.md b/src/ZN/docs/Invoke-ZNDownloadCloudConnectorInstaller.md index aeba7d8..8ce0d90 100644 --- a/src/ZN/docs/Invoke-ZNDownloadCloudConnectorInstaller.md +++ b/src/ZN/docs/Invoke-ZNDownloadCloudConnectorInstaller.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-zndownloadcloudconnectorinstaller +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zndownloadcloudconnectorinstaller schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a temporary url to the Cloud Connector installer. ## SYNTAX ``` -Invoke-ZNDownloadCloudConnectorInstaller [] +Invoke-ZNDownloadCloudConnectorInstaller [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets the download url. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Invoke-ZNDownloadConnectClient.md b/src/ZN/docs/Invoke-ZNDownloadConnectClient.md index 28a6c9c..968bdca 100644 --- a/src/ZN/docs/Invoke-ZNDownloadConnectClient.md +++ b/src/ZN/docs/Invoke-ZNDownloadConnectClient.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-zndownloadconnectclient +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zndownloadconnectclient schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a temporary url to the Connect client zip. ## SYNTAX ``` -Invoke-ZNDownloadConnectClient -Platform [] +Invoke-ZNDownloadConnectClient -Platform [-AccountName ] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ This cmdlet gets the download url for connect client. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Platform connect client platform diff --git a/src/ZN/docs/Invoke-ZNDownloadConnectServer.md b/src/ZN/docs/Invoke-ZNDownloadConnectServer.md index fd0c013..eec53a2 100644 --- a/src/ZN/docs/Invoke-ZNDownloadConnectServer.md +++ b/src/ZN/docs/Invoke-ZNDownloadConnectServer.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-zndownloadconnectserver +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zndownloadconnectserver schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a temporary url to the Connect server zip. ## SYNTAX ``` -Invoke-ZNDownloadConnectServer [] +Invoke-ZNDownloadConnectServer [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets the download url for connect server. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Invoke-ZNDownloadSegmentServer.md b/src/ZN/docs/Invoke-ZNDownloadSegmentServer.md index 8429da0..567682c 100644 --- a/src/ZN/docs/Invoke-ZNDownloadSegmentServer.md +++ b/src/ZN/docs/Invoke-ZNDownloadSegmentServer.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-zndownloadsegmentserver +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-zndownloadsegmentserver schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns a temporary url to the Segment server zip. ## SYNTAX ``` -Invoke-ZNDownloadSegmentServer [] +Invoke-ZNDownloadSegmentServer [-AccountName ] [] ``` ## DESCRIPTION @@ -36,6 +36,21 @@ This cmdlet gets the download url for segment server. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/src/ZN/docs/Invoke-ZNEncodeEntityIP.md b/src/ZN/docs/Invoke-ZNEncodeEntityIP.md index 9e140e8..02ce814 100644 --- a/src/ZN/docs/Invoke-ZNEncodeEntityIP.md +++ b/src/ZN/docs/Invoke-ZNEncodeEntityIP.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znencodeentityip +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znencodeentityip schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the assetId after encoding the IP address. ## SYNTAX ``` -Invoke-ZNEncodeEntityIP -IP [] +Invoke-ZNEncodeEntityIP -IP [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet encodes an IP Address to ZNSegement entityId for use in rules and po ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IP IP address diff --git a/src/ZN/docs/Invoke-ZNEncodeEntityIPRange.md b/src/ZN/docs/Invoke-ZNEncodeEntityIPRange.md index 03f3ba7..c555eff 100644 --- a/src/ZN/docs/Invoke-ZNEncodeEntityIPRange.md +++ b/src/ZN/docs/Invoke-ZNEncodeEntityIPRange.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znencodeentityiprange +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znencodeentityiprange schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the assetId after encoding the IP range. ## SYNTAX ``` -Invoke-ZNEncodeEntityIPRange -IPRange [] +Invoke-ZNEncodeEntityIPRange -IPRange [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet encodes an IP Address range to ZNSegement entityId for use in rules ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IPRange IP Address Range diff --git a/src/ZN/docs/Invoke-ZNEncodeEntitySubnet.md b/src/ZN/docs/Invoke-ZNEncodeEntitySubnet.md index df98fe5..07f2039 100644 --- a/src/ZN/docs/Invoke-ZNEncodeEntitySubnet.md +++ b/src/ZN/docs/Invoke-ZNEncodeEntitySubnet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znencodeentitysubnet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znencodeentitysubnet schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns the assetId after encoding the IP subnet. ## SYNTAX ``` -Invoke-ZNEncodeEntitySubnet -Subnet [] +Invoke-ZNEncodeEntitySubnet -Subnet [-AccountName ] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet encodes an IP subnet to ZNSegement entityId for use in rules and pol ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Subnet IP Subnet diff --git a/src/ZN/docs/Invoke-ZNMirrorAsset.md b/src/ZN/docs/Invoke-ZNMirrorAsset.md new file mode 100644 index 0000000..71b7411 --- /dev/null +++ b/src/ZN/docs/Invoke-ZNMirrorAsset.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znmirrorasset +schema: 2.0.0 +--- + +# Invoke-ZNMirrorAsset + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### MirrorExpanded (Default) +``` +Invoke-ZNMirrorAsset -OriginalAssetId -TargetAssetId [-AccountName ] [-Confirm] + [-WhatIf] [] +``` + +### MirrorExpanded1 +``` +Invoke-ZNMirrorAsset -AssetId -OriginalAssetId -TargetAssetId + [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Mirror an asset. +```powershell +Invoke-ZNMirrorAsset -TargetAssetId a:l:18VODYZg -OriginalAssetId a:l:4NMHdoaO +``` + +This cmdlet mirrors an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: MirrorExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OriginalAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Invoke-ZNRediscoverAd.md b/src/ZN/docs/Invoke-ZNRediscoverAd.md index 1b8ecd4..3c1f7dc 100644 --- a/src/ZN/docs/Invoke-ZNRediscoverAd.md +++ b/src/ZN/docs/Invoke-ZNRediscoverAd.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znrediscoverad +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znrediscoverad schema: 2.0.0 --- @@ -13,7 +13,7 @@ Rediscover monitored assets ## SYNTAX ``` -Invoke-ZNRediscoverAd [-Confirm] [-WhatIf] [] +Invoke-ZNRediscoverAd [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +30,21 @@ This cmdlet forces an AD rediscover. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ZN/docs/Invoke-ZNRediscoverLinux.md b/src/ZN/docs/Invoke-ZNRediscoverLinux.md index 6e5ec1b..879e2e2 100644 --- a/src/ZN/docs/Invoke-ZNRediscoverLinux.md +++ b/src/ZN/docs/Invoke-ZNRediscoverLinux.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znrediscoverlinux +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znrediscoverlinux schema: 2.0.0 --- @@ -13,7 +13,7 @@ Rediscover monitored assets from Ansible ## SYNTAX ``` -Invoke-ZNRediscoverLinux [-Confirm] [-WhatIf] [] +Invoke-ZNRediscoverLinux [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +30,21 @@ This cmdlet forces a Linux rediscover. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ZN/docs/Invoke-ZNResyncAzureAd.md b/src/ZN/docs/Invoke-ZNResyncAzureAd.md index 148406b..535a001 100644 --- a/src/ZN/docs/Invoke-ZNResyncAzureAd.md +++ b/src/ZN/docs/Invoke-ZNResyncAzureAd.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znresyncazuread +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znresyncazuread schema: 2.0.0 --- @@ -13,7 +13,7 @@ Resync Azure AD ## SYNTAX ``` -Invoke-ZNResyncAzureAd [-PassThru] [-Confirm] [-WhatIf] [] +Invoke-ZNResyncAzureAd [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +30,21 @@ This cmdlet starts an Azure AD resync. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Invoke-ZNUserIdentityQueue.md b/src/ZN/docs/Invoke-ZNUserIdentityQueue.md index a552287..ff83127 100644 --- a/src/ZN/docs/Invoke-ZNUserIdentityQueue.md +++ b/src/ZN/docs/Invoke-ZNUserIdentityQueue.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/invoke-znuseridentityqueue +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znuseridentityqueue schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Invoke-ZNUserIdentityQueue -QueueDays -UserIds [-Confirm] [-WhatIf] [] +Invoke-ZNUserIdentityQueue -QueueDays -UserIds [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet adds a user to identity learning. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -QueueDays . diff --git a/src/ZN/docs/New-ZNAssetExternalAccessPolicy.md b/src/ZN/docs/New-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..ba35ddc --- /dev/null +++ b/src/ZN/docs/New-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,283 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetexternalaccesspolicy +schema: 2.0.0 +--- + +# New-ZNAssetExternalAccessPolicy + +## SYNOPSIS +Returns a the external access policy + +## SYNTAX + +``` +New-ZNAssetExternalAccessPolicy -AssetId -DstAssetId -DstPortsList + -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList + [-AccountName ] [-Description ] [-State ] [-Url ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the external access policy + +## EXAMPLES + +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNAssetExternalAccessPolicy -AssetId $dstAsset -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNAssetIdentityRule.md b/src/ZN/docs/New-ZNAssetIdentityRule.md index 86403a4..12e0185 100644 --- a/src/ZN/docs/New-ZNAssetIdentityRule.md +++ b/src/ZN/docs/New-ZNAssetIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetidentityrule schema: 2.0.0 --- @@ -14,8 +14,9 @@ Returns a the identity segmentation rule. ``` New-ZNAssetIdentityRule -AssetId -Action -AssetId1 - -IdentityProtectionCategoryList -State -UserIdsList [-Description ] - [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] [] + -IdentityProtectionCategoryList -State -UserIdsList [-AccountName ] + [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -33,6 +34,21 @@ This cmdlet creates an identity rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action 1 - Allow, 2 - Block diff --git a/src/ZN/docs/New-ZNAssetInboundRule.md b/src/ZN/docs/New-ZNAssetInboundRule.md index 3efde8a..5c2cba5 100644 --- a/src/ZN/docs/New-ZNAssetInboundRule.md +++ b/src/ZN/docs/New-ZNAssetInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetinboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetinboundrule schema: 2.0.0 --- @@ -15,8 +15,8 @@ Returns the properties of the created Inbound rule. ``` New-ZNAssetInboundRule -AssetId -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State - [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] - [] + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] + [-IPSecOpt ] [-SrcUsersList ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -69,6 +69,21 @@ This cmdlet creates a rule for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -144,6 +159,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId . @@ -205,6 +235,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State * '1' - Enabled* '2' - Disabled* '4' - Pending Review @@ -271,7 +317,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/New-ZNAssetMfaIdentityPolicy.md b/src/ZN/docs/New-ZNAssetMfaIdentityPolicy.md index f395412..022bbca 100644 --- a/src/ZN/docs/New-ZNAssetMfaIdentityPolicy.md +++ b/src/ZN/docs/New-ZNAssetMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetmfaidentitypolicy schema: 2.0.0 --- @@ -15,9 +15,10 @@ Returns the properties of the identity MFA policy after creation. ``` New-ZNAssetMfaIdentityPolicy -AssetId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration - -SrcAssetIdsList -SrcUserIdsList -State [-Description ] - [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] - [-ExtraIdentityProtectionCategoryList ] [-Confirm] [-WhatIf] [] + -SrcAssetIdsList -SrcUserIdsList -State [-AccountName ] + [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -69,6 +70,21 @@ This cmdlet creates an identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -219,6 +235,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours diff --git a/src/ZN/docs/New-ZNAssetMfaInboundPolicy.md b/src/ZN/docs/New-ZNAssetMfaInboundPolicy.md index 0624c47..c6e4ad6 100644 --- a/src/ZN/docs/New-ZNAssetMfaInboundPolicy.md +++ b/src/ZN/docs/New-ZNAssetMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetmfainboundpolicy schema: 2.0.0 --- @@ -15,9 +15,10 @@ Returns the properties of the inbound MFA policy after creation. ``` New-ZNAssetMfaInboundPolicy -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser - -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration - -SrcEntityInfos -SrcProcessNames - -SrcUserInfos -State [-Description ] + -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser + -RuleDuration -SrcEntityInfos + -SrcProcessNames -SrcUserInfos -State + [-AccountName ] [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] ``` @@ -85,6 +86,21 @@ This cmdlet creates a MFA policy for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AdditionalPortsList . To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. @@ -267,6 +283,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours @@ -395,7 +426,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `EXCLUDEDSRCENTITYINFOS `: . - `Id `: diff --git a/src/ZN/docs/New-ZNAssetMfaOutboundPolicy.md b/src/ZN/docs/New-ZNAssetMfaOutboundPolicy.md index 06f3e54..a055065 100644 --- a/src/ZN/docs/New-ZNAssetMfaOutboundPolicy.md +++ b/src/ZN/docs/New-ZNAssetMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetmfaoutboundpolicy schema: 2.0.0 --- @@ -15,8 +15,9 @@ Returns a the properties of outbound MFA policy created. ``` New-ZNAssetMfaOutboundPolicy -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins - -ProtocolType -RuleDuration -SrcEntityInfos - -SrcProcessNames -SrcUserInfos -State + -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration + -SrcEntityInfos -SrcProcessNames + -SrcUserInfos -State [-AccountName ] [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] @@ -85,6 +86,21 @@ This cmdlet creates an outbound MFA policy for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AdditionalPortsList . To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. @@ -267,6 +283,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours @@ -395,7 +426,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `EXCLUDEDSRCENTITYINFOS `: . - `Id `: diff --git a/src/ZN/docs/New-ZNAssetOutboundRule.md b/src/ZN/docs/New-ZNAssetOutboundRule.md index 3f2aeab..78a4322 100644 --- a/src/ZN/docs/New-ZNAssetOutboundRule.md +++ b/src/ZN/docs/New-ZNAssetOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetoutboundrule schema: 2.0.0 --- @@ -15,8 +15,8 @@ Returns the properties of the created Outbound rule. ``` New-ZNAssetOutboundRule -AssetId -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State - [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] - [] + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] + [-IPSecOpt ] [-SrcUsersList ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -69,6 +69,21 @@ This cmdlet creates a rule for an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -144,6 +159,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId . @@ -205,6 +235,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State * '1' - Enabled* '2' - Disabled* '4' - Pending Review @@ -271,7 +317,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/New-ZNAssetRpcRule.md b/src/ZN/docs/New-ZNAssetRpcRule.md index e8d1894..cf71214 100644 --- a/src/ZN/docs/New-ZNAssetRpcRule.md +++ b/src/ZN/docs/New-ZNAssetRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetrpcrule schema: 2.0.0 --- @@ -15,8 +15,8 @@ Returns the properties of the create RPC rule. ``` New-ZNAssetRpcRule -AssetId -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList - -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Confirm] - [-WhatIf] [] + -RemoteAssetIdsList -State -UserIdsList [-AccountName ] + [-ExpiresAt ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -63,6 +63,21 @@ This cmdlet creates a RPC rule for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -139,7 +154,7 @@ Accept wildcard characters: False ``` ### -InterfaceUuidsList -. +one of the following: * "rpcAnyInterface" for any interface * List of interface uuids for explicit interfaces ```yaml Type: System.String[] diff --git a/src/ZN/docs/New-ZNAssetsLinux.md b/src/ZN/docs/New-ZNAssetsLinux.md index 062fafb..d84d074 100644 --- a/src/ZN/docs/New-ZNAssetsLinux.md +++ b/src/ZN/docs/New-ZNAssetsLinux.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetslinux +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetslinux schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns the assetId of the created Linux asset. ## SYNTAX ``` -New-ZNAssetsLinux -DisplayName -Fqdn [-Confirm] [-WhatIf] [] +New-ZNAssetsLinux -DisplayName -Fqdn [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet will create a linux asset in the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DisplayName . diff --git a/src/ZN/docs/New-ZNAssetsOt.md b/src/ZN/docs/New-ZNAssetsOt.md index b218680..02efe2e 100644 --- a/src/ZN/docs/New-ZNAssetsOt.md +++ b/src/ZN/docs/New-ZNAssetsOt.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znassetsot +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znassetsot schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -New-ZNAssetsOt -DisplayName -Ipv4 -Type [-Confirm] [-WhatIf] [] +New-ZNAssetsOt -DisplayName -Fqdn -Ipv4 -Type [-AccountName ] + [-InterfaceName ] [-SwitchId ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -58,6 +59,21 @@ Support Asset Types: ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DisplayName . @@ -73,6 +89,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Fqdn +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InterfaceName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Ipv4 . @@ -88,6 +134,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SwitchId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Type . diff --git a/src/ZN/docs/New-ZNCustomGroup.md b/src/ZN/docs/New-ZNCustomGroup.md index 038a88b..ceef0e9 100644 --- a/src/ZN/docs/New-ZNCustomGroup.md +++ b/src/ZN/docs/New-ZNCustomGroup.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zncustomgroup +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zncustomgroup schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -New-ZNCustomGroup -Name [-Description ] [-MembersId ] [-Confirm] [-WhatIf] - [] +New-ZNCustomGroup -Name [-AccountName ] [-Description ] [-MembersId ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ The MembersId is an array of assetIds to add to the group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Description . diff --git a/src/ZN/docs/New-ZNExternalAccessPolicy.md b/src/ZN/docs/New-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..2543056 --- /dev/null +++ b/src/ZN/docs/New-ZNExternalAccessPolicy.md @@ -0,0 +1,268 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znexternalaccesspolicy +schema: 2.0.0 +--- + +# New-ZNExternalAccessPolicy + +## SYNOPSIS +Returns a the external access policy + +## SYNTAX + +``` +New-ZNExternalAccessPolicy -DstAssetId -DstPortsList + -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList + [-AccountName ] [-Description ] [-State ] [-Url ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the external access policy + +## EXAMPLES + +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNExternalAccessPolicy -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNGroupsExternalAccessPolicy.md b/src/ZN/docs/New-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..0c746ac --- /dev/null +++ b/src/ZN/docs/New-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,297 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsexternalaccesspolicy +schema: 2.0.0 +--- + +# New-ZNGroupsExternalAccessPolicy + +## SYNOPSIS +Returns a the external access policy + +## SYNTAX + +``` +New-ZNGroupsExternalAccessPolicy -GroupId -GroupType -DstAssetId + -DstPortsList -DstProcessNamesList -Name -RuleDuration + -SrcUserIdsList [-AccountName ] [-Description ] [-State ] [-Url ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns a the external access policy + +## EXAMPLES + +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +New-ZNGroupsExternalAccessPolicy -GroupId "g:t:5V669ce2/" -GroupType tag -DstAssetId "g:t:5V669ce2" -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNGroupsIdentityRule.md b/src/ZN/docs/New-ZNGroupsIdentityRule.md index 4dce1a9..25e78ab 100644 --- a/src/ZN/docs/New-ZNGroupsIdentityRule.md +++ b/src/ZN/docs/New-ZNGroupsIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zngroupsidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsidentityrule schema: 2.0.0 --- @@ -14,8 +14,9 @@ Returns a the identity segmentation rule. ``` New-ZNGroupsIdentityRule -GroupId -GroupType -Action -AssetId - -IdentityProtectionCategoryList -State -UserIdsList [-Description ] - [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] [] + -IdentityProtectionCategoryList -State -UserIdsList [-AccountName ] + [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -34,6 +35,21 @@ This cmdlet creates an identity rule for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action 1 - Allow, 2 - Block diff --git a/src/ZN/docs/New-ZNGroupsInboundRule.md b/src/ZN/docs/New-ZNGroupsInboundRule.md index eb12f46..4bee82c 100644 --- a/src/ZN/docs/New-ZNGroupsInboundRule.md +++ b/src/ZN/docs/New-ZNGroupsInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zngroupsinboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsinboundrule schema: 2.0.0 --- @@ -15,8 +15,8 @@ Returns the properties of the created Inbound rule. ``` New-ZNGroupsInboundRule -GroupId -GroupType -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State - [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] - [] + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] + [-IPSecOpt ] [-SrcUsersList ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -69,6 +69,21 @@ This cmdlet creates a rule for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -159,6 +174,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId . @@ -220,6 +250,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State * '1' - Enabled* '2' - Disabled* '4' - Pending Review @@ -286,7 +332,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/New-ZNGroupsMfaIdentityPolicy.md b/src/ZN/docs/New-ZNGroupsMfaIdentityPolicy.md index a0c03a6..1a73f99 100644 --- a/src/ZN/docs/New-ZNGroupsMfaIdentityPolicy.md +++ b/src/ZN/docs/New-ZNGroupsMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zngroupsmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsmfaidentitypolicy schema: 2.0.0 --- @@ -16,8 +16,9 @@ Returns the properties of the identity MFA policy after creation. New-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State - [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] - [-ExtraIdentityProtectionCategoryList ] [-Confirm] [-WhatIf] [] + [-AccountName ] [-Description ] [-ExcludedDstAssetIdsList ] + [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] + [-RestrictLoginToOriginatingUser] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -69,6 +70,21 @@ This cmdlet creates an identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Description . @@ -234,6 +250,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours diff --git a/src/ZN/docs/New-ZNGroupsMfaInboundPolicy.md b/src/ZN/docs/New-ZNGroupsMfaInboundPolicy.md index 12b2b1d..f989202 100644 --- a/src/ZN/docs/New-ZNGroupsMfaInboundPolicy.md +++ b/src/ZN/docs/New-ZNGroupsMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zngroupsmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsmfainboundpolicy schema: 2.0.0 --- @@ -15,9 +15,10 @@ Returns the properties of the inbound MFA policy after creation. ``` New-ZNGroupsMfaInboundPolicy -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser - -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration - -SrcEntityInfos -SrcProcessNames - -SrcUserInfos -State [-Description ] + -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser + -RuleDuration -SrcEntityInfos + -SrcProcessNames -SrcUserInfos -State + [-AccountName ] [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] ``` @@ -85,6 +86,21 @@ This cmdlet creates an outbound MFA policy for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AdditionalPortsList . To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. @@ -282,6 +298,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours @@ -410,7 +441,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `EXCLUDEDSRCENTITYINFOS `: . - `Id `: diff --git a/src/ZN/docs/New-ZNGroupsMfaOutboundPolicy.md b/src/ZN/docs/New-ZNGroupsMfaOutboundPolicy.md index 3c9ed55..96fdf89 100644 --- a/src/ZN/docs/New-ZNGroupsMfaOutboundPolicy.md +++ b/src/ZN/docs/New-ZNGroupsMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zngroupsmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsmfaoutboundpolicy schema: 2.0.0 --- @@ -15,8 +15,9 @@ Returns a the properties of outbound MFA policy created. ``` New-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins - -ProtocolType -RuleDuration -SrcEntityInfos - -SrcProcessNames -SrcUserInfos -State + -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration + -SrcEntityInfos -SrcProcessNames + -SrcUserInfos -State [-AccountName ] [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] @@ -85,6 +86,21 @@ This cmdlet creates an outbound MFA policy for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AdditionalPortsList . To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. @@ -282,6 +298,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours @@ -410,7 +441,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `EXCLUDEDSRCENTITYINFOS `: . - `Id `: diff --git a/src/ZN/docs/New-ZNGroupsOutboundRule.md b/src/ZN/docs/New-ZNGroupsOutboundRule.md index 1665f7d..dfacb00 100644 --- a/src/ZN/docs/New-ZNGroupsOutboundRule.md +++ b/src/ZN/docs/New-ZNGroupsOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zngroupsoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsoutboundrule schema: 2.0.0 --- @@ -15,8 +15,8 @@ Returns the properties of the created Outbound rule. ``` New-ZNGroupsOutboundRule -GroupId -GroupType -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State - [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] - [] + [-AccountName ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] + [-IPSecOpt ] [-SrcUsersList ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -69,6 +69,21 @@ This cmdlet creates a rule for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -159,6 +174,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId . @@ -220,6 +250,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State * '1' - Enabled* '2' - Disabled* '4' - Pending Review @@ -286,7 +332,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/New-ZNGroupsRpcRule.md b/src/ZN/docs/New-ZNGroupsRpcRule.md index 9470ba7..5530aea 100644 --- a/src/ZN/docs/New-ZNGroupsRpcRule.md +++ b/src/ZN/docs/New-ZNGroupsRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zngroupsrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zngroupsrpcrule schema: 2.0.0 --- @@ -16,7 +16,8 @@ Returns the properties of the create RPC rule. New-ZNGroupsRpcRule -GroupId -GroupType -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State - -UserIdsList [-ExpiresAt ] [-Confirm] [-WhatIf] [] + -UserIdsList [-AccountName ] [-ExpiresAt ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -63,6 +64,21 @@ This cmdlet creates a RPC rule for a specific group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -154,7 +170,7 @@ Accept wildcard characters: False ``` ### -InterfaceUuidsList -. +one of the following: * "rpcAnyInterface" for any interface * List of interface uuids for explicit interfaces ```yaml Type: System.String[] diff --git a/src/ZN/docs/New-ZNIdentityOnboardingPolicy.md b/src/ZN/docs/New-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..0e3a6b8 --- /dev/null +++ b/src/ZN/docs/New-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znidentityonboardingpolicy +schema: 2.0.0 +--- + +# New-ZNIdentityOnboardingPolicy + +## SYNOPSIS +Returns the identity onboarding policy that was created. + +## SYNTAX + +``` +New-ZNIdentityOnboardingPolicy -ExistingMembersLearningDays -GroupId + -NewMembersLearningDays [-AccountName ] [-Description ] [-Enabled] [-EnforceBlocks] + [-MaintenanceWindowId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the identity onboarding policy that was created. + +## EXAMPLES + +### Example 1: Create an Identity onboarding policy +```powershell +New-ZNIdentityOnboardingPolicy -GroupId g:s:03669ce2 -ExistingMembersLearningDays 30 -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : 97fa4e50-c665-44e9-8261-d07c543d9d80 +ItemInitialProtectAt : 1728665381822 +ItemNewMembersLearningDays : 30 +ItemPolicyType : 2 +ItemUpdatedAt : +``` + +This cmdlet creates an identity onboarding learning policy + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnforceBlocks +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNIdentityRule.md b/src/ZN/docs/New-ZNIdentityRule.md index 965d0fe..988adc4 100644 --- a/src/ZN/docs/New-ZNIdentityRule.md +++ b/src/ZN/docs/New-ZNIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znidentityrule schema: 2.0.0 --- @@ -14,8 +14,8 @@ Returns a the identity segmentation rule. ``` New-ZNIdentityRule -Action -AssetId -IdentityProtectionCategoryList -State - -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] - [-Confirm] [-WhatIf] [] + -UserIdsList [-AccountName ] [-Description ] [-ExcludedAssetIdsList ] + [-ExpiresAt ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -34,6 +34,21 @@ This cmdlet creates an identity rule for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action 1 - Allow, 2 - Block diff --git a/src/ZN/docs/New-ZNInboundRule.md b/src/ZN/docs/New-ZNInboundRule.md index 49c49d7..0bf7797 100644 --- a/src/ZN/docs/New-ZNInboundRule.md +++ b/src/ZN/docs/New-ZNInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-zninboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-zninboundrule schema: 2.0.0 --- @@ -14,8 +14,9 @@ Returns the properties of the created Inbound rule. ``` New-ZNInboundRule -Action -LocalEntityId -LocalProcessesList - -PortsList -RemoteEntityIdsList -State [-Description ] - [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] [] + -PortsList -RemoteEntityIdsList -State [-AccountName ] + [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] + [-SrcUsersList ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -59,6 +60,21 @@ This cmdlet creates an inbound allow rule for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -119,6 +135,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId . @@ -180,6 +211,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State * '1' - Enabled* '2' - Disabled* '4' - Pending Review @@ -246,7 +293,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/New-ZNMfaIdentityPolicy.md b/src/ZN/docs/New-ZNMfaIdentityPolicy.md index 61e1920..52f3841 100644 --- a/src/ZN/docs/New-ZNMfaIdentityPolicy.md +++ b/src/ZN/docs/New-ZNMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znmfaidentitypolicy schema: 2.0.0 --- @@ -15,9 +15,10 @@ Returns the properties of the identity MFA policy after creation. ``` New-ZNMfaIdentityPolicy -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration - -SrcAssetIdsList -SrcUserIdsList -State [-Description ] - [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] - [-ExtraIdentityProtectionCategoryList ] [-Confirm] [-WhatIf] [] + -SrcAssetIdsList -SrcUserIdsList -State [-AccountName ] + [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -69,6 +70,21 @@ This cmdlet creates an identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Description . @@ -204,6 +220,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours diff --git a/src/ZN/docs/New-ZNMfaInboundPolicy.md b/src/ZN/docs/New-ZNMfaInboundPolicy.md index 848d7e4..6f42c96 100644 --- a/src/ZN/docs/New-ZNMfaInboundPolicy.md +++ b/src/ZN/docs/New-ZNMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znmfainboundpolicy schema: 2.0.0 --- @@ -15,8 +15,9 @@ Returns the properties of the inbound MFA policy after creation. ``` New-ZNMfaInboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins - -ProtocolType -RuleDuration -SrcEntityInfos - -SrcProcessNames -SrcUserInfos -State + -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration + -SrcEntityInfos -SrcProcessNames + -SrcUserInfos -State [-AccountName ] [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] ``` @@ -65,6 +66,21 @@ This cmdlet creates an inbound MFA policy for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AdditionalPortsList . To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. @@ -232,6 +248,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours @@ -360,7 +391,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `EXCLUDEDSRCENTITYINFOS `: . - `Id `: diff --git a/src/ZN/docs/New-ZNMfaOutboundPolicy.md b/src/ZN/docs/New-ZNMfaOutboundPolicy.md index 7be09e5..2eedd98 100644 --- a/src/ZN/docs/New-ZNMfaOutboundPolicy.md +++ b/src/ZN/docs/New-ZNMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znmfaoutboundpolicy schema: 2.0.0 --- @@ -14,10 +14,11 @@ Returns a the properties of outbound MFA policy created. ``` New-ZNMfaOutboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort - -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration + -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType + -RestrictLoginToOriginatingUser -RuleDuration -SrcEntityInfos -SrcProcessNames - -SrcUserInfos -State [-Description ] - [-DstProcessNames ] + -SrcUserInfos -State [-AccountName ] + [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Confirm] [-WhatIf] [] ``` @@ -66,6 +67,21 @@ This cmdlet creates an outbound MFA policy for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AdditionalPortsList . To construct, see NOTES section for ADDITIONALPORTSLIST properties and create a hash table. @@ -233,6 +249,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours @@ -361,7 +392,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `EXCLUDEDSRCENTITYINFOS `: . - `Id `: diff --git a/src/ZN/docs/New-ZNNetworkOnboardingPolicy.md b/src/ZN/docs/New-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..01ed22e --- /dev/null +++ b/src/ZN/docs/New-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znnetworkonboardingpolicy +schema: 2.0.0 +--- + +# New-ZNNetworkOnboardingPolicy + +## SYNOPSIS +Returns the network onboarding policy that was created. + +## SYNTAX + +``` +New-ZNNetworkOnboardingPolicy -ExistingMembersLearningDays -GroupId + -NewMembersLearningDays [-AccountName ] [-Description ] [-Enabled] [-EnforceBlocks] + [-MaintenanceWindowId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the network onboarding policy that was created. + +## EXAMPLES + +### Example 1: Create an Network onboarding policy +```powershell +New-ZNNetworkOnboardingPolicy -GroupId g:s:03669ce2 -ExistingMembersLearningDays 30 -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : False +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : a36d67e7-8497-4a31-a39b-24e73a6b5c78 +ItemInitialProtectAt : 1728665476730 +ItemNewMembersLearningDays : 30 +ItemPolicyType : 1 +ItemUpdatedAt : +``` + +This cmdlet creates an network onboarding learning policy + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnforceBlocks +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNOutboundRule.md b/src/ZN/docs/New-ZNOutboundRule.md index b61e440..3fde5c0 100644 --- a/src/ZN/docs/New-ZNOutboundRule.md +++ b/src/ZN/docs/New-ZNOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znoutboundrule schema: 2.0.0 --- @@ -14,8 +14,9 @@ Returns the properties of the created Outbound rule. ``` New-ZNOutboundRule -Action -LocalEntityId -LocalProcessesList - -PortsList -RemoteEntityIdsList -State [-Description ] - [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] [] + -PortsList -RemoteEntityIdsList -State [-AccountName ] + [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] + [-SrcUsersList ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -59,6 +60,21 @@ This cmdlet creates an inbound allow rule for the environment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -119,6 +135,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +* For allow rule only.* '1' - Off* '2' - Null encapsulation connections* '3' - Authenticated and integrity-protected connections* '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only)* '5' - Encrypted connections + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId . @@ -180,6 +211,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISrcUsersListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State * '1' - Enabled* '2' - Disabled* '4' - Pending Review @@ -246,7 +293,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: . + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/New-ZNPortsList.md b/src/ZN/docs/New-ZNPortsList.md index e9fc5d4..ad552b0 100644 --- a/src/ZN/docs/New-ZNPortsList.md +++ b/src/ZN/docs/New-ZNPortsList.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/new-znportslist +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znportslist schema: 2.0.0 --- diff --git a/src/ZN/docs/New-ZNRpcRule.md b/src/ZN/docs/New-ZNRpcRule.md index 40c8aba..580d09c 100644 --- a/src/ZN/docs/New-ZNRpcRule.md +++ b/src/ZN/docs/New-ZNRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znrpcrule schema: 2.0.0 --- @@ -15,8 +15,8 @@ Returns the properties of the create RPC rule. ``` New-ZNRpcRule -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList - -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Confirm] - [-WhatIf] [] + -RemoteAssetIdsList -State -UserIdsList [-AccountName ] + [-ExpiresAt ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -63,6 +63,21 @@ This cmdlet creates a RPC rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action * '1' - Allow* '2' - Block @@ -124,7 +139,7 @@ Accept wildcard characters: False ``` ### -InterfaceUuidsList -. +one of the following: * "rpcAnyInterface" for any interface * List of interface uuids for explicit interfaces ```yaml Type: System.String[] diff --git a/src/ZN/docs/New-ZNSettingsAd.md b/src/ZN/docs/New-ZNSettingsAd.md index 587ba92..128f584 100644 --- a/src/ZN/docs/New-ZNSettingsAd.md +++ b/src/ZN/docs/New-ZNSettingsAd.md @@ -1,26 +1,27 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znsettingsad +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsad schema: 2.0.0 --- # New-ZNSettingsAd ## SYNOPSIS -Set the AD settings in Asset Managment +Set the AD settings in Asset Management ## SYNTAX ``` -New-ZNSettingsAd [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] +New-ZNSettingsAd [-AccountName ] [-AllowNtlmFallback] + [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Set the AD settings in Asset Managment +Set the AD settings in Asset Management ## EXAMPLES @@ -33,6 +34,36 @@ This cmdlet create an AD forest setting. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowNtlmFallback +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PrimaryDomainConfigDomainControllerFqdn Domain Controller from AD Domain diff --git a/src/ZN/docs/New-ZNSettingsAdSecondary.md b/src/ZN/docs/New-ZNSettingsAdSecondary.md index fc1a0e8..72aae6c 100644 --- a/src/ZN/docs/New-ZNSettingsAdSecondary.md +++ b/src/ZN/docs/New-ZNSettingsAdSecondary.md @@ -1,24 +1,25 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znsettingsadsecondary +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsadsecondary schema: 2.0.0 --- # New-ZNSettingsAdSecondary ## SYNOPSIS -Add a secondary AD settings in Asset Managment +Add a secondary AD settings in Asset Management ## SYNTAX ``` -New-ZNSettingsAdSecondary -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] - [-SecondaryDomainConfigDomainName ] [-Confirm] [-WhatIf] [] +New-ZNSettingsAdSecondary -ForestId [-AccountName ] + [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION -Add a secondary AD settings in Asset Managment +Add a secondary AD settings in Asset Management ## EXAMPLES @@ -32,6 +33,21 @@ This cmdlet adds a secondary domain in AD settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ForestId The forest id diff --git a/src/ZN/docs/New-ZNSettingsConnectRegion.md b/src/ZN/docs/New-ZNSettingsConnectRegion.md index f87c713..187b50a 100644 --- a/src/ZN/docs/New-ZNSettingsConnectRegion.md +++ b/src/ZN/docs/New-ZNSettingsConnectRegion.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znsettingsconnectregion +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsconnectregion schema: 2.0.0 --- @@ -13,8 +13,9 @@ Create a Connect region in Settings ## SYNTAX ``` -New-ZNSettingsConnectRegion [-DnsServersIPAddressList ] [-DnsSuffixesList ] - [-IPAddress ] [-Name ] [-Confirm] [-WhatIf] [] +New-ZNSettingsConnectRegion [-AccountName ] [-DnsServersIPAddressList ] + [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -31,6 +32,21 @@ This cmdlet creates a Connect region in settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DnsServersIPAddressList . diff --git a/src/ZN/docs/New-ZNSettingsConnectUserAccessConfig.md b/src/ZN/docs/New-ZNSettingsConnectUserAccessConfig.md index 4cd3de6..052716c 100644 --- a/src/ZN/docs/New-ZNSettingsConnectUserAccessConfig.md +++ b/src/ZN/docs/New-ZNSettingsConnectUserAccessConfig.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znsettingsconnectuseraccessconfig +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsconnectuseraccessconfig schema: 2.0.0 --- @@ -13,9 +13,9 @@ Create a Connect User Access Configuration in Settings ## SYNTAX ``` -New-ZNSettingsConnectUserAccessConfig [-AllowedRegions ] [-ConnectivityStateAfterReboot ] - [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] - [-LoginAuthorizedEntityAllowedAssetIdsList ] +New-ZNSettingsConnectUserAccessConfig [-AccountName ] [-AllowedRegions ] + [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] + [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] @@ -39,6 +39,21 @@ This cmldet creates a User Access Config for Connect. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AllowedRegions . diff --git a/src/ZN/docs/New-ZNSettingsIdp.md b/src/ZN/docs/New-ZNSettingsIdp.md index 2d5add2..9221935 100644 --- a/src/ZN/docs/New-ZNSettingsIdp.md +++ b/src/ZN/docs/New-ZNSettingsIdp.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znsettingsidp +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsidp schema: 2.0.0 --- @@ -13,8 +13,8 @@ Create an identity provider settings in Identity Providers ## SYNTAX ``` -New-ZNSettingsIdp [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] - [-SsoUrl ] [-Confirm] [-WhatIf] [] +New-ZNSettingsIdp [-AccountName ] [-Certificate ] [-IdentityProvider ] [-IsDefault] + [-SloUrl ] [-SsoUrl ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet create an Idp Setting. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Certificate Identity Provider certificate diff --git a/src/ZN/docs/New-ZNSettingsMaintenanceWindow.md b/src/ZN/docs/New-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..b6f92a1 --- /dev/null +++ b/src/ZN/docs/New-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,169 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsmaintenancewindow +schema: 2.0.0 +--- + +# New-ZNSettingsMaintenanceWindow + +## SYNOPSIS +Returns the maintenance window properties + +## SYNTAX + +``` +New-ZNSettingsMaintenanceWindow [-AccountName ] [-IsDefault] [-Name ] [-StartTime ] + [-Weekday ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the maintenance window properties + +## EXAMPLES + +### Example 1: Create a maintenance window +```powershell +New-ZNSettingsMaintenanceWindow -IsDefault:$false -Name "MaintWindow" -StartTime 1 -Weekday 1 +``` + +```output +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +ItemCreatedAt : 1728096395670 +ItemId : e:m:pszG5Dda +ItemIsDefault : False +ItemName : MaintWindow +ItemStartTime : 1 +ItemUpdatedAt : 1728096395670 +ItemWeekday : 1 +UpdatedById : +UpdatedByName : +``` + +This cmdlet create a new maintenance window. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsDefault +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTime +0-24 in UTC. +1 would be 01:00-02:00UTC + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Weekday +Sunday is 1, Saturday is 7 + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IMaintenanceWindowItem + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNProtectionPolicy.md b/src/ZN/docs/New-ZNSettingsMfaCache.md similarity index 56% rename from src/ZN/docs/Update-ZNProtectionPolicy.md rename to src/ZN/docs/New-ZNSettingsMfaCache.md index 04f4097..8fe4c39 100644 --- a/src/ZN/docs/Update-ZNProtectionPolicy.md +++ b/src/ZN/docs/New-ZNSettingsMfaCache.md @@ -1,56 +1,44 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znprotectionpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsmfacache schema: 2.0.0 --- -# Update-ZNProtectionPolicy +# New-ZNSettingsMfaCache ## SYNOPSIS -Returns the updated settings for the protection policy. +Creates a MFA Cache Policy. ## SYNTAX ``` -Update-ZNProtectionPolicy -ProtectionPolicyId -NewMembersLearningDays [-Description ] +New-ZNSettingsMfaCache -AssetLimit -EntityId -TtlMinutes [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Returns the updated settings for the protection policy. +Creates a MFA Cache Policy. ## EXAMPLES -### Example 1: Update a protection policy +### Example 1: Create a MFA cache policy ```powershell -$pp = Get-ZNProtectionPolicy | where {$_.GroupId -eq "g:t:01276c2c"} -Update-ZNProtectionPolicy -ProtectionPolicyId $pp.Id -MinQueueDays 30 +New-ZNSettingsMfaCache -AssetLimit 10 -EntityId u:d:2HOfhbpY -TtlMinutes 400 ``` ```output -CreatedByEnforcementSource : 4 -CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 -CreatedByName : Zero Networks -CreatedByUserRole : 1 -GroupInfoDomain : tag -GroupInfoHasProtectionPolicy : False -GroupInfoId : g:t:01276c2c -GroupInfoName : Domain controllers -ItemCreatedAt : 1665679791212 -ItemGroupId : g:t:01276c2c -ItemId : 8221cd9a-7de5-4915-b8e5-b46d8cc96e49 -ItemInitialProtectAt : 1668272400000 -ItemMinQueueDays : 30 -ItemUpdatedAt : 1665680065342 +ItemAssetLimit ItemEntityId ItemTtlMinutes +-------------- ------------ -------------- + 10 u:d:2HOfhbpY 400 ``` -This cmdlet will update a protection policy for the environment. +This cmdlet creates a MFA cache policy. ## PARAMETERS -### -Description -. +### -AccountName +this value is per customer / partner ```yaml Type: System.String @@ -59,12 +47,12 @@ Aliases: Required: False Position: Named -Default value: None +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] Accept pipeline input: False Accept wildcard characters: False ``` -### -NewMembersLearningDays +### -AssetLimit . ```yaml @@ -79,8 +67,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProtectionPolicyId -The id of the protection policy +### -EntityId +. ```yaml Type: System.String @@ -94,6 +82,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -TtlMinutes +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -134,7 +137,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError -### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaCacheItem ## NOTES diff --git a/src/ZN/docs/New-ZNSettingsPushNotification.md b/src/ZN/docs/New-ZNSettingsPushNotification.md index f57486c..f868825 100644 --- a/src/ZN/docs/New-ZNSettingsPushNotification.md +++ b/src/ZN/docs/New-ZNSettingsPushNotification.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znsettingspushnotification +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingspushnotification schema: 2.0.0 --- @@ -14,8 +14,8 @@ Create an push notifications settings ### CreateExpanded (Default) ``` -New-ZNSettingsPushNotification -PushIdentityProviderId [-Host1 ] [-Id ] - [-IdentityProvider ] [-SecretKey ] [-Confirm] [-WhatIf] [] +New-ZNSettingsPushNotification -PushIdentityProviderId [-AccountName ] [-Host ] + [-Id ] [-IdentityProvider ] [-SecretKey ] [-Confirm] [-WhatIf] [] ``` ### CreateDuo @@ -51,6 +51,21 @@ This cmdlet creates a Duo push notifications settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ApiHostname Api Hostname @@ -66,7 +81,7 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Host1 +### -Host empty for microsoftAuthentictor ```yaml @@ -213,7 +228,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError -### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsPushNotificaitions +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsPushNotifications ## NOTES diff --git a/src/ZN/docs/New-ZNUserExternalAccessPolicy.md b/src/ZN/docs/New-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..fd8cb6d --- /dev/null +++ b/src/ZN/docs/New-ZNUserExternalAccessPolicy.md @@ -0,0 +1,283 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znuserexternalaccesspolicy +schema: 2.0.0 +--- + +# New-ZNUserExternalAccessPolicy + +## SYNOPSIS +Returns a the external access policy + +## SYNTAX + +``` +New-ZNUserExternalAccessPolicy -UserId -DstAssetId -DstPortsList + -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList + [-AccountName ] [-Description ] [-State ] [-Url ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns a the external access policy + +## EXAMPLES + +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNUserExternalAccessPolicy -UserId $srcUser.Id -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstAssetId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +* '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +* '1' - Enabled* '2' - Disabled* '4' - Pending Review + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: . + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNUserIdentityRule.md b/src/ZN/docs/New-ZNUserIdentityRule.md index d0a49a4..b876f78 100644 --- a/src/ZN/docs/New-ZNUserIdentityRule.md +++ b/src/ZN/docs/New-ZNUserIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znuseridentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znuseridentityrule schema: 2.0.0 --- @@ -14,8 +14,9 @@ Returns a the identity segmentation rule. ``` New-ZNUserIdentityRule -UserId -Action -AssetId - -IdentityProtectionCategoryList -State -UserIdsList [-Description ] - [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] [] + -IdentityProtectionCategoryList -State -UserIdsList [-AccountName ] + [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -34,6 +35,21 @@ This cmdlet creates an identity rule for a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Action 1 - Allow, 2 - Block diff --git a/src/ZN/docs/New-ZNUserMfaIdentityPolicy.md b/src/ZN/docs/New-ZNUserMfaIdentityPolicy.md index 366ecb2..6020067 100644 --- a/src/ZN/docs/New-ZNUserMfaIdentityPolicy.md +++ b/src/ZN/docs/New-ZNUserMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/new-znusermfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znusermfaidentitypolicy schema: 2.0.0 --- @@ -15,9 +15,10 @@ Returns the properties of the identity MFA policy after creation. ``` New-ZNUserMfaIdentityPolicy -UserId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration - -SrcAssetIdsList -SrcUserIdsList -State [-Description ] - [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] - [-ExtraIdentityProtectionCategoryList ] [-Confirm] [-WhatIf] [] + -SrcAssetIdsList -SrcUserIdsList -State [-AccountName ] + [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] + [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -69,6 +70,21 @@ This cmdlet creates an identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Description . @@ -204,6 +220,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration * '1' - Hour* '2' - Day* '3' - Week* '4' - Month* '5' - Never* '6' - 4 hours* '7' - 12 hours* '8' - 8 hours diff --git a/src/ZN/docs/Protect-ZNAssetIdentitySegment.md b/src/ZN/docs/Protect-ZNAssetIdentitySegment.md new file mode 100644 index 0000000..f197dc1 --- /dev/null +++ b/src/ZN/docs/Protect-ZNAssetIdentitySegment.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetidentitysegment +schema: 2.0.0 +--- + +# Protect-ZNAssetIdentitySegment + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### Protect (Default) +``` +Protect-ZNAssetIdentitySegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### ProtectExpanded +``` +Protect-ZNAssetIdentitySegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Add an asset to identity segmentation +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Protect-ZNAssetIdentitySegment -AssetId $asset +``` + +This cmdlet adds an asset to identity segmentation. + +### Example 2: Add multiple assets to identity segmentation +```powershell +Protect-ZNAssetIdentitySegment -Items @("assetid","assetId") +``` + +This cmdlet adds multiple assets to identity segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Protect +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ProtectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Protect-ZNAssetNetworkSegment.md b/src/ZN/docs/Protect-ZNAssetNetworkSegment.md index 26e6d04..06467d0 100644 --- a/src/ZN/docs/Protect-ZNAssetNetworkSegment.md +++ b/src/ZN/docs/Protect-ZNAssetNetworkSegment.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/protect-znassetnetworksegment +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetnetworksegment schema: 2.0.0 --- @@ -12,14 +12,16 @@ Returns an empty object. ## SYNTAX -### Protect1 (Default) +### Protect (Default) ``` -Protect-ZNAssetNetworkSegment -AssetId [-Confirm] [-WhatIf] [] +Protect-ZNAssetNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### ProtectExpanded ``` -Protect-ZNAssetNetworkSegment -Items [-Confirm] [-WhatIf] [] +Protect-ZNAssetNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -43,12 +45,27 @@ This sample will move all assets currently in learning to segmented. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: Protect1 +Parameter Sets: Protect Aliases: Required: True diff --git a/src/ZN/docs/Protect-ZNAssetOtNetworkSegment.md b/src/ZN/docs/Protect-ZNAssetOtNetworkSegment.md index a25d2bf..5fb5b14 100644 --- a/src/ZN/docs/Protect-ZNAssetOtNetworkSegment.md +++ b/src/ZN/docs/Protect-ZNAssetOtNetworkSegment.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/protect-znassetotnetworksegment +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetotnetworksegment schema: 2.0.0 --- @@ -12,14 +12,16 @@ Returns an empty object. ## SYNTAX -### Protect1 (Default) +### Protect (Default) ``` -Protect-ZNAssetOtNetworkSegment -AssetId [-Confirm] [-WhatIf] [] +Protect-ZNAssetOtNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### ProtectExpanded ``` -Protect-ZNAssetOtNetworkSegment -Items [-Confirm] [-WhatIf] [] +Protect-ZNAssetOtNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -43,12 +45,27 @@ This sample will move all assets currently in learning to segmented. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: Protect1 +Parameter Sets: Protect Aliases: Required: True diff --git a/src/ZN/docs/Protect-ZNAssetRpcSegment.md b/src/ZN/docs/Protect-ZNAssetRpcSegment.md new file mode 100644 index 0000000..cc706a5 --- /dev/null +++ b/src/ZN/docs/Protect-ZNAssetRpcSegment.md @@ -0,0 +1,136 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znassetrpcsegment +schema: 2.0.0 +--- + +# Protect-ZNAssetRpcSegment + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### ProtectExpanded (Default) +``` +Protect-ZNAssetRpcSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +### ProtectExpanded1 +``` +Protect-ZNAssetRpcSegment -Items [-AccountName ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Add assets to RPC Segmentation +```powershell +Protect-ZNAssetRpcSegment -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet adds multiple assets to RPC segmentation. + +### Example 1: Add an asset to RPC Segmentation +```powershell +Protect-ZNAssetRpcSegment -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet adds an asset to RPC segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: ProtectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: ProtectExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Protect-ZNUserIdentitySegment.md b/src/ZN/docs/Protect-ZNUserIdentitySegment.md new file mode 100644 index 0000000..0527f37 --- /dev/null +++ b/src/ZN/docs/Protect-ZNUserIdentitySegment.md @@ -0,0 +1,109 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/protect-znuseridentitysegment +schema: 2.0.0 +--- + +# Protect-ZNUserIdentitySegment + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Protect-ZNUserIdentitySegment -UserIds [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Segment a service account +```powershell +Protect-ZNUserIdentitySegment -UserIds @("u:a:mACDNWcW") +``` + +This cmdlet moves a service account from learning to segmented. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Read-ZNJWTtoken.md b/src/ZN/docs/Read-ZNJWTtoken.md new file mode 100644 index 0000000..8dcd5dc --- /dev/null +++ b/src/ZN/docs/Read-ZNJWTtoken.md @@ -0,0 +1,73 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/read-znjwttoken +schema: 2.0.0 +--- + +# Read-ZNJWTtoken + +## SYNOPSIS + + +## SYNTAX + +``` +Read-ZNJWTtoken [-token] [] +``` + +## DESCRIPTION + + +## EXAMPLES + +### Example 1: Decode a token +```powershell +Read-ZNJWTtoken -token eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtOmI1NTM3ZGY1OTA4MDA2NDMzMDBjNjMxOWJkNWM2MDE4YjI1NDRhOWMiLCJuYW1lIjoiZmVmZXd3ZGUiLCJlaWQiOiJjZDM4NDQ3MC05MGRmLTQ2MTgtYjIxOS0xMDAzZjc2NjljZTIiLCJzY29wZSI6NSwiZV9uYW1lIjoiUG93ZXJzaGVsbFRlc3RpbmciLCJ2IjoxLCJpYXQiOjE3MjYwNzM2ODAsImV4cCI6MTc4OTE0NTY4MCwiYXVkIjoicG9ydGFsLnplcm9uZXR3b3Jrcy5jb20iLCJpc3MiOiJ6ZXJvbmV0d29ya3MuY29tL2FwaS92MS9hY2Nlc3MtdG9rZW4ifQ.fFT1_FyBpS7wdrcj-q56hPLPc8BnxYg6ezzVnkBlj-A26gGMQtxoBZn5zfkaqiEryfVyt8qZqRugxvAaK7MYEzJPsFDIrivROSYIWYQJhX2U3Dmi9UPs0ZP3L1jYHOlpYkaqUp0akEdxXpAZLvXN6ncEyWNq3U87ynNDOa5U6Pa8EHlLMk0DML213h6F-yrqRmPD-Z0ABkJv3DSgugBwphN-9R-Sn_P7s0Gd4m5PtNGyXpLygTUFSe-XJ9kQZcZ7Zza3VdeJg1-5xrZcXgmlA85X0rbTqzr15wkwKiT2nYfPgZ2b6pt_P2ztGITwlQnQt24gykEYD4_pAq_yAf7EDA +``` + +```output +sub : m:b5537df590800643300c6319bd5c6018b2544a9c +name : fefewwde +eid : cd384470-90df-4618-b219-1003f7669ce2 +scope : 5 +e_name : PowershellTesting +v : 1 +iat : 1726073680 +exp : 1789145680 +aud : portal.zeronetworks.com +iss : zeronetworks.com/api/v1/access-token +``` + +This cmdlet decodes a token. + +## PARAMETERS + +### -token + + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Object + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNAeExclusionsInbound.md b/src/ZN/docs/Remove-ZNAeExclusionsInbound.md new file mode 100644 index 0000000..d7861f3 --- /dev/null +++ b/src/ZN/docs/Remove-ZNAeExclusionsInbound.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znaeexclusionsinbound +schema: 2.0.0 +--- + +# Remove-ZNAeExclusionsInbound + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAeExclusionsInbound -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete an AE exclusion +```powershell +Remove-ZNAeExclusionsInbound -RuleId 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +``` + +This cmdlet deletes an AE exclusion. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNAeExclusionsOutbound.md b/src/ZN/docs/Remove-ZNAeExclusionsOutbound.md new file mode 100644 index 0000000..55d39e7 --- /dev/null +++ b/src/ZN/docs/Remove-ZNAeExclusionsOutbound.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znaeexclusionsoutbound +schema: 2.0.0 +--- + +# Remove-ZNAeExclusionsOutbound + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAeExclusionsOutbound -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Delete an AE exclusion +```powershell +Remove-ZNAeExclusionsOutbound -RuleId 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +``` + +This cmdlet deletes an AE exclusion. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleId +The id of the rule + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNApiKey.md b/src/ZN/docs/Remove-ZNApiKey.md index 524bb63..7f8d272 100644 --- a/src/ZN/docs/Remove-ZNApiKey.md +++ b/src/ZN/docs/Remove-ZNApiKey.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znapikey +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znapikey schema: 2.0.0 --- @@ -20,7 +20,7 @@ Remove-ZNApiKey [-Confirm] [-WhatIf] [] Deletes the API Key #.Link -https://github.com/zeronetworks/zero-powershell/remove-znapikey +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znapikey ## EXAMPLES diff --git a/src/ZN/docs/Remove-ZNAssetExternalAccessPolicy.md b/src/ZN/docs/Remove-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..f2d2555 --- /dev/null +++ b/src/ZN/docs/Remove-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetexternalaccesspolicy +schema: 2.0.0 +--- + +# Remove-ZNAssetExternalAccessPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNAssetExternalAccessPolicy -AssetId -PolicyId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an external access policy +```powershell +Remove-ZNExternalAccessPolicy -PolicyId p:e:9NfK8zpm +``` + +This cmdlet deletes an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNAssetIdentityRule.md b/src/ZN/docs/Remove-ZNAssetIdentityRule.md index 0e50721..b43a596 100644 --- a/src/ZN/docs/Remove-ZNAssetIdentityRule.md +++ b/src/ZN/docs/Remove-ZNAssetIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetidentityrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNAssetIdentityRule -AssetId -RuleId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNAssetIdentityRule -AssetId -RuleId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an identity rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetInboundRule.md b/src/ZN/docs/Remove-ZNAssetInboundRule.md index 8c96787..618b095 100644 --- a/src/ZN/docs/Remove-ZNAssetInboundRule.md +++ b/src/ZN/docs/Remove-ZNAssetInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetinboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetinboundrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNAssetInboundRule -AssetId -RuleId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNAssetInboundRule -AssetId -RuleId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an inbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetManager.md b/src/ZN/docs/Remove-ZNAssetManager.md index 0bb21dd..a0aeef7 100644 --- a/src/ZN/docs/Remove-ZNAssetManager.md +++ b/src/ZN/docs/Remove-ZNAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetmanager schema: 2.0.0 --- @@ -13,8 +13,8 @@ Remove an asset manager of asset ## SYNTAX ``` -Remove-ZNAssetManager -AssetId -GroupOrUserId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNAssetManager -AssetId -GroupOrUserId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes and asset manager from an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetMfaIdentityPolicy.md b/src/ZN/docs/Remove-ZNAssetMfaIdentityPolicy.md index d08b538..077b8fa 100644 --- a/src/ZN/docs/Remove-ZNAssetMfaIdentityPolicy.md +++ b/src/ZN/docs/Remove-ZNAssetMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetmfaidentitypolicy schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetMfaInboundPolicy.md b/src/ZN/docs/Remove-ZNAssetMfaInboundPolicy.md index b92c1a8..386fa5f 100644 --- a/src/ZN/docs/Remove-ZNAssetMfaInboundPolicy.md +++ b/src/ZN/docs/Remove-ZNAssetMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetmfainboundpolicy schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an inbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetMfaOutboundPolicy.md b/src/ZN/docs/Remove-ZNAssetMfaOutboundPolicy.md index a28343a..1c2ed24 100644 --- a/src/ZN/docs/Remove-ZNAssetMfaOutboundPolicy.md +++ b/src/ZN/docs/Remove-ZNAssetMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetmfaoutboundpolicy schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an outbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetOtAssetManager.md b/src/ZN/docs/Remove-ZNAssetOtAssetManager.md index a78b8e8..d9092f3 100644 --- a/src/ZN/docs/Remove-ZNAssetOtAssetManager.md +++ b/src/ZN/docs/Remove-ZNAssetOtAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetotassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetotassetmanager schema: 2.0.0 --- @@ -13,8 +13,8 @@ Remove an asset manager of asset ## SYNTAX ``` -Remove-ZNAssetOtAssetManager -AssetId -GroupOrUserId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNAssetOtAssetManager -AssetId -GroupOrUserId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes and asset manager from an asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetOutboundRule.md b/src/ZN/docs/Remove-ZNAssetOutboundRule.md index a1505fb..f0ec6d4 100644 --- a/src/ZN/docs/Remove-ZNAssetOutboundRule.md +++ b/src/ZN/docs/Remove-ZNAssetOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetoutboundrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNAssetOutboundRule -AssetId -RuleId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNAssetOutboundRule -AssetId -RuleId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an outbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetRpcMonitoring.md b/src/ZN/docs/Remove-ZNAssetRpcMonitoring.md index ecf895c..ee05ac5 100644 --- a/src/ZN/docs/Remove-ZNAssetRpcMonitoring.md +++ b/src/ZN/docs/Remove-ZNAssetRpcMonitoring.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetrpcmonitoring +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetrpcmonitoring schema: 2.0.0 --- @@ -14,12 +14,14 @@ Returns an empty object. ### Delete (Default) ``` -Remove-ZNAssetRpcMonitoring -AssetId [-Confirm] [-WhatIf] [] +Remove-ZNAssetRpcMonitoring -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### DeleteExpanded ``` -Remove-ZNAssetRpcMonitoring -Items [-Confirm] [-WhatIf] [] +Remove-ZNAssetRpcMonitoring -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -43,6 +45,21 @@ This cmdlet removes an asset to RPC monitoring. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNAssetRpcRule.md b/src/ZN/docs/Remove-ZNAssetRpcRule.md index ad40b7f..673c030 100644 --- a/src/ZN/docs/Remove-ZNAssetRpcRule.md +++ b/src/ZN/docs/Remove-ZNAssetRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znassetrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znassetrpcrule schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNAssetRpcRule -AssetId -RuleId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNAssetRpcRule -AssetId -RuleId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet deletes a RPC rule for a specific asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Remove-ZNCustomGroup.md b/src/ZN/docs/Remove-ZNCustomGroup.md index 862d161..28251ea 100644 --- a/src/ZN/docs/Remove-ZNCustomGroup.md +++ b/src/ZN/docs/Remove-ZNCustomGroup.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zncustomgroup +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zncustomgroup schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNCustomGroup -GroupId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNCustomGroup -GroupId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet deletes a custom group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNCustomGroupsMember.md b/src/ZN/docs/Remove-ZNCustomGroupsMember.md index 5fcd6b8..7115300 100644 --- a/src/ZN/docs/Remove-ZNCustomGroupsMember.md +++ b/src/ZN/docs/Remove-ZNCustomGroupsMember.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zncustomgroupsmember +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zncustomgroupsmember schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNCustomGroupsMember -GroupId -MembersId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNCustomGroupsMember -GroupId -MembersId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet removes a member from a custom group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNExternalAccessPolicy.md b/src/ZN/docs/Remove-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..9ff6eff --- /dev/null +++ b/src/ZN/docs/Remove-ZNExternalAccessPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znexternalaccesspolicy +schema: 2.0.0 +--- + +# Remove-ZNExternalAccessPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNExternalAccessPolicy -PolicyId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an external access policy +```powershell +Remove-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:9NfK8zpm +``` + +This cmdlet deletes an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNGroupsAssetManager.md b/src/ZN/docs/Remove-ZNGroupsAssetManager.md index b655c64..36ccfa5 100644 --- a/src/ZN/docs/Remove-ZNGroupsAssetManager.md +++ b/src/ZN/docs/Remove-ZNGroupsAssetManager.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsassetmanager +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsassetmanager schema: 2.0.0 --- @@ -13,8 +13,8 @@ Remove asset manager of group ## SYNTAX ``` -Remove-ZNGroupsAssetManager -GroupId -GroupOrUserId -GroupType [-PassThru] - [-Confirm] [-WhatIf] [] +Remove-ZNGroupsAssetManager -GroupId -GroupOrUserId -GroupType + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet deletes an asset manager from a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNGroupsExternalAccessPolicy.md b/src/ZN/docs/Remove-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..7b0bdbe --- /dev/null +++ b/src/ZN/docs/Remove-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,152 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsexternalaccesspolicy +schema: 2.0.0 +--- + +# Remove-ZNGroupsExternalAccessPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNGroupsExternalAccessPolicy -GroupId -GroupType -PolicyId + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an external access policy +```powershell +Remove-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag -PolicyId p:e:9NfK8zpm +``` + +This cmdlet deletes an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNGroupsIdentityRule.md b/src/ZN/docs/Remove-ZNGroupsIdentityRule.md index 80dcae7..d281d0b 100644 --- a/src/ZN/docs/Remove-ZNGroupsIdentityRule.md +++ b/src/ZN/docs/Remove-ZNGroupsIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsidentityrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-PassThru] [-Confirm] - [-WhatIf] [] +Remove-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an identity rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNGroupsInboundRule.md b/src/ZN/docs/Remove-ZNGroupsInboundRule.md index 07fbe1b..e93c3f7 100644 --- a/src/ZN/docs/Remove-ZNGroupsInboundRule.md +++ b/src/ZN/docs/Remove-ZNGroupsInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsinboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsinboundrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-PassThru] [-Confirm] - [-WhatIf] [] +Remove-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an inbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNGroupsManagedAsset.md b/src/ZN/docs/Remove-ZNGroupsManagedAsset.md index 0bc7b8f..e9506be 100644 --- a/src/ZN/docs/Remove-ZNGroupsManagedAsset.md +++ b/src/ZN/docs/Remove-ZNGroupsManagedAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsmanagedasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsmanagedasset schema: 2.0.0 --- @@ -13,8 +13,8 @@ Remove managed asset of group ## SYNTAX ``` -Remove-ZNGroupsManagedAsset -GroupId -GroupOrAssetId -GroupType [-PassThru] - [-Confirm] [-WhatIf] [] +Remove-ZNGroupsManagedAsset -GroupId -GroupOrAssetId -GroupType + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet deletes a managed asset from a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNGroupsMfaIdentityPolicy.md b/src/ZN/docs/Remove-ZNGroupsMfaIdentityPolicy.md index 8906fce..4b43813 100644 --- a/src/ZN/docs/Remove-ZNGroupsMfaIdentityPolicy.md +++ b/src/ZN/docs/Remove-ZNGroupsMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsmfaidentitypolicy schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-PassThru] - [-Confirm] [-WhatIf] [] +Remove-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNGroupsMfaInboundPolicy.md b/src/ZN/docs/Remove-ZNGroupsMfaInboundPolicy.md index 5f5431f..0a2c456 100644 --- a/src/ZN/docs/Remove-ZNGroupsMfaInboundPolicy.md +++ b/src/ZN/docs/Remove-ZNGroupsMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsmfainboundpolicy schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-PassThru] - [-Confirm] [-WhatIf] [] +Remove-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an outbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNGroupsMfaOutboundPolicy.md b/src/ZN/docs/Remove-ZNGroupsMfaOutboundPolicy.md index ffa0b3b..f5c5150 100644 --- a/src/ZN/docs/Remove-ZNGroupsMfaOutboundPolicy.md +++ b/src/ZN/docs/Remove-ZNGroupsMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsmfaoutboundpolicy schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-PassThru] - [-Confirm] [-WhatIf] [] +Remove-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an outbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNGroupsOutboundRule.md b/src/ZN/docs/Remove-ZNGroupsOutboundRule.md index 6122aae..986575a 100644 --- a/src/ZN/docs/Remove-ZNGroupsOutboundRule.md +++ b/src/ZN/docs/Remove-ZNGroupsOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsoutboundrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-PassThru] [-Confirm] - [-WhatIf] [] +Remove-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an outbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNGroupsRpcRule.md b/src/ZN/docs/Remove-ZNGroupsRpcRule.md index be7b073..c56bf85 100644 --- a/src/ZN/docs/Remove-ZNGroupsRpcRule.md +++ b/src/ZN/docs/Remove-ZNGroupsRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zngroupsrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zngroupsrpcrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet deletes a RPC rule for a specific group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNIdentityOnboardingPolicy.md b/src/ZN/docs/Remove-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..83d3635 --- /dev/null +++ b/src/ZN/docs/Remove-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znidentityonboardingpolicy +schema: 2.0.0 +--- + +# Remove-ZNIdentityOnboardingPolicy + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Remove-ZNIdentityOnboardingPolicy -OnboardingPolicyId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Delete an identity onboarding policy +```powershell +Remove-ZNIdentityOnboardingPolicy -OnboardingPolicyId 97fa4e50-c665-44e9-8261-d07c543d9d80 +``` + +This cmdlet deletes an identity onboarding policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OnboardingPolicyId +The id of the onboarding policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNIdentityRule.md b/src/ZN/docs/Remove-ZNIdentityRule.md index da48029..7a1b5b2 100644 --- a/src/ZN/docs/Remove-ZNIdentityRule.md +++ b/src/ZN/docs/Remove-ZNIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znidentityrule schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNIdentityRule -RuleId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNIdentityRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet deletes an identity rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNInboundRule.md b/src/ZN/docs/Remove-ZNInboundRule.md index 23b2e6e..bf06f1f 100644 --- a/src/ZN/docs/Remove-ZNInboundRule.md +++ b/src/ZN/docs/Remove-ZNInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zninboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zninboundrule schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNInboundRule -RuleId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNInboundRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet deletes an inbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNMfaIdentityPolicy.md b/src/ZN/docs/Remove-ZNMfaIdentityPolicy.md index 43188c4..765c0b4 100644 --- a/src/ZN/docs/Remove-ZNMfaIdentityPolicy.md +++ b/src/ZN/docs/Remove-ZNMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znmfaidentitypolicy schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNMfaIdentityPolicy -ReactivePolicyId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNMfaIdentityPolicy -ReactivePolicyId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet deletes an identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNMfaInboundPolicy.md b/src/ZN/docs/Remove-ZNMfaInboundPolicy.md index 26def97..f68816e 100644 --- a/src/ZN/docs/Remove-ZNMfaInboundPolicy.md +++ b/src/ZN/docs/Remove-ZNMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znmfainboundpolicy schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNMfaInboundPolicy -ReactivePolicyId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNMfaInboundPolicy -ReactivePolicyId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet deletes an inbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNMfaOutboundPolicy.md b/src/ZN/docs/Remove-ZNMfaOutboundPolicy.md index 5a54b70..edfbdfc 100644 --- a/src/ZN/docs/Remove-ZNMfaOutboundPolicy.md +++ b/src/ZN/docs/Remove-ZNMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znmfaoutboundpolicy schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNMfaOutboundPolicy -ReactivePolicyId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNMfaOutboundPolicy -ReactivePolicyId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet deletes an outbound MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNNetworkOnboardingPolicy.md b/src/ZN/docs/Remove-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..425555f --- /dev/null +++ b/src/ZN/docs/Remove-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znnetworkonboardingpolicy +schema: 2.0.0 +--- + +# Remove-ZNNetworkOnboardingPolicy + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Remove-ZNNetworkOnboardingPolicy -OnboardingPolicyId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Delete an network onboarding policy +```powershell +Remove-ZNNetworkOnboardingPolicy -OnboardingPolicyId 97fa4e50-c665-44e9-8261-d07c543d9d80 +``` + +This cmdlet deletes an network onboarding policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OnboardingPolicyId +The id of the onboarding policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNOutboundRule.md b/src/ZN/docs/Remove-ZNOutboundRule.md index 0671541..c949510 100644 --- a/src/ZN/docs/Remove-ZNOutboundRule.md +++ b/src/ZN/docs/Remove-ZNOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znoutboundrule schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNOutboundRule -RuleId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNOutboundRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet deletes an outbound rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNRpcRule.md b/src/ZN/docs/Remove-ZNRpcRule.md index 1550d11..6bb2db2 100644 --- a/src/ZN/docs/Remove-ZNRpcRule.md +++ b/src/ZN/docs/Remove-ZNRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znrpcrule schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNRpcRule -RuleId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNRpcRule -RuleId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet removes a RPC rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNSettingsAad.md b/src/ZN/docs/Remove-ZNSettingsAad.md index 75b29d8..edfc1b7 100644 --- a/src/ZN/docs/Remove-ZNSettingsAad.md +++ b/src/ZN/docs/Remove-ZNSettingsAad.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsaad +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsaad schema: 2.0.0 --- @@ -13,7 +13,7 @@ Remove Azure AD Settings ## SYNTAX ``` -Remove-ZNSettingsAad [-Confirm] [-WhatIf] [] +Remove-ZNSettingsAad [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +30,21 @@ This cmdlet deletes the AAD settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/ZN/docs/Remove-ZNSettingsAd.md b/src/ZN/docs/Remove-ZNSettingsAd.md index e01137f..b4b4b25 100644 --- a/src/ZN/docs/Remove-ZNSettingsAd.md +++ b/src/ZN/docs/Remove-ZNSettingsAd.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsad +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsad schema: 2.0.0 --- @@ -13,7 +13,7 @@ Delete AD forest settings. ## SYNTAX ``` -Remove-ZNSettingsAd -ForestId [-Confirm] [-WhatIf] [] +Remove-ZNSettingsAd -ForestId [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet deletes a forest from AD settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ForestId The forest id diff --git a/src/ZN/docs/Remove-ZNSettingsAdLinux.md b/src/ZN/docs/Remove-ZNSettingsAdLinux.md new file mode 100644 index 0000000..fd9c656 --- /dev/null +++ b/src/ZN/docs/Remove-ZNSettingsAdLinux.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsadlinux +schema: 2.0.0 +--- + +# Remove-ZNSettingsAdLinux + +## SYNOPSIS +Returns an empty response. + +## SYNTAX + +``` +Remove-ZNSettingsAdLinux -DomainId -ForestId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty response. + +## EXAMPLES + +### Example 1: Remove the Linux settings from AD +```powershell +Remove-ZNSettingsAdLinux -ForestId f:a:0bec706b -DomainId posh.local +``` + +This cmdlet removes the Linux settings from AD domain/forest. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DomainId +The fqdn of the domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNSettingsAdSecondary.md b/src/ZN/docs/Remove-ZNSettingsAdSecondary.md index cfc2761..decb632 100644 --- a/src/ZN/docs/Remove-ZNSettingsAdSecondary.md +++ b/src/ZN/docs/Remove-ZNSettingsAdSecondary.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsadsecondary +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsadsecondary schema: 2.0.0 --- # Remove-ZNSettingsAdSecondary ## SYNOPSIS -Returns an empty reponse. +Returns an empty response. ## SYNTAX ``` -Remove-ZNSettingsAdSecondary -DomainId -ForestId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNSettingsAdSecondary -DomainId -ForestId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Returns an empty reponse. +Returns an empty response. ## EXAMPLES @@ -32,6 +32,21 @@ This cmdlet deletes a forest from AD settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DomainId The fqdn of the domain diff --git a/src/ZN/docs/Remove-ZNSettingsConnectRegion.md b/src/ZN/docs/Remove-ZNSettingsConnectRegion.md index 343617b..f2054b4 100644 --- a/src/ZN/docs/Remove-ZNSettingsConnectRegion.md +++ b/src/ZN/docs/Remove-ZNSettingsConnectRegion.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsconnectregion +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsconnectregion schema: 2.0.0 --- @@ -13,7 +13,8 @@ Delete a Connect Region in Settings ## SYNTAX ``` -Remove-ZNSettingsConnectRegion -RegionId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNSettingsConnectRegion -RegionId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -31,6 +32,21 @@ This cmdlet deletes a region for Connect settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNSettingsConnectServer.md b/src/ZN/docs/Remove-ZNSettingsConnectServer.md new file mode 100644 index 0000000..4fff0e3 --- /dev/null +++ b/src/ZN/docs/Remove-ZNSettingsConnectServer.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsconnectserver +schema: 2.0.0 +--- + +# Remove-ZNSettingsConnectServer + +## SYNOPSIS +Delete Connect Server in Settings + +## SYNTAX + +``` +Remove-ZNSettingsConnectServer -ConnectServerId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Delete Connect Server in Settings + +## EXAMPLES + +### Example 1: Delete a connect server +```powershell +Remove-ZNSettingsConnectServer -ConnectServerId y:a:vW7Ptk6e +``` + +This cmdlet deletes a connect server. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ConnectServerId +connect server id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNSettingsConnectUserAccessConfig.md b/src/ZN/docs/Remove-ZNSettingsConnectUserAccessConfig.md index 92928bc..9241bbf 100644 --- a/src/ZN/docs/Remove-ZNSettingsConnectUserAccessConfig.md +++ b/src/ZN/docs/Remove-ZNSettingsConnectUserAccessConfig.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsconnectuseraccessconfig +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsconnectuseraccessconfig schema: 2.0.0 --- @@ -13,8 +13,8 @@ Delete a Connect User Access Configuration in Settings ## SYNTAX ``` -Remove-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes a user access config for Connect settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNSettingsIdp.md b/src/ZN/docs/Remove-ZNSettingsIdp.md index ebbc1eb..1ad5560 100644 --- a/src/ZN/docs/Remove-ZNSettingsIdp.md +++ b/src/ZN/docs/Remove-ZNSettingsIdp.md @@ -1,23 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsidp +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsidp schema: 2.0.0 --- # Remove-ZNSettingsIdp ## SYNOPSIS -Returns an empty reponse. +Returns an empty response. ## SYNTAX ``` -Remove-ZNSettingsIdp -IdentityProviderId [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNSettingsIdp -IdentityProviderId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION -Returns an empty reponse. +Returns an empty response. ## EXAMPLES @@ -30,6 +31,21 @@ This cmdlet deletes a IDP settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IdentityProviderId Identity provider Id diff --git a/src/ZN/docs/Remove-ZNSettingsJamfCredentials.md b/src/ZN/docs/Remove-ZNSettingsJamfCredentials.md index 99025cc..c981a82 100644 --- a/src/ZN/docs/Remove-ZNSettingsJamfCredentials.md +++ b/src/ZN/docs/Remove-ZNSettingsJamfCredentials.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsjamfcredentials +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsjamfcredentials schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNSettingsJamfCredentials [-PassThru] [-Confirm] [-WhatIf] [] +Remove-ZNSettingsJamfCredentials [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +30,21 @@ This cmdlet deletes a JAMF settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNSettingsMaintenanceWindow.md b/src/ZN/docs/Remove-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..5fa4863 --- /dev/null +++ b/src/ZN/docs/Remove-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsmaintenancewindow +schema: 2.0.0 +--- + +# Remove-ZNSettingsMaintenanceWindow + +## SYNOPSIS +Returns an empty object + +## SYNTAX + +``` +Remove-ZNSettingsMaintenanceWindow -MaintenanceWindowId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object + +## EXAMPLES + +### Example 1: Delete a maintenance window +```powershell +Remove-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:pszG5Dda +``` + +This cmdlet deletes a maintenance window. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +id of the maintence window + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNSettingsMfaCache.md b/src/ZN/docs/Remove-ZNSettingsMfaCache.md new file mode 100644 index 0000000..af173fa --- /dev/null +++ b/src/ZN/docs/Remove-ZNSettingsMfaCache.md @@ -0,0 +1,122 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingsmfacache +schema: 2.0.0 +--- + +# Remove-ZNSettingsMfaCache + +## SYNOPSIS +deletes a MFA Cache Policy. + +## SYNTAX + +``` +Remove-ZNSettingsMfaCache -EntityId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +deletes a MFA Cache Policy. + +## EXAMPLES + +### Example 1: Delete a MFA cache policy +```powershell +Remove-ZNSettingsMfaCache -EntityId u:d:2HOfhbpY +``` + +This cmdlet deletes a MFA cache policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +The id of the user or group + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNSettingsPushNotification.md b/src/ZN/docs/Remove-ZNSettingsPushNotification.md index 3719505..56c2107 100644 --- a/src/ZN/docs/Remove-ZNSettingsPushNotification.md +++ b/src/ZN/docs/Remove-ZNSettingsPushNotification.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znsettingspushnotification +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znsettingspushnotification schema: 2.0.0 --- # Remove-ZNSettingsPushNotification ## SYNOPSIS -Returns an empty reponse. +Returns an empty response. ## SYNTAX ``` -Remove-ZNSettingsPushNotification -PushIdentityProviderId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNSettingsPushNotification -PushIdentityProviderId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Returns an empty reponse. +Returns an empty response. ## EXAMPLES @@ -31,6 +31,21 @@ This cmdlet deletes a push notificiations settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNTagGroupsMember.md b/src/ZN/docs/Remove-ZNTagGroupsMember.md index 2a3b417..b0302a0 100644 --- a/src/ZN/docs/Remove-ZNTagGroupsMember.md +++ b/src/ZN/docs/Remove-ZNTagGroupsMember.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-zntaggroupsmember +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-zntaggroupsmember schema: 2.0.0 --- @@ -13,8 +13,8 @@ Remove tag group members by members id. ## SYNTAX ``` -Remove-ZNTagGroupsMember -GroupId -MembersId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNTagGroupsMember -GroupId -MembersId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet removes an asset from a group. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupId groupId to filter on diff --git a/src/ZN/docs/Remove-ZNUserExternalAccessPolicy.md b/src/ZN/docs/Remove-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..43ec510 --- /dev/null +++ b/src/ZN/docs/Remove-ZNUserExternalAccessPolicy.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znuserexternalaccesspolicy +schema: 2.0.0 +--- + +# Remove-ZNUserExternalAccessPolicy + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Remove-ZNUserExternalAccessPolicy -PolicyId -UserId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an external access policy +```powershell +Remove-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp -PolicyId p:e:9NfK8zpm +``` + +This cmdlet deletes an external access policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +id of the external acess policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNUserIdentityRule.md b/src/ZN/docs/Remove-ZNUserIdentityRule.md index 4592048..ef478e7 100644 --- a/src/ZN/docs/Remove-ZNUserIdentityRule.md +++ b/src/ZN/docs/Remove-ZNUserIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znuseridentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znuseridentityrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNUserIdentityRule -RuleId -UserId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNUserIdentityRule -RuleId -UserId [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an identity rule. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNUserMfaIdentityPolicy.md b/src/ZN/docs/Remove-ZNUserMfaIdentityPolicy.md index cd5b2d2..ddd4be7 100644 --- a/src/ZN/docs/Remove-ZNUserMfaIdentityPolicy.md +++ b/src/ZN/docs/Remove-ZNUserMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znusermfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znusermfaidentitypolicy schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Remove-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet deletes an identity MFA policy. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Remove-ZNUsersManagedAsset.md b/src/ZN/docs/Remove-ZNUsersManagedAsset.md index 6a00104..26299f4 100644 --- a/src/ZN/docs/Remove-ZNUsersManagedAsset.md +++ b/src/ZN/docs/Remove-ZNUsersManagedAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/remove-znusersmanagedasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/remove-znusersmanagedasset schema: 2.0.0 --- @@ -13,8 +13,8 @@ Remove managed asset of user ## SYNTAX ``` -Remove-ZNUsersManagedAsset -GroupOrAssetId -UserId [-PassThru] [-Confirm] [-WhatIf] - [] +Remove-ZNUsersManagedAsset -GroupOrAssetId -UserId [-AccountName ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet removes a managed asset from a user. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -GroupOrAssetId group or asset id to filter on diff --git a/src/ZN/docs/Revoke-ZNSession.md b/src/ZN/docs/Revoke-ZNSession.md index 3a19464..646b9df 100644 --- a/src/ZN/docs/Revoke-ZNSession.md +++ b/src/ZN/docs/Revoke-ZNSession.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/revoke-znsession +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/revoke-znsession schema: 2.0.0 --- @@ -13,7 +13,8 @@ Revoke a Connect session. ## SYNTAX ``` -Revoke-ZNSession -SessionId [-PassThru] [-Confirm] [-WhatIf] [] +Revoke-ZNSession -SessionId [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet revokes a Connect session. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Search-ZNAsset.md b/src/ZN/docs/Search-ZNAsset.md index 8eea203..8236fad 100644 --- a/src/ZN/docs/Search-ZNAsset.md +++ b/src/ZN/docs/Search-ZNAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/search-znasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-znasset schema: 2.0.0 --- @@ -13,7 +13,7 @@ Returns an assetId. ## SYNTAX ``` -Search-ZNAsset [-Fqdn ] [] +Search-ZNAsset [-AccountName ] [-Fqdn ] [] ``` ## DESCRIPTION @@ -34,8 +34,23 @@ This cmdlet will search the assets using FQDN to return the assetId. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Fqdn -fully qualifed domain name +fully qualified domain name ```yaml Type: System.String diff --git a/src/ZN/docs/Search-ZNAssetsNetworkSegmented.md b/src/ZN/docs/Search-ZNAssetsNetworkSegmented.md new file mode 100644 index 0000000..9d8ce60 --- /dev/null +++ b/src/ZN/docs/Search-ZNAssetsNetworkSegmented.md @@ -0,0 +1,92 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-znassetsnetworksegmented +schema: 2.0.0 +--- + +# Search-ZNAssetsNetworkSegmented + +## SYNOPSIS +Given fqdn, returns assetId, if asset is found and is protected + +## SYNTAX + +``` +Search-ZNAssetsNetworkSegmented [-AccountName ] [-Fqdn ] [] +``` + +## DESCRIPTION +Given fqdn, returns assetId, if asset is found and is protected + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Fqdn +fully qualified domain name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetIdSearch + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Search-ZNGroupsExternalId.md b/src/ZN/docs/Search-ZNGroupsExternalId.md new file mode 100644 index 0000000..508f46c --- /dev/null +++ b/src/ZN/docs/Search-ZNGroupsExternalId.md @@ -0,0 +1,112 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-zngroupsexternalid +schema: 2.0.0 +--- + +# Search-ZNGroupsExternalId + +## SYNOPSIS +Returns a group. + +## SYNTAX + +``` +Search-ZNGroupsExternalId -ExternalId -GroupType [-AccountName ] + [] +``` + +## DESCRIPTION +Returns a group. + +## EXAMPLES + +### Example 1: Search for a group +```powershell +Search-ZNGroupsExternalId -ExternalId f177f4ba-6e33-4d11-9e4b-e6b2b94302e9 -GroupType snow +``` + +```output +AddedById : +AddedByName : +ItemAddedAt : +ItemCreatedAt : 1728158885206 +ItemDescription : SNOW Sync +ItemDirectMembersCount : 2 +ItemDomain : ServiceNow +ItemExternalId : f177f4ba-6e33-4d11-9e4b-e6b2b94302e9 +ItemGuid : dffb1198-61ed-4f09-8429-b6d92cbe8511 +ItemHasProtectionPolicy : +ItemId : g:n:821fRRdi +ItemName : Information Sharing +ItemPrincipalName : +ItemRole : 3 +ItemSid : +ItemUpdatedAt : 1728158885206 +``` + +This cmdlet searches for a group by type and external id. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExternalId +The external id of the group + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupItem + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Search-ZNUser.md b/src/ZN/docs/Search-ZNUser.md index 6836e9a..c234f1d 100644 --- a/src/ZN/docs/Search-ZNUser.md +++ b/src/ZN/docs/Search-ZNUser.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/search-znuser +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/search-znuser schema: 2.0.0 --- @@ -14,12 +14,12 @@ Provided user SID - returns user entity id ### Search (Default) ``` -Search-ZNUser -PrincipalName [] +Search-ZNUser -PrincipalName [-AccountName ] [] ``` ### Search1 ``` -Search-ZNUser -Sid [] +Search-ZNUser -Sid [-AccountName ] [] ``` ## DESCRIPTION @@ -43,6 +43,21 @@ This cmdlet can search for a user by principal name. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PrincipalName sid to query for diff --git a/src/ZN/docs/Set-ZNApiKey.md b/src/ZN/docs/Set-ZNApiKey.md index fb208f4..193a306 100644 --- a/src/ZN/docs/Set-ZNApiKey.md +++ b/src/ZN/docs/Set-ZNApiKey.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/set-znapikey +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/set-znapikey schema: 2.0.0 --- @@ -20,7 +20,7 @@ Set-ZNApiKey -ApiKey [-Confirm] [-WhatIf] [] Set the API key for use in all other cmdlets #.Link -https://github.com/zeronetworks/zero-powershell/set-znapikey +https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/set-znapikey ## EXAMPLES diff --git a/src/ZN/docs/Test-ZNAssetIdentityProtect.md b/src/ZN/docs/Test-ZNAssetIdentityProtect.md index ce854be..19500fe 100644 --- a/src/ZN/docs/Test-ZNAssetIdentityProtect.md +++ b/src/ZN/docs/Test-ZNAssetIdentityProtect.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/test-znassetidentityprotect +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/test-znassetidentityprotect schema: 2.0.0 --- @@ -12,14 +12,16 @@ Returns a number of assets that are valid for identity segmentation. ## SYNTAX -### Validate1 (Default) +### Validate (Default) ``` -Test-ZNAssetIdentityProtect -AssetId [-Confirm] [-WhatIf] [] +Test-ZNAssetIdentityProtect -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### ValidateExpanded ``` -Test-ZNAssetIdentityProtect -Items [-Confirm] [-WhatIf] [] +Test-ZNAssetIdentityProtect -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -45,12 +47,27 @@ This cmdlet tests multiple assets to identity segmentation. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: Validate1 +Parameter Sets: Validate Aliases: Required: True diff --git a/src/ZN/docs/Test-ZNAssetIdentityUnprotect.md b/src/ZN/docs/Test-ZNAssetIdentityUnprotect.md index b898924..8579ae4 100644 --- a/src/ZN/docs/Test-ZNAssetIdentityUnprotect.md +++ b/src/ZN/docs/Test-ZNAssetIdentityUnprotect.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/test-znassetidentityunprotect +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/test-znassetidentityunprotect schema: 2.0.0 --- @@ -12,14 +12,16 @@ Returns a number of assets that are valid to unprotect. ## SYNTAX -### Validate1 (Default) +### Validate (Default) ``` -Test-ZNAssetIdentityUnprotect -AssetId [-Confirm] [-WhatIf] [] +Test-ZNAssetIdentityUnprotect -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### ValidateExpanded ``` -Test-ZNAssetIdentityUnprotect -Items [-Confirm] [-WhatIf] [] +Test-ZNAssetIdentityUnprotect -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -45,12 +47,27 @@ This cmdlet tests multiple assets for removal from identity segmentation. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: Validate1 +Parameter Sets: Validate Aliases: Required: True diff --git a/src/ZN/docs/Test-ZNAssetNetworkSegment.md b/src/ZN/docs/Test-ZNAssetNetworkSegment.md index 446c3b7..564d8ef 100644 --- a/src/ZN/docs/Test-ZNAssetNetworkSegment.md +++ b/src/ZN/docs/Test-ZNAssetNetworkSegment.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/test-znassetnetworksegment +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/test-znassetnetworksegment schema: 2.0.0 --- @@ -12,19 +12,20 @@ Returns a number of assets that are valid for network segmentation. ## SYNTAX -### Validate1 (Default) +### Validate (Default) ``` -Test-ZNAssetNetworkSegment -AssetId [-Confirm] [-WhatIf] [] +Test-ZNAssetNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] [] ``` -### Validate +### Validate1 ``` -Test-ZNAssetNetworkSegment -Body [-Confirm] [-WhatIf] [] +Test-ZNAssetNetworkSegment -Body [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### ValidateExpanded ``` -Test-ZNAssetNetworkSegment -Items [-Confirm] [-WhatIf] [] +Test-ZNAssetNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -47,12 +48,27 @@ This cmdlet tests if an asset is ready for network segmentation. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: Validate1 +Parameter Sets: Validate Aliases: Required: True @@ -68,7 +84,7 @@ To construct, see NOTES section for BODY properties and create a hash table. ```yaml Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsProtectBody -Parameter Sets: Validate +Parameter Sets: Validate1 Aliases: Required: True diff --git a/src/ZN/docs/Test-ZNAssetNetworkUnprotect.md b/src/ZN/docs/Test-ZNAssetNetworkUnprotect.md index 6b28693..34a69f5 100644 --- a/src/ZN/docs/Test-ZNAssetNetworkUnprotect.md +++ b/src/ZN/docs/Test-ZNAssetNetworkUnprotect.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/test-znassetnetworkunprotect +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/test-znassetnetworkunprotect schema: 2.0.0 --- @@ -12,19 +12,22 @@ Returns a number of assets that are valid to unprotect. ## SYNTAX -### Validate1 (Default) +### Validate (Default) ``` -Test-ZNAssetNetworkUnprotect -AssetId [-Confirm] [-WhatIf] [] +Test-ZNAssetNetworkUnprotect -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` -### Validate +### Validate1 ``` -Test-ZNAssetNetworkUnprotect -Body [-Confirm] [-WhatIf] [] +Test-ZNAssetNetworkUnprotect -Body [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### ValidateExpanded ``` -Test-ZNAssetNetworkUnprotect -Items [-Confirm] [-WhatIf] [] +Test-ZNAssetNetworkUnprotect -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -47,12 +50,27 @@ This cmdlet tests if an asset is ready for removal from network segmentation. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: Validate1 +Parameter Sets: Validate Aliases: Required: True @@ -68,7 +86,7 @@ To construct, see NOTES section for BODY properties and create a hash table. ```yaml Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAssetsUnprotectBody -Parameter Sets: Validate +Parameter Sets: Validate1 Aliases: Required: True diff --git a/src/ZN/docs/Unprotect-ZNAssetIdentitySegment.md b/src/ZN/docs/Unprotect-ZNAssetIdentitySegment.md new file mode 100644 index 0000000..d0b7225 --- /dev/null +++ b/src/ZN/docs/Unprotect-ZNAssetIdentitySegment.md @@ -0,0 +1,139 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetidentitysegment +schema: 2.0.0 +--- + +# Unprotect-ZNAssetIdentitySegment + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +### Unprotect (Default) +``` +Unprotect-ZNAssetIdentitySegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### UnprotectExpanded +``` +Unprotect-ZNAssetIdentitySegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove an asset from identity segmentation +```powershell +$asset = Search-ZNAsset -Fqdn dc01.posh.local +Unprotect-ZNAssetIdentitySegment -AssetId $asset +``` + +This cmdlet removes an asset from identity segmentation. + +### Example 2: Remove multiple assets from identity segmentation +```powershell +Unprotect-ZNAssetIdentitySegment -Items @("assetid","assetId") +``` + +This cmdlet removes multiple assets from identity segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: Unprotect +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: UnprotectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Unprotect-ZNAssetNetworkSegment.md b/src/ZN/docs/Unprotect-ZNAssetNetworkSegment.md index fc7e611..23f368c 100644 --- a/src/ZN/docs/Unprotect-ZNAssetNetworkSegment.md +++ b/src/ZN/docs/Unprotect-ZNAssetNetworkSegment.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/unprotect-znassetnetworksegment +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetnetworksegment schema: 2.0.0 --- @@ -12,14 +12,16 @@ Returns an empty object. ## SYNTAX -### Unprotect1 (Default) +### Unprotect (Default) ``` -Unprotect-ZNAssetNetworkSegment -AssetId [-Confirm] [-WhatIf] [] +Unprotect-ZNAssetNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### UnprotectExpanded ``` -Unprotect-ZNAssetNetworkSegment -Items [-Confirm] [-WhatIf] [] +Unprotect-ZNAssetNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -36,12 +38,27 @@ This cmdlet will remove an asset from network segemented in the envrionment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: Unprotect1 +Parameter Sets: Unprotect Aliases: Required: True diff --git a/src/ZN/docs/Unprotect-ZNAssetOtNetworkSegment.md b/src/ZN/docs/Unprotect-ZNAssetOtNetworkSegment.md index 02c0824..5186c77 100644 --- a/src/ZN/docs/Unprotect-ZNAssetOtNetworkSegment.md +++ b/src/ZN/docs/Unprotect-ZNAssetOtNetworkSegment.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/unprotect-znassetotnetworksegment +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetotnetworksegment schema: 2.0.0 --- @@ -12,14 +12,16 @@ Returns an empty object. ## SYNTAX -### Unprotect1 (Default) +### Unprotect (Default) ``` -Unprotect-ZNAssetOtNetworkSegment -AssetId [-Confirm] [-WhatIf] [] +Unprotect-ZNAssetOtNetworkSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ### UnprotectExpanded ``` -Unprotect-ZNAssetOtNetworkSegment -Items [-Confirm] [-WhatIf] [] +Unprotect-ZNAssetOtNetworkSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -36,12 +38,27 @@ This cmdlet will remove an asset from network segemented in the envrionment. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: Unprotect1 +Parameter Sets: Unprotect Aliases: Required: True diff --git a/src/ZN/docs/Unprotect-ZNAssetRpcSegment.md b/src/ZN/docs/Unprotect-ZNAssetRpcSegment.md new file mode 100644 index 0000000..1b06c89 --- /dev/null +++ b/src/ZN/docs/Unprotect-ZNAssetRpcSegment.md @@ -0,0 +1,138 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znassetrpcsegment +schema: 2.0.0 +--- + +# Unprotect-ZNAssetRpcSegment + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### UnprotectExpanded (Default) +``` +Unprotect-ZNAssetRpcSegment -AssetId [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +### UnprotectExpanded1 +``` +Unprotect-ZNAssetRpcSegment -Items [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Removes assets from RPC Segmentation +```powershell +Unprotect-ZNAssetRpcSegment -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +``` + +This cmdlet removes multiple assets from RPC segmentation. + +### Example 1: Remove an asset from RPC Segmentation +```powershell +Unprotect-ZNAssetRpcSegment -AssetId 'a:a:JZgxbNLi' +``` + +This cmdlet removes an asset from RPC segmentation. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: UnprotectExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Items +. + +```yaml +Type: System.String[] +Parameter Sets: UnprotectExpanded1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Unprotect-ZNUserIdentitySegment.md b/src/ZN/docs/Unprotect-ZNUserIdentitySegment.md new file mode 100644 index 0000000..f3724d0 --- /dev/null +++ b/src/ZN/docs/Unprotect-ZNUserIdentitySegment.md @@ -0,0 +1,109 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/unprotect-znuseridentitysegment +schema: 2.0.0 +--- + +# Unprotect-ZNUserIdentitySegment + +## SYNOPSIS +Returns an empty object. + +## SYNTAX + +``` +Unprotect-ZNUserIdentitySegment -UserIds [-AccountName ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns an empty object. + +## EXAMPLES + +### Example 1: Remove a service account from segmentation +```powershell +Unprotect-ZNUserIdentitySegment -UserIds @("u:a:mACDNWcW") +``` + +This cmdlet moves a service account from segmented to not segmented. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNAiExclusionNetworkBoth.md b/src/ZN/docs/Update-ZNAiExclusionNetworkBoth.md index 2c84774..b24c28f 100644 --- a/src/ZN/docs/Update-ZNAiExclusionNetworkBoth.md +++ b/src/ZN/docs/Update-ZNAiExclusionNetworkBoth.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znaiexclusionnetworkboth +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znaiexclusionnetworkboth schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set AI network exclusion for clients and servers: lists of tcp/udp ports / ports ## SYNTAX ``` -Update-ZNAiExclusionNetworkBoth [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] - [-Confirm] [-WhatIf] [] +Update-ZNAiExclusionNetworkBoth [-AccountName ] [-Icmp] [-ProcessesList ] + [-TcpPorts ] [-UdpPorts ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -51,6 +51,21 @@ Use exisitng settings to update or add ports or processes. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Icmp . diff --git a/src/ZN/docs/Update-ZNAiExclusionNetworkClient.md b/src/ZN/docs/Update-ZNAiExclusionNetworkClient.md index ded752f..62372da 100644 --- a/src/ZN/docs/Update-ZNAiExclusionNetworkClient.md +++ b/src/ZN/docs/Update-ZNAiExclusionNetworkClient.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znaiexclusionnetworkclient +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znaiexclusionnetworkclient schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set AI network exclusion for clients: lists of tcp/udp ports / ports ranges + bo ## SYNTAX ``` -Update-ZNAiExclusionNetworkClient [-Icmp] [-ProcessesList ] [-TcpPorts ] - [-UdpPorts ] [-Confirm] [-WhatIf] [] +Update-ZNAiExclusionNetworkClient [-AccountName ] [-Icmp] [-ProcessesList ] + [-TcpPorts ] [-UdpPorts ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -51,6 +51,21 @@ Use exisitng settings to update or add ports or processes. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Icmp . diff --git a/src/ZN/docs/Update-ZNAiExclusionNetworkServer.md b/src/ZN/docs/Update-ZNAiExclusionNetworkServer.md index eea785a..ac48fe1 100644 --- a/src/ZN/docs/Update-ZNAiExclusionNetworkServer.md +++ b/src/ZN/docs/Update-ZNAiExclusionNetworkServer.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znaiexclusionnetworkserver +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znaiexclusionnetworkserver schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set AI network exclusion for servers: lists of tcp/udp ports / ports ranges + bo ## SYNTAX ``` -Update-ZNAiExclusionNetworkServer [-Icmp] [-ProcessesList ] [-TcpPorts ] - [-UdpPorts ] [-Confirm] [-WhatIf] [] +Update-ZNAiExclusionNetworkServer [-AccountName ] [-Icmp] [-ProcessesList ] + [-TcpPorts ] [-UdpPorts ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -51,6 +51,21 @@ Use exisitng settings to update or add ports or processes. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Icmp . diff --git a/src/ZN/docs/Update-ZNAssetActive.md b/src/ZN/docs/Update-ZNAssetActive.md index c49f74f..db44d02 100644 --- a/src/ZN/docs/Update-ZNAssetActive.md +++ b/src/ZN/docs/Update-ZNAssetActive.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znassetactive +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetactive schema: 2.0.0 --- @@ -14,12 +14,14 @@ Returns and empty object. ### SetExpanded (Default) ``` -Update-ZNAssetActive -Items [-Comment ] [-Confirm] [-WhatIf] [] +Update-ZNAssetActive -AssetId [-AccountName ] [-Comment ] [-Confirm] [-WhatIf] + [] ``` ### SetExpanded1 ``` -Update-ZNAssetActive -AssetId [-Comment ] [-Confirm] [-WhatIf] [] +Update-ZNAssetActive -Items [-AccountName ] [-Comment ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -43,12 +45,27 @@ This cmdlet updates an inactive assets to mark it active. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: SetExpanded1 +Parameter Sets: SetExpanded Aliases: Required: True @@ -78,7 +95,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: SetExpanded +Parameter Sets: SetExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Update-ZNAssetExternalAccessPolicy.md b/src/ZN/docs/Update-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..5c320b7 --- /dev/null +++ b/src/ZN/docs/Update-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,298 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetexternalaccesspolicy +schema: 2.0.0 +--- + +# Update-ZNAssetExternalAccessPolicy + +## SYNOPSIS +Updates an external access policy. + +## SYNTAX + +``` +Update-ZNAssetExternalAccessPolicy -AssetId -PolicyId [-Description ] + [-DstPortsList ] [-DstProcessNamesList ] [-Name ] [-RuleDuration ] + [-SrcUserIdsList ] [-State ] [-Url ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates an external access policy. + +## EXAMPLES + +### Example 1: Update an external access policy +```powershell +Update-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://ansible.test.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +description + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + extra ports to open. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +aname. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +Duration of the rule + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +List of source users + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +State + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +Url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] destination asset(s). ${DstAssetId}, extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNAssetIdentityRule.md b/src/ZN/docs/Update-ZNAssetIdentityRule.md index fd9a63b..0ff9e9a 100644 --- a/src/ZN/docs/Update-ZNAssetIdentityRule.md +++ b/src/ZN/docs/Update-ZNAssetIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znassetidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetidentityrule schema: 2.0.0 --- diff --git a/src/ZN/docs/Update-ZNAssetInactive.md b/src/ZN/docs/Update-ZNAssetInactive.md index 84ffd85..01126f9 100644 --- a/src/ZN/docs/Update-ZNAssetInactive.md +++ b/src/ZN/docs/Update-ZNAssetInactive.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znassetinactive +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetinactive schema: 2.0.0 --- @@ -14,12 +14,14 @@ Returns and empty object. ### SetExpanded (Default) ``` -Update-ZNAssetInactive -Items [-Comment ] [-Confirm] [-WhatIf] [] +Update-ZNAssetInactive -AssetId [-AccountName ] [-Comment ] [-Confirm] [-WhatIf] + [] ``` ### SetExpanded1 ``` -Update-ZNAssetInactive -AssetId [-Comment ] [-Confirm] [-WhatIf] [] +Update-ZNAssetInactive -Items [-AccountName ] [-Comment ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -34,7 +36,7 @@ Update-ZnAssetInActive -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') This cmdlet updates active assets to mark them inactive. -### Example 2: Mark active asset inactive +### Example 1: Mark active asset inactive ```powershell Update-ZnAssetInactive -AssetId 'a:a:JZgxbNLi' ``` @@ -43,12 +45,27 @@ This cmdlet updates an active assets to mark it inactive. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on ```yaml Type: System.String -Parameter Sets: SetExpanded1 +Parameter Sets: SetExpanded Aliases: Required: True @@ -78,7 +95,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: SetExpanded +Parameter Sets: SetExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Update-ZNAssetInboundRule.md b/src/ZN/docs/Update-ZNAssetInboundRule.md index c167a56..ea37c8f 100644 --- a/src/ZN/docs/Update-ZNAssetInboundRule.md +++ b/src/ZN/docs/Update-ZNAssetInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znassetinboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetinboundrule schema: 2.0.0 --- @@ -314,7 +314,7 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNAssetManager.md b/src/ZN/docs/Update-ZNAssetManager.md new file mode 100644 index 0000000..55cd9f7 --- /dev/null +++ b/src/ZN/docs/Update-ZNAssetManager.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmanager +schema: 2.0.0 +--- + +# Update-ZNAssetManager + +## SYNOPSIS +Update an asset manager of asset + +## SYNTAX + +``` +Update-ZNAssetManager -AssetId -ManagerId -Permission [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an asset manager of asset + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNAssetMfaIdentityPolicy.md b/src/ZN/docs/Update-ZNAssetMfaIdentityPolicy.md index 7b40e76..79a0a3b 100644 --- a/src/ZN/docs/Update-ZNAssetMfaIdentityPolicy.md +++ b/src/ZN/docs/Update-ZNAssetMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znmassetfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmassetfaidentitypolicy schema: 2.0.0 --- @@ -17,8 +17,8 @@ Update-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-D [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] - [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] + [-SrcUserIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -253,6 +253,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. diff --git a/src/ZN/docs/Update-ZNAssetMfaInboundPolicy.md b/src/ZN/docs/Update-ZNAssetMfaInboundPolicy.md index c7d14b8..b50ed60 100644 --- a/src/ZN/docs/Update-ZNAssetMfaInboundPolicy.md +++ b/src/ZN/docs/Update-ZNAssetMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znassetmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmfainboundpolicy schema: 2.0.0 --- @@ -17,9 +17,10 @@ Update-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-Description ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] - [-RuleDuration ] [-SrcEntityInfos ] - [-SrcProcessNames ] [-SrcUserInfos ] [-State ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] + [-SrcEntityInfos ] [-SrcProcessNames ] + [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -295,6 +296,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. @@ -421,7 +437,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: extra ports to open. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `SRCENTITYINFOS `: source asset(s). - `Id `: diff --git a/src/ZN/docs/Update-ZNAssetMfaOutboundPolicy.md b/src/ZN/docs/Update-ZNAssetMfaOutboundPolicy.md index 69a59f1..5f2084a 100644 --- a/src/ZN/docs/Update-ZNAssetMfaOutboundPolicy.md +++ b/src/ZN/docs/Update-ZNAssetMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znassetmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetmfaoutboundpolicy schema: 2.0.0 --- @@ -16,10 +16,10 @@ Updates an outbound MFA Policy. Update-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-Description ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] - [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] - [-SrcEntityInfos ] [-SrcProcessNames ] - [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] + [-RuleDuration ] [-SrcEntityInfos ] + [-SrcProcessNames ] [-SrcUserInfos ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -285,6 +285,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. @@ -411,7 +426,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: extra ports to open. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `SRCENTITYINFOS `: source asset(s). - `Id `: diff --git a/src/ZN/docs/Update-ZNAssetOSType.md b/src/ZN/docs/Update-ZNAssetOSType.md new file mode 100644 index 0000000..52db000 --- /dev/null +++ b/src/ZN/docs/Update-ZNAssetOSType.md @@ -0,0 +1,159 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetostype +schema: 2.0.0 +--- + +# Update-ZNAssetOSType + +## SYNOPSIS +Set the OS type (Windows/Linux/Mac) for multiple assets + +## SYNTAX + +### UpdateExpanded1 (Default) +``` +Update-ZNAssetOSType -AssetIds -OSType [-AccountName ] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### UpdateExpanded +``` +Update-ZNAssetOSType -AssetId -AssetIds -OSType [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set the OS type (Windows/Linux/Mac) for multiple assets + +## EXAMPLES + +### Example 1: Update OS Type for an asset +```powershell +Update-ZNAssetOSType -AssetIds @("a:l:4NMHdoaO") -OSType 2 +``` + +This cmdlet updates the OS Type for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OSType +Possible osType: * `1' - Windows * `2' - Linux * `3' - Mac + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNAssetOt.md b/src/ZN/docs/Update-ZNAssetOt.md index f4d5308..b8e5596 100644 --- a/src/ZN/docs/Update-ZNAssetOt.md +++ b/src/ZN/docs/Update-ZNAssetOt.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znassetot +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetot schema: 2.0.0 --- @@ -13,8 +13,8 @@ Edit an OT/IoT asset. ## SYNTAX ``` -Update-ZNAssetOt -AssetId [-DisplayName ] [-Type ] [-Confirm] [-WhatIf] - [] +Update-ZNAssetOt -AssetId [-AccountName ] [-DisplayName ] [-Fqdn ] + [-Type ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet updates an OT asset. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on @@ -62,6 +77,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Fqdn +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Type . diff --git a/src/ZN/docs/Update-ZNAssetOtAssetManager.md b/src/ZN/docs/Update-ZNAssetOtAssetManager.md new file mode 100644 index 0000000..1fef879 --- /dev/null +++ b/src/ZN/docs/Update-ZNAssetOtAssetManager.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetotassetmanager +schema: 2.0.0 +--- + +# Update-ZNAssetOtAssetManager + +## SYNOPSIS +Update an asset manager of asset + +## SYNTAX + +``` +Update-ZNAssetOtAssetManager -AssetId -ManagerId -Permission [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an asset manager of asset + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNAssetOutboundRestriction.md b/src/ZN/docs/Update-ZNAssetOutboundRestriction.md new file mode 100644 index 0000000..4f138aa --- /dev/null +++ b/src/ZN/docs/Update-ZNAssetOutboundRestriction.md @@ -0,0 +1,170 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetoutboundrestriction +schema: 2.0.0 +--- + +# Update-ZNAssetOutboundRestriction + +## SYNOPSIS +Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + +## SYNTAX + +### UpdateExpanded1 (Default) +``` +Update-ZNAssetOutboundRestriction -AssetIds -OutboundRestriction [-AccountName ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### UpdateExpanded +``` +Update-ZNAssetOutboundRestriction -AssetId -AssetIds -OutboundRestriction + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + +## EXAMPLES + +### Example 1: Update outbound restriction +```powershell +Update-ZNAssetOutboundRestriction -AssetIds @("a:l:wEGYa0Cp") -OutboundRestriction 2 +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetIds +. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OutboundRestriction +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNAssetOutboundRule.md b/src/ZN/docs/Update-ZNAssetOutboundRule.md index 38fabfb..37abca3 100644 --- a/src/ZN/docs/Update-ZNAssetOutboundRule.md +++ b/src/ZN/docs/Update-ZNAssetOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znassetoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetoutboundrule schema: 2.0.0 --- @@ -16,7 +16,8 @@ Updates an outbound rule. Update-ZNAssetOutboundRule -AssetId -RuleId [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] - [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-SrcUsersList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -250,6 +251,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +the source users. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State the rule state. @@ -314,7 +331,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: the source users. + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNAssetPreferredSegmentServer.md b/src/ZN/docs/Update-ZNAssetPreferredSegmentServer.md new file mode 100644 index 0000000..62d4b50 --- /dev/null +++ b/src/ZN/docs/Update-ZNAssetPreferredSegmentServer.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetpreferredsegmentserver +schema: 2.0.0 +--- + +# Update-ZNAssetPreferredSegmentServer + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +### UpdateExpanded1 (Default) +``` +Update-ZNAssetPreferredSegmentServer -AssetId [-AccountName ] + [-PreferredDeploymentId ] [-Confirm] [-WhatIf] [] +``` + +### UpdateExpanded +``` +Update-ZNAssetPreferredSegmentServer -AssetId -AssetId1 [-AccountName ] + [-PreferredDeploymentId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Set preferred Segment server +```powershell +Update-ZNAssetPreferredSegmentServer -AssetId "a:l:sQON6Vxx" -PreferredDeploymentId f56dd59d-ab65-45ed-871c-b6c0742db568 +``` + +This cmdlet sets the preferred Segment server for an asset. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId +assetId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AssetId1 +. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PreferredDeploymentId +If not provided sets the asset back to no preferred segment server + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IAny + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNAssetRpcRule.md b/src/ZN/docs/Update-ZNAssetRpcRule.md index b48e9a3..1729061 100644 --- a/src/ZN/docs/Update-ZNAssetRpcRule.md +++ b/src/ZN/docs/Update-ZNAssetRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znassetrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassetrpcrule schema: 2.0.0 --- diff --git a/src/ZN/docs/Update-ZNAssetType.md b/src/ZN/docs/Update-ZNAssetType.md index 8ee77c0..15b05e9 100644 --- a/src/ZN/docs/Update-ZNAssetType.md +++ b/src/ZN/docs/Update-ZNAssetType.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znassettype +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znassettype schema: 2.0.0 --- @@ -13,7 +13,8 @@ Set the asset type (Client/server) ## SYNTAX ``` -Update-ZNAssetType -AssetId -Type [-PassThru] [-Confirm] [-WhatIf] [] +Update-ZNAssetType -AssetId -Type [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -31,6 +32,21 @@ This cmdlet updates an asset type to either client or server. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetId assetId to filter on diff --git a/src/ZN/docs/Update-ZNCustomGroup.md b/src/ZN/docs/Update-ZNCustomGroup.md index b093793..d4be4bb 100644 --- a/src/ZN/docs/Update-ZNCustomGroup.md +++ b/src/ZN/docs/Update-ZNCustomGroup.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-zncustomgroup +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zncustomgroup schema: 2.0.0 --- diff --git a/src/ZN/docs/Update-ZNExternalAccessPolicy.md b/src/ZN/docs/Update-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..1668a76 --- /dev/null +++ b/src/ZN/docs/Update-ZNExternalAccessPolicy.md @@ -0,0 +1,282 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znexternalaccesspolicy +schema: 2.0.0 +--- + +# Update-ZNExternalAccessPolicy + +## SYNOPSIS +Updates an external access policy. + +## SYNTAX + +``` +Update-ZNExternalAccessPolicy -PolicyId [-Description ] [-DstPortsList ] + [-DstProcessNamesList ] [-Name ] [-RuleDuration ] [-SrcUserIdsList ] + [-State ] [-Url ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an external access policy. + +## EXAMPLES + +### Example 1: Update an external access policy +```powershell +Update-ZNExternalAccessPolicy -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://ansible.test.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +description + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + extra ports to open. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +aname. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +Duration of the rule + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +List of source users + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +State + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +Url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] destination asset(s). ${DstAssetId}, extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNGroupsAssetManager.md b/src/ZN/docs/Update-ZNGroupsAssetManager.md new file mode 100644 index 0000000..e240f2e --- /dev/null +++ b/src/ZN/docs/Update-ZNGroupsAssetManager.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsassetmanager +schema: 2.0.0 +--- + +# Update-ZNGroupsAssetManager + +## SYNOPSIS +Update an asset manager of group + +## SYNTAX + +``` +Update-ZNGroupsAssetManager -GroupId -GroupType -ManagerId -Permission + [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update an asset manager of group + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ManagerId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +2 - Viewer, 3 - Manager + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNGroupsExternalAccessPolicy.md b/src/ZN/docs/Update-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..113157d --- /dev/null +++ b/src/ZN/docs/Update-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,313 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsexternalaccesspolicy +schema: 2.0.0 +--- + +# Update-ZNGroupsExternalAccessPolicy + +## SYNOPSIS +Updates an external access policy. + +## SYNTAX + +``` +Update-ZNGroupsExternalAccessPolicy -GroupId -GroupType -PolicyId + [-Description ] [-DstPortsList ] [-DstProcessNamesList ] [-Name ] + [-RuleDuration ] [-SrcUserIdsList ] [-State ] [-Url ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates an external access policy. + +## EXAMPLES + +### Example 1: Update an external access policy +```powershell +Update-ZNGroupsExternalAccessPolicy -GroupId "g:t:5V669ce2" -GroupType tag -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://external.psoh.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +description + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + extra ports to open. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +Group Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +Group Type + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +aname. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +Duration of the rule + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +List of source users + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +State + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +Url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] destination asset(s). ${DstAssetId}, extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNGroupsIdentityRule.md b/src/ZN/docs/Update-ZNGroupsIdentityRule.md index ec9f57d..96a66b2 100644 --- a/src/ZN/docs/Update-ZNGroupsIdentityRule.md +++ b/src/ZN/docs/Update-ZNGroupsIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-zngroupsidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsidentityrule schema: 2.0.0 --- diff --git a/src/ZN/docs/Update-ZNGroupsInboundRule.md b/src/ZN/docs/Update-ZNGroupsInboundRule.md index 4fafcca..ae01864 100644 --- a/src/ZN/docs/Update-ZNGroupsInboundRule.md +++ b/src/ZN/docs/Update-ZNGroupsInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znGroupsinboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znGroupsinboundrule schema: 2.0.0 --- @@ -329,7 +329,7 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNGroupsManagedAsset.md b/src/ZN/docs/Update-ZNGroupsManagedAsset.md new file mode 100644 index 0000000..d37f6e0 --- /dev/null +++ b/src/ZN/docs/Update-ZNGroupsManagedAsset.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmanagedasset +schema: 2.0.0 +--- + +# Update-ZNGroupsManagedAsset + +## SYNOPSIS +Update a managed assets for group + +## SYNTAX + +``` +Update-ZNGroupsManagedAsset -GroupId -GroupType -EntityId [-AccountName ] + [-Permission ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a managed assets for group + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +managed asset id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +groupId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupType +group type to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNGroupsMfaIdentityPolicy.md b/src/ZN/docs/Update-ZNGroupsMfaIdentityPolicy.md index 922a48c..33d2096 100644 --- a/src/ZN/docs/Update-ZNGroupsMfaIdentityPolicy.md +++ b/src/ZN/docs/Update-ZNGroupsMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-zngroupsmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfaidentitypolicy schema: 2.0.0 --- @@ -17,8 +17,8 @@ Update-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -Reactive [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] - [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] + [-SrcUserIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -268,6 +268,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. diff --git a/src/ZN/docs/Update-ZNGroupsMfaInboundPolicy.md b/src/ZN/docs/Update-ZNGroupsMfaInboundPolicy.md index 08dba22..395f4ab 100644 --- a/src/ZN/docs/Update-ZNGroupsMfaInboundPolicy.md +++ b/src/ZN/docs/Update-ZNGroupsMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-zngroupsmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfainboundpolicy schema: 2.0.0 --- @@ -17,9 +17,10 @@ Update-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactiveP [-AdditionalPortsList ] [-Description ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] - [-RuleDuration ] [-SrcEntityInfos ] - [-SrcProcessNames ] [-SrcUserInfos ] [-State ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] + [-SrcEntityInfos ] [-SrcProcessNames ] + [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -310,6 +311,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. @@ -436,7 +452,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: extra ports to open. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `SRCENTITYINFOS `: source asset(s). - `Id `: diff --git a/src/ZN/docs/Update-ZNGroupsMfaOutboundPolicy.md b/src/ZN/docs/Update-ZNGroupsMfaOutboundPolicy.md index ed5b666..e1ed0b5 100644 --- a/src/ZN/docs/Update-ZNGroupsMfaOutboundPolicy.md +++ b/src/ZN/docs/Update-ZNGroupsMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-zngroupsmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsmfaoutboundpolicy schema: 2.0.0 --- @@ -16,10 +16,10 @@ Updates an outbound MFA Policy. Update-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-Description ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] - [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] - [-SrcEntityInfos ] [-SrcProcessNames ] - [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] + [-RuleDuration ] [-SrcEntityInfos ] + [-SrcProcessNames ] [-SrcUserInfos ] + [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -300,6 +300,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. @@ -426,7 +441,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: extra ports to open. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `SRCENTITYINFOS `: source asset(s). - `Id `: diff --git a/src/ZN/docs/Update-ZNGroupsOutboundRule.md b/src/ZN/docs/Update-ZNGroupsOutboundRule.md index d1c459e..945cf3f 100644 --- a/src/ZN/docs/Update-ZNGroupsOutboundRule.md +++ b/src/ZN/docs/Update-ZNGroupsOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-zngroupsoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsoutboundrule schema: 2.0.0 --- @@ -16,7 +16,8 @@ Updates an outbound rule. Update-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] - [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-SrcUsersList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -265,6 +266,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +the source users. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State the rule state. @@ -329,7 +346,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: the source users. + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNGroupsRpcRule.md b/src/ZN/docs/Update-ZNGroupsRpcRule.md index efa60eb..e990f51 100644 --- a/src/ZN/docs/Update-ZNGroupsRpcRule.md +++ b/src/ZN/docs/Update-ZNGroupsRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-zngroupsrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zngroupsrpcrule schema: 2.0.0 --- diff --git a/src/ZN/docs/Update-ZNIdentityOnboardingPolicy.md b/src/ZN/docs/Update-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..57aeaa5 --- /dev/null +++ b/src/ZN/docs/Update-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znidentityonboardingpolicy +schema: 2.0.0 +--- + +# Update-ZNIdentityOnboardingPolicy + +## SYNOPSIS +Returns the updated settings for the identity onboarding policy. + +## SYNTAX + +``` +Update-ZNIdentityOnboardingPolicy -OnboardingPolicyId -ExistingMembersLearningDays + -NewMembersLearningDays [-AccountName ] [-Description ] [-Enabled] [-Id ] + [-PolicyType ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the updated settings for the identity onboarding policy. + +## EXAMPLES + +### Example 1: Update Identity onboarding policies +```powershell +Update-ZNIdentityOnboardingPolicy -OnboardingPolicyId "d7915c97-20ea-4639-852d-13cb3d5e228e" -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : 1726166871674 +ItemDescription : +ItemEnabled : True +ItemEnforceBlocks : +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:03669ce2 +ItemId : d7915c97-20ea-4639-852d-13cb3d5e228e +ItemInitialProtectAt : 1731355076896 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 2 +ItemUpdatedAt : 1726169643518 +``` + +This cmdlet updates an identity onboarding policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OnboardingPolicyId +The id of the onboarding policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 2 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNIdentityRule.md b/src/ZN/docs/Update-ZNIdentityRule.md index 2458535..e48a279 100644 --- a/src/ZN/docs/Update-ZNIdentityRule.md +++ b/src/ZN/docs/Update-ZNIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znidentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znidentityrule schema: 2.0.0 --- diff --git a/src/ZN/docs/Update-ZNInboundRule.md b/src/ZN/docs/Update-ZNInboundRule.md index 75934d3..66e4eb7 100644 --- a/src/ZN/docs/Update-ZNInboundRule.md +++ b/src/ZN/docs/Update-ZNInboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-zninboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-zninboundrule schema: 2.0.0 --- @@ -294,7 +294,7 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNMfaIdentityPolicy.md b/src/ZN/docs/Update-ZNMfaIdentityPolicy.md index f5b8896..3178f3f 100644 --- a/src/ZN/docs/Update-ZNMfaIdentityPolicy.md +++ b/src/ZN/docs/Update-ZNMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znmfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfaidentitypolicy schema: 2.0.0 --- @@ -17,8 +17,8 @@ Update-ZNMfaIdentityPolicy -ReactivePolicyId [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] - [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] + [-SrcUserIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -237,6 +237,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. diff --git a/src/ZN/docs/Update-ZNMfaInboundPolicy.md b/src/ZN/docs/Update-ZNMfaInboundPolicy.md index 9e34ba7..94f2716 100644 --- a/src/ZN/docs/Update-ZNMfaInboundPolicy.md +++ b/src/ZN/docs/Update-ZNMfaInboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znmfainboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfainboundpolicy schema: 2.0.0 --- @@ -16,10 +16,10 @@ Updates an inbound MFA Policy. Update-ZNMfaInboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-Description ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] - [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] - [-SrcEntityInfos ] [-SrcProcessNames ] - [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] + [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] + [-RuleDuration ] [-SrcEntityInfos ] + [-SrcProcessNames ] [-SrcUserInfos ] [-State ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -276,6 +276,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. @@ -402,7 +417,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: extra ports to open. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `SRCENTITYINFOS `: source asset(s). - `Id `: diff --git a/src/ZN/docs/Update-ZNMfaOutboundPolicy.md b/src/ZN/docs/Update-ZNMfaOutboundPolicy.md index 69d5cdc..5a89745 100644 --- a/src/ZN/docs/Update-ZNMfaOutboundPolicy.md +++ b/src/ZN/docs/Update-ZNMfaOutboundPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znmfaoutboundpolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znmfaoutboundpolicy schema: 2.0.0 --- @@ -16,7 +16,7 @@ Updates an outbound MFA Policy. Update-ZNMfaOutboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-Description ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] - [-ProtocolType ] [-RuleDuration ] + [-ProtocolType ] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] @@ -266,6 +266,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. @@ -392,7 +407,7 @@ To create the parameters described below, construct a hash table containing the `ADDITIONALPORTSLIST `: extra ports to open. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any `SRCENTITYINFOS `: source asset(s). - `Id `: diff --git a/src/ZN/docs/Update-ZNNetworkOnboardingPolicy.md b/src/ZN/docs/Update-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..22ab3a5 --- /dev/null +++ b/src/ZN/docs/Update-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znnetworkonboardingpolicy +schema: 2.0.0 +--- + +# Update-ZNNetworkOnboardingPolicy + +## SYNOPSIS +Returns the updated settings for the network onboarding policy. + +## SYNTAX + +``` +Update-ZNNetworkOnboardingPolicy -OnboardingPolicyId -ExistingMembersLearningDays + -NewMembersLearningDays [-AccountName ] [-Description ] [-Enabled] [-Id ] + [-PolicyType ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the updated settings for the network onboarding policy. + +## EXAMPLES + +### Example 1: Update Network onboarding policies +```powershell +Update-ZNNetworkOnboardingPolicy -OnboardingPolicyId "a36d67e7-8497-4a31-a39b-24e73a6b5c78" -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : 1726073476732 +ItemDescription : +ItemEnabled : True +ItemEnforceBlocks : False +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:03669ce2 +ItemId : a36d67e7-8497-4a31-a39b-24e73a6b5c78 +ItemInitialProtectAt : 1731355186489 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 1 +ItemUpdatedAt : 1726169614643 +``` + +This cmdlet updates an Network onboarding policy. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OnboardingPolicyId +The id of the onboarding policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 1 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNOutboundRule.md b/src/ZN/docs/Update-ZNOutboundRule.md index 2d35d6f..4d6c4cc 100644 --- a/src/ZN/docs/Update-ZNOutboundRule.md +++ b/src/ZN/docs/Update-ZNOutboundRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znoutboundrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znoutboundrule schema: 2.0.0 --- @@ -16,7 +16,8 @@ Updates an outbound rule. Update-ZNOutboundRule -RuleId [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] - [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-SrcUsersList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -229,6 +230,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SrcUsersList +the source users. +To construct, see NOTES section for SRCUSERSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -State the rule state. @@ -293,7 +310,11 @@ To create the parameters described below, construct a hash table containing the `PORTSLIST `: the destination ports and protocols. - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +`SRCUSERSLIST `: the source users. + - `[Id ]`: + - `[Sid ]`: ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNRpcRule.md b/src/ZN/docs/Update-ZNRpcRule.md index 8231c4c..8e95925 100644 --- a/src/ZN/docs/Update-ZNRpcRule.md +++ b/src/ZN/docs/Update-ZNRpcRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znrpcrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znrpcrule schema: 2.0.0 --- diff --git a/src/ZN/docs/Update-ZNSettingsAd.md b/src/ZN/docs/Update-ZNSettingsAd.md index af3d690..98ecd50 100644 --- a/src/ZN/docs/Update-ZNSettingsAd.md +++ b/src/ZN/docs/Update-ZNSettingsAd.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsad +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsad schema: 2.0.0 --- @@ -13,10 +13,11 @@ Update AD forest settings. ## SYNTAX ``` -Update-ZNSettingsAd -ForestId [-PrimaryDomainConfigDomainControllerFqdn ] - [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] - [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] - [-Confirm] [-WhatIf] [] +Update-ZNSettingsAd -ForestId [-AccountName ] [-AllowNtlmFallback] + [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] + [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] + [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -34,6 +35,36 @@ This cmdlet updates AD settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AllowNtlmFallback +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ForestId The forest id diff --git a/src/ZN/docs/Update-ZNSettingsAdLinux.md b/src/ZN/docs/Update-ZNSettingsAdLinux.md new file mode 100644 index 0000000..df5766a --- /dev/null +++ b/src/ZN/docs/Update-ZNSettingsAdLinux.md @@ -0,0 +1,213 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsadlinux +schema: 2.0.0 +--- + +# Update-ZNSettingsAdLinux + +## SYNOPSIS +Adds or updates linux config for a domain. + +## SYNTAX + +``` +Update-ZNSettingsAdLinux -DomainId -ForestId [-AccountName ] + [-AdLinuxConfigAllowInstallPackages] [-AdLinuxConfigPassword ] [-AdLinuxConfigPrivateKey ] + [-AdLinuxConfigUsername ] [-UseForAllDomains] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Adds or updates linux config for a domain. + +## EXAMPLES + +### Example 1: Update AD Limux Config +```powershell +Update-ZNSettingsAdLinux -DomainId test.local -ForestId f:a:9FSrluRh -AdLinuxConfigAllowInstallPackages -AdLinuxConfigPassword "myNewPassword1234!@#$" -AdLinuxConfigPrivateKey '-----BEGIN RSA PRIVATE KEY-----MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEmo3qGy0t6z09AIJtH+5OeRV1be+N4cDYJKffGzDa88vQENZiRm0GRq6a+HPGQMd2kTQIhAKMSvzIBnni7ot/OSie2TmJLY4SwTQAevXysE2RbFDYdAiEBCUEaRQnMnbp79mxDXDf6AU0cN/RPBjb9qSHDcWZHGzUCIG2Es59z8ugGrDY+pxLQnwfotadxd+Uyv/Ow5T0q5gIJAiEAyS4RaI9YG8EWx/2w0T67ZUVAw8eOMB6BIUg0Xcu+3okCIBOs/5OiPgoTdSy7bcF9IGpSE8ZgGKzgYQVZeN97YE00-----END RSA PRIVATE KEY-----' -AdLinuxConfigUsername "zn-admin" -UseForAllDomains +``` + +This cmdlet updates the AD linux config for a domain/forest. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdLinuxConfigAllowInstallPackages +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdLinuxConfigPassword +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdLinuxConfigPrivateKey +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdLinuxConfigUsername +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DomainId +The fqdn of the domain + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UseForAllDomains +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNSettingsAdLinuxAutomationGroup.md b/src/ZN/docs/Update-ZNSettingsAdLinuxAutomationGroup.md new file mode 100644 index 0000000..6e57a59 --- /dev/null +++ b/src/ZN/docs/Update-ZNSettingsAdLinuxAutomationGroup.md @@ -0,0 +1,137 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsadlinuxautomationgroup +schema: 2.0.0 +--- + +# Update-ZNSettingsAdLinuxAutomationGroup + +## SYNOPSIS +Update Linux_Rediscover Automation Groups for an AD forest setting. + +## SYNTAX + +``` +Update-ZNSettingsAdLinuxAutomationGroup -ForestId [-AccountName ] + [-MonitoredGroupId ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update Linux_Rediscover Automation Groups for an AD forest setting. + +## EXAMPLES + +### Example 1: Update the AD Linux Monitor Group +```powershell +Update-ZNSettingsAdLinuxAutomationGroup -ForestId "f:a:9FSrluRh" -MonitoredGroupId b:110003 +``` + +This cmdlet updates the AD linux monitoring group. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoredGroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNSettingsAdSecondary.md b/src/ZN/docs/Update-ZNSettingsAdSecondary.md index 4570a72..586bcf2 100644 --- a/src/ZN/docs/Update-ZNSettingsAdSecondary.md +++ b/src/ZN/docs/Update-ZNSettingsAdSecondary.md @@ -1,25 +1,25 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsadsecondary +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsadsecondary schema: 2.0.0 --- # Update-ZNSettingsAdSecondary ## SYNOPSIS -Update a secondary AD settings in Asset Managment +Update a secondary AD settings in Asset Management ## SYNTAX ``` -Update-ZNSettingsAdSecondary -DomainId -ForestId +Update-ZNSettingsAdSecondary -DomainId -ForestId [-AccountName ] [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Update a secondary AD settings in Asset Managment +Update a secondary AD settings in Asset Management ## EXAMPLES @@ -33,6 +33,21 @@ This cmdlet updates the settings for a Secondary domain in AD settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DomainId The fqdn of the domain diff --git a/src/ZN/docs/Update-ZNSettingsAdWindowsAutomationGroup.md b/src/ZN/docs/Update-ZNSettingsAdWindowsAutomationGroup.md new file mode 100644 index 0000000..da3cda5 --- /dev/null +++ b/src/ZN/docs/Update-ZNSettingsAdWindowsAutomationGroup.md @@ -0,0 +1,153 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsadwindowsautomationgroup +schema: 2.0.0 +--- + +# Update-ZNSettingsAdWindowsAutomationGroup + +## SYNOPSIS +Update Windows Automation Groups for an AD forest setting. + +## SYNTAX + +``` +Update-ZNSettingsAdWindowsAutomationGroup -ForestId [-AccountName ] + [-MonitoredGroupId ] [-ProtectedGroupId ] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update Windows Automation Groups for an AD forest setting. + +## EXAMPLES + +### Example 1: Update AD Automation groups +```powershell +Update-ZNSettingsAdWindowsAutomationGroup -ForestId "f:a:9FSrluRh" -MonitoredGroupId b:110003 -ProtectedGroupId g:a:s2FnXfXk +``` + +This cmdlet updates AD automation groups. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ForestId +The forest id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoredGroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtectedGroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNSettingsAnsible.md b/src/ZN/docs/Update-ZNSettingsAnsible.md index dfda71a..b8d96b1 100644 --- a/src/ZN/docs/Update-ZNSettingsAnsible.md +++ b/src/ZN/docs/Update-ZNSettingsAnsible.md @@ -1,25 +1,25 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsansible +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsansible schema: 2.0.0 --- # Update-ZNSettingsAnsible ## SYNOPSIS -Get the Ansible settings in Asset Managment +Get the Ansible settings in Asset Management ## SYNTAX ``` -Update-ZNSettingsAnsible [-ClientId ] [-ClientSecret ] [-CredentialsName ] - [-DisableCertificateValidation] [-Password ] [-Url ] [-Username ] [-Confirm] - [-WhatIf] [] +Update-ZNSettingsAnsible [-AccountName ] [-ClientId ] [-ClientSecret ] + [-CredentialsName ] [-DisableCertificateValidation] [-Password ] [-Url ] + [-Username ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Get the Ansible settings in Asset Managment +Get the Ansible settings in Asset Management ## EXAMPLES @@ -32,6 +32,21 @@ This cmdlet updates the Ansible setting under Asset Management. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ClientId OAuth Client Id diff --git a/src/ZN/docs/Update-ZNSettingsAuth.md b/src/ZN/docs/Update-ZNSettingsAuth.md index b6b8372..b3f0f4d 100644 --- a/src/ZN/docs/Update-ZNSettingsAuth.md +++ b/src/ZN/docs/Update-ZNSettingsAuth.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsauth +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsauth schema: 2.0.0 --- @@ -13,7 +13,8 @@ Set the portal security settings ## SYNTAX ``` -Update-ZNSettingsAuth [-PortalTokenTtl ] [-PassThru] [-Confirm] [-WhatIf] [] +Update-ZNSettingsAuth [-AccountName ] [-PortalTokenTtl ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -31,6 +32,21 @@ Use minutes for the PortalTokenTtl ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Update-ZNSettingsBreakGlass.md b/src/ZN/docs/Update-ZNSettingsBreakGlass.md index 2310a90..ff05cd6 100644 --- a/src/ZN/docs/Update-ZNSettingsBreakGlass.md +++ b/src/ZN/docs/Update-ZNSettingsBreakGlass.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsbreakglass +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsbreakglass schema: 2.0.0 --- @@ -13,9 +13,9 @@ Update break glass settings ## SYNTAX ``` -Update-ZNSettingsBreakGlass [-AgentConfigAllowIdentity] [-AgentConfigAllowInbound] [-AgentConfigAllowOutbound] - [-TrustConfigAllowIdentity] [-TrustConfigAllowInbound] [-TrustConfigAllowOutbound] [-PassThru] [-Confirm] - [-WhatIf] [] +Update-ZNSettingsBreakGlass [-AccountName ] [-AgentConfigAllowIdentity] [-AgentConfigAllowInbound] + [-AgentConfigAllowOutbound] [-TrustConfigAllowIdentity] [-TrustConfigAllowInbound] + [-TrustConfigAllowOutbound] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet updates the cloud break glass settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AgentConfigAllowIdentity . diff --git a/src/ZN/docs/Update-ZNSettingsClientSubnet.md b/src/ZN/docs/Update-ZNSettingsClientSubnet.md index a634040..c3ffaf3 100644 --- a/src/ZN/docs/Update-ZNSettingsClientSubnet.md +++ b/src/ZN/docs/Update-ZNSettingsClientSubnet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsclientsubnet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsclientsubnet schema: 2.0.0 --- @@ -13,8 +13,8 @@ Update the Client Subnets settings in System ## SYNTAX ``` -Update-ZNSettingsClientSubnet [-PrivateNetworksList ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsClientSubnet [-AccountName ] [-PrivateIpv4NetworksList ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet updates client subnet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds @@ -46,8 +61,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -PrivateNetworksList -Collection of IP subnets that are internal +### -PrivateIpv4NetworksList +Collection of IPv4 subnets that are internal ```yaml Type: System.String[] diff --git a/src/ZN/docs/Update-ZNSettingsClientsTrustedInternet.md b/src/ZN/docs/Update-ZNSettingsClientsTrustedInternet.md index 9d811de..1d9bbcd 100644 --- a/src/ZN/docs/Update-ZNSettingsClientsTrustedInternet.md +++ b/src/ZN/docs/Update-ZNSettingsClientsTrustedInternet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsclientstrustedinternet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsclientstrustedinternet schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set Clients Trusted Internet settings in System ## SYNTAX ``` -Update-ZNSettingsClientsTrustedInternet [-Ports ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsClientsTrustedInternet [-AccountName ] [-Ports ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet updates the client trusted internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds @@ -112,7 +127,7 @@ To create the parameters described below, construct a hash table containing the `PORTS `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNSettingsClientsUntrustedInternet.md b/src/ZN/docs/Update-ZNSettingsClientsUntrustedInternet.md index 6de9a8b..9df7199 100644 --- a/src/ZN/docs/Update-ZNSettingsClientsUntrustedInternet.md +++ b/src/ZN/docs/Update-ZNSettingsClientsUntrustedInternet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsclientsuntrustedinternet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsclientsuntrustedinternet schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set Clients Untrusted Internet settings in System ## SYNTAX ``` -Update-ZNSettingsClientsUntrustedInternet [-Ports ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsClientsUntrustedInternet [-AccountName ] [-Ports ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet updates the client untrusted internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds @@ -112,7 +127,7 @@ To create the parameters described below, construct a hash table containing the `PORTS `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNSettingsClusterStrategy.md b/src/ZN/docs/Update-ZNSettingsClusterStrategy.md index abe469a..dd73ee2 100644 --- a/src/ZN/docs/Update-ZNSettingsClusterStrategy.md +++ b/src/ZN/docs/Update-ZNSettingsClusterStrategy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsclusterstrategy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsclusterstrategy schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty response. ## SYNTAX ``` -Update-ZNSettingsClusterStrategy [-PreferredDeploymentId ] [-Strategy ] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsClusterStrategy [-AccountName ] [-PreferredDeploymentId ] [-Strategy ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet sets the preferred trust server under Segment servers. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PreferredDeploymentId . diff --git a/src/ZN/docs/Update-ZNSettingsConnectClientAutoUpdate.md b/src/ZN/docs/Update-ZNSettingsConnectClientAutoUpdate.md index 3ea434e..8438ebb 100644 --- a/src/ZN/docs/Update-ZNSettingsConnectClientAutoUpdate.md +++ b/src/ZN/docs/Update-ZNSettingsConnectClientAutoUpdate.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsconnectclientautoupdate +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsconnectclientautoupdate schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set Connect client auto update settings ## SYNTAX ``` -Update-ZNSettingsConnectClientAutoUpdate [-ClientAutoUpdate] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsConnectClientAutoUpdate [-AccountName ] [-ClientAutoUpdate] [-PassThru] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet updates the setting for Connect client auto updates. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ClientAutoUpdate . diff --git a/src/ZN/docs/Update-ZNSettingsConnectRegion.md b/src/ZN/docs/Update-ZNSettingsConnectRegion.md index 42e5d41..2c58c59 100644 --- a/src/ZN/docs/Update-ZNSettingsConnectRegion.md +++ b/src/ZN/docs/Update-ZNSettingsConnectRegion.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsconnectregion +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsconnectregion schema: 2.0.0 --- @@ -13,9 +13,9 @@ Update a Connect Region in Settings ## SYNTAX ``` -Update-ZNSettingsConnectRegion -RegionId [-DnsServersIPAddressList ] - [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsConnectRegion -RegionId [-AccountName ] + [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] + [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -33,6 +33,21 @@ This cmdlet updates a Connect region setting. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DnsServersIPAddressList . diff --git a/src/ZN/docs/Update-ZNSettingsConnectServer.md b/src/ZN/docs/Update-ZNSettingsConnectServer.md index aed865c..40cdec5 100644 --- a/src/ZN/docs/Update-ZNSettingsConnectServer.md +++ b/src/ZN/docs/Update-ZNSettingsConnectServer.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsconnectserver +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsconnectserver schema: 2.0.0 --- @@ -13,8 +13,8 @@ Update Connect Server in Settings ## SYNTAX ``` -Update-ZNSettingsConnectServer -ConnectServerId [-PublicPort ] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsConnectServer -ConnectServerId [-AccountName ] [-PublicPort ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet updates a Connect server. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ConnectServerId connect server id diff --git a/src/ZN/docs/Update-ZNSettingsConnectUserAccessConfig.md b/src/ZN/docs/Update-ZNSettingsConnectUserAccessConfig.md index 9296fc4..4874fdb 100644 --- a/src/ZN/docs/Update-ZNSettingsConnectUserAccessConfig.md +++ b/src/ZN/docs/Update-ZNSettingsConnectUserAccessConfig.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsconnectuseraccessconfig +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsconnectuseraccessconfig schema: 2.0.0 --- @@ -13,9 +13,10 @@ Update a Connect User Access Configuration in Settings ## SYNTAX ``` -Update-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-AllowedRegions ] - [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] - [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] +Update-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-AccountName ] + [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] + [-DstEntityIdsList ] [-ForceSsoAuthentication] + [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] @@ -38,6 +39,21 @@ This cmdlet updates a User Access Config for Connect ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AllowedRegions . diff --git a/src/ZN/docs/Update-ZNSettingsDefaultApplication.md b/src/ZN/docs/Update-ZNSettingsDefaultApplication.md index 46d0417..b4798ee 100644 --- a/src/ZN/docs/Update-ZNSettingsDefaultApplication.md +++ b/src/ZN/docs/Update-ZNSettingsDefaultApplication.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsdefaultapplication +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsdefaultapplication schema: 2.0.0 --- @@ -13,8 +13,8 @@ Update the Default SSO Application settings in Identity Providers ## SYNTAX ``` -Update-ZNSettingsDefaultApplication [-Application ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsDefaultApplication [-AccountName ] [-Application ] [-PassThru] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet updates the default application setting under Identity Providers. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Application 1-Admin Portal, 2-Access Portal diff --git a/src/ZN/docs/Update-ZNSettingsFirewall.md b/src/ZN/docs/Update-ZNSettingsFirewall.md index 9e9180d..7871490 100644 --- a/src/ZN/docs/Update-ZNSettingsFirewall.md +++ b/src/ZN/docs/Update-ZNSettingsFirewall.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsfirewall +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsfirewall schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns the properties of the updated Firewall settings. ## SYNTAX ``` -Update-ZNSettingsFirewall [-ImplicitIcmpRuleEnabled] [-PassThru] [-Confirm] [-WhatIf] [] +Update-ZNSettingsFirewall [-AccountName ] [-ImplicitIcmpRuleEnabled] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -31,6 +32,21 @@ True is "on" and False is "off". ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ImplicitIcmpRuleEnabled . diff --git a/src/ZN/docs/Update-ZNSettingsFirewallIgnoredGpo.md b/src/ZN/docs/Update-ZNSettingsFirewallIgnoredGpo.md index bf8d4e8..03927bf 100644 --- a/src/ZN/docs/Update-ZNSettingsFirewallIgnoredGpo.md +++ b/src/ZN/docs/Update-ZNSettingsFirewallIgnoredGpo.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsfirewallignoredgpo +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsfirewallignoredgpo schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns the properties of ignored GPO rules Firewall settings. ## SYNTAX ``` -Update-ZNSettingsFirewallIgnoredGpo [-InboundList ] [-OutboundList ] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsFirewallIgnoredGpo [-AccountName ] [-InboundList ] + [-OutboundList ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -38,6 +38,21 @@ This cmdlet updates the GPO rules to ignore for Asset Health. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InboundList . diff --git a/src/ZN/docs/Update-ZNSettingsFirewallIgnoredRule.md b/src/ZN/docs/Update-ZNSettingsFirewallIgnoredRule.md index 80bf4b6..1758170 100644 --- a/src/ZN/docs/Update-ZNSettingsFirewallIgnoredRule.md +++ b/src/ZN/docs/Update-ZNSettingsFirewallIgnoredRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsfirewallignoredrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsfirewallignoredrule schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns he properties of ignored rules for anti-tampering Firewall settings. ## SYNTAX ``` -Update-ZNSettingsFirewallIgnoredRule [-InboundList ] [-OutboundList ] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsFirewallIgnoredRule [-AccountName ] [-InboundList ] + [-OutboundList ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -38,6 +38,21 @@ This cmdlet updates the rules to ignore for Antitampering. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InboundList . diff --git a/src/ZN/docs/Update-ZNSettingsFirewallProfile.md b/src/ZN/docs/Update-ZNSettingsFirewallProfile.md index 32971aa..7e8932e 100644 --- a/src/ZN/docs/Update-ZNSettingsFirewallProfile.md +++ b/src/ZN/docs/Update-ZNSettingsFirewallProfile.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsfirewallprofile +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsfirewallprofile schema: 2.0.0 --- @@ -13,9 +13,10 @@ Returns the properties of firewall profiles in Firewall settings. ## SYNTAX ``` -Update-ZNSettingsFirewallProfile [-InboundAllowDomain] [-InboundAllowPrivate] [-InboundAllowPublic] - [-InboundBlockDomain] [-InboundBlockPrivate] [-InboundBlockPublic] [-OutboundBlockDomain] - [-OutboundBlockPrivate] [-OutboundBlockPublic] [-Confirm] [-WhatIf] [] +Update-ZNSettingsFirewallProfile [-AccountName ] [-InboundAllowDomain] [-InboundAllowPrivate] + [-InboundAllowPublic] [-InboundBlockDomain] [-InboundBlockPrivate] [-InboundBlockPublic] + [-OutboundBlockDomain] [-OutboundBlockPrivate] [-OutboundBlockPublic] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -45,6 +46,21 @@ This cmdlet updates the Firewall profiles settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InboundAllowDomain . diff --git a/src/ZN/docs/Update-ZNSettingsIdp.md b/src/ZN/docs/Update-ZNSettingsIdp.md index fdc2f54..3e31c35 100644 --- a/src/ZN/docs/Update-ZNSettingsIdp.md +++ b/src/ZN/docs/Update-ZNSettingsIdp.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsidp +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsidp schema: 2.0.0 --- @@ -13,8 +13,9 @@ Update identity provider settings in Identity Providers ## SYNTAX ``` -Update-ZNSettingsIdp -IdentityProviderId [-Certificate ] [-IdentityProvider ] - [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Confirm] [-WhatIf] [] +Update-ZNSettingsIdp -IdentityProviderId [-AccountName ] [-Certificate ] + [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -38,6 +39,21 @@ This cmdlet updates an Identity Provider setting under Integrations. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Certificate Identity Provider certificate diff --git a/src/ZN/docs/Update-ZNSettingsInactiveAsset.md b/src/ZN/docs/Update-ZNSettingsInactiveAsset.md index 98db39e..8ab38e3 100644 --- a/src/ZN/docs/Update-ZNSettingsInactiveAsset.md +++ b/src/ZN/docs/Update-ZNSettingsInactiveAsset.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsinactiveasset +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsinactiveasset schema: 2.0.0 --- @@ -13,7 +13,8 @@ Update inactive assets settings configuration ## SYNTAX ``` -Update-ZNSettingsInactiveAsset [-LastActiveDurationInMonths ] [-Confirm] [-WhatIf] [] +Update-ZNSettingsInactiveAsset [-AccountName ] [-LastActiveDurationInMonths ] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -30,6 +31,21 @@ This cmdlet updates the inactive asset setting. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LastActiveDurationInMonths . diff --git a/src/ZN/docs/Update-ZNSettingsInternalSubnet.md b/src/ZN/docs/Update-ZNSettingsInternalSubnet.md index 15b0f8f..4cf744c 100644 --- a/src/ZN/docs/Update-ZNSettingsInternalSubnet.md +++ b/src/ZN/docs/Update-ZNSettingsInternalSubnet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsinternalsubnet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsinternalsubnet schema: 2.0.0 --- @@ -13,8 +13,8 @@ Update the Internal Subnets settings in System ## SYNTAX ``` -Update-ZNSettingsInternalSubnet [-PrivateNetworksList ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsInternalSubnet [-AccountName ] [-PrivateIpv4NetworksList ] + [-PrivateIpv6NetworksList ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet updates the internal subnets setting under System. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds @@ -46,8 +61,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -PrivateNetworksList -Collection of IP subnets that are internal +### -PrivateIpv4NetworksList +Collection of IPv4 subnets that are internal + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrivateIpv6NetworksList +Collection of IPv4 subnets that are internal ```yaml Type: System.String[] diff --git a/src/ZN/docs/Update-ZNSettingsJamfCredentials.md b/src/ZN/docs/Update-ZNSettingsJamfCredentials.md index 1198253..75c5dbc 100644 --- a/src/ZN/docs/Update-ZNSettingsJamfCredentials.md +++ b/src/ZN/docs/Update-ZNSettingsJamfCredentials.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsjamfcredentials +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsjamfcredentials schema: 2.0.0 --- # Update-ZNSettingsJamfCredentials ## SYNOPSIS -Returns the upddated properties of JAMF Credentials settings. +Returns the updated properties of JAMF Credentials settings. ## SYNTAX ``` -Update-ZNSettingsJamfCredentials -Host1 -Password -Username [-Confirm] [-WhatIf] - [] +Update-ZNSettingsJamfCredentials -Host -Password -Username [-AccountName ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Returns the upddated properties of JAMF Credentials settings. +Returns the updated properties of JAMF Credentials settings. ## EXAMPLES @@ -31,7 +31,22 @@ This cmdlet updates the JAMF credential in Settings under Asset Management. ## PARAMETERS -### -Host1 +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Host JAMF url ```yaml diff --git a/src/ZN/docs/Update-ZNSettingsLearningConfig.md b/src/ZN/docs/Update-ZNSettingsLearningConfig.md index 8564304..567dd18 100644 --- a/src/ZN/docs/Update-ZNSettingsLearningConfig.md +++ b/src/ZN/docs/Update-ZNSettingsLearningConfig.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingslearningconfig +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingslearningconfig schema: 2.0.0 --- @@ -13,8 +13,8 @@ Update Learning Config settings in Network Segmentation ## SYNTAX ``` -Update-ZNSettingsLearningConfig [-AllowQueueForever] [-AllowQuickLearning] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsLearningConfig [-AccountName ] [-AllowQueueForever] [-AllowQuickLearning] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -31,6 +31,21 @@ This cmdlet updates the AI learning settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AllowQueueForever . diff --git a/src/ZN/docs/Update-ZNSettingsLinuxSetup.md b/src/ZN/docs/Update-ZNSettingsLinuxSetup.md index 00f8fd2..882b47d 100644 --- a/src/ZN/docs/Update-ZNSettingsLinuxSetup.md +++ b/src/ZN/docs/Update-ZNSettingsLinuxSetup.md @@ -1,23 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingslinuxsetup +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingslinuxsetup schema: 2.0.0 --- # Update-ZNSettingsLinuxSetup ## SYNOPSIS -Update the linux setup settings in Asset Managment +Update the linux setup settings in Asset Management ## SYNTAX ``` -Update-ZNSettingsLinuxSetup [-AllowInstallPackages] [-Confirm] [-WhatIf] [] +Update-ZNSettingsLinuxSetup [-AccountName ] [-AllowInstallPackages] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION -Update the linux setup settings in Asset Managment +Update the linux setup settings in Asset Management ## EXAMPLES @@ -30,6 +31,21 @@ This cmdlet updates the AI learning settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AllowInstallPackages . diff --git a/src/ZN/docs/Update-ZNSettingsLinuxUser.md b/src/ZN/docs/Update-ZNSettingsLinuxUser.md index 49c6ff0..b332e04 100644 --- a/src/ZN/docs/Update-ZNSettingsLinuxUser.md +++ b/src/ZN/docs/Update-ZNSettingsLinuxUser.md @@ -1,24 +1,24 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingslinuxuser +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingslinuxuser schema: 2.0.0 --- # Update-ZNSettingsLinuxUser ## SYNOPSIS -Update the linux user settings in Asset Managment +Update the linux user settings in Asset Management ## SYNTAX ``` -Update-ZNSettingsLinuxUser [-Password ] [-PrivateKey ] [-Username ] [-Confirm] - [-WhatIf] [] +Update-ZNSettingsLinuxUser [-AccountName ] [-Password ] [-PrivateKey ] + [-Username ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Update the linux user settings in Asset Managment +Update the linux user settings in Asset Management ## EXAMPLES @@ -31,6 +31,21 @@ This cmdlet updates the Linux user setting under Asset Management. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Password password for the linux user diff --git a/src/ZN/docs/Update-ZNSettingsMaintenanceWindow.md b/src/ZN/docs/Update-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..7ec3358 --- /dev/null +++ b/src/ZN/docs/Update-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,184 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsmaintenancewindow +schema: 2.0.0 +--- + +# Update-ZNSettingsMaintenanceWindow + +## SYNOPSIS +Returns the maintenance window properties + +## SYNTAX + +``` +Update-ZNSettingsMaintenanceWindow -MaintenanceWindowId [-AccountName ] [-IsDefault] + [-Name ] [-StartTime ] [-Weekday ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the maintenance window properties + +## EXAMPLES + +### Example 1: Update a maintenance window +```powershell +Update-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:eCoheWFb -Weekday 2 -Name Default +``` + +```output +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +ItemCreatedAt : 1728092138778 +ItemId : e:m:eCoheWFb +ItemIsDefault : False +ItemName : Default +ItemStartTime : 0 +ItemUpdatedAt : 1728158598574 +ItemWeekday : 2 +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates a maintenance window. + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IsDefault +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowId +id of the maintence window + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTime +0-24 in UTC. +1 would be 01:00-02:00UTC + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Weekday +Sunday is 1, Saturday is 7 + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IMaintenanceWindowItem + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNSettingsMfaAuthentication.md b/src/ZN/docs/Update-ZNSettingsMfaAuthentication.md index a51a5f1..4b178ea 100644 --- a/src/ZN/docs/Update-ZNSettingsMfaAuthentication.md +++ b/src/ZN/docs/Update-ZNSettingsMfaAuthentication.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsmfaauthentication +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsmfaauthentication schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns an empty object. ## SYNTAX ``` -Update-ZNSettingsMfaAuthentication -IsRequiresAuth -IsSsoForceAuth -TokenTtl [-Confirm] [-WhatIf] - [] +Update-ZNSettingsMfaAuthentication -IsRequiresAuth -IsSsoForceAuth -TokenTtl [-AccountName ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,8 +32,23 @@ This cmdlet updates the MFA Authentication setting. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -IsRequiresAuth -Authentication Reqiured +Authentication Required ```yaml Type: System.Management.Automation.SwitchParameter @@ -63,7 +78,7 @@ Accept wildcard characters: False ``` ### -TokenTtl -Token time to tive in minutes +Token time to live in minutes ```yaml Type: System.Int32 diff --git a/src/ZN/docs/Update-ZNSettingsMfaDetection.md b/src/ZN/docs/Update-ZNSettingsMfaDetection.md index b0bc105..2c969de 100644 --- a/src/ZN/docs/Update-ZNSettingsMfaDetection.md +++ b/src/ZN/docs/Update-ZNSettingsMfaDetection.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsmfadetection +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsmfadetection schema: 2.0.0 --- @@ -13,7 +13,8 @@ Returns the properties of the updated MFA detection settings. ## SYNTAX ``` -Update-ZNSettingsMfaDetection -TimeoutMinutes [-Confirm] [-WhatIf] [] +Update-ZNSettingsMfaDetection -TimeoutMinutes [-AccountName ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -34,6 +35,21 @@ This cmdlet updates the MFA detection setting. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -TimeoutMinutes access policy cooldown diff --git a/src/ZN/docs/Update-ZNSettingsNotification.md b/src/ZN/docs/Update-ZNSettingsNotification.md index c458430..3323179 100644 --- a/src/ZN/docs/Update-ZNSettingsNotification.md +++ b/src/ZN/docs/Update-ZNSettingsNotification.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsnotification +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsnotification schema: 2.0.0 --- @@ -13,8 +13,8 @@ Returns the properties of the updated Mail Notifications settings. ## SYNTAX ``` -Update-ZNSettingsNotification -AssetPostponed -AssetProtected -AssetQueued -AssetUnprotected [-Confirm] - [-WhatIf] [] +Update-ZNSettingsNotification -AssetPostponed -AssetProtected -AssetQueued -AssetUnprotected + [-AccountName ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -37,6 +37,21 @@ This cmdlet updates the Mail notifications setting under System. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AssetPostponed . diff --git a/src/ZN/docs/Update-ZNSettingsPrivilegedPort.md b/src/ZN/docs/Update-ZNSettingsPrivilegedPort.md index 4354978..465c3f4 100644 --- a/src/ZN/docs/Update-ZNSettingsPrivilegedPort.md +++ b/src/ZN/docs/Update-ZNSettingsPrivilegedPort.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsprivilegedport +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsprivilegedport schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set Privileged Ports settings in Network segmentation ## SYNTAX ``` -Update-ZNSettingsPrivilegedPort [-TcpPorts ] [-UdpPorts ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsPrivilegedPort [-AccountName ] [-TcpPorts ] [-UdpPorts ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -38,6 +38,21 @@ This cmdlet updates privileged port settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds diff --git a/src/ZN/docs/Update-ZNSettingsServersTrustedInternet.md b/src/ZN/docs/Update-ZNSettingsServersTrustedInternet.md index 14dedac..a855577 100644 --- a/src/ZN/docs/Update-ZNSettingsServersTrustedInternet.md +++ b/src/ZN/docs/Update-ZNSettingsServersTrustedInternet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsserverstrustedinternet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsserverstrustedinternet schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set Servers Trusted Internet settings in System ## SYNTAX ``` -Update-ZNSettingsServersTrustedInternet [-Ports ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsServersTrustedInternet [-AccountName ] [-Ports ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet updates the servers trusted internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds @@ -112,7 +127,7 @@ To create the parameters described below, construct a hash table containing the `PORTS `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNSettingsServersUntrustedInternet.md b/src/ZN/docs/Update-ZNSettingsServersUntrustedInternet.md index 3a44107..09ee9cd 100644 --- a/src/ZN/docs/Update-ZNSettingsServersUntrustedInternet.md +++ b/src/ZN/docs/Update-ZNSettingsServersUntrustedInternet.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingsserversuntrustedinternet +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingsserversuntrustedinternet schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set Servers Untrusted Internet settings in System ## SYNTAX ``` -Update-ZNSettingsServersUntrustedInternet [-Ports ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsServersUntrustedInternet [-AccountName ] [-Ports ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -32,6 +32,21 @@ This cmdlet updates the servers untrusted internet settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -PassThru Returns true when the command succeeds @@ -112,7 +127,7 @@ To create the parameters described below, construct a hash table containing the `PORTS `: . - `[Ports ]`: - - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-incription * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any ## RELATED LINKS diff --git a/src/ZN/docs/Update-ZNSettingsTrustedInternetAddress.md b/src/ZN/docs/Update-ZNSettingsTrustedInternetAddress.md index 596ed76..d99e5d5 100644 --- a/src/ZN/docs/Update-ZNSettingsTrustedInternetAddress.md +++ b/src/ZN/docs/Update-ZNSettingsTrustedInternetAddress.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingstrustedinternetaddress +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingstrustedinternetaddress schema: 2.0.0 --- @@ -13,8 +13,8 @@ Set Trusted Internet addresses settings in System ## SYNTAX ``` -Update-ZNSettingsTrustedInternetAddress [-ExternalIpsList ] [-PassThru] [-Confirm] [-WhatIf] - [] +Update-ZNSettingsTrustedInternetAddress [-AccountName ] [-ExternalIpsList ] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -33,6 +33,21 @@ This cmdlet updates the trusted internet addresses list. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ExternalIpsList Collection of Internet IPs that are trusted diff --git a/src/ZN/docs/Update-ZNSettingsZpa.md b/src/ZN/docs/Update-ZNSettingsZpa.md index 871ddaa..81fd825 100644 --- a/src/ZN/docs/Update-ZNSettingsZpa.md +++ b/src/ZN/docs/Update-ZNSettingsZpa.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znsettingszpa +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znsettingszpa schema: 2.0.0 --- @@ -13,8 +13,9 @@ Set ZPA settings in Integrations ## SYNTAX ``` -Update-ZNSettingsZpa [-ClientOutboundSubnet ] [-GatewayIpsList ] [-IsEnabled] - [-PortsToMfaTcp ] [-PortsToMfaUdp ] [-PassThru] [-Confirm] [-WhatIf] [] +Update-ZNSettingsZpa [-AccountName ] [-ClientOutboundSubnet ] [-GatewayIpsList ] + [-IsEnabled] [-PortsToMfaTcp ] [-PortsToMfaUdp ] [-PassThru] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -32,6 +33,21 @@ This cmdlet updates the ZPA settings. ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ClientOutboundSubnet . diff --git a/src/ZN/docs/Update-ZNUserExternalAccessPolicy.md b/src/ZN/docs/Update-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..2317fae --- /dev/null +++ b/src/ZN/docs/Update-ZNUserExternalAccessPolicy.md @@ -0,0 +1,298 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znuserexternalaccesspolicy +schema: 2.0.0 +--- + +# Update-ZNUserExternalAccessPolicy + +## SYNOPSIS +Updates an external access policy. + +## SYNTAX + +``` +Update-ZNUserExternalAccessPolicy -PolicyId -UserId [-Description ] + [-DstPortsList ] [-DstProcessNamesList ] [-Name ] [-RuleDuration ] + [-SrcUserIdsList ] [-State ] [-Url ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates an external access policy. + +## EXAMPLES + +### Example 1: Update an external access policy +```powershell +Update-ZNUserExternalAccessPolicy -UserId "u:a:jRVryncp" -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {u:a:jRVryncp} +ItemSrcUserInfos : {Zero} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://external.psoh.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Description +description + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstPortsList +[Parameter(ParameterSetName = 'UpdateExpanded')] +[ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] +[System.String] + destination asset(s). +${DstAssetId}, + extra ports to open. +To construct, see NOTES section for DSTPORTSLIST properties and create a hash table. + +```yaml +Type: ZeroNetworks.PowerShell.Cmdlets.Api.Models.IPortsListItem[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DstProcessNamesList +destination processes. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +aname. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +policy Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RuleDuration +Duration of the rule + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SrcUserIdsList +List of source users + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +State + +```yaml +Type: System.Int32[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Url +Url + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +User Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ExternalAccessPolicyItem + +## NOTES + +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + + +`DSTPORTSLIST `: [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [System.String] destination asset(s). ${DstAssetId}, extra ports to open. + - `[Ports ]`: + - `[ProtocolType ]`: * '0' - HOPOPT * '1' - ICMP * '2' - IGMP * '3' - GGP * '4' - IPv4 * '5' - ST * '6' - TCP * '7' - CBT * '8' - EGP * '9' - IGP * '10' - BBN-RCC-MON * '11' - NVP-II * '12' - PUP * '13' - ARGUS * '14' - EMCON * '15' - XNET * '16' - CHAOS * '17' - UDP * '18' - MUX * '19' - DCN-MEAS * '20' - HMP * '21' - PRM * '22' - XNS-IDP * '23' - TRUNK-1 * '24' - TRUNK-2 * '25' - LEAF-1 * '26' - LEAF-2 * '27' - RDP * '28' - IRTP * '29' - ISO-TP4 * '30' - NETBLT * '31' - MFE-NSP * '32' - MERIT-INP * '33' - DCCP * '34' - 3PC * '35' - IDPR * '36' - XTP * '37' - DDP * '38' - IDPR-CMTP * '39' - TP++ * '40' - IL * '41' - Embedded * '42' - SDRP * '43' - IPv6RoutingHeader * '44' - IPv6FragmentHeader * '45' - IDRP * '46' - RSVP * '47' - GRE * '48' - DSR * '49' - BNA * '50' - ESP * '51' - AH * '52' - I-NLSP * '53' - SwIPe * '54' - NARP * '55' - MOBILE * '56' - TLSP * '57' - SKIP * '58' - ICMPv6 * '59' - IPv6NonExtHeader * '60' - IPv6DestinationOptions * '61' - Host-interanl * '62' - CFTP * '63' - local-network * '64' - SAT-EXPAK * '65' - KRYPTOLAN * '66' - RVD * '67' - IPPC * '68' - distributed-file-system * '69' - SAT-MON * '70' - VISA * '71' - IPCU * '72' - CPNX * '73' - CPHB * '74' - WSN * '75' - PVP * '76' - BR-SAT-MON * '77' - ND * '78' - WB-MON * '79' - WB-EXPAK * '80' - ISO-IP * '81' - VMTP * '82' - SECURE-VMTP * '83' - VINES * '84' - IPTM * '85' - NSFNET-IGP * '86' - DGP * '87' - TCF * '88' - EIGRP * '89' - OSPF * '90' - Sprite-RPC * '91' - LARP * '92' - MTP * '93' - AX.25 * '94' - OS * '95' - MICP * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI * '103' - PIM * '104' - ARIS * '105' - SCPS * '106' - QNX * '107' - A/N * '108' - IPComp * '109' - SNP * '110' - Compaq-Peer * '111' - IPX-in-IP * '112' - VRRP * '113' - PGM * '114' - 0-hop * '115' - L2TP * '116' - DDX * '117' - IATP * '118' - STP * '119' - SRP * '120' - UTI * '121' - SMP * '122' - SM * '123' - PTP * '124' - IS-IS-over-IPv4 * '125' - FIRE * '126' - CRTP * '127' - CRUDP * '128' - SSCOPMCE * '129' - IPLT * '130' - SPS * '131' - PIPE * '132' - SCTP * '133' - FC * '134' - RSVP-E2E-IGNORE * '135' - Mobility-Header * '136' - UDPLite * '137' - MPLS-in-IP * '138' - manet * '139' - HIP * '140' - Shim6 * '141' - WESP * '142' - ROHC * '143' - Ethernet * '144' - 144 (custom) * '145' - 145 (custom) * '146' - 146 (custom) * '147' - 147 (custom) * '148' - 148 (custom) * '149' - 149 (custom) * '150' - 150 (custom) * '151' - 151 (custom) * '152' - 152 (custom) * '153' - 153 (custom) * '154' - 154 (custom) * '155' - 155 (custom) * '156' - 156 (custom) * '157' - 157 (custom) * '158' - 158 (custom) * '159' - 159 (custom) * '160' - 160 (custom) * '161' - 161 (custom) * '162' - 162 (custom) * '163' - 163 (custom) * '164' - 164 (custom) * '165' - 165 (custom) * '166' - 166 (custom) * '167' - 167 (custom) * '168' - 168 (custom) * '169' - 169 (custom) * '170' - 170 (custom) * '171' - 171 (custom) * '172' - 172 (custom) * '173' - 173 (custom) * '174' - 174 (custom) * '175' - 175 (custom) * '176' - 176 (custom) * '177' - 177 (custom) * '178' - 178 (custom) * '179' - 179 (custom) * '180' - 180 (custom) * '181' - 181 (custom) * '182' - 182 (custom) * '183' - 183 (custom) * '184' - 184 (custom) * '185' - 185 (custom) * '186' - 186 (custom) * '187' - 187 (custom) * '188' - 188 (custom) * '189' - 189 (custom) * '190' - 190 (custom) * '191' - 191 (custom) * '192' - 192 (custom) * '193' - 193 (custom) * '194' - 194 (custom) * '195' - 195 (custom) * '196' - 196 (custom) * '197' - 197 (custom) * '198' - 198 (custom) * '199' - 199 (custom) * '200' - 200 (custom) * '201' - 201 (custom) * '202' - 202 (custom) * '203' - 203 (custom) * '204' - 204 (custom) * '205' - 205 (custom) * '206' - 206 (custom) * '207' - 207 (custom) * '208' - 208 (custom) * '209' - 209 (custom) * '210' - 210 (custom) * '211' - 211 (custom) * '212' - 212 (custom) * '213' - 213 (custom) * '214' - 214 (custom) * '215' - 215 (custom) * '216' - 216 (custom) * '217' - 217 (custom) * '218' - 218 (custom) * '219' - 219 (custom) * '220' - 220 (custom) * '221' - 221 (custom) * '222' - 222 (custom) * '223' - 223 (custom) * '224' - 224 (custom) * '225' - 225 (custom) * '226' - 226 (custom) * '227' - 227 (custom) * '228' - 228 (custom) * '229' - 229 (custom) * '230' - 230 (custom) * '231' - 231 (custom) * '232' - 232 (custom) * '233' - 233 (custom) * '234' - 234 (custom) * '235' - 235 (custom) * '236' - 236 (custom) * '237' - 237 (custom) * '238' - 238 (custom) * '239' - 239 (custom) * '240' - 240 (custom) * '241' - 241 (custom) * '242' - 242 (custom) * '243' - 243 (custom) * '244' - 244 (custom) * '245' - 245 (custom) * '246' - 246 (custom) * '247' - 247 (custom) * '248' - 248 (custom) * '249' - 249 (custom) * '250' - 250 (custom) * '251' - 251 (custom) * '252' - 252 (custom) * '253' - 253 (custom) * '254' - 254 (custom) * '255' - Raw * '256' - Any + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNUserIdentityRule.md b/src/ZN/docs/Update-ZNUserIdentityRule.md index 22ec219..235d1fd 100644 --- a/src/ZN/docs/Update-ZNUserIdentityRule.md +++ b/src/ZN/docs/Update-ZNUserIdentityRule.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znuseridentityrule +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znuseridentityrule schema: 2.0.0 --- diff --git a/src/ZN/docs/Update-ZNUserMfaIdentityPolicy.md b/src/ZN/docs/Update-ZNUserMfaIdentityPolicy.md index c33aabb..55f3305 100644 --- a/src/ZN/docs/Update-ZNUserMfaIdentityPolicy.md +++ b/src/ZN/docs/Update-ZNUserMfaIdentityPolicy.md @@ -1,7 +1,7 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworks/zero-powershell/update-znusermfaidentitypolicy +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znusermfaidentitypolicy schema: 2.0.0 --- @@ -17,8 +17,8 @@ Update-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-Des [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] - [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] + [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] + [-SrcUserIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -238,6 +238,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestrictLoginToOriginatingUser +Restrict login to originating user + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RuleDuration the rule expiration. diff --git a/src/ZN/docs/Update-ZNUserType.md b/src/ZN/docs/Update-ZNUserType.md index 7e2d46c..d2843d6 100644 --- a/src/ZN/docs/Update-ZNUserType.md +++ b/src/ZN/docs/Update-ZNUserType.md @@ -1,31 +1,31 @@ --- external help file: Module Name: ZeroNetworks -online version: https://github.com/zeronetworkszeronetworks/update-znusertype +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znusertype schema: 2.0.0 --- # Update-ZNUserType ## SYNOPSIS -Set users type +Set user type ## SYNTAX -### UpdateExpanded1 (Default) +### UpdateExpanded (Default) ``` -Update-ZNUserType -UserId -UserType [-Comment ] [-Confirm] [-WhatIf] - [] +Update-ZNUserType -UserId -UserType [-AccountName ] [-Comment ] [-Confirm] + [-WhatIf] [] ``` -### UpdateExpanded +### UpdateExpanded1 ``` -Update-ZNUserType -Comment -UserIds -UserType [-Confirm] [-WhatIf] - [] +Update-ZNUserType -Comment -UserIds -UserType [-AccountName ] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION -Set users type +Set user type ## EXAMPLES @@ -39,6 +39,21 @@ UNDETERMINED = 1, HUMAN = 2, SERVICE ACCOUNT = 3, SHARED 4, SYSTEM = 5, OTHER = ## PARAMETERS +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Comment . @@ -59,7 +74,7 @@ userId to filter on ```yaml Type: System.String -Parameter Sets: UpdateExpanded1 +Parameter Sets: UpdateExpanded Aliases: Required: True @@ -74,7 +89,7 @@ Accept wildcard characters: False ```yaml Type: System.String[] -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded1 Aliases: Required: True diff --git a/src/ZN/docs/Update-ZNUsersManagedAsset.md b/src/ZN/docs/Update-ZNUsersManagedAsset.md new file mode 100644 index 0000000..edbfaf9 --- /dev/null +++ b/src/ZN/docs/Update-ZNUsersManagedAsset.md @@ -0,0 +1,167 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/update-znusersmanagedasset +schema: 2.0.0 +--- + +# Update-ZNUsersManagedAsset + +## SYNOPSIS +Update a managed asset for user + +## SYNTAX + +``` +Update-ZNUsersManagedAsset -UserId -EntityId [-AccountName ] [-Permission ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a managed asset for user + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AccountName +this value is per customer / partner + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EntityId +managed asset id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Permission +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserId +userId to filter on + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/ZeroNetworks.md b/src/ZN/docs/ZeroNetworks.md index 3ba94ff..426fdf3 100644 --- a/src/ZN/docs/ZeroNetworks.md +++ b/src/ZN/docs/ZeroNetworks.md @@ -1,7 +1,7 @@ --- Module Name: ZeroNetworks Module Guid: e1524bd8-23dd-43fa-bcc0-196b3c1ef81c -Download Help Link: https://github.com/zeronetworkszeronetworks +Download Help Link: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks Help Version: 1.0.0.0 Locale: en-US --- @@ -20,9 +20,6 @@ Add an asset manager of asset ### [Add-ZNAssetRpcMonitoring](Add-ZNAssetRpcMonitoring.md) Returns an empty object. -### [Add-ZNAssetRpcSegment](Add-ZNAssetRpcSegment.md) -Returns and empty object. - ### [Add-ZNCustomGroupsMember](Add-ZNCustomGroupsMember.md) Returns an empty object. @@ -68,6 +65,15 @@ Reject a "pending review" rule ### [Disconnect-ZN](Disconnect-ZN.md) Logout of Zero Networks +### [Enable-ZNAssetQuarantine](Enable-ZNAssetQuarantine.md) +Returns an empty object. + +### [Get-ZNAeExclusionsInbound](Get-ZNAeExclusionsInbound.md) +Returns a list of AE exclusions. + +### [Get-ZNAeExclusionsOutbound](Get-ZNAeExclusionsOutbound.md) +Returns a list of AE exclusions. + ### [Get-ZNAiExclusionNetworkBoth](Get-ZNAiExclusionNetworkBoth.md) Get AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning. @@ -98,6 +104,18 @@ Returns a list of audits for the asset. ### [Get-ZNAssetClusterInfo](Get-ZNAssetClusterInfo.md) Returns an object of cluster name and cluster members +### [Get-ZNAssetExternalAccessPolicy](Get-ZNAssetExternalAccessPolicy.md) +Returns an external access policy. + +### [Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate](Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md) +Returns a list of destunation assets candidates for an external access policy. + +### [Get-ZNAssetExternalAccessPolicySourceUserCandidate](Get-ZNAssetExternalAccessPolicySourceUserCandidate.md) +Returns a list of source user candidates for external access policies. + +### [Get-ZNAssetExternalAccessPolicyStatistics](Get-ZNAssetExternalAccessPolicyStatistics.md) +Returns statistics for an external access policy. + ### [Get-ZNAssetHealthState](Get-ZNAssetHealthState.md) Get asset health state @@ -117,10 +135,10 @@ Returns a list of user candidates for Identity rules. Returns the properties of an Inbound rule. ### [Get-ZNAssetInboundRulesDestinationCandidate](Get-ZNAssetInboundRulesDestinationCandidate.md) -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ### [Get-ZNAssetInboundRulesExcludedDestinationCandidate](Get-ZNAssetInboundRulesExcludedDestinationCandidate.md) -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ### [Get-ZNAssetInboundRulesSourceCandidate](Get-ZNAssetInboundRulesSourceCandidate.md) Returns a list of source candidates for Inbound rules. @@ -137,6 +155,9 @@ Get manager candidates for asset managers ### [Get-ZNAssetMemberOf](Get-ZNAssetMemberOf.md) Returns a list of groups the asset is a member of. +### [Get-ZNAssetMemberOfGroupCandidate](Get-ZNAssetMemberOfGroupCandidate.md) +Returns a list of groups the asset can be a member of. + ### [Get-ZNAssetMfaIdentityPoliciesDestinationCandidate](Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.md) Returns a list of candidates for the destination of an identity MFA policy. @@ -156,7 +177,7 @@ Returns a list of source user candidates for Identity MFA policies. Returns a Identity MFA policy object. ### [Get-ZNAssetMfaInboundPoliciesDestinationCandidate](Get-ZNAssetMfaInboundPoliciesDestinationCandidate.md) -Returns a list of candidates for the destionation of an inbound MFA policy. +Returns a list of candidates for the destination of an inbound MFA policy. ### [Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate](Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.md) Returns a list of candidates for the excluded sources of an inbound MFA policy. @@ -206,6 +227,9 @@ Returns a list of audits for the asset. ### [Get-ZNAssetOtMemberOf](Get-ZNAssetOtMemberOf.md) Returns a list of groups the asset is a member of. +### [Get-ZNAssetOtMemberOfGroupCandidate](Get-ZNAssetOtMemberOfGroupCandidate.md) +Returns a list of groups the asset can be a member of. + ### [Get-ZNAssetOtTag](Get-ZNAssetOtTag.md) Returns a list of tags for an entity. @@ -221,14 +245,20 @@ Returns a list of excluded source candidates for Outbound rules. ### [Get-ZNAssetOutboundRulesSourceCandidate](Get-ZNAssetOutboundRulesSourceCandidate.md) Returns a list of source candidates for Outbound rules. +### [Get-ZNAssetOutboundRulesUserCandidate](Get-ZNAssetOutboundRulesUserCandidate.md) +Returns a list of users candidates for Outbound rules. + +### [Get-ZNAssetPreferredSegmentServer](Get-ZNAssetPreferredSegmentServer.md) +Returns the preferred segment server id. + ### [Get-ZNAssetRpcRule](Get-ZNAssetRpcRule.md) Returns the properties of an RPC rule. ### [Get-ZNAssetRpcRulesDestinationCandidate](Get-ZNAssetRpcRulesDestinationCandidate.md) -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ### [Get-ZNAssetRpcRulesExcludedDestinationCandidate](Get-ZNAssetRpcRulesExcludedDestinationCandidate.md) -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ### [Get-ZNAssetRpcRulesSourceCandidate](Get-ZNAssetRpcRulesSourceCandidate.md) Returns a list of source candidates for RPC rules. @@ -239,8 +269,11 @@ Returns a list of user candidates for RPC rules. ### [Get-ZNAssetRulesDistribution](Get-ZNAssetRulesDistribution.md) Returns an object with rules distribution. +### [Get-ZNAssetsIdentityQueued](Get-ZNAssetsIdentityQueued.md) +Returns a list of assets that are identity learning. + ### [Get-ZNAssetsIdentitySegmented](Get-ZNAssetsIdentitySegmented.md) -Returns a list of assets that are identity segmentated. +Returns a list of assets that are identity segmented. ### [Get-ZNAssetsInactive](Get-ZNAssetsInactive.md) Returns a list of assets that are inactive. @@ -251,15 +284,18 @@ Returns a list of assets that are monitored. ### [Get-ZNAssetsNetworkQueued](Get-ZNAssetsNetworkQueued.md) Returns a list of assets in network learning. +### [Get-ZNAssetsNetworkSegmented](Get-ZNAssetsNetworkSegmented.md) +Returns a list of Protected assets. + ### [Get-ZNAssetsOt](Get-ZNAssetsOt.md) Returns a list of OT/IoT assets. -### [Get-ZNAssetsProtected](Get-ZNAssetsProtected.md) -Returns a list of Protected assets. - ### [Get-ZNAssetsRpcMonitored](Get-ZNAssetsRpcMonitored.md) Returns a list of assets that are RPC monitored. +### [Get-ZNAssetsRpcQueued](Get-ZNAssetsRpcQueued.md) +Returns a list of assets in RPC learning. + ### [Get-ZNAssetsRpcSegmented](Get-ZNAssetsRpcSegmented.md) Returns a list of assets that are RPC Segmented. @@ -278,6 +314,18 @@ Returns a list of audit events. ### [Get-ZNCustomGroupsCandidate](Get-ZNCustomGroupsCandidate.md) Returns a list of candidates for custom group membership. +### [Get-ZNExternalAccessPolicy](Get-ZNExternalAccessPolicy.md) +Returns an external access policy. + +### [Get-ZNExternalAccessPolicyDestinationAssetsCandidate](Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md) +Returns a list of destunation assets candidates for an external access policy. + +### [Get-ZNExternalAccessPolicySourceUserCandidate](Get-ZNExternalAccessPolicySourceUserCandidate.md) +Returns a list of source user candidates for external access policies. + +### [Get-ZNExternalAccessPolicyStatistics](Get-ZNExternalAccessPolicyStatistics.md) +Returns statistics for an external access policy. + ### [Get-ZNGroup](Get-ZNGroup.md) Returns the properties of an group. @@ -287,6 +335,9 @@ Returns a list of audits for the group. ### [Get-ZNGroupMemberOf](Get-ZNGroupMemberOf.md) Returns a list of groups the group is a member of. +### [Get-ZNGroupMemberOfGroupCandidate](Get-ZNGroupMemberOfGroupCandidate.md) +Returns a list of groups the asset can be a member of. + ### [Get-ZNGroupsAssetManager](Get-ZNGroupsAssetManager.md) Get asset managers of group @@ -297,6 +348,18 @@ Get manager candidates for group managers Returns a list of groups. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. +### [Get-ZNGroupsExternalAccessPolicy](Get-ZNGroupsExternalAccessPolicy.md) +Returns an external access policy. + +### [Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate](Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md) +Returns a list of destunation assets candidates for an external access policy. + +### [Get-ZNGroupsExternalAccessPolicySourceUserCandidate](Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md) +Returns a list of source user candidates for external access policies. + +### [Get-ZNGroupsExternalAccessPolicyStatistics](Get-ZNGroupsExternalAccessPolicyStatistics.md) +Returns statistics for an external access policy. + ### [Get-ZNGroupsIdentityRule](Get-ZNGroupsIdentityRule.md) Returns an identity segmentation rule. @@ -313,10 +376,10 @@ Returns a list of user candidates for Identity rules. Returns the properties of an Inbound rule. ### [Get-ZNGroupsInboundRulesDestinationCandidate](Get-ZNGroupsInboundRulesDestinationCandidate.md) -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ### [Get-ZNGroupsInboundRulesExcludedDestinationCandidate](Get-ZNGroupsInboundRulesExcludedDestinationCandidate.md) -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ### [Get-ZNGroupsInboundRulesSourceCandidate](Get-ZNGroupsInboundRulesSourceCandidate.md) Returns a list of source candidates for Inbound rules. @@ -349,7 +412,7 @@ Returns a list of source user candidates for Identity MFA policies. Returns a Identity MFA policy object. ### [Get-ZNGroupsMfaInboundPoliciesDestinationCandidate](Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.md) -Returns a list of candidates for the destionation of an inbound MFA policy. +Returns a list of candidates for the destination of an inbound MFA policy. ### [Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate](Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.md) Returns a list of candidates for the excluded sources of an inbound MFA policy. @@ -396,14 +459,17 @@ Returns a list of excluded source candidates for Outbound rules. ### [Get-ZNGroupsOutboundRulesSourceCandidate](Get-ZNGroupsOutboundRulesSourceCandidate.md) Returns a list of source candidates for Outbound rules. +### [Get-ZNGroupsOutboundRulesUserCandidate](Get-ZNGroupsOutboundRulesUserCandidate.md) +Returns a list of users candidates for Outbound rules. + ### [Get-ZNGroupsRpcRule](Get-ZNGroupsRpcRule.md) Returns the properties of an RPC rule. ### [Get-ZNGroupsRpcRulesDestinationCandidate](Get-ZNGroupsRpcRulesDestinationCandidate.md) -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ### [Get-ZNGroupsRpcRulesExcludedDestinationCandidate](Get-ZNGroupsRpcRulesExcludedDestinationCandidate.md) -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ### [Get-ZNGroupsRpcRulesSourceCandidate](Get-ZNGroupsRpcRulesSourceCandidate.md) Returns a list of source candidates for RPC rules. @@ -417,6 +483,12 @@ Returns an object with rules distribution. ### [Get-ZNGroupsStatistics](Get-ZNGroupsStatistics.md) Returns an object with group statistics. +### [Get-ZNIdentityOnboardingPoliciesGroupCandidate](Get-ZNIdentityOnboardingPoliciesGroupCandidate.md) +Returns a list of candidates for identity onboarding policies. + +### [Get-ZNIdentityOnboardingPolicy](Get-ZNIdentityOnboardingPolicy.md) +Returns a list of identity onboarding policies. + ### [Get-ZNIdentityRule](Get-ZNIdentityRule.md) Returns an identity segmentation rule. @@ -433,10 +505,10 @@ Returns a list of user candidates for Identity rules. Returns the properties of an Inbound rule. ### [Get-ZNInboundRulesDestinationCandidate](Get-ZNInboundRulesDestinationCandidate.md) -Returns a list of destionation candidates for Inbound rules. +Returns a list of destination candidates for Inbound rules. ### [Get-ZNInboundRulesExcludedDestinationCandidate](Get-ZNInboundRulesExcludedDestinationCandidate.md) -Returns a list of excluded destionation candidates for Inbound rules. +Returns a list of excluded destination candidates for Inbound rules. ### [Get-ZNInboundRulesSourceCandidate](Get-ZNInboundRulesSourceCandidate.md) Returns a list of source candidates for Inbound rules. @@ -496,11 +568,17 @@ Returns a list of source users candidates on outbound MFA policies. Returns the properties of an outbound MFA policy. ### [Get-ZNMfaPoliciesDistribution](Get-ZNMfaPoliciesDistribution.md) -Returns and object with MFA distrubiton. +Returns and object with MFA distribution. ### [Get-ZNMfaPoliciesStatistics](Get-ZNMfaPoliciesStatistics.md) Returns an object with MFA statistics. +### [Get-ZNNetworkOnboardingPoliciesGroupCandidate](Get-ZNNetworkOnboardingPoliciesGroupCandidate.md) +Returns a list of candidates for a network onboarding policy. + +### [Get-ZNNetworkOnboardingPolicy](Get-ZNNetworkOnboardingPolicy.md) +Returns a list of network onboarding policies. + ### [Get-ZNOutboundRule](Get-ZNOutboundRule.md) Returns the properties of an Outbound rule. @@ -513,20 +591,17 @@ Returns a list of excluded source candidates for Outbound rules. ### [Get-ZNOutboundRulesSourceCandidate](Get-ZNOutboundRulesSourceCandidate.md) Returns a list of source candidates for Outbound rules. -### [Get-ZNProtectionPoliciesGroupCandidate](Get-ZNProtectionPoliciesGroupCandidate.md) -Returns a list of candidates for protection policies. - -### [Get-ZNProtectionPolicy](Get-ZNProtectionPolicy.md) -Returns a list of protection policies. +### [Get-ZNOutboundRulesUserCandidate](Get-ZNOutboundRulesUserCandidate.md) +Returns a list of users candidates for Outbound rules. ### [Get-ZNRpcRule](Get-ZNRpcRule.md) Returns the properties of an RPC rule. ### [Get-ZNRpcRulesDestinationCandidate](Get-ZNRpcRulesDestinationCandidate.md) -Returns a list of destionation candidates for RPC rules. +Returns a list of destination candidates for RPC rules. ### [Get-ZNRpcRulesExcludedDestinationCandidate](Get-ZNRpcRulesExcludedDestinationCandidate.md) -Returns a list of excluded destionation candidates for RPC rules. +Returns a list of excluded destination candidates for RPC rules. ### [Get-ZNRpcRulesSourceCandidate](Get-ZNRpcRulesSourceCandidate.md) Returns a list of source candidates for RPC rules. @@ -550,7 +625,7 @@ Returns a list of Connect sessions. Get Azure AD Settings ### [Get-ZNSettingsAd](Get-ZNSettingsAd.md) -Get the AD settings in Asset Managment +Get the AD settings in Asset Management ### [Get-ZNSettingsAdMonitoredCandidate](Get-ZNSettingsAdMonitoredCandidate.md) Returns a list of monitoring candidates for an AD forest. @@ -559,7 +634,7 @@ Returns a list of monitoring candidates for an AD forest. Returns a list of protection candidates for an AD forest. ### [Get-ZNSettingsAnsible](Get-ZNSettingsAnsible.md) -Get the Ansible settings in Asset Managment +Get the Ansible settings in Asset Management ### [Get-ZNSettingsAssetManager](Get-ZNSettingsAssetManager.md) List asset managers @@ -646,14 +721,23 @@ Get Learning Config settings in Network Segmentation Get Subscription Licenses ### [Get-ZNSettingsLinuxSetup](Get-ZNSettingsLinuxSetup.md) -Get the linux setup settings in Asset Managment +Get the linux setup settings in Asset Management ### [Get-ZNSettingsLinuxUser](Get-ZNSettingsLinuxUser.md) -Get the linux user settings in Asset Managment +Get the linux user settings in Asset Management + +### [Get-ZNSettingsMaintenanceWindow](Get-ZNSettingsMaintenanceWindow.md) +Returns the maintenance window properties ### [Get-ZNSettingsMfaAuthentication](Get-ZNSettingsMfaAuthentication.md) Returns the properties of MFA authentication settings. +### [Get-ZNSettingsMfaCache](Get-ZNSettingsMfaCache.md) +Returns a list of MFA Cache Policies. + +### [Get-ZNSettingsMfaCacheCandidate](Get-ZNSettingsMfaCacheCandidate.md) +Returns a list of candidates for MFA Cache Policy. + ### [Get-ZNSettingsMfaDetection](Get-ZNSettingsMfaDetection.md) Returns the properties of MFA detection settings. @@ -687,6 +771,18 @@ Returns the properties of an user. ### [Get-ZNUserAudit](Get-ZNUserAudit.md) Returns a list of audits for the user. +### [Get-ZNUserExternalAccessPolicy](Get-ZNUserExternalAccessPolicy.md) +Returns an external access policy. + +### [Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate](Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md) +Returns a list of destunation assets candidates for an external access policy. + +### [Get-ZNUserExternalAccessPolicySourceUserCandidate](Get-ZNUserExternalAccessPolicySourceUserCandidate.md) +Returns a list of source user candidates for external access policies. + +### [Get-ZNUserExternalAccessPolicyStatistics](Get-ZNUserExternalAccessPolicyStatistics.md) +Returns statistics for an external access policy. + ### [Get-ZNUserIdentityRule](Get-ZNUserIdentityRule.md) Returns an identity segmentation rule. @@ -702,6 +798,9 @@ Returns a list of user candidates for Identity rules. ### [Get-ZNUserMemberOf](Get-ZNUserMemberOf.md) Returns a list of groups the user is a member of. +### [Get-ZNUserMemberOfGroupCandidate](Get-ZNUserMemberOfGroupCandidate.md) +Returns a list of groups the user can be a member of. + ### [Get-ZNUserMfaIdentityPoliciesDestinationCandidate](Get-ZNUserMfaIdentityPoliciesDestinationCandidate.md) Returns a list of candidates for the destination of an identity MFA policy. @@ -729,12 +828,19 @@ Returns a list of users in Learning. ### [Get-ZNUsersIdentitySegmented](Get-ZNUsersIdentitySegmented.md) Returns a list of Identity segmented users. +### [Get-ZNUsersInactive](Get-ZNUsersInactive.md) +Returns a list of Users. +Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + ### [Get-ZNUsersManagedAsset](Get-ZNUsersManagedAsset.md) get managed assets for user ### [Get-ZNUsersManagedAssetsCandidate](Get-ZNUsersManagedAssetsCandidate.md) Get asset candidates to be managed by asset managers +### [Get-ZNUsersPrivileged](Get-ZNUsersPrivileged.md) +Returns a list of Privileged Users. + ### [Get-ZNUsersServiceAccount](Get-ZNUsersServiceAccount.md) Returns a list of ServiceAccount Users. @@ -747,16 +853,28 @@ Returns and empty object. ### [Invoke-ZNAssetDeactivateBreakGlass](Invoke-ZNAssetDeactivateBreakGlass.md) Returns and empty object. -### [Invoke-ZNAssetNetworkExtendQueue](Invoke-ZNAssetNetworkExtendQueue.md) +### [Invoke-ZNAssetIdentityExtendQueue](Invoke-ZNAssetIdentityExtendQueue.md) Returns an empty object. -### [Invoke-ZNAssetNetworkQueue](Invoke-ZNAssetNetworkQueue.md) +### [Invoke-ZNAssetIdentityQueue](Invoke-ZNAssetIdentityQueue.md) Returns and empty object. +### [Invoke-ZNAssetNetworkExtendQueue](Invoke-ZNAssetNetworkExtendQueue.md) +Extend asset learning + +### [Invoke-ZNAssetNetworkQueue](Invoke-ZNAssetNetworkQueue.md) +Extend asset learning + ### [Invoke-ZNAssetOtNetworkExtendQueue](Invoke-ZNAssetOtNetworkExtendQueue.md) -Returns an empty object. +Extend OT asset learning ### [Invoke-ZNAssetOtNetworkQueue](Invoke-ZNAssetOtNetworkQueue.md) +Add OT Asset to learning + +### [Invoke-ZNAssetRpcExtendQueue](Invoke-ZNAssetRpcExtendQueue.md) +Returns an empty object. + +### [Invoke-ZNAssetRpcQueue](Invoke-ZNAssetRpcQueue.md) Returns and empty object. ### [Invoke-ZNDownloadCloudConnectorInstaller](Invoke-ZNDownloadCloudConnectorInstaller.md) @@ -780,6 +898,9 @@ Returns the assetId after encoding the IP range. ### [Invoke-ZNEncodeEntitySubnet](Invoke-ZNEncodeEntitySubnet.md) Returns the assetId after encoding the IP subnet. +### [Invoke-ZNMirrorAsset](Invoke-ZNMirrorAsset.md) +Returns and empty object. + ### [Invoke-ZNRediscoverAd](Invoke-ZNRediscoverAd.md) Rediscover monitored assets @@ -792,6 +913,9 @@ Resync Azure AD ### [Invoke-ZNUserIdentityQueue](Invoke-ZNUserIdentityQueue.md) Returns an empty object. +### [New-ZNAssetExternalAccessPolicy](New-ZNAssetExternalAccessPolicy.md) +Returns a the external access policy + ### [New-ZNAssetIdentityRule](New-ZNAssetIdentityRule.md) Returns a the identity segmentation rule. @@ -822,6 +946,12 @@ Returns an empty object. ### [New-ZNCustomGroup](New-ZNCustomGroup.md) Returns an empty object. +### [New-ZNExternalAccessPolicy](New-ZNExternalAccessPolicy.md) +Returns a the external access policy + +### [New-ZNGroupsExternalAccessPolicy](New-ZNGroupsExternalAccessPolicy.md) +Returns a the external access policy + ### [New-ZNGroupsIdentityRule](New-ZNGroupsIdentityRule.md) Returns a the identity segmentation rule. @@ -843,6 +973,9 @@ Returns the properties of the created Outbound rule. ### [New-ZNGroupsRpcRule](New-ZNGroupsRpcRule.md) Returns the properties of the create RPC rule. +### [New-ZNIdentityOnboardingPolicy](New-ZNIdentityOnboardingPolicy.md) +Returns the identity onboarding policy that was created. + ### [New-ZNIdentityRule](New-ZNIdentityRule.md) Returns a the identity segmentation rule. @@ -858,23 +991,23 @@ Returns the properties of the inbound MFA policy after creation. ### [New-ZNMfaOutboundPolicy](New-ZNMfaOutboundPolicy.md) Returns a the properties of outbound MFA policy created. +### [New-ZNNetworkOnboardingPolicy](New-ZNNetworkOnboardingPolicy.md) +Returns the network onboarding policy that was created. + ### [New-ZNOutboundRule](New-ZNOutboundRule.md) Returns the properties of the created Outbound rule. ### [New-ZNPortsList](New-ZNPortsList.md) Create a in-memory object for PortsList -### [New-ZNProtectionPolicy](New-ZNProtectionPolicy.md) -Returns the protection policy that was created. - ### [New-ZNRpcRule](New-ZNRpcRule.md) Returns the properties of the create RPC rule. ### [New-ZNSettingsAd](New-ZNSettingsAd.md) -Set the AD settings in Asset Managment +Set the AD settings in Asset Management ### [New-ZNSettingsAdSecondary](New-ZNSettingsAdSecondary.md) -Add a secondary AD settings in Asset Managment +Add a secondary AD settings in Asset Management ### [New-ZNSettingsConnectRegion](New-ZNSettingsConnectRegion.md) Create a Connect region in Settings @@ -885,16 +1018,25 @@ Create a Connect User Access Configuration in Settings ### [New-ZNSettingsIdp](New-ZNSettingsIdp.md) Create an identity provider settings in Identity Providers +### [New-ZNSettingsMaintenanceWindow](New-ZNSettingsMaintenanceWindow.md) +Returns the maintenance window properties + +### [New-ZNSettingsMfaCache](New-ZNSettingsMfaCache.md) +Creates a MFA Cache Policy. + ### [New-ZNSettingsPushNotification](New-ZNSettingsPushNotification.md) Create an push notifications settings +### [New-ZNUserExternalAccessPolicy](New-ZNUserExternalAccessPolicy.md) +Returns a the external access policy + ### [New-ZNUserIdentityRule](New-ZNUserIdentityRule.md) Returns a the identity segmentation rule. ### [New-ZNUserMfaIdentityPolicy](New-ZNUserMfaIdentityPolicy.md) Returns the properties of the identity MFA policy after creation. -### [Protect-ZNAssetIdentity](Protect-ZNAssetIdentity.md) +### [Protect-ZNAssetIdentitySegment](Protect-ZNAssetIdentitySegment.md) Returns and empty object. ### [Protect-ZNAssetNetworkSegment](Protect-ZNAssetNetworkSegment.md) @@ -903,12 +1045,27 @@ Returns an empty object. ### [Protect-ZNAssetOtNetworkSegment](Protect-ZNAssetOtNetworkSegment.md) Returns an empty object. -### [Protect-ZNUserIdentity](Protect-ZNUserIdentity.md) +### [Protect-ZNAssetRpcSegment](Protect-ZNAssetRpcSegment.md) +Returns and empty object. + +### [Protect-ZNUserIdentitySegment](Protect-ZNUserIdentitySegment.md) Returns and empty object. +### [Read-ZNJWTtoken](Read-ZNJWTtoken.md) + + +### [Remove-ZNAeExclusionsInbound](Remove-ZNAeExclusionsInbound.md) +Returns an empty object. + +### [Remove-ZNAeExclusionsOutbound](Remove-ZNAeExclusionsOutbound.md) +Returns an empty object. + ### [Remove-ZNApiKey](Remove-ZNApiKey.md) Deletes the API key +### [Remove-ZNAssetExternalAccessPolicy](Remove-ZNAssetExternalAccessPolicy.md) +Returns an empty object. + ### [Remove-ZNAssetIdentityRule](Remove-ZNAssetIdentityRule.md) Returns an empty object. @@ -939,18 +1096,21 @@ Returns an empty object. ### [Remove-ZNAssetRpcRule](Remove-ZNAssetRpcRule.md) Returns an empty object. -### [Remove-ZNAssetRpcSegment](Remove-ZNAssetRpcSegment.md) -Returns and empty object. - ### [Remove-ZNCustomGroup](Remove-ZNCustomGroup.md) Returns an empty object. ### [Remove-ZNCustomGroupsMember](Remove-ZNCustomGroupsMember.md) Returns an empty object. +### [Remove-ZNExternalAccessPolicy](Remove-ZNExternalAccessPolicy.md) +Returns an empty object. + ### [Remove-ZNGroupsAssetManager](Remove-ZNGroupsAssetManager.md) Remove asset manager of group +### [Remove-ZNGroupsExternalAccessPolicy](Remove-ZNGroupsExternalAccessPolicy.md) +Returns an empty object. + ### [Remove-ZNGroupsIdentityRule](Remove-ZNGroupsIdentityRule.md) Returns an empty object. @@ -975,6 +1135,9 @@ Returns an empty object. ### [Remove-ZNGroupsRpcRule](Remove-ZNGroupsRpcRule.md) Returns an empty object. +### [Remove-ZNIdentityOnboardingPolicy](Remove-ZNIdentityOnboardingPolicy.md) +Returns and empty object. + ### [Remove-ZNIdentityRule](Remove-ZNIdentityRule.md) Returns an empty object. @@ -990,12 +1153,12 @@ Returns an empty object. ### [Remove-ZNMfaOutboundPolicy](Remove-ZNMfaOutboundPolicy.md) Returns an empty object. +### [Remove-ZNNetworkOnboardingPolicy](Remove-ZNNetworkOnboardingPolicy.md) +Returns and empty object. + ### [Remove-ZNOutboundRule](Remove-ZNOutboundRule.md) Returns an empty object. -### [Remove-ZNProtectionPolicy](Remove-ZNProtectionPolicy.md) -Returns and empty object. - ### [Remove-ZNRpcRule](Remove-ZNRpcRule.md) Returns an empty object. @@ -1005,27 +1168,42 @@ Remove Azure AD Settings ### [Remove-ZNSettingsAd](Remove-ZNSettingsAd.md) Delete AD forest settings. +### [Remove-ZNSettingsAdLinux](Remove-ZNSettingsAdLinux.md) +Returns an empty response. + ### [Remove-ZNSettingsAdSecondary](Remove-ZNSettingsAdSecondary.md) -Returns an empty reponse. +Returns an empty response. ### [Remove-ZNSettingsConnectRegion](Remove-ZNSettingsConnectRegion.md) Delete a Connect Region in Settings +### [Remove-ZNSettingsConnectServer](Remove-ZNSettingsConnectServer.md) +Delete Connect Server in Settings + ### [Remove-ZNSettingsConnectUserAccessConfig](Remove-ZNSettingsConnectUserAccessConfig.md) Delete a Connect User Access Configuration in Settings ### [Remove-ZNSettingsIdp](Remove-ZNSettingsIdp.md) -Returns an empty reponse. +Returns an empty response. ### [Remove-ZNSettingsJamfCredentials](Remove-ZNSettingsJamfCredentials.md) Returns an empty object. +### [Remove-ZNSettingsMaintenanceWindow](Remove-ZNSettingsMaintenanceWindow.md) +Returns an empty object + +### [Remove-ZNSettingsMfaCache](Remove-ZNSettingsMfaCache.md) +deletes a MFA Cache Policy. + ### [Remove-ZNSettingsPushNotification](Remove-ZNSettingsPushNotification.md) -Returns an empty reponse. +Returns an empty response. ### [Remove-ZNTagGroupsMember](Remove-ZNTagGroupsMember.md) Remove tag group members by members id. +### [Remove-ZNUserExternalAccessPolicy](Remove-ZNUserExternalAccessPolicy.md) +Returns an empty object. + ### [Remove-ZNUserIdentityRule](Remove-ZNUserIdentityRule.md) Returns an empty object. @@ -1041,9 +1219,12 @@ Revoke a Connect session. ### [Search-ZNAsset](Search-ZNAsset.md) Returns an assetId. -### [Search-ZNAssetProtected](Search-ZNAssetProtected.md) +### [Search-ZNAssetsNetworkSegmented](Search-ZNAssetsNetworkSegmented.md) Given fqdn, returns assetId, if asset is found and is protected +### [Search-ZNGroupsExternalId](Search-ZNGroupsExternalId.md) +Returns a group. + ### [Search-ZNUser](Search-ZNUser.md) Provided user SID - returns user entity id @@ -1062,7 +1243,7 @@ Returns a number of assets that are valid for network segmentation. ### [Test-ZNAssetNetworkUnprotect](Test-ZNAssetNetworkUnprotect.md) Returns a number of assets that are valid to unprotect. -### [Unprotect-ZNAssetIdentity](Unprotect-ZNAssetIdentity.md) +### [Unprotect-ZNAssetIdentitySegment](Unprotect-ZNAssetIdentitySegment.md) Returns an empty object. ### [Unprotect-ZNAssetNetworkSegment](Unprotect-ZNAssetNetworkSegment.md) @@ -1071,7 +1252,10 @@ Returns an empty object. ### [Unprotect-ZNAssetOtNetworkSegment](Unprotect-ZNAssetOtNetworkSegment.md) Returns an empty object. -### [Unprotect-ZNUserIdentity](Unprotect-ZNUserIdentity.md) +### [Unprotect-ZNAssetRpcSegment](Unprotect-ZNAssetRpcSegment.md) +Returns and empty object. + +### [Unprotect-ZNUserIdentitySegment](Unprotect-ZNUserIdentitySegment.md) Returns an empty object. ### [Update-ZNAiExclusionNetworkBoth](Update-ZNAiExclusionNetworkBoth.md) @@ -1086,6 +1270,9 @@ Set AI network exclusion for servers: lists of tcp/udp ports / ports ranges + bo ### [Update-ZNAssetActive](Update-ZNAssetActive.md) Returns and empty object. +### [Update-ZNAssetExternalAccessPolicy](Update-ZNAssetExternalAccessPolicy.md) +Updates an external access policy. + ### [Update-ZNAssetIdentityRule](Update-ZNAssetIdentityRule.md) Updates an identity rule. @@ -1095,6 +1282,9 @@ Returns and empty object. ### [Update-ZNAssetInboundRule](Update-ZNAssetInboundRule.md) Updates an inbound rule. +### [Update-ZNAssetManager](Update-ZNAssetManager.md) +Update an asset manager of asset + ### [Update-ZNAssetMfaIdentityPolicy](Update-ZNAssetMfaIdentityPolicy.md) Updates an identity MFA Policy. @@ -1104,12 +1294,24 @@ Updates an inbound MFA Policy. ### [Update-ZNAssetMfaOutboundPolicy](Update-ZNAssetMfaOutboundPolicy.md) Updates an outbound MFA Policy. +### [Update-ZNAssetOSType](Update-ZNAssetOSType.md) +Set the OS type (Windows/Linux/Mac) for multiple assets + ### [Update-ZNAssetOt](Update-ZNAssetOt.md) Edit an OT/IoT asset. +### [Update-ZNAssetOtAssetManager](Update-ZNAssetOtAssetManager.md) +Update an asset manager of asset + +### [Update-ZNAssetOutboundRestriction](Update-ZNAssetOutboundRestriction.md) +Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + ### [Update-ZNAssetOutboundRule](Update-ZNAssetOutboundRule.md) Updates an outbound rule. +### [Update-ZNAssetPreferredSegmentServer](Update-ZNAssetPreferredSegmentServer.md) +Returns and empty object. + ### [Update-ZNAssetRpcRule](Update-ZNAssetRpcRule.md) Updates an RPC rule. @@ -1119,12 +1321,24 @@ Set the asset type (Client/server) ### [Update-ZNCustomGroup](Update-ZNCustomGroup.md) Updates a custom group properties. +### [Update-ZNExternalAccessPolicy](Update-ZNExternalAccessPolicy.md) +Updates an external access policy. + +### [Update-ZNGroupsAssetManager](Update-ZNGroupsAssetManager.md) +Update an asset manager of group + +### [Update-ZNGroupsExternalAccessPolicy](Update-ZNGroupsExternalAccessPolicy.md) +Updates an external access policy. + ### [Update-ZNGroupsIdentityRule](Update-ZNGroupsIdentityRule.md) Updates an identity rule. ### [Update-ZNGroupsInboundRule](Update-ZNGroupsInboundRule.md) Updates an inbound rule. +### [Update-ZNGroupsManagedAsset](Update-ZNGroupsManagedAsset.md) +Update a managed assets for group + ### [Update-ZNGroupsMfaIdentityPolicy](Update-ZNGroupsMfaIdentityPolicy.md) Updates an identity MFA Policy. @@ -1140,6 +1354,9 @@ Updates an outbound rule. ### [Update-ZNGroupsRpcRule](Update-ZNGroupsRpcRule.md) Updates an RPC rule. +### [Update-ZNIdentityOnboardingPolicy](Update-ZNIdentityOnboardingPolicy.md) +Returns the updated settings for the identity onboarding policy. + ### [Update-ZNIdentityRule](Update-ZNIdentityRule.md) Updates an identity rule. @@ -1155,26 +1372,32 @@ Updates an inbound MFA Policy. ### [Update-ZNMfaOutboundPolicy](Update-ZNMfaOutboundPolicy.md) Updates an outbound MFA Policy. +### [Update-ZNNetworkOnboardingPolicy](Update-ZNNetworkOnboardingPolicy.md) +Returns the updated settings for the network onboarding policy. + ### [Update-ZNOutboundRule](Update-ZNOutboundRule.md) Updates an outbound rule. -### [Update-ZNProtectionPolicy](Update-ZNProtectionPolicy.md) -Returns the updated settings for the protection policy. - ### [Update-ZNRpcRule](Update-ZNRpcRule.md) Updates an RPC rule. ### [Update-ZNSettingsAd](Update-ZNSettingsAd.md) Update AD forest settings. -### [Update-ZNSettingsAdAutomationGroup](Update-ZNSettingsAdAutomationGroup.md) -Update Automation Groups for an AD forest setting. +### [Update-ZNSettingsAdLinux](Update-ZNSettingsAdLinux.md) +Adds or updates linux config for a domain. + +### [Update-ZNSettingsAdLinuxAutomationGroup](Update-ZNSettingsAdLinuxAutomationGroup.md) +Update Linux_Rediscover Automation Groups for an AD forest setting. ### [Update-ZNSettingsAdSecondary](Update-ZNSettingsAdSecondary.md) -Update a secondary AD settings in Asset Managment +Update a secondary AD settings in Asset Management + +### [Update-ZNSettingsAdWindowsAutomationGroup](Update-ZNSettingsAdWindowsAutomationGroup.md) +Update Windows Automation Groups for an AD forest setting. ### [Update-ZNSettingsAnsible](Update-ZNSettingsAnsible.md) -Get the Ansible settings in Asset Managment +Get the Ansible settings in Asset Management ### [Update-ZNSettingsAuth](Update-ZNSettingsAuth.md) Set the portal security settings @@ -1231,16 +1454,19 @@ Update inactive assets settings configuration Update the Internal Subnets settings in System ### [Update-ZNSettingsJamfCredentials](Update-ZNSettingsJamfCredentials.md) -Returns the upddated properties of JAMF Credentials settings. +Returns the updated properties of JAMF Credentials settings. ### [Update-ZNSettingsLearningConfig](Update-ZNSettingsLearningConfig.md) Update Learning Config settings in Network Segmentation ### [Update-ZNSettingsLinuxSetup](Update-ZNSettingsLinuxSetup.md) -Update the linux setup settings in Asset Managment +Update the linux setup settings in Asset Management ### [Update-ZNSettingsLinuxUser](Update-ZNSettingsLinuxUser.md) -Update the linux user settings in Asset Managment +Update the linux user settings in Asset Management + +### [Update-ZNSettingsMaintenanceWindow](Update-ZNSettingsMaintenanceWindow.md) +Returns the maintenance window properties ### [Update-ZNSettingsMfaAuthentication](Update-ZNSettingsMfaAuthentication.md) Returns an empty object. @@ -1266,12 +1492,18 @@ Set Trusted Internet addresses settings in System ### [Update-ZNSettingsZpa](Update-ZNSettingsZpa.md) Set ZPA settings in Integrations +### [Update-ZNUserExternalAccessPolicy](Update-ZNUserExternalAccessPolicy.md) +Updates an external access policy. + ### [Update-ZNUserIdentityRule](Update-ZNUserIdentityRule.md) Updates an identity rule. ### [Update-ZNUserMfaIdentityPolicy](Update-ZNUserMfaIdentityPolicy.md) Updates an identity MFA Policy. +### [Update-ZNUsersManagedAsset](Update-ZNUsersManagedAsset.md) +Update a managed asset for user + ### [Update-ZNUserType](Update-ZNUserType.md) -Set users type +Set user type diff --git a/src/ZN/examples/Deny-ZNAssetInboundRuleReview.md b/src/ZN/examples/Deny-ZNAssetInboundRuleReview.md index c40e378..ca6099b 100644 --- a/src/ZN/examples/Deny-ZNAssetInboundRuleReview.md +++ b/src/ZN/examples/Deny-ZNAssetInboundRuleReview.md @@ -1,7 +1,7 @@ ### Example 1: Deny a rule for a specific asset ```powershell $asset = Search-ZNAsset -Fqdn linux0.posh.local -Deny-ZNAssetInboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -Reason 'RedundantRule' +Deny-ZNAssetInboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -ReviewReason 'RedundantRule' ``` ```output diff --git a/src/ZN/examples/Deny-ZNAssetOutboundRuleReview.md b/src/ZN/examples/Deny-ZNAssetOutboundRuleReview.md index d3ebcd4..71deda1 100644 --- a/src/ZN/examples/Deny-ZNAssetOutboundRuleReview.md +++ b/src/ZN/examples/Deny-ZNAssetOutboundRuleReview.md @@ -1,7 +1,7 @@ ### Example 1: Deny a rule for a specific asset ```powershell $asset = Search-ZNAsset -Fqdn linux0.posh.local -Deny-ZNAssetOutboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -Reason 'RedundantRule' +Deny-ZNAssetOutboundRuleReview -AssetId $asset -RuleId '9d275288-4fc3-46e5-a5a0-ff0626214b87' -ReviewReason 'RedundantRule' ``` ```output diff --git a/src/ZN/examples/Deny-ZNInboundRuleReview.md b/src/ZN/examples/Deny-ZNInboundRuleReview.md index b016bf6..54e4b10 100644 --- a/src/ZN/examples/Deny-ZNInboundRuleReview.md +++ b/src/ZN/examples/Deny-ZNInboundRuleReview.md @@ -1,6 +1,6 @@ ### Example 1: Reject a pending inbound rule ```powershell -Deny-ZNInboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -Reason MissingPortorProcess +Deny-ZNInboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -ReviewReason MissingPortorProcess ``` ```output diff --git a/src/ZN/examples/Deny-ZNOutboundRuleReview.md b/src/ZN/examples/Deny-ZNOutboundRuleReview.md index e19bd6d..90b84bd 100644 --- a/src/ZN/examples/Deny-ZNOutboundRuleReview.md +++ b/src/ZN/examples/Deny-ZNOutboundRuleReview.md @@ -1,6 +1,6 @@ ### Example 1: Reject a pending outbound rule ```powershell -Deny-ZNOutboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -Reason RedundantRule +Deny-ZNOutboundRuleReview -RuleId 6c468ed5-ca0e-463e-8cc6-331ae2fa7990 -ReviewReason RedundantRule ``` ```output diff --git a/src/ZN/examples/Enable-ZNAssetQuarantine.md b/src/ZN/examples/Enable-ZNAssetQuarantine.md new file mode 100644 index 0000000..2d4fc29 --- /dev/null +++ b/src/ZN/examples/Enable-ZNAssetQuarantine.md @@ -0,0 +1,43 @@ +### Example 1: Quarnatine an asset +```powershell +Enable-ZNAssetQuarantine -AssetId "a:d:FMVqm8jZ" -Quarantine +``` + +```output + +``` + +This cmdlet enables quarantine for an asset. + +### Example 2: Disable quarantine for an asset +```powershell +Enable-ZNAssetQuarantine -AssetId "a:d:FMVqm8jZ" -Quarantine:$false +``` + +```output + +``` + +This cmdlet disables quarantine for an asset. + +### Example 3: Quarnatine assets +```powershell +Enable-ZNAssetQuarantine -AssetIds @("a:d:FMVqm8jZ","a:l:4NMHdoaO") -Quarantine +``` + +```output + +``` + +This cmdlet enables quarantine for assets. + +### Example 2: Disable quarantine for assets +```powershell +Enable-ZNAssetQuarantine -AssetIds @("a:d:FMVqm8jZ","a:l:4NMHdoaO") -Quarantine:$false +``` + +```output + +``` + +This cmdlet disables quarantine for assets. diff --git a/src/ZN/examples/Get-ZNAeExclusionsInbound.md b/src/ZN/examples/Get-ZNAeExclusionsInbound.md new file mode 100644 index 0000000..e9fa0c6 --- /dev/null +++ b/src/ZN/examples/Get-ZNAeExclusionsInbound.md @@ -0,0 +1,86 @@ +### Example 1: List Inbound AE Exclusions +```powershell +(Get-ZNAeExclusionsInbound).Items +``` + +```output +Action : 1 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1709213209409 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1726517957934 +DeltedById : +DeltedByName : +Description : +Direction : 1 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem, + ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:110001} +RemoteEntityInfos : {Any asset} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1726517957934 +UpdatedById : +UpdatedByName : + +Action : 1 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1702254842410 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1723024981263 +DeltedById : +DeltedByName : +Description : Auto-generated rule for tagged traffic +Direction : 1 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : 12726147-20f1-49d3-96b1-1090bbcbe15d +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem, + ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:110001} +RemoteEntityInfos : {Any asset} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1723024981263 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet lists inbound AE Exclusions. diff --git a/src/ZN/examples/Get-ZNAeExclusionsOutbound.md b/src/ZN/examples/Get-ZNAeExclusionsOutbound.md new file mode 100644 index 0000000..df2b0b7 --- /dev/null +++ b/src/ZN/examples/Get-ZNAeExclusionsOutbound.md @@ -0,0 +1,46 @@ +### Example 1: List Outbound AE Exclusions +```powershell +(Get-ZNAeExclusionsOutbound).Items +``` + +```output +Action : 2 +ActivitiesCount : 0 +ApprovedAt : +ApprovedById : +ApprovedByName : +CreatedAt : 1708466176008 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +DeletedAt : 1726517957934 +DeltedById : +DeltedByName : +Description : +Direction : 2 +ExcludedEntityInfos : {} +ExcludedLocalIdsList : {} +ExpiresAt : +IPSecOpt : 1 +Id : a9c77d74-68f5-4205-9219-1e012d317902 +LocalEntityId : g:t:01669ce2 +LocalEntityInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +LocalEntitySuccessor : {dc01} +LocalProcessesList : {*} +ParentId : +ParentType : 0 +PortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +RemoteEntityIdsList : {b:120101010120} +RemoteEntityInfos : {1.1.1.1} +Ruleclass : +SrcUserInfos : {} +SrcUsersList : {} +State : 3 +UpdatedAt : 1726517957934 +UpdatedById : +UpdatedByName : +``` + +This cmdlet lists outbound AE Exclusions. diff --git a/src/ZN/examples/Get-ZNAssetExternalAccessPolicy.md b/src/ZN/examples/Get-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..a627477 --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,61 @@ +### Example 1: List external access policies for an asset +```powershell +(Get-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40).Items +``` + +```output +CreatedAt : 1726598869813 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:JBy1jmUL +Name : Ansible Server +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1726600514080 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +Url : https://ansible.test.local +``` + +This cmdlet lists all external access policies for an asset. + +### Example 2: Get an external access policy for an asset +```powershell +Get-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:JBy1jmUL +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1726600514080 +ItemUrl : https://ansible.test.local +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an external access policy for an asset. diff --git a/src/ZN/examples/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md b/src/ZN/examples/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..adda0b3 --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,22 @@ +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Address + es +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. diff --git a/src/ZN/examples/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md b/src/ZN/examples/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..237895b --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,25 @@ +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNAssetExternalAccessPolicySourceUserCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. diff --git a/src/ZN/examples/Get-ZNAssetExternalAccessPolicyStatistics.md b/src/ZN/examples/Get-ZNAssetExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..eb1c897 --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetExternalAccessPolicyStatistics.md @@ -0,0 +1,12 @@ +### Example 1: Get external access policy statistics +```powershell +Get-ZNAssetExternalAccessPolicyStatistics -AssetId a:n:3Odw9d40 +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. diff --git a/src/ZN/examples/Get-ZNAssetMemberOfGroupCandidate.md b/src/ZN/examples/Get-ZNAssetMemberOfGroupCandidate.md new file mode 100644 index 0000000..c4b9a16 --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetMemberOfGroupCandidate.md @@ -0,0 +1,14 @@ +### Example 1: List group candidates for adding an asset to +```powershell +Get-ZNAssetMemberOfGroupCandidate -AssetId a:a:ZgBWOMyc +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +g:t:01669ce2 Domain controllers +g:t:5U669ce2 Externally facing clients +``` + +This cmdlet lists group candidates that an asset can be added to. \ No newline at end of file diff --git a/src/ZN/examples/Get-ZNAssetOtMemberOfGroupCandidate.md b/src/ZN/examples/Get-ZNAssetOtMemberOfGroupCandidate.md new file mode 100644 index 0000000..7265771 --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetOtMemberOfGroupCandidate.md @@ -0,0 +1,15 @@ +### Example 1: List group candidates for adding an asset to +```powershell +Get-ZNAssetOTMemberOfGroupCandidate -AssetId a:t:0altpr5J +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +g:t:01669ce2 Domain controllers +g:t:5U669ce2 Externally facing clients +g:t:5V669ce2 Externally facing servers +``` + +This cmdlet lists group candidates that an asset can be added to. \ No newline at end of file diff --git a/src/ZN/examples/Get-ZNAssetOutboundRulesUserCandidate.md b/src/ZN/examples/Get-ZNAssetOutboundRulesUserCandidate.md new file mode 100644 index 0000000..2d8c1a0 --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetOutboundRulesUserCandidate.md @@ -0,0 +1,21 @@ +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNAssetOutboundRulesUserCandidate -AssetId a:n:3Odw9d40 +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. \ No newline at end of file diff --git a/src/ZN/examples/Get-ZNAssetPreferredSegmentServer.md b/src/ZN/examples/Get-ZNAssetPreferredSegmentServer.md new file mode 100644 index 0000000..b938dfa --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetPreferredSegmentServer.md @@ -0,0 +1,12 @@ +### Example 1: Get preferred segment server +```powershell +Get-ZNAssetPreferredSegmentServer -AssetId a:a:ZgBWOMyc +``` + +```output +Error1 Message +------ ------- +not found +``` + +This cmdlet gets the preferred segement server for an asset. If not found is returned, a preferred server has not been set. diff --git a/src/ZN/examples/Get-ZNAssetsIdentityQueued.md b/src/ZN/examples/Get-ZNAssetsIdentityQueued.md new file mode 100644 index 0000000..037c86e --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetsIdentityQueued.md @@ -0,0 +1,12 @@ +### Example 1: List assets in Identity Learning +```powershell +Get-ZNAssetsIdentityQueued +``` + +```output +Count Items NextCursor +----- ----- ---------- + 1 {dc01} +``` + +This cmdlet lists assets in identity learning. diff --git a/src/ZN/examples/Get-ZNAssetsNetworkSegmented.md b/src/ZN/examples/Get-ZNAssetsNetworkSegmented.md new file mode 100644 index 0000000..0371f56 --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetsNetworkSegmented.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ZN/examples/Get-ZNAssetsProtected.md b/src/ZN/examples/Get-ZNAssetsProtected.md deleted file mode 100644 index a88ccba..0000000 --- a/src/ZN/examples/Get-ZNAssetsProtected.md +++ /dev/null @@ -1,30 +0,0 @@ -### Example 1: List protected assets -```powershell -(Get-ZNAssetsProtected).Items -``` - -```output -AssetStatus AssetType Domain Fqdn IPV4Addresses IPV6Addresses Id Name OperatingSystem ProtectionState Source ------------ --------- ------ ---- ------------- ------------- -- ---- --------------- --------------- ------ -2 2 zero.labs fs1.zero.labs {192.168.10.2} {fe80::190f:e8a3:b0de:3fcd} a:a:GnyWAsYs FS1 Windows Server 2008 R2 Datacenter 3 3 -2 2 zero.labs trust1.zero.labs {192.168.10.1} {} a:a:EP2KKITZ TRUST1 Windows Server 2019 Standard 3 3 -2 1 zero.labs win10-1.zero.labs {192.168.10.3} {} a:a:6BokfBbU WIN10-1 Windows 10 Pro 3 3 -2 1 zero.labs win10-2.zero.labs {192.168.10.4} {} a:a:HYZhxRzI WIN10-2 Windows 10 Pro 3 3 -2 1 zero.labs win10-3.zero.labs {192.168.10.5} {} a:a:qnRgyRA9 WIN10-3 Windows 10 Pro 3 3 -2 1 zero.labs WIN7.zero.labs {192.168.10.6} {} a:a:5wiknOhs WIN7 Windows 7 Ultimate 3 3 -2 1 zero.labs win8-1.zero.labs {192.168.10.7} {} a:a:cxIJepiA win8-1 Windows 8.1 Enterprise 3 3 -``` - -The cmdlet will list protected Assets for the environment. - -### Example 2: List next page of protected assets -```powershell -(Get-ZNAssetsProtected -Offset 10).Items -``` - -```output - -``` - -Use offset to get the next page of protected Assets. - diff --git a/src/ZN/examples/Get-ZNAssetsRpcQueued.md b/src/ZN/examples/Get-ZNAssetsRpcQueued.md new file mode 100644 index 0000000..0bcd3a8 --- /dev/null +++ b/src/ZN/examples/Get-ZNAssetsRpcQueued.md @@ -0,0 +1,12 @@ +### Example 1: List assets in RPC Learning +```powershell +Get-ZNAssetsRpcQueued +``` + +```output +Count Items NextCursor +----- ----- ---------- + 1 {dc01} +``` + +This cmdlet lists assets in RPC learning. diff --git a/src/ZN/examples/Get-ZNExternalAccessPolicy.md b/src/ZN/examples/Get-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..f8c387b --- /dev/null +++ b/src/ZN/examples/Get-ZNExternalAccessPolicy.md @@ -0,0 +1,61 @@ +### Example 1: List external access policies +```powershell +(Get-ZNExternalAccessPolicy).Items +``` + +```output +CreatedAt : 1726598869813 +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:JBy1jmUL +Name : Ansible Server +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1726600514080 +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +Url : https://ansible.test.local +``` + +This cmdlet lists all external access policies. + +### Example 2: Get an external access policy +```powershell +Get-ZNExternalAccessPolicy -PolicyId p:e:JBy1jmUL +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1726600514080 +ItemUrl : https://ansible.test.local +UpdatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +UpdatedByName : Zero Networks +``` + +This cmdlet gets an external access policy. diff --git a/src/ZN/examples/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md b/src/ZN/examples/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..3528f15 --- /dev/null +++ b/src/ZN/examples/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,21 @@ +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNExternalAccessPolicyDestinationAssetsCandidate +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. diff --git a/src/ZN/examples/Get-ZNExternalAccessPolicySourceUserCandidate.md b/src/ZN/examples/Get-ZNExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..61083e9 --- /dev/null +++ b/src/ZN/examples/Get-ZNExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,25 @@ +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNExternalAccessPolicySourceUserCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. diff --git a/src/ZN/examples/Get-ZNExternalAccessPolicyStatistics.md b/src/ZN/examples/Get-ZNExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..ed5b134 --- /dev/null +++ b/src/ZN/examples/Get-ZNExternalAccessPolicyStatistics.md @@ -0,0 +1,12 @@ +### Example 1: Get external access policy statistics +```powershell +Get-ZNExternalAccessPolicyStatistics +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. diff --git a/src/ZN/examples/Get-ZNGroupMemberOfGroupCandidate.md b/src/ZN/examples/Get-ZNGroupMemberOfGroupCandidate.md new file mode 100644 index 0000000..2682cd9 --- /dev/null +++ b/src/ZN/examples/Get-ZNGroupMemberOfGroupCandidate.md @@ -0,0 +1,12 @@ +### Example 1: List group candidates for adding a group to +```powershell +Get-ZNGroupMemberOfGroupCandidate -GroupId g:t:01669ce2 -GroupType tag +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +``` + +This cmdlet lists group candidates that a group can be added to. \ No newline at end of file diff --git a/src/ZN/examples/Get-ZNGroupsExternalAccessPolicy.md b/src/ZN/examples/Get-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..41635fa --- /dev/null +++ b/src/ZN/examples/Get-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,61 @@ +### Example 1: List external access policies for a group +```powershell +(Get-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag).Items +``` + +```output +CreatedAt : 1728091784452 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +Description : +DstAssetId : g:t:5V669ce2 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:EhAz2WVR +Name : External Servers +RuleDuration : 8 +SrcUserIdsList : {b:111001} +SrcUserInfos : {Any user} +State : 1 +UpdatedAt : 1728091784452 +UpdatedById : +UpdatedByName : +Url : https://external.posh.local +``` + +This cmdlet lists external access policies for a group. + +### Example 2: Get an external access policy for a group +```powershell +Get-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag -PolicyId p:e:EhAz2WVR +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +ItemCreatedAt : 1728091784452 +ItemDescription : +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:EhAz2WVR +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728091784452 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet gets an external access policy for a group. diff --git a/src/ZN/examples/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md b/src/ZN/examples/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..186ebaf --- /dev/null +++ b/src/ZN/examples/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,21 @@ +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. diff --git a/src/ZN/examples/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md b/src/ZN/examples/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..59929d8 --- /dev/null +++ b/src/ZN/examples/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,25 @@ +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNGroupsExternalAccessPolicySourceUserCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. diff --git a/src/ZN/examples/Get-ZNGroupsExternalAccessPolicyStatistics.md b/src/ZN/examples/Get-ZNGroupsExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..6a87ea8 --- /dev/null +++ b/src/ZN/examples/Get-ZNGroupsExternalAccessPolicyStatistics.md @@ -0,0 +1,12 @@ +### Example 1: Get external access policy statistics +```powershell +Get-ZNGroupsExternalAccessPolicyStatistics -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. diff --git a/src/ZN/examples/Get-ZNGroupsOutboundRulesUserCandidate.md b/src/ZN/examples/Get-ZNGroupsOutboundRulesUserCandidate.md new file mode 100644 index 0000000..c7bb78f --- /dev/null +++ b/src/ZN/examples/Get-ZNGroupsOutboundRulesUserCandidate.md @@ -0,0 +1,21 @@ +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNGroupsOutboundRulesUserCandidate -Groupid g:t:5V669ce2 -GroupType tag +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. \ No newline at end of file diff --git a/src/ZN/examples/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md b/src/ZN/examples/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md new file mode 100644 index 0000000..6e1d241 --- /dev/null +++ b/src/ZN/examples/Get-ZNIdentityOnboardingPoliciesGroupCandidate.md @@ -0,0 +1,31 @@ +### Example 1: List Identity onboarding policies +```powershell +Get-ZNIdentityOnboardingPolicy +``` + +```output +CreatedAt : 1720788060631 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +EnforceBlocks : +ExistingMembersLearningDays : 60 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 14cf1464-2807-490b-8009-9ce1d736fd38 +InitialProtectAt : 1725981560665 +NewMembersLearningDays : 60 +PolicyType : 2 +UpdatedAt : 1720797560665 +``` + +This cmdlet lists the identity onboarding policies. diff --git a/src/ZN/examples/Get-ZNIdentityOnboardingPolicy.md b/src/ZN/examples/Get-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..e5d06bc --- /dev/null +++ b/src/ZN/examples/Get-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,42 @@ +### Example 1: List candidates for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for identity onboarding policies. + +### Example 2: Search for a candidate for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search Servers).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:DkSpCxPu RDS Endpoint Servers +posh.local g:a:npRV5X4F RDS Management Servers +posh.local g:a:W2iRFLTg RDS Remote Access Servers +posh.local g:a:wklutzfZ Terminal Server License Servers +system g:s:01669ce2 Segment servers +system g:s:03669ce2 Servers +tag g:t:5V669ce2 Externally facing servers +``` + +This cmdlet also allows searching for a group name. + diff --git a/src/ZN/examples/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md b/src/ZN/examples/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md new file mode 100644 index 0000000..a58779c --- /dev/null +++ b/src/ZN/examples/Get-ZNNetworkOnboardingPoliciesGroupCandidate.md @@ -0,0 +1,41 @@ +### Example 1: List candidates for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for identity onboarding policies. + +### Example 2: Search for a candidate for identity onboarding policies +```powershell +(Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search Servers).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:DkSpCxPu RDS Endpoint Servers +posh.local g:a:npRV5X4F RDS Management Servers +posh.local g:a:W2iRFLTg RDS Remote Access Servers +posh.local g:a:wklutzfZ Terminal Server License Servers +system g:s:01669ce2 Segment servers +system g:s:03669ce2 Servers +tag g:t:5V669ce2 Externally facing servers +``` + +This cmdlet also allows searching for a group name. diff --git a/src/ZN/examples/Get-ZNNetworkOnboardingPolicy.md b/src/ZN/examples/Get-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..45d20f6 --- /dev/null +++ b/src/ZN/examples/Get-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,31 @@ +### Example 1: List Network onboarding policies +```powershell +Get-ZNNetworkOnboardingPolicy +``` + +```output +CreatedAt : 1720788122962 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +EnforceBlocks : False +ExistingMembersLearningDays : 60 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 22c13631-c31d-4698-a875-fa1327cf01b5 +InitialProtectAt : 1726924854503 +NewMembersLearningDays : 30 +PolicyType : 1 +UpdatedAt : 1721740854504 +``` + +This cmdlet lists the network onboarding policies. \ No newline at end of file diff --git a/src/ZN/examples/Get-ZNOutboundRulesUserCandidate.md b/src/ZN/examples/Get-ZNOutboundRulesUserCandidate.md new file mode 100644 index 0000000..8bea65e --- /dev/null +++ b/src/ZN/examples/Get-ZNOutboundRulesUserCandidate.md @@ -0,0 +1,21 @@ +### Example 1: Get user candidates for outbound rules +```powershell +Get-ZNOutboundRulesUserCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +``` + +This cmdlet lists user candidates for outbound rules. \ No newline at end of file diff --git a/src/ZN/examples/Get-ZNProtectionPoliciesGroupCandidate.md b/src/ZN/examples/Get-ZNProtectionPoliciesGroupCandidate.md deleted file mode 100644 index 5666caa..0000000 --- a/src/ZN/examples/Get-ZNProtectionPoliciesGroupCandidate.md +++ /dev/null @@ -1,35 +0,0 @@ -### Example 1: List candidates for protection policies -```powershell -(Get-ZNProtectionPoliciesGroupCandidate).Items -``` - -```output -Domain HasProtectionPolicy Id Name ------- ------------------- -- ---- -zero.labs False g:a:yu1gHyge Access Control Assistance Operators -zero.labs False g:a:LXwCiIyG Account Operators -tag False g:t:32276c2c Acronis backup -zero.labs False g:a:ukYAIg2J Administrators -zero.labs False g:a:zpYqGY8G Allowed RODC Password Replication Group -tag False g:t:10276c2c Asset management -zero.labs False g:a:GqUGqkiM Backup Operators -tag False g:t:23276c2c Backup servers -tag False g:t:37276c2c Certificate Authority -zero.labs False g:a:zobH4QmN Certificate Service DCOM Access -``` - -The cmdlet gets candidates for protection policies for the environment - -### Example 2: Search for a candidate -```powershell -(Get-ZNProtectionPoliciesGroupCandidate -Search Clients).Items -``` - -```output -Domain HasProtectionPolicy Id Name ------- ------------------- -- ---- -system False g:s:04276c2c Clients -``` - -To find a specific candidate use the search parameter with the Name to be searched. - diff --git a/src/ZN/examples/Get-ZNProtectionPolicy.md b/src/ZN/examples/Get-ZNProtectionPolicy.md deleted file mode 100644 index fbd066b..0000000 --- a/src/ZN/examples/Get-ZNProtectionPolicy.md +++ /dev/null @@ -1,13 +0,0 @@ - ### Example 1: List protection policies -```powershell -Get-ZNProtectionPolicy -``` - -```output -CreatedAt GroupId Id InitialProtectAt MinQueueDays UpdatedAt ---------- ------- -- ---------------- ------------ --------- -1665519178405 g:s:04276c2c ab1b5589-3805-4f6d-8daa-98034f48b2a0 1668114000000 0 1665519178405 -``` - -This cmdlet gets protection policies for the environment. - diff --git a/src/ZN/examples/Get-ZNSettingsAd.md b/src/ZN/examples/Get-ZNSettingsAd.md index ba61eb7..9b25d0a 100644 --- a/src/ZN/examples/Get-ZNSettingsAd.md +++ b/src/ZN/examples/Get-ZNSettingsAd.md @@ -4,9 +4,28 @@ Get-ZNSettingsAd ``` ```output -ForestId --------- -f:a:0bec706b +ActiveDirectoryInfoAllowInstallLinuxPackages : True +ActiveDirectoryInfoDomainControllerFqdn : dc01.posh.local +ActiveDirectoryInfoDomainName : posh.local +ActiveDirectoryInfoUseLdaps : False +ActiveDirectoryInfoUserFqdn : znremotemanagement +AllowNtlmFallback : True +AutomationGroupsMonitoredGroupDomain : +AutomationGroupsMonitoredGroupHasProtectionPolicy : +AutomationGroupsMonitoredGroupId : b:110003 +AutomationGroupsMonitoredGroupName : All AD assets +ForestId : f:a:0bec706b +LinuxAutomationGroupsMonitoredGroupDomain : +LinuxAutomationGroupsMonitoredGroupHasProtectionPolicy : +LinuxAutomationGroupsMonitoredGroupId : b:110003 +LinuxAutomationGroupsMonitoredGroupName : All AD assets +ProtectedGroupDomain : posh.local +ProtectedGroupHasProtectionPolicy : +ProtectedGroupId : g:a:s2FnXfXk +ProtectedGroupName : ZeroNetworksProtectedAssets-DoNotModify +SecondaryDomains : {} +UsePrimaryLinuxUserForAllDomains : True +UsePrimaryUserForAllDomains : True ``` This cmdlet returns the AD forest Id settings. diff --git a/src/ZN/examples/Get-ZNSettingsMaintenanceWindow.md b/src/ZN/examples/Get-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..ce7b678 --- /dev/null +++ b/src/ZN/examples/Get-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,41 @@ +### Example 1: List maintenance windows +```powershell +Get-ZNSettingsMaintenanceWindow +``` + +```output +CreatedAt : 1728092138778 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +Id : e:m:eCoheWFb +IsDefault : True +Name : Default +StartTime : 4 +UpdatedAt : 1728092138778 +UpdatedById : +UpdatedByName : +Weekday : 1 +``` + +This cmdlet lists maintenance windows. + +### Example 2: Get a maintenance window +```powershell +Get-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:eCoheWFb +``` + +```output +CreatedAt : 1728092138778 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +Id : e:m:eCoheWFb +IsDefault : True +Name : Default +StartTime : 4 +UpdatedAt : 1728092138778 +UpdatedById : +UpdatedByName : +Weekday : 1 +``` + +This cmdlet gets a maintenance window. diff --git a/src/ZN/examples/Get-ZNSettingsMfaCache.md b/src/ZN/examples/Get-ZNSettingsMfaCache.md new file mode 100644 index 0000000..faede5b --- /dev/null +++ b/src/ZN/examples/Get-ZNSettingsMfaCache.md @@ -0,0 +1,12 @@ +### Example 1: List MFA Cache Policies +```powershell +(Get-ZNSettingsMfaCache).Items +``` + +```output +AssetLimit EntityId EntityInfo TtlMinutes +---------- -------- ---------- ---------- + 10 g:a:3U1Z38mF ZeroNetworks.PowerShell.Cmdlets.Api.Models.SettingsMfaCacheEntityInfo 720 +``` + +This cmdlet lists MFA Cache policies. diff --git a/src/ZN/examples/Get-ZNSettingsMfaCacheCandidate.md b/src/ZN/examples/Get-ZNSettingsMfaCacheCandidate.md new file mode 100644 index 0000000..0e2b641 --- /dev/null +++ b/src/ZN/examples/Get-ZNSettingsMfaCacheCandidate.md @@ -0,0 +1,40 @@ +### Example 1: List MFA Cache candidates +```powershell +Get-ZNSettingsMfaCacheCandidate +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:2mkAN4DS Domain Computers +g:a:3AFg9RPE Backup Operators +u:a:Q9tgABYw Guest (disabled) +u:a:WfuzrUyt krbtgt (disabled) +u:a:JnQxZS6j nicholas-ad nicholas+poshprd@zeronetworks.com +g:a:3npP67jr Windows Authorization Access Group +g:a:3U1Z38mF Domain Admins +g:a:7tzfiueO DnsAdmins +g:a:81Tnx8va Pre-Windows 2000 Compatible Access +``` + +This cmdlet lists the MFA cache candidates. + +### Example 2: {{ Add title here }} +```powershell +Get-ZNSettingsMfaCacheCandidate -Search Servers +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +g:a:DkSpCxPu RDS Endpoint Servers +g:a:npRV5X4F RDS Management Servers +g:a:AcuMXaSY RAS and IAS Servers +g:a:wklutzfZ Terminal Server License Servers +g:a:W2iRFLTg RDS Remote Access Servers +``` + +This cmdlet allows search for an MFA cache candidates. + diff --git a/src/ZN/examples/Get-ZNUserExternalAccessPolicy.md b/src/ZN/examples/Get-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..2f4790e --- /dev/null +++ b/src/ZN/examples/Get-ZNUserExternalAccessPolicy.md @@ -0,0 +1,61 @@ +### Example 1: List external access policies for a user +```powershell +(Get-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp).Items +``` + +```output +CreatedAt : 1728092471548 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +Description : +DstAssetId : a:n:3Odw9d40 +DstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +DstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +DstProcessNamesList : {*} +Id : p:e:J92SSHLf +Name : Ansible +RuleDuration : 8 +SrcUserIdsList : {u:a:jRVryncp} +SrcUserInfos : {zero} +State : 1 +UpdatedAt : 1728092471548 +UpdatedById : +UpdatedByName : +Url : https://ansible.posh.local +``` + +This cmdlet lists external access policies for a user. + +### Example 2: Get an extenal access policy for a user +```powershell +Get-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp -PolicyId p:e:J92SSHLf +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +CreatedByUserRole : 1 +ItemCreatedAt : 1728092471548 +ItemDescription : +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:J92SSHLf +ItemName : Ansible +ItemRuleDuration : 8 +ItemSrcUserIdsList : {u:a:jRVryncp} +ItemSrcUserInfos : {zero} +ItemState : 1 +ItemUpdatedAt : 1728092471548 +ItemUrl : https://ansible.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet gets an external access policy for a user. diff --git a/src/ZN/examples/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md b/src/ZN/examples/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md new file mode 100644 index 0000000..553c2e3 --- /dev/null +++ b/src/ZN/examples/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.md @@ -0,0 +1,21 @@ +### Example 1: List destination candidates for an external access policy +```powershell +Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate -UserId u:a:jRVryncp +``` + +```output +Id Fqdn Name Description DirectMembersCount IPV4Addresses IPV6Addresses +-- ---- ---- ----------- ------------------ ------------- ----------- +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +g:a:OtwDATUK Allowed RODC Password Replication Group +a:n:3Odw9d40 as01 +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:s:30669ce2 Connect regions +``` + +This cmdlet lists destination candidates for an external access policy. diff --git a/src/ZN/examples/Get-ZNUserExternalAccessPolicySourceUserCandidate.md b/src/ZN/examples/Get-ZNUserExternalAccessPolicySourceUserCandidate.md new file mode 100644 index 0000000..91c72cc --- /dev/null +++ b/src/ZN/examples/Get-ZNUserExternalAccessPolicySourceUserCandidate.md @@ -0,0 +1,25 @@ +### Example 1: List source user candidates for an external access policy +```powershell +Get-ZNUserExternalAccessPolicySourceUserCandidate -UserId u:a:jRVryncp +``` + +```output +Id Name Email Description DirectMembersCount Phone JobTitle LastLogon +-- ---- ----- ----------- ------------------ ----- -------- --------- +b:111001 Any user +g:a:rZl537o4 Access Control Assistance Operators +g:a:V9kshIRu Account Operators +g:a:Q4IYhlTC Administrators +u:a:cDk6KLc8 albert Polo aestevez@paloaltonetworks.com +g:a:OtwDATUK Allowed RODC Password Replication Group +g:a:3AFg9RPE Backup Operators +g:a:eSfiOaM0 Certificate Service DCOM Access +g:a:Qx5wSzxi Cert Publishers +g:a:leHDIXAw Cloneable Domain Controllers +g:a:jF0PdFzE Cryptographic Operators +g:s:81669ce2 Zero Networks Admins +g:s:83669ce2 Zero Networks Operators +g:s:82669ce2 Zero Networks Viewers +``` + +This cmdlet lists source user candidates for an external access policy. diff --git a/src/ZN/examples/Get-ZNUserExternalAccessPolicyStatistics.md b/src/ZN/examples/Get-ZNUserExternalAccessPolicyStatistics.md new file mode 100644 index 0000000..f861539 --- /dev/null +++ b/src/ZN/examples/Get-ZNUserExternalAccessPolicyStatistics.md @@ -0,0 +1,12 @@ +### Example 1: Get external access policy statistics +```powershell +Get-ZNUserExternalAccessPolicyStatistics -UserId u:a:jRVryncp +``` + +```output +PoliciesStatisticsTotalCount +____________________________ +1 +``` + +This cmdlet gets the external access policy statistics. diff --git a/src/ZN/examples/Get-ZNUserMemberOfGroupCandidate.md b/src/ZN/examples/Get-ZNUserMemberOfGroupCandidate.md new file mode 100644 index 0000000..7bd2ca0 --- /dev/null +++ b/src/ZN/examples/Get-ZNUserMemberOfGroupCandidate.md @@ -0,0 +1,12 @@ +### Example 1: List group candidates for adding a user to +```powershell +Get-ZNUserMemberOfGroupCandidate -UserId u:d:2HOfhbpY +``` + +```output +Id Name +-- ---- +g:c:vcLDMdYI ProtectionPolicy +``` + +This cmdlet lists group candidates that a user can be added to. \ No newline at end of file diff --git a/src/ZN/examples/Get-ZNUsersInactive.md b/src/ZN/examples/Get-ZNUsersInactive.md new file mode 100644 index 0000000..3345590 --- /dev/null +++ b/src/ZN/examples/Get-ZNUsersInactive.md @@ -0,0 +1,35 @@ +### Example 1: List inactive users +```powershell +(Get-ZNUsersInactive).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +ClassifiedByName : Zero Networks +CreatedAt : 1702251607249 +DistinguishedName : CN=zSvcAcct3,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : +FirstName : +Guid : 13bcfd10-6848-441f-85da-b7a548d68cf8 +Id : u:a:Hk7V9Fp7 +JobTitle : +LastLogonReplicated : +LastName : +Name : zSvcAcct3 (inactive) +OfficePhone : +Phone : +PrincipalName : POSH\zSvcAcct3 +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 3 +Sid : S-1-5-21-4035814016-3211323426-385196088-1111 +Source : 3 +UserPrincipleName : +UserType : 3 +``` + +This cmdlet will list the inactive users. diff --git a/src/ZN/examples/Get-ZNUsersPrivileged.md b/src/ZN/examples/Get-ZNUsersPrivileged.md new file mode 100644 index 0000000..80049d4 --- /dev/null +++ b/src/ZN/examples/Get-ZNUsersPrivileged.md @@ -0,0 +1,71 @@ +### Example 1: List privileged users +```powershell +(Get-ZNUsersPrivileged).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : u:a:JnQxZS6j +ClassifiedByName : nicholas-ad +CreatedAt : 1702251607787 +DistinguishedName : CN=zero,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : nicholas+poshprdzero@zeronetworks.com +FirstName : +Guid : a1b2e06b-f114-4ca1-a577-c0d7d138f743 +Id : u:a:jRVryncp +JobTitle : +LastLogonReplicated : +LastName : +Name : zero +OfficePhone : +Phone : +PrincipalName : POSH\zero +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 1 +Sid : S-1-5-21-4035814016-3211323426-385196088-500 +Source : 3 +UserPrincipleName : +UserType : 7 +``` + +This cmdlet lists privileged users. + +### Example 2: Search for a privileged user +```powershell +(Get-ZNUsersPrivileged -Search zero).Items +``` + +```output +AddedAt : +AddedBy : +ClassifiedById : u:a:JnQxZS6j +ClassifiedByName : nicholas-ad +CreatedAt : 1702251607787 +DistinguishedName : CN=zero,CN=Users,DC=posh,DC=local +Domain : posh.local +Email : nicholas+poshprdzero@zeronetworks.com +FirstName : +Guid : a1b2e06b-f114-4ca1-a577-c0d7d138f743 +Id : u:a:jRVryncp +JobTitle : +LastLogonReplicated : +LastName : +Name : zero +OfficePhone : +Phone : +PrincipalName : POSH\zero +ProtectAt : +ProtectedAt : +ProtectionState : 1 +Role : 1 +Sid : S-1-5-21-4035814016-3211323426-385196088-500 +Source : 3 +UserPrincipleName : +UserType : 7 +``` + +This cmdlet can serch for a privleged user. diff --git a/src/ZN/examples/Invoke-ZNAssetIdentityExtendQueue.md b/src/ZN/examples/Invoke-ZNAssetIdentityExtendQueue.md new file mode 100644 index 0000000..3273536 --- /dev/null +++ b/src/ZN/examples/Invoke-ZNAssetIdentityExtendQueue.md @@ -0,0 +1,21 @@ +### Example 1: Extend asset in identity learning +```powershell +Invoke-ZNAssetIdentityExtendQueue -AssetId a:a:P0GVm1iZ -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends identity learning for an asset. + +### Example 2: Exnted assets in identity learning +```powershell +Invoke-ZNAssetIdentityExtendQueue -items @(a:a:P0GVm1iZ) -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends identity learning for assets. \ No newline at end of file diff --git a/src/ZN/examples/Invoke-ZNAssetIdentityQueue.md b/src/ZN/examples/Invoke-ZNAssetIdentityQueue.md new file mode 100644 index 0000000..caf66d4 --- /dev/null +++ b/src/ZN/examples/Invoke-ZNAssetIdentityQueue.md @@ -0,0 +1,21 @@ +### Example 1: Add asset to identity learning +```powershell +Invoke-ZNAssetIdentityQueue -AssetId a:a:P0GVm1iZ -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds an asset to identity learning. + +### Example 2: Add assets to identity learning +```powershell +Invoke-ZNAssetIdentityQueue -items @(a:a:P0GVm1iZ) -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds assets to identity learning. \ No newline at end of file diff --git a/src/ZN/examples/Invoke-ZNAssetRpcExtendQueue.md b/src/ZN/examples/Invoke-ZNAssetRpcExtendQueue.md new file mode 100644 index 0000000..49981a4 --- /dev/null +++ b/src/ZN/examples/Invoke-ZNAssetRpcExtendQueue.md @@ -0,0 +1,10 @@ +### Example 1: Exnted assets in RPC learning +```powershell +Invoke-ZNAssetRpcExtendQueue -items @(a:a:P0GVm1iZ) -ExtendByDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet extends RPC learning for assets. \ No newline at end of file diff --git a/src/ZN/examples/Invoke-ZNAssetRpcQueue.md b/src/ZN/examples/Invoke-ZNAssetRpcQueue.md new file mode 100644 index 0000000..a3b0b1d --- /dev/null +++ b/src/ZN/examples/Invoke-ZNAssetRpcQueue.md @@ -0,0 +1,10 @@ +### Example 1: Add assets to RPC learning +```powershell +Invoke-ZNAssetRPCQueue -items @(a:a:P0GVm1iZ) -QueueDays 30 +``` + +```output +ZeroNetworks.PowerShell.Cmdlets.Api.Models.Any +``` + +This cmdlet adds assets to RPC learning. \ No newline at end of file diff --git a/src/ZN/examples/Invoke-ZNMirrorAsset.md b/src/ZN/examples/Invoke-ZNMirrorAsset.md new file mode 100644 index 0000000..6fa792b --- /dev/null +++ b/src/ZN/examples/Invoke-ZNMirrorAsset.md @@ -0,0 +1,10 @@ +### Example 1: Mirror an asset. +```powershell +Invoke-ZNMirrorAsset -TargetAssetId a:l:18VODYZg -OriginalAssetId a:l:4NMHdoaO +``` + +```output + +``` + +This cmdlet mirrors an asset. diff --git a/src/ZN/examples/New-ZNAssetExternalAccessPolicy.md b/src/ZN/examples/New-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..46cc8f9 --- /dev/null +++ b/src/ZN/examples/New-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,33 @@ +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNAssetExternalAccessPolicy -AssetId $dstAsset -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. diff --git a/src/ZN/examples/New-ZNExternalAccessPolicy.md b/src/ZN/examples/New-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..7cc1bba --- /dev/null +++ b/src/ZN/examples/New-ZNExternalAccessPolicy.md @@ -0,0 +1,33 @@ +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNExternalAccessPolicy -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. diff --git a/src/ZN/examples/New-ZNGroupsExternalAccessPolicy.md b/src/ZN/examples/New-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..151ed36 --- /dev/null +++ b/src/ZN/examples/New-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,32 @@ +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +New-ZNGroupsExternalAccessPolicy -GroupId "g:t:5V669ce2/" -GroupType tag -DstAssetId "g:t:5V669ce2" -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. diff --git a/src/ZN/examples/New-ZNIdentityOnboardingPolicy.md b/src/ZN/examples/New-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..4f8f2c3 --- /dev/null +++ b/src/ZN/examples/New-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,31 @@ +### Example 1: Create an Identity onboarding policy +```powershell +New-ZNIdentityOnboardingPolicy -GroupId g:s:03669ce2 -ExistingMembersLearningDays 30 -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : 97fa4e50-c665-44e9-8261-d07c543d9d80 +ItemInitialProtectAt : 1728665381822 +ItemNewMembersLearningDays : 30 +ItemPolicyType : 2 +ItemUpdatedAt : +``` + +This cmdlet creates an identity onboarding learning policy \ No newline at end of file diff --git a/src/ZN/examples/New-ZNNetworkOnboardingPolicy.md b/src/ZN/examples/New-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..d733965 --- /dev/null +++ b/src/ZN/examples/New-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,31 @@ +### Example 1: Create an Network onboarding policy +```powershell +New-ZNNetworkOnboardingPolicy -GroupId g:s:03669ce2 -ExistingMembersLearningDays 30 -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : False +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : a36d67e7-8497-4a31-a39b-24e73a6b5c78 +ItemInitialProtectAt : 1728665476730 +ItemNewMembersLearningDays : 30 +ItemPolicyType : 1 +ItemUpdatedAt : +``` + +This cmdlet creates an network onboarding learning policy \ No newline at end of file diff --git a/src/ZN/examples/New-ZNProtectionPolicy.md b/src/ZN/examples/New-ZNProtectionPolicy.md deleted file mode 100644 index b887ade..0000000 --- a/src/ZN/examples/New-ZNProtectionPolicy.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Create a protection policy -```powershell -# There are multiple groups with Domain Controllers in the name -$group = Get-ZNADGroup -Search "Domain Controllers" | where {$_.Name -eq "Domain Controllers"} -New-ZNProtectionPolicy -GroupId $group.Id -MinQueueDays 30 -InitialQueueDays 30 -``` - -```output - -``` - -This cmdlet will create a new protection policy in the environment. In the above example, AD contains multiple groups with Domain Controllers in the name, PowerShell filtering can easily be used inline. diff --git a/src/ZN/examples/New-ZNSettingsMaintenanceWindow.md b/src/ZN/examples/New-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..b21a3e0 --- /dev/null +++ b/src/ZN/examples/New-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,20 @@ +### Example 1: Create a maintenance window +```powershell +New-ZNSettingsMaintenanceWindow -IsDefault:$false -Name "MaintWindow" -StartTime 1 -Weekday 1 +``` + +```output +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +ItemCreatedAt : 1728096395670 +ItemId : e:m:pszG5Dda +ItemIsDefault : False +ItemName : MaintWindow +ItemStartTime : 1 +ItemUpdatedAt : 1728096395670 +ItemWeekday : 1 +UpdatedById : +UpdatedByName : +``` + +This cmdlet create a new maintenance window. diff --git a/src/ZN/examples/New-ZNSettingsMfaCache.md b/src/ZN/examples/New-ZNSettingsMfaCache.md new file mode 100644 index 0000000..783f4fa --- /dev/null +++ b/src/ZN/examples/New-ZNSettingsMfaCache.md @@ -0,0 +1,12 @@ +### Example 1: Create a MFA cache policy +```powershell +New-ZNSettingsMfaCache -AssetLimit 10 -EntityId u:d:2HOfhbpY -TtlMinutes 400 +``` + +```output +ItemAssetLimit ItemEntityId ItemTtlMinutes +-------------- ------------ -------------- + 10 u:d:2HOfhbpY 400 +``` + +This cmdlet creates a MFA cache policy. \ No newline at end of file diff --git a/src/ZN/examples/New-ZNUserExternalAccessPolicy.md b/src/ZN/examples/New-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..fcec519 --- /dev/null +++ b/src/ZN/examples/New-ZNUserExternalAccessPolicy.md @@ -0,0 +1,33 @@ +### Example 1: Create external access policy +```powershell +$srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" +$portsList = New-ZNPortsList -Protocol TCP -Ports 12 +$dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId +New-ZNUserExternalAccessPolicy -UserId $srcUser.Id -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +ItemCreatedAt : 1728096004176 +ItemDescription : +ItemDstAssetId : a:l:wEGYa0Cp +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:ROCMR59S +ItemName : ExternalTest +ItemRuleDuration : 4 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728096004176 +ItemUrl : https://external.posh.local +UpdatedById : +UpdatedByName : +``` + +This cmdlet creates an external access policy. diff --git a/src/ZN/examples/Protect-ZNAssetIdentity.md b/src/ZN/examples/Protect-ZNAssetIdentitySegment.md similarity index 64% rename from src/ZN/examples/Protect-ZNAssetIdentity.md rename to src/ZN/examples/Protect-ZNAssetIdentitySegment.md index 1d3edbc..3f67090 100644 --- a/src/ZN/examples/Protect-ZNAssetIdentity.md +++ b/src/ZN/examples/Protect-ZNAssetIdentitySegment.md @@ -1,7 +1,7 @@ ### Example 1: Add an asset to identity segmentation ```powershell $asset = Search-ZNAsset -Fqdn dc01.posh.local -Protect-ZNAssetIdentity -AssetId $asset +Protect-ZNAssetIdentitySegment -AssetId $asset ``` ```output @@ -12,11 +12,11 @@ This cmdlet adds an asset to identity segmentation. ### Example 2: Add multiple assets to identity segmentation ```powershell -Protect-ZNAssetIdentity -Items @("assetid","assetId") +Protect-ZNAssetIdentitySegment -Items @("assetid","assetId") ``` ```output ``` -This cmdlet adds multiple assets to identity segmentation. +This cmdlet adds multiple assets to identity segmentation. \ No newline at end of file diff --git a/src/ZN/examples/Add-ZNAssetRpcSegment.md b/src/ZN/examples/Protect-ZNAssetRpcSegment.md similarity index 57% rename from src/ZN/examples/Add-ZNAssetRpcSegment.md rename to src/ZN/examples/Protect-ZNAssetRpcSegment.md index ab7dd71..6f73fd4 100644 --- a/src/ZN/examples/Add-ZNAssetRpcSegment.md +++ b/src/ZN/examples/Protect-ZNAssetRpcSegment.md @@ -1,6 +1,6 @@ ### Example 1: Add assets to RPC Segmentation ```powershell -Add-ZNAssetRpcSegment -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +Protect-ZNAssetRpcSegment -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') ``` ```output @@ -11,11 +11,11 @@ This cmdlet adds multiple assets to RPC segmentation. ### Example 1: Add an asset to RPC Segmentation ```powershell -Add-ZNAssetRpcSegment -AssetId 'a:a:JZgxbNLi' +Protect-ZNAssetRpcSegment -AssetId 'a:a:JZgxbNLi' ``` ```output ``` -This cmdlet adds an asset to RPC segmentation. +This cmdlet adds an asset to RPC segmentation. \ No newline at end of file diff --git a/src/ZN/examples/Protect-ZNUserIdentity.md b/src/ZN/examples/Protect-ZNUserIdentitySegment.md similarity index 70% rename from src/ZN/examples/Protect-ZNUserIdentity.md rename to src/ZN/examples/Protect-ZNUserIdentitySegment.md index 0ecdce8..39183f3 100644 --- a/src/ZN/examples/Protect-ZNUserIdentity.md +++ b/src/ZN/examples/Protect-ZNUserIdentitySegment.md @@ -1,6 +1,6 @@ ### Example 1: Segment a service account ```powershell -Protect-ZNUserIdentity -UserIds @("u:a:mACDNWcW") +Protect-ZNUserIdentitySegment -UserIds @("u:a:mACDNWcW") ``` ```output diff --git a/src/ZN/examples/Read-ZNJWTtoken.md b/src/ZN/examples/Read-ZNJWTtoken.md new file mode 100644 index 0000000..9ccf725 --- /dev/null +++ b/src/ZN/examples/Read-ZNJWTtoken.md @@ -0,0 +1,19 @@ +### Example 1: Decode a token +```powershell +Read-ZNJWTtoken -token eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtOmI1NTM3ZGY1OTA4MDA2NDMzMDBjNjMxOWJkNWM2MDE4YjI1NDRhOWMiLCJuYW1lIjoiZmVmZXd3ZGUiLCJlaWQiOiJjZDM4NDQ3MC05MGRmLTQ2MTgtYjIxOS0xMDAzZjc2NjljZTIiLCJzY29wZSI6NSwiZV9uYW1lIjoiUG93ZXJzaGVsbFRlc3RpbmciLCJ2IjoxLCJpYXQiOjE3MjYwNzM2ODAsImV4cCI6MTc4OTE0NTY4MCwiYXVkIjoicG9ydGFsLnplcm9uZXR3b3Jrcy5jb20iLCJpc3MiOiJ6ZXJvbmV0d29ya3MuY29tL2FwaS92MS9hY2Nlc3MtdG9rZW4ifQ.fFT1_FyBpS7wdrcj-q56hPLPc8BnxYg6ezzVnkBlj-A26gGMQtxoBZn5zfkaqiEryfVyt8qZqRugxvAaK7MYEzJPsFDIrivROSYIWYQJhX2U3Dmi9UPs0ZP3L1jYHOlpYkaqUp0akEdxXpAZLvXN6ncEyWNq3U87ynNDOa5U6Pa8EHlLMk0DML213h6F-yrqRmPD-Z0ABkJv3DSgugBwphN-9R-Sn_P7s0Gd4m5PtNGyXpLygTUFSe-XJ9kQZcZ7Zza3VdeJg1-5xrZcXgmlA85X0rbTqzr15wkwKiT2nYfPgZ2b6pt_P2ztGITwlQnQt24gykEYD4_pAq_yAf7EDA +``` + +```output +sub : m:b5537df590800643300c6319bd5c6018b2544a9c +name : fefewwde +eid : cd384470-90df-4618-b219-1003f7669ce2 +scope : 5 +e_name : PowershellTesting +v : 1 +iat : 1726073680 +exp : 1789145680 +aud : portal.zeronetworks.com +iss : zeronetworks.com/api/v1/access-token +``` + +This cmdlet decodes a token. \ No newline at end of file diff --git a/src/ZN/examples/Remove-ZNAeExclusionsInbound.md b/src/ZN/examples/Remove-ZNAeExclusionsInbound.md new file mode 100644 index 0000000..6d4de4e --- /dev/null +++ b/src/ZN/examples/Remove-ZNAeExclusionsInbound.md @@ -0,0 +1,10 @@ +### Example 1: Delete an AE exclusion +```powershell +Remove-ZNAeExclusionsInbound -RuleId 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +``` + +```output + +``` + +This cmdlet deletes an AE exclusion. diff --git a/src/ZN/examples/Remove-ZNAeExclusionsOutbound.md b/src/ZN/examples/Remove-ZNAeExclusionsOutbound.md new file mode 100644 index 0000000..0719738 --- /dev/null +++ b/src/ZN/examples/Remove-ZNAeExclusionsOutbound.md @@ -0,0 +1,10 @@ +### Example 1: Delete an AE exclusion +```powershell +Remove-ZNAeExclusionsOutbound -RuleId 3a6f56a8-288f-4447-b8bc-9c63c4c8a58d +``` + +```output + +``` + +This cmdlet deletes an AE exclusion. diff --git a/src/ZN/examples/Remove-ZNAssetExternalAccessPolicy.md b/src/ZN/examples/Remove-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..ebbb2c2 --- /dev/null +++ b/src/ZN/examples/Remove-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,10 @@ +### Example 1: Remove an external access policy +```powershell +Remove-ZNExternalAccessPolicy -PolicyId p:e:9NfK8zpm +``` + +```output + +``` + +This cmdlet deletes an external access policy. diff --git a/src/ZN/examples/Remove-ZNExternalAccessPolicy.md b/src/ZN/examples/Remove-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..ec80dd7 --- /dev/null +++ b/src/ZN/examples/Remove-ZNExternalAccessPolicy.md @@ -0,0 +1,10 @@ +### Example 1: Remove an external access policy +```powershell +Remove-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:9NfK8zpm +``` + +```output + +``` + +This cmdlet deletes an external access policy. diff --git a/src/ZN/examples/Remove-ZNGroupsExternalAccessPolicy.md b/src/ZN/examples/Remove-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..1ebffa7 --- /dev/null +++ b/src/ZN/examples/Remove-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,10 @@ +### Example 1: Remove an external access policy +```powershell +Remove-ZNGroupsExternalAccessPolicy -Groupid g:t:5V669ce2 -GroupType tag -PolicyId p:e:9NfK8zpm +``` + +```output + +``` + +This cmdlet deletes an external access policy. diff --git a/src/ZN/examples/Remove-ZNIdentityOnboardingPolicy.md b/src/ZN/examples/Remove-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..8cf9465 --- /dev/null +++ b/src/ZN/examples/Remove-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,10 @@ +### Example 1: Delete an identity onboarding policy +```powershell +Remove-ZNIdentityOnboardingPolicy -OnboardingPolicyId 97fa4e50-c665-44e9-8261-d07c543d9d80 +``` + +```output + +``` + +This cmdlet deletes an identity onboarding policy. \ No newline at end of file diff --git a/src/ZN/examples/Remove-ZNNetworkOnboardingPolicy.md b/src/ZN/examples/Remove-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..f3df803 --- /dev/null +++ b/src/ZN/examples/Remove-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,10 @@ +### Example 1: Delete an network onboarding policy +```powershell +Remove-ZNNetworkOnboardingPolicy -OnboardingPolicyId 97fa4e50-c665-44e9-8261-d07c543d9d80 +``` + +```output + +``` + +This cmdlet deletes an network onboarding policy. \ No newline at end of file diff --git a/src/ZN/examples/Remove-ZNProtectionPolicy.md b/src/ZN/examples/Remove-ZNProtectionPolicy.md deleted file mode 100644 index 521bda1..0000000 --- a/src/ZN/examples/Remove-ZNProtectionPolicy.md +++ /dev/null @@ -1,10 +0,0 @@ -### Example 1: Delete a protection policy -```powershell -Remove-ZNProtectionPolicy -ProtectionPolicyId dad21429-f3ed-4a8a-a407-cae69cffc367 -``` - -```output - -``` - -This cmdlet deletes a protection policy. diff --git a/src/ZN/examples/Remove-ZNSettingsAdLinux.md b/src/ZN/examples/Remove-ZNSettingsAdLinux.md new file mode 100644 index 0000000..a573061 --- /dev/null +++ b/src/ZN/examples/Remove-ZNSettingsAdLinux.md @@ -0,0 +1,10 @@ +### Example 1: Remove the Linux settings from AD +```powershell +Remove-ZNSettingsAdLinux -ForestId f:a:0bec706b -DomainId posh.local +``` + +```output + +``` + +This cmdlet removes the Linux settings from AD domain/forest. diff --git a/src/ZN/examples/Remove-ZNSettingsConnectServer.md b/src/ZN/examples/Remove-ZNSettingsConnectServer.md new file mode 100644 index 0000000..d5bb89e --- /dev/null +++ b/src/ZN/examples/Remove-ZNSettingsConnectServer.md @@ -0,0 +1,10 @@ +### Example 1: Delete a connect server +```powershell +Remove-ZNSettingsConnectServer -ConnectServerId y:a:vW7Ptk6e +``` + +```output + +``` + +This cmdlet deletes a connect server. diff --git a/src/ZN/examples/Remove-ZNSettingsMaintenanceWindow.md b/src/ZN/examples/Remove-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..dde1f84 --- /dev/null +++ b/src/ZN/examples/Remove-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,10 @@ +### Example 1: Delete a maintenance window +```powershell +Remove-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:pszG5Dda +``` + +```output + +``` + +This cmdlet deletes a maintenance window. diff --git a/src/ZN/examples/Remove-ZNSettingsMfaCache.md b/src/ZN/examples/Remove-ZNSettingsMfaCache.md new file mode 100644 index 0000000..0d20be4 --- /dev/null +++ b/src/ZN/examples/Remove-ZNSettingsMfaCache.md @@ -0,0 +1,10 @@ +### Example 1: Delete a MFA cache policy +```powershell +Remove-ZNSettingsMfaCache -EntityId u:d:2HOfhbpY +``` + +```output + +``` + +This cmdlet deletes a MFA cache policy. diff --git a/src/ZN/examples/Remove-ZNUserExternalAccessPolicy.md b/src/ZN/examples/Remove-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..6f5b04d --- /dev/null +++ b/src/ZN/examples/Remove-ZNUserExternalAccessPolicy.md @@ -0,0 +1,10 @@ +### Example 1: Remove an external access policy +```powershell +Remove-ZNUserExternalAccessPolicy -UserId u:a:jRVryncp -PolicyId p:e:9NfK8zpm +``` + +```output + +``` + +This cmdlet deletes an external access policy. diff --git a/src/ZN/examples/Search-ZNAssetProtected.md b/src/ZN/examples/Search-ZNAssetProtected.md deleted file mode 100644 index 5d2c2a1..0000000 --- a/src/ZN/examples/Search-ZNAssetProtected.md +++ /dev/null @@ -1,10 +0,0 @@ -### Example 1: Find a segmented asset by FQDN -```powershell -Search-ZNAssetProtected -Fqdn dc1.zero.labs -``` - -```output -a:a:ZgBWOMyc -``` - -This cmdlet will search the assets using FQDN to return the assetId. diff --git a/src/ZN/examples/Search-ZNAssetsNetworkSegmented.md b/src/ZN/examples/Search-ZNAssetsNetworkSegmented.md new file mode 100644 index 0000000..0371f56 --- /dev/null +++ b/src/ZN/examples/Search-ZNAssetsNetworkSegmented.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ZN/examples/Search-ZNGroupsExternalId.md b/src/ZN/examples/Search-ZNGroupsExternalId.md new file mode 100644 index 0000000..858bf17 --- /dev/null +++ b/src/ZN/examples/Search-ZNGroupsExternalId.md @@ -0,0 +1,25 @@ +### Example 1: Search for a group +```powershell +Search-ZNGroupsExternalId -ExternalId f177f4ba-6e33-4d11-9e4b-e6b2b94302e9 -GroupType snow +``` + +```output +AddedById : +AddedByName : +ItemAddedAt : +ItemCreatedAt : 1728158885206 +ItemDescription : SNOW Sync +ItemDirectMembersCount : 2 +ItemDomain : ServiceNow +ItemExternalId : f177f4ba-6e33-4d11-9e4b-e6b2b94302e9 +ItemGuid : dffb1198-61ed-4f09-8429-b6d92cbe8511 +ItemHasProtectionPolicy : +ItemId : g:n:821fRRdi +ItemName : Information Sharing +ItemPrincipalName : +ItemRole : 3 +ItemSid : +ItemUpdatedAt : 1728158885206 +``` + +This cmdlet searches for a group by type and external id. diff --git a/src/ZN/examples/Unprotect-ZNAssetIdentity.md b/src/ZN/examples/Unprotect-ZNAssetIdentitySegment.md similarity index 64% rename from src/ZN/examples/Unprotect-ZNAssetIdentity.md rename to src/ZN/examples/Unprotect-ZNAssetIdentitySegment.md index 247946d..389dcf0 100644 --- a/src/ZN/examples/Unprotect-ZNAssetIdentity.md +++ b/src/ZN/examples/Unprotect-ZNAssetIdentitySegment.md @@ -1,7 +1,7 @@ ### Example 1: Remove an asset from identity segmentation ```powershell $asset = Search-ZNAsset -Fqdn dc01.posh.local -Unprotect-ZNAssetIdentity -AssetId $asset +Unprotect-ZNAssetIdentitySegment -AssetId $asset ``` ```output @@ -12,11 +12,11 @@ This cmdlet removes an asset from identity segmentation. ### Example 2: Remove multiple assets from identity segmentation ```powershell -Unprotect-ZNAssetIdentity -Items @("assetid","assetId") +Unprotect-ZNAssetIdentitySegment -Items @("assetid","assetId") ``` ```output ``` -This cmdlet removes multiple assets from identity segmentation. +This cmdlet removes multiple assets from identity segmentation. \ No newline at end of file diff --git a/src/ZN/examples/Remove-ZNAssetRpcSegment.md b/src/ZN/examples/Unprotect-ZNAssetRpcSegment.md similarity index 57% rename from src/ZN/examples/Remove-ZNAssetRpcSegment.md rename to src/ZN/examples/Unprotect-ZNAssetRpcSegment.md index 8bbf82d..91d6742 100644 --- a/src/ZN/examples/Remove-ZNAssetRpcSegment.md +++ b/src/ZN/examples/Unprotect-ZNAssetRpcSegment.md @@ -1,6 +1,6 @@ ### Example 1: Removes assets from RPC Segmentation ```powershell -Remove-ZNAssetRpcSegment -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') +Unprotect-ZNAssetRpcSegment -Items @('a:a:JZgxbNLi','a:d:9w92xWqF') ``` ```output @@ -11,11 +11,11 @@ This cmdlet removes multiple assets from RPC segmentation. ### Example 1: Remove an asset from RPC Segmentation ```powershell -Remove-ZNAssetRpcSegment -AssetId 'a:a:JZgxbNLi' +Unprotect-ZNAssetRpcSegment -AssetId 'a:a:JZgxbNLi' ``` ```output ``` -This cmdlet removes an asset from RPC segmentation. +This cmdlet removes an asset from RPC segmentation. \ No newline at end of file diff --git a/src/ZN/examples/Unprotect-ZNUserIdentity.md b/src/ZN/examples/Unprotect-ZNUserIdentitySegment.md similarity index 73% rename from src/ZN/examples/Unprotect-ZNUserIdentity.md rename to src/ZN/examples/Unprotect-ZNUserIdentitySegment.md index b424545..ddc2fcc 100644 --- a/src/ZN/examples/Unprotect-ZNUserIdentity.md +++ b/src/ZN/examples/Unprotect-ZNUserIdentitySegment.md @@ -1,6 +1,6 @@ ### Example 1: Remove a service account from segmentation ```powershell -Unprotect-ZNUserIdentity -UserIds @("u:a:mACDNWcW") +Unprotect-ZNUserIdentitySegment -UserIds @("u:a:mACDNWcW") ``` ```output diff --git a/src/ZN/examples/Update-ZNAssetExternalAccessPolicy.md b/src/ZN/examples/Update-ZNAssetExternalAccessPolicy.md new file mode 100644 index 0000000..fde5612 --- /dev/null +++ b/src/ZN/examples/Update-ZNAssetExternalAccessPolicy.md @@ -0,0 +1,30 @@ +### Example 1: Update an external access policy +```powershell +Update-ZNAssetExternalAccessPolicy -AssetId a:n:3Odw9d40 -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://ansible.test.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. diff --git a/src/ZN/examples/Update-ZNAssetManager.md b/src/ZN/examples/Update-ZNAssetManager.md new file mode 100644 index 0000000..0371f56 --- /dev/null +++ b/src/ZN/examples/Update-ZNAssetManager.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ZN/examples/Update-ZNAssetOSType.md b/src/ZN/examples/Update-ZNAssetOSType.md new file mode 100644 index 0000000..d7c2b52 --- /dev/null +++ b/src/ZN/examples/Update-ZNAssetOSType.md @@ -0,0 +1,10 @@ +### Example 1: Update OS Type for an asset +```powershell +Update-ZNAssetOSType -AssetIds @("a:l:4NMHdoaO") -OSType 2 +``` + +```output + +``` + +This cmdlet updates the OS Type for an asset. diff --git a/src/ZN/examples/Update-ZNAssetOtAssetManager.md b/src/ZN/examples/Update-ZNAssetOtAssetManager.md new file mode 100644 index 0000000..0371f56 --- /dev/null +++ b/src/ZN/examples/Update-ZNAssetOtAssetManager.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ZN/examples/Update-ZNAssetOutboundRestriction.md b/src/ZN/examples/Update-ZNAssetOutboundRestriction.md new file mode 100644 index 0000000..fd1dbba --- /dev/null +++ b/src/ZN/examples/Update-ZNAssetOutboundRestriction.md @@ -0,0 +1,22 @@ +### Example 1: Update outbound restriction +```powershell +Update-ZNAssetOutboundRestriction -AssetIds @("a:l:wEGYa0Cp") -OutboundRestriction 2 +``` + +```output + +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ZN/examples/Update-ZNAssetPreferredSegmentServer.md b/src/ZN/examples/Update-ZNAssetPreferredSegmentServer.md new file mode 100644 index 0000000..a1c77ae --- /dev/null +++ b/src/ZN/examples/Update-ZNAssetPreferredSegmentServer.md @@ -0,0 +1,10 @@ +### Example 1: Set preferred Segment server +```powershell +Update-ZNAssetPreferredSegmentServer -AssetId "a:l:sQON6Vxx" -PreferredDeploymentId f56dd59d-ab65-45ed-871c-b6c0742db568 +``` + +```output + +``` + +This cmdlet sets the preferred Segment server for an asset. diff --git a/src/ZN/examples/Update-ZNExternalAccessPolicy.md b/src/ZN/examples/Update-ZNExternalAccessPolicy.md new file mode 100644 index 0000000..ab08e5c --- /dev/null +++ b/src/ZN/examples/Update-ZNExternalAccessPolicy.md @@ -0,0 +1,30 @@ +### Example 1: Update an external access policy +```powershell +Update-ZNExternalAccessPolicy -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : a:n:3Odw9d40 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : Ansible Server +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://ansible.test.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. diff --git a/src/ZN/examples/Update-ZNGroupsAssetManager.md b/src/ZN/examples/Update-ZNGroupsAssetManager.md new file mode 100644 index 0000000..0371f56 --- /dev/null +++ b/src/ZN/examples/Update-ZNGroupsAssetManager.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ZN/examples/Update-ZNGroupsExternalAccessPolicy.md b/src/ZN/examples/Update-ZNGroupsExternalAccessPolicy.md new file mode 100644 index 0000000..35d9dba --- /dev/null +++ b/src/ZN/examples/Update-ZNGroupsExternalAccessPolicy.md @@ -0,0 +1,30 @@ +### Example 1: Update an external access policy +```powershell +Update-ZNGroupsExternalAccessPolicy -GroupId "g:t:5V669ce2" -GroupType tag -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {b:111001} +ItemSrcUserInfos : {Any user} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://external.psoh.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. diff --git a/src/ZN/examples/Update-ZNGroupsManagedAsset.md b/src/ZN/examples/Update-ZNGroupsManagedAsset.md new file mode 100644 index 0000000..0371f56 --- /dev/null +++ b/src/ZN/examples/Update-ZNGroupsManagedAsset.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ZN/examples/Update-ZNIdentityOnboardingPolicy.md b/src/ZN/examples/Update-ZNIdentityOnboardingPolicy.md new file mode 100644 index 0000000..0ce792a --- /dev/null +++ b/src/ZN/examples/Update-ZNIdentityOnboardingPolicy.md @@ -0,0 +1,31 @@ +### Example 1: Update Identity onboarding policies +```powershell +Update-ZNIdentityOnboardingPolicy -OnboardingPolicyId "d7915c97-20ea-4639-852d-13cb3d5e228e" -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : 1726166871674 +ItemDescription : +ItemEnabled : True +ItemEnforceBlocks : +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:03669ce2 +ItemId : d7915c97-20ea-4639-852d-13cb3d5e228e +ItemInitialProtectAt : 1731355076896 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 2 +ItemUpdatedAt : 1726169643518 +``` + +This cmdlet updates an identity onboarding policy. diff --git a/src/ZN/examples/Update-ZNNetworkOnboardingPolicy.md b/src/ZN/examples/Update-ZNNetworkOnboardingPolicy.md new file mode 100644 index 0000000..5d5042c --- /dev/null +++ b/src/ZN/examples/Update-ZNNetworkOnboardingPolicy.md @@ -0,0 +1,31 @@ +### Example 1: Update Network onboarding policies +```powershell +Update-ZNNetworkOnboardingPolicy -OnboardingPolicyId "a36d67e7-8497-4a31-a39b-24e73a6b5c78" -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : 1726073476732 +ItemDescription : +ItemEnabled : True +ItemEnforceBlocks : False +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:03669ce2 +ItemId : a36d67e7-8497-4a31-a39b-24e73a6b5c78 +ItemInitialProtectAt : 1731355186489 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 1 +ItemUpdatedAt : 1726169614643 +``` + +This cmdlet updates an Network onboarding policy. diff --git a/src/ZN/examples/Update-ZNProtectionPolicy.md b/src/ZN/examples/Update-ZNProtectionPolicy.md deleted file mode 100644 index d8c7860..0000000 --- a/src/ZN/examples/Update-ZNProtectionPolicy.md +++ /dev/null @@ -1,24 +0,0 @@ -### Example 1: Update a protection policy -```powershell -$pp = Get-ZNProtectionPolicy | where {$_.GroupId -eq "g:t:01276c2c"} -Update-ZNProtectionPolicy -ProtectionPolicyId $pp.Id -MinQueueDays 30 -``` - -```output -CreatedByEnforcementSource : 4 -CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 -CreatedByName : Zero Networks -CreatedByUserRole : 1 -GroupInfoDomain : tag -GroupInfoHasProtectionPolicy : False -GroupInfoId : g:t:01276c2c -GroupInfoName : Domain controllers -ItemCreatedAt : 1665679791212 -ItemGroupId : g:t:01276c2c -ItemId : 8221cd9a-7de5-4915-b8e5-b46d8cc96e49 -ItemInitialProtectAt : 1668272400000 -ItemMinQueueDays : 30 -ItemUpdatedAt : 1665680065342 -``` - -This cmdlet will update a protection policy for the environment. diff --git a/src/ZN/examples/Update-ZNSettingsAdAutomationGroup.md b/src/ZN/examples/Update-ZNSettingsAdAutomationGroup.md deleted file mode 100644 index 99cd942..0000000 --- a/src/ZN/examples/Update-ZNSettingsAdAutomationGroup.md +++ /dev/null @@ -1,12 +0,0 @@ -### Example 1: Update AD groups settings -```powershell -$forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} -$monitorGroup = (Get-ZNSettingsAdMonitoredCandidate -ForestId $forest.ForestId).Items | where {$_.Name -eq "All AD Assets"} -Update-ZNSettingsAdAutomationGroup -ForestId $forest.ForestId -MonitoredGroupId $monitorGroup.Id -``` - -```output - -``` - -This cmdlet updates the monitor or protection automation group controls. \ No newline at end of file diff --git a/src/ZN/examples/Update-ZNSettingsAdLinux.md b/src/ZN/examples/Update-ZNSettingsAdLinux.md new file mode 100644 index 0000000..62c09cc --- /dev/null +++ b/src/ZN/examples/Update-ZNSettingsAdLinux.md @@ -0,0 +1,10 @@ +### Example 1: Update AD Limux Config +```powershell +Update-ZNSettingsAdLinux -DomainId test.local -ForestId f:a:9FSrluRh -AdLinuxConfigAllowInstallPackages -AdLinuxConfigPassword "myNewPassword1234!@#$" -AdLinuxConfigPrivateKey '-----BEGIN RSA PRIVATE KEY-----MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEmo3qGy0t6z09AIJtH+5OeRV1be+N4cDYJKffGzDa88vQENZiRm0GRq6a+HPGQMd2kTQIhAKMSvzIBnni7ot/OSie2TmJLY4SwTQAevXysE2RbFDYdAiEBCUEaRQnMnbp79mxDXDf6AU0cN/RPBjb9qSHDcWZHGzUCIG2Es59z8ugGrDY+pxLQnwfotadxd+Uyv/Ow5T0q5gIJAiEAyS4RaI9YG8EWx/2w0T67ZUVAw8eOMB6BIUg0Xcu+3okCIBOs/5OiPgoTdSy7bcF9IGpSE8ZgGKzgYQVZeN97YE00-----END RSA PRIVATE KEY-----' -AdLinuxConfigUsername "zn-admin" -UseForAllDomains +``` + +```output + +``` + +This cmdlet updates the AD linux config for a domain/forest. \ No newline at end of file diff --git a/src/ZN/examples/Update-ZNSettingsAdLinuxAutomationGroup.md b/src/ZN/examples/Update-ZNSettingsAdLinuxAutomationGroup.md new file mode 100644 index 0000000..178df08 --- /dev/null +++ b/src/ZN/examples/Update-ZNSettingsAdLinuxAutomationGroup.md @@ -0,0 +1,10 @@ +### Example 1: Update the AD Linux Monitor Group +```powershell +Update-ZNSettingsAdLinuxAutomationGroup -ForestId "f:a:9FSrluRh" -MonitoredGroupId b:110003 +``` + +```output + +``` + +This cmdlet updates the AD linux monitoring group. diff --git a/src/ZN/examples/Update-ZNSettingsAdWindowsAutomationGroup.md b/src/ZN/examples/Update-ZNSettingsAdWindowsAutomationGroup.md new file mode 100644 index 0000000..7d778b4 --- /dev/null +++ b/src/ZN/examples/Update-ZNSettingsAdWindowsAutomationGroup.md @@ -0,0 +1,10 @@ +### Example 1: Update AD Automation groups +```powershell +Update-ZNSettingsAdWindowsAutomationGroup -ForestId "f:a:9FSrluRh" -MonitoredGroupId b:110003 -ProtectedGroupId g:a:s2FnXfXk +``` + +```output + +``` + +This cmdlet updates AD automation groups. diff --git a/src/ZN/examples/Update-ZNSettingsMaintenanceWindow.md b/src/ZN/examples/Update-ZNSettingsMaintenanceWindow.md new file mode 100644 index 0000000..cbf0ebc --- /dev/null +++ b/src/ZN/examples/Update-ZNSettingsMaintenanceWindow.md @@ -0,0 +1,20 @@ +### Example 1: Update a maintenance window +```powershell +Update-ZNSettingsMaintenanceWindow -MaintenanceWindowId e:m:eCoheWFb -Weekday 2 -Name Default +``` + +```output +CreatedById : u:a:JnQxZS6j +CreatedByName : nicholas-ad +ItemCreatedAt : 1728092138778 +ItemId : e:m:eCoheWFb +ItemIsDefault : False +ItemName : Default +ItemStartTime : 0 +ItemUpdatedAt : 1728158598574 +ItemWeekday : 2 +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates a maintenance window. diff --git a/src/ZN/examples/Update-ZNUserExternalAccessPolicy.md b/src/ZN/examples/Update-ZNUserExternalAccessPolicy.md new file mode 100644 index 0000000..278b549 --- /dev/null +++ b/src/ZN/examples/Update-ZNUserExternalAccessPolicy.md @@ -0,0 +1,30 @@ +### Example 1: Update an external access policy +```powershell +Update-ZNUserExternalAccessPolicy -UserId "u:a:jRVryncp" -PolicyId p:e:JBy1jmUL -Description "Test" +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 5 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +ItemCreatedAt : 1726598869813 +ItemDescription : Test +ItemDstAssetId : g:t:5V669ce2 +ItemDstAssetInfo : ZeroNetworks.PowerShell.Cmdlets.Api.Models.Asset +ItemDstPortsList : {ZeroNetworks.PowerShell.Cmdlets.Api.Models.PortsListItem} +ItemDstProcessNamesList : {*} +ItemId : p:e:JBy1jmUL +ItemName : External Servers +ItemRuleDuration : 8 +ItemSrcUserIdsList : {u:a:jRVryncp} +ItemSrcUserInfos : {Zero} +ItemState : 1 +ItemUpdatedAt : 1728239252992 +ItemUrl : https://external.psoh.local +UpdatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +UpdatedByName : powershell +``` + +This cmdlet updates an external access policy. diff --git a/src/ZN/examples/Update-ZNUsersManagedAsset.md b/src/ZN/examples/Update-ZNUsersManagedAsset.md new file mode 100644 index 0000000..0371f56 --- /dev/null +++ b/src/ZN/examples/Update-ZNUsersManagedAsset.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/ZN/test/Add-ZNAssetManager.Tests.ps1 b/src/ZN/test/Add-ZNAssetManager.Tests.ps1 index 5e029d0..6c0c93e 100644 --- a/src/ZN/test/Add-ZNAssetManager.Tests.ps1 +++ b/src/ZN/test/Add-ZNAssetManager.Tests.ps1 @@ -15,7 +15,7 @@ Describe 'Add-ZNAssetManager' { It 'AddExpanded' { $asset = (Search-ZNAsset -Fqdn linux0.posh.local).AssetId $user = (get-znuser).Items | select -First 1 - Add-ZNAssetManager -AssetId $asset -ManagerIds @($user.Id) + Add-ZNAssetManager -AssetId $asset -ManagerIds @($user.Id) -Permission 3 $managedAssets = Get-ZNUsersManagedAsset -UserId $user.Id $managedAssets.EntityId | Should -Be $asset Remove-ZNAssetManager -AssetId $asset -GroupOrUserId $user.Id diff --git a/src/ZN/test/Add-ZNAssetOtAssetManager.Tests.ps1 b/src/ZN/test/Add-ZNAssetOtAssetManager.Tests.ps1 index 3350c31..3113c20 100644 --- a/src/ZN/test/Add-ZNAssetOtAssetManager.Tests.ps1 +++ b/src/ZN/test/Add-ZNAssetOtAssetManager.Tests.ps1 @@ -15,7 +15,7 @@ Describe 'Add-ZNAssetOtAssetManager' { It 'AddExpanded' { $asset = (Search-ZNAsset -Fqdn switch01).AssetId $user = (get-znuser).Items | select -First 1 - Add-ZNAssetOtAssetManager -AssetId $asset -ManagerIds @($user.Id) + Add-ZNAssetOtAssetManager -AssetId $asset -ManagerIds @($user.Id) -Permission 3 $managedAssets = Get-ZNUsersManagedAsset -UserId $user.Id $managedAssets.EntityId | Should -Be $asset Remove-ZNAssetOtAssetManager -AssetId $asset -GroupOrUserId $user.Id diff --git a/src/ZN/test/Add-ZNCustomGroupsMember.Tests.ps1 b/src/ZN/test/Add-ZNCustomGroupsMember.Tests.ps1 index 8f15c68..cdbebf1 100644 --- a/src/ZN/test/Add-ZNCustomGroupsMember.Tests.ps1 +++ b/src/ZN/test/Add-ZNCustomGroupsMember.Tests.ps1 @@ -21,7 +21,7 @@ Describe 'Add-ZNCustomGroupsMember' { $member= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId Add-ZNCustomGroupsMember -GroupId $customGroup.Id -MembersId $member $updatedcustomGroup = Get-ZNGroup -Search AddMemberTest - (Get-ZNGroupsMember -GroupId $customGroup.id -GroupType custom -IncludeNestedMembers).Entities[0].id | Should -Be $member + (Get-ZNGroupsMember -GroupId $customGroup.id -GroupType custom -IncludeNestedMembers).Items[0].id | Should -Be $member Remove-ZNCustomGroup -GroupId $customGroup.Id } } diff --git a/src/ZN/test/Add-ZNGroupsAssetManager.Tests.ps1 b/src/ZN/test/Add-ZNGroupsAssetManager.Tests.ps1 index ddb1a05..462316d 100644 --- a/src/ZN/test/Add-ZNGroupsAssetManager.Tests.ps1 +++ b/src/ZN/test/Add-ZNGroupsAssetManager.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Add-ZNGroupsAssetManager' { $manager = (get-znuser).Items | select -First 1 New-ZNCustomGroup -Name "AddGroupsAssetManagerTest" $customGroup = (Get-ZNGroup -Search AddGroupsAssetManagerTest).Items - Add-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -ManagerIds $manager.id + Add-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -ManagerIds $manager.id -Permission 3 $managers = Get-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom $managers.ManagerId | Should -Be $manager.id Remove-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -GroupOrUserId $manager.id diff --git a/src/ZN/test/Add-ZNGroupsManagedAsset.Tests.ps1 b/src/ZN/test/Add-ZNGroupsManagedAsset.Tests.ps1 index 031030b..b28c0db 100644 --- a/src/ZN/test/Add-ZNGroupsManagedAsset.Tests.ps1 +++ b/src/ZN/test/Add-ZNGroupsManagedAsset.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Add-ZNGroupsManagedAsset' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId New-ZNCustomGroup -Name "AddGroupsManagedAssetTest" $customGroup = (Get-ZNGroup -Search AddGroupsManagedAssetTest).Items - Add-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -EntityIds @($asset) + Add-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -EntityIds @($asset) -permission 3 $managedAssets = Get-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom $managedAssets.EntityId | Should -Be $asset Remove-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -GroupOrAssetId $asset diff --git a/src/ZN/test/Add-ZNUsersManagedAsset.Tests.ps1 b/src/ZN/test/Add-ZNUsersManagedAsset.Tests.ps1 index 9c493ea..c42ee54 100644 --- a/src/ZN/test/Add-ZNUsersManagedAsset.Tests.ps1 +++ b/src/ZN/test/Add-ZNUsersManagedAsset.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Add-ZNUsersManagedAsset' { It 'AddExpanded' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId $user = (Get-ZNUser).Items | Select -First 1 - Add-ZNUsersManagedAsset -UserId $user.Id -EntityIds @($asset) + Add-ZNUsersManagedAsset -UserId $user.Id -EntityIds @($asset) -Permission 3 $managedAssets = Get-ZNUsersManagedAsset -UserId $user.Id $managedAssets.EntityId | Should -Be $asset Remove-ZNUsersManagedAsset -UserId $user.Id -GroupOrAssetId $asset diff --git a/src/ZN/test/Approve-ZNAssetInboundRuleReview.Tests.ps1 b/src/ZN/test/Approve-ZNAssetInboundRuleReview.Tests.ps1 index f51385a..d0baaa5 100644 --- a/src/ZN/test/Approve-ZNAssetInboundRuleReview.Tests.ps1 +++ b/src/ZN/test/Approve-ZNAssetInboundRuleReview.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Approve-ZNAssetInboundRuleRev Describe 'Approve-ZNAssetInboundRuleReview' { It 'ApproveExpanded' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - $rule = Get-ZNAssetInboundRule -AssetId $asset | where {$_.State -eq 4} | Select-Object -First 1 + $rule = Get-ZNAssetInboundRule -AssetId $asset -Limit 100 | where {$_.State -eq 4} | Select-Object -First 1 Approve-ZNAssetInboundRuleReview -AssetId $asset -RuleId $rule.id $updatedRule = Get-ZNAssetInboundRule -AssetId $asset | where {$_.Id -eq $rule.id} $updatedRule.State | Should -Be 1 diff --git a/src/ZN/test/Approve-ZNAssetOutboundRuleReview.Tests.ps1 b/src/ZN/test/Approve-ZNAssetOutboundRuleReview.Tests.ps1 index 9197d41..3dd0ea0 100644 --- a/src/ZN/test/Approve-ZNAssetOutboundRuleReview.Tests.ps1 +++ b/src/ZN/test/Approve-ZNAssetOutboundRuleReview.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Approve-ZNAssetOutboundRuleRe Describe 'Approve-ZNAssetOutboundRuleReview' { It 'ApproveExpanded' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - $rule = Get-ZNAssetOutboundRule -AssetId $asset | where {$_.State -eq 4} | Select-Object -First 1 + $rule = Get-ZNAssetOutboundRule -AssetId $asset -Limit 100| where {$_.State -eq 4} | Select-Object -First 1 Approve-ZNAssetOutboundRuleReview -AssetId $asset -RuleId $rule.id $updatedRule = Get-ZNAssetOutboundRule -AssetId $asset | where {$_.Id -eq $rule.id} $updatedRule.State | Should -Be 1 diff --git a/src/ZN/test/Approve-ZNInboundRuleReview.Tests.ps1 b/src/ZN/test/Approve-ZNInboundRuleReview.Tests.ps1 index 069bb96..1be28ca 100644 --- a/src/ZN/test/Approve-ZNInboundRuleReview.Tests.ps1 +++ b/src/ZN/test/Approve-ZNInboundRuleReview.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Approve-ZNInboundRuleReview') Describe 'Approve-ZNInboundRuleReview' { It 'ApproveExpanded' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - $rule = Get-ZNInboundRule | where {$_.State -eq 4} | Select-Object -First 1 + $rule = Get-ZNInboundRule -Limit 100 | where {$_.State -eq 4} | Select-Object -First 1 Approve-ZNInboundRuleReview -RuleId $rule.id $updatedRule = Get-ZNInboundRule | where {$_.Id -eq $rule.id} $updatedRule.State | Should -Be 1 diff --git a/src/ZN/test/Approve-ZNOutboundRuleReview.Tests.ps1 b/src/ZN/test/Approve-ZNOutboundRuleReview.Tests.ps1 index 9f39b8e..5fb2dc5 100644 --- a/src/ZN/test/Approve-ZNOutboundRuleReview.Tests.ps1 +++ b/src/ZN/test/Approve-ZNOutboundRuleReview.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Approve-ZNOutboundRuleReview' Describe 'Approve-ZNOutboundRuleReview' { It 'ApproveExpanded' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - $rule = Get-ZNOutboundRule | where {$_.State -eq 4} | Select-Object -First 1 + $rule = Get-ZNOutboundRule -Limit 100 | where {$_.State -eq 4} | Select-Object -First 1 Approve-ZNOutboundRuleReview -RuleId $rule.id $updatedRule = Get-ZNOutboundRule | where {$_.Id -eq $rule.id} $updatedRule.State | Should -Be 1 diff --git a/src/ZN/test/Deny-ZNAssetInboundRuleReview.Tests.ps1 b/src/ZN/test/Deny-ZNAssetInboundRuleReview.Tests.ps1 index 8e14928..9b4b2b1 100644 --- a/src/ZN/test/Deny-ZNAssetInboundRuleReview.Tests.ps1 +++ b/src/ZN/test/Deny-ZNAssetInboundRuleReview.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Deny-ZNAssetInboundRuleReview Describe 'Deny-ZNAssetInboundRuleReview' { It 'DenyExpanded' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - $rule = Get-ZNAssetInboundRule -AssetId $asset | where {$_.State -eq 4} | Select-Object -First 1 + $rule = Get-ZNAssetInboundRule -AssetId $asset -Limit 100 | where {$_.State -eq 4} | Select-Object -First 1 { Deny-ZNAssetInboundRuleReview -AssetId $asset -RuleId $rule.id -Reason MissingPortOrProcess } | Should -Not -Throw } } diff --git a/src/ZN/test/Deny-ZNAssetOutboundRuleReview.Tests.ps1 b/src/ZN/test/Deny-ZNAssetOutboundRuleReview.Tests.ps1 index 5a51ab2..29f0ac0 100644 --- a/src/ZN/test/Deny-ZNAssetOutboundRuleReview.Tests.ps1 +++ b/src/ZN/test/Deny-ZNAssetOutboundRuleReview.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Deny-ZNAssetOutboundRuleRevie Describe 'Deny-ZNAssetOutboundRuleReview' { It 'DenyExpanded' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - $rule = Get-ZNAssetOutboundRule -AssetId $asset | where {$_.State -eq 4} | Select-Object -First 1 + $rule = Get-ZNAssetOutboundRule -AssetId $asset -Limit 100 | where {$_.State -eq 4} | Select-Object -First 1 { Deny-ZNAssetOutboundRuleReview -AssetId $asset -RuleId $rule.id -Reason MissingPortOrProcess } | Should -Not -Throw } } diff --git a/src/ZN/test/Deny-ZNInboundRuleReview.Tests.ps1 b/src/ZN/test/Deny-ZNInboundRuleReview.Tests.ps1 index cb1d509..270df4b 100644 --- a/src/ZN/test/Deny-ZNInboundRuleReview.Tests.ps1 +++ b/src/ZN/test/Deny-ZNInboundRuleReview.Tests.ps1 @@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Deny-ZNInboundRuleReview')) Describe 'Deny-ZNInboundRuleReview' { It 'DenyExpanded' { - $rule = Get-ZNInboundRule | where {$_.State -eq 4} | Select-Object -First 1 + $rule = Get-ZNInboundRule -Limit 100 | where {$_.State -eq 4} | Select-Object -First 1 { Deny-ZNInboundRuleReview -RuleId $rule.id -Reason MissingPortOrProcess } | Should -Not -Throw } } diff --git a/src/ZN/test/Deny-ZNOutboundRuleReview.Tests.ps1 b/src/ZN/test/Deny-ZNOutboundRuleReview.Tests.ps1 index 2a93032..eaeb081 100644 --- a/src/ZN/test/Deny-ZNOutboundRuleReview.Tests.ps1 +++ b/src/ZN/test/Deny-ZNOutboundRuleReview.Tests.ps1 @@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Deny-ZNOutboundRuleReview')) Describe 'Deny-ZNOutboundRuleReview' { It 'DenyExpanded' { - $rule = Get-ZNOutboundRule | where {$_.State -eq 4} | Select-Object -First 1 + $rule = Get-ZNOutboundRule -Limit 100 | where {$_.State -eq 4} | Select-Object -First 1 { Deny-ZNOutboundRuleReview -RuleId $rule.id -Reason MissingPortOrProcess } | Should -Not -Throw } } diff --git a/src/ZN/test/Enable-ZNAssetQuarantine.Tests.ps1 b/src/ZN/test/Enable-ZNAssetQuarantine.Tests.ps1 new file mode 100644 index 0000000..143a44f --- /dev/null +++ b/src/ZN/test/Enable-ZNAssetQuarantine.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Enable-ZNAssetQuarantine')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Enable-ZNAssetQuarantine.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Enable-ZNAssetQuarantine' { + It 'EnableExpanded' { + $assetId = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + Protect-ZNAssetNetworkSegment -AssetId $assetId + { Enable-ZNAssetQuarantine -AssetId $assetId -Quarantine } | Should -Not -Throw + Enable-ZNAssetQuarantine -AssetId $assetId -Quarantine:$false + Unprotect-ZNAssetNetworkSegment -AssetId $assetId + } + + It 'Enable' { + $assetId = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + Protect-ZNAssetNetworkSegment -AssetId $assetId + { Enable-ZNAssetQuarantine -AssetIds @($assetId) -Quarantine } | Should -Not -Throw + Enable-ZNAssetQuarantine -AssetIds @($assetId) -Quarantine:$false + Unprotect-ZNAssetNetworkSegment -AssetId $assetId + } +} diff --git a/src/ZN/test/Get-ZNProtectionPoliciesGroupCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 similarity index 59% rename from src/ZN/test/Get-ZNProtectionPoliciesGroupCandidate.Tests.ps1 rename to src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 index 3b43513..2a36cac 100644 --- a/src/ZN/test/Get-ZNProtectionPoliciesGroupCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNProtectionPoliciesGroupCandidate')) +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAeExclusionsInbound')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNProtectionPoliciesGroupCandidate.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAeExclusionsInbound.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,8 +14,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNProtectionPoliciesGroup . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-ZNProtectionPoliciesGroupCandidate' { +Describe 'Get-ZNAeExclusionsInbound' { It 'List' { - { (Get-ZNProtectionPoliciesGroupCandidate).items } | Should -Not -be $null + (Get-ZNAeExclusionsInbound).Count | Should -BeGreaterThan 0 } } diff --git a/src/ZN/test/Get-ZNAeExclusionsOutbound.Tests.ps1 b/src/ZN/test/Get-ZNAeExclusionsOutbound.Tests.ps1 new file mode 100644 index 0000000..93ae67c --- /dev/null +++ b/src/ZN/test/Get-ZNAeExclusionsOutbound.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAeExclusionsOutbound')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAeExclusionsOutbound.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAeExclusionsOutbound' { + It 'List' { + (Get-ZNAeExclusionsOutbound).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNAiExclusionNetworkBoth.Tests.ps1 b/src/ZN/test/Get-ZNAiExclusionNetworkBoth.Tests.ps1 index 5522c7b..57b954e 100644 --- a/src/ZN/test/Get-ZNAiExclusionNetworkBoth.Tests.ps1 +++ b/src/ZN/test/Get-ZNAiExclusionNetworkBoth.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAiExclusionNetworkBoth' Describe 'Get-ZNAiExclusionNetworkBoth' { It 'Get' { - Get-ZNAiExclusionNetworkBoth | Should -Not -Be $null + Get-ZNAiExclusionNetworkBoth | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAiExclusionNetworkClient.Tests.ps1 b/src/ZN/test/Get-ZNAiExclusionNetworkClient.Tests.ps1 index 5b6a779..a9a324c 100644 --- a/src/ZN/test/Get-ZNAiExclusionNetworkClient.Tests.ps1 +++ b/src/ZN/test/Get-ZNAiExclusionNetworkClient.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAiExclusionNetworkClien Describe 'Get-ZNAiExclusionNetworkClient' { It 'Get' { - Get-ZNAiExclusionNetworkClient | Should -Not -Be $null + Get-ZNAiExclusionNetworkClient | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAiExclusionNetworkServer.Tests.ps1 b/src/ZN/test/Get-ZNAiExclusionNetworkServer.Tests.ps1 index b64a0ff..6f03df8 100644 --- a/src/ZN/test/Get-ZNAiExclusionNetworkServer.Tests.ps1 +++ b/src/ZN/test/Get-ZNAiExclusionNetworkServer.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAiExclusionNetworkServe Describe 'Get-ZNAiExclusionNetworkServer' { It 'Get' { - Get-ZNAiExclusionNetworkServer | Should -Not -Be $null + Get-ZNAiExclusionNetworkServer | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAiExclusionSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAiExclusionSourceCandidate.Tests.ps1 index 89d3a89..e1460ad 100644 --- a/src/ZN/test/Get-ZNAiExclusionSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAiExclusionSourceCandidate.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAiExclusionSourceCandidate' { It 'Get' { - (Get-ZNAiExclusionSourceCandidate).Items | Should -Not -Be $null + (Get-ZNAiExclusionSourceCandidate).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAiExclusionSourceEntity.Tests.ps1 b/src/ZN/test/Get-ZNAiExclusionSourceEntity.Tests.ps1 index c3f2242..a1df890 100644 --- a/src/ZN/test/Get-ZNAiExclusionSourceEntity.Tests.ps1 +++ b/src/ZN/test/Get-ZNAiExclusionSourceEntity.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAiExclusionSourceEntity' { It 'Get' { - Get-ZNAiExclusionSourceEntity | Should -Not -Be $null + Get-ZNAiExclusionSourceEntity | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAiNextBatch.Tests.ps1 b/src/ZN/test/Get-ZNAiNextBatch.Tests.ps1 index 4fb3fed..282c8a7 100644 --- a/src/ZN/test/Get-ZNAiNextBatch.Tests.ps1 +++ b/src/ZN/test/Get-ZNAiNextBatch.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAiNextBatch')) Describe 'Get-ZNAiNextBatch' { It 'Get' { - { Get-ZNAiNextBatch }| Should -Not -Be $null + { Get-ZNAiNextBatch }| Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetAnalysis.Tests.ps1 b/src/ZN/test/Get-ZNAssetAnalysis.Tests.ps1 index 5583026..c58158a 100644 --- a/src/ZN/test/Get-ZNAssetAnalysis.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetAnalysis.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetAnalysis')) Describe 'Get-ZNAssetAnalysis' { It 'Get' { $asset = (Get-ZNAsset).Items | Select-Object -First 1 - { Get-ZNAssetAnalysis -AssetId $asset.id } | Should -Not -Be $null + { Get-ZNAssetAnalysis -AssetId $asset.id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetClusterInfo.Tests.ps1 b/src/ZN/test/Get-ZNAssetClusterInfo.Tests.ps1 index cb5d334..b330ec4 100644 --- a/src/ZN/test/Get-ZNAssetClusterInfo.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetClusterInfo.Tests.ps1 @@ -16,7 +16,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetClusterInfo')) Describe 'Get-ZNAssetClusterInfo' { It 'Get' { - $clusterInfo = Get-ZNAssetClusterInfo -AssetId a:a:P0GVm1iZ - $clusterInfo.ClusterInfoClusterName | Should -Not -Be $null + $asset = (Search-ZNAsset -Fqdn fs01.posh.local).AssetId + $clusterInfo = Get-ZNAssetClusterInfo -AssetId $asset + $clusterInfo.ClusterInfoClusterName | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Get-ZNAssetExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..610520d --- /dev/null +++ b/src/ZN/test/Get-ZNAssetExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetExternalAccessPolicy' { + It 'List' { + $assetId = (Search-ZNAsset -Fqdn as01.posh.local).AssetId + (Get-ZNAssetExternalAccessPolicy -AssetId $assetId).Count | Should -BeGreaterThan 0 + } + + It 'Get' { + $assetId = (Search-ZNAsset -Fqdn as01.posh.local).AssetId + $policy = (Get-ZNAssetExternalAccessPolicy -AssetId $assetId).Items | Select-Object -First 1 + $policy = Get-ZNAssetExternalAccessPolicy -AssetId $assetId -PolicyId $policy.Id + $policy.ItemId | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 new file mode 100644 index 0000000..da856ec --- /dev/null +++ b/src/ZN/test/Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate' { + It 'List' { + $assetId = (Search-ZNAsset -Fqdn as01.posh.local).AssetId + (Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate -AssetId $assetId).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNAssetExternalAccessPolicySourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetExternalAccessPolicySourceUserCandidate.Tests.ps1 new file mode 100644 index 0000000..a7e2382 --- /dev/null +++ b/src/ZN/test/Get-ZNAssetExternalAccessPolicySourceUserCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetExternalAccessPolicySourceUserCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetExternalAccessPolicySourceUserCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetExternalAccessPolicySourceUserCandidate' { + It 'List' { + $assetId = (Search-ZNAsset -Fqdn as01.posh.local).AssetId + (Get-ZNAssetExternalAccessPolicySourceUserCandidate -AssetId $assetId).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNAssetExternalAccessPolicyStatistics.Tests.ps1 b/src/ZN/test/Get-ZNAssetExternalAccessPolicyStatistics.Tests.ps1 new file mode 100644 index 0000000..50ebe3f --- /dev/null +++ b/src/ZN/test/Get-ZNAssetExternalAccessPolicyStatistics.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetExternalAccessPolicyStatistics')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetExternalAccessPolicyStatistics.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetExternalAccessPolicyStatistics' { + It 'Get' { + $assetId = (Search-ZNAsset -Fqdn as01.posh.local).AssetId + (Get-ZNAssetExternalAccessPolicyStatistics -AssetId $assetId).PolicyStatisticsTotalCount | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNAssetHealthState.Tests.ps1 b/src/ZN/test/Get-ZNAssetHealthState.Tests.ps1 index f1673b5..49ae477 100644 --- a/src/ZN/test/Get-ZNAssetHealthState.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetHealthState.Tests.ps1 @@ -18,6 +18,6 @@ Describe 'Get-ZNAssetHealthState' { It 'Get' { $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId $health = Get-ZNAssetHealthState -AssetId $asset - $health.HealthStateHealthStatus | Should -Not -Be $null + $health.HealthStateHealthStatus | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetIdentityRule.Tests.ps1 b/src/ZN/test/Get-ZNAssetIdentityRule.Tests.ps1 index f4ab2fe..1afa220 100644 --- a/src/ZN/test/Get-ZNAssetIdentityRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetIdentityRule.Tests.ps1 @@ -25,6 +25,6 @@ Describe 'Get-ZNAssetIdentityRule' { $rules = Get-ZNAssetIdentityRule -Asset $asset -AddBuiltins $ruleId = $rules.Items[0].id $rule = Get-ZNAssetIdentityRule -Asset $asset -RuleId $ruleId - $rule.ItemAssetId | Should -Not -Be $null + $rule.ItemAssetId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetIdentityRulesAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetIdentityRulesAssetsCandidate.Tests.ps1 index e4bb856..d0c2f7e 100644 --- a/src/ZN/test/Get-ZNAssetIdentityRulesAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetIdentityRulesAssetsCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetIdentityRulesAsset Describe 'Get-ZNAssetIdentityRulesAssetsCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { Get-ZNAssetIdentityRulesAssetsCandidate -AssetId $asset } | Should -Not -Be $null + { Get-ZNAssetIdentityRulesAssetsCandidate -AssetId $asset } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.Tests.ps1 index 8b6e68c..de152ed 100644 --- a/src/ZN/test/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetIdentityRulesExcludedAssetsCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetIdentityRulesExclu Describe 'Get-ZNAssetIdentityRulesExcludedAssetsCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId $asset } | Should -Not -Be $null + { Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId $asset } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetIdentityRulesUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetIdentityRulesUserCandidate.Tests.ps1 index 9964130..0de068c 100644 --- a/src/ZN/test/Get-ZNAssetIdentityRulesUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetIdentityRulesUserCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetIdentityRulesUserC Describe 'Get-ZNAssetIdentityRulesUserCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { Get-ZNAssetIdentityRulesUserCandidate -AssetId $asset } | Should -Not -Be $null + { Get-ZNAssetIdentityRulesUserCandidate -AssetId $asset } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetInboundRule.Tests.ps1 b/src/ZN/test/Get-ZNAssetInboundRule.Tests.ps1 index b34cd75..cad305a 100644 --- a/src/ZN/test/Get-ZNAssetInboundRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetInboundRule.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'Get-ZNAssetInboundRule' { $source = (Get-ZNAssetInboundRulesSourceCandidate -AssetId $asset -RuleType 1 -search "any asset").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNAssetInboundRule -AssetId $asset -LocalEntityId $asset -Action 1 -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - { Get-ZNAssetInboundRule -AssetId $asset } | Should -Not -Be $null - Remove-ZNAssetInboundRule -AssetId $asset -RuleId $rule.Item.Id + { Get-ZNAssetInboundRule -AssetId $asset } | Should -Not -BeNullOrEmpty + Remove-ZNAssetInboundRule -AssetId $asset -RuleId $rule.ItemId } It 'Get' { @@ -34,7 +34,7 @@ Describe 'Get-ZNAssetInboundRule' { $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNAssetInboundRule -AssetId $asset -LocalEntityId $asset -Action 1 -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt $rule = Get-ZNAssetInboundRule -AssetId $asset | Select-Object -First 1 - { (Get-ZNAssetInboundRule -AssetId $asset -RuleId $rule.Id).ItemId } | Should -Not -Be $null + { (Get-ZNAssetInboundRule -AssetId $asset -RuleId $rule.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNAssetInboundRule -AssetId $asset -RuleId $rule.Id } } diff --git a/src/ZN/test/Get-ZNAssetInboundRulesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetInboundRulesDestinationCandidate.Tests.ps1 index 1a0a75e..26e5ece 100644 --- a/src/ZN/test/Get-ZNAssetInboundRulesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetInboundRulesDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetInboundRulesDestin Describe 'Get-ZNAssetInboundRulesDestinationCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - { (Get-ZNAssetInboundRulesDestinationCandidate -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetInboundRulesDestinationCandidate -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetInboundRulesExcludedDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetInboundRulesExcludedDestinationCandidate.Tests.ps1 index 26f82ff..7fe5d4f 100644 --- a/src/ZN/test/Get-ZNAssetInboundRulesExcludedDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetInboundRulesExcludedDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetInboundRulesExclud Describe 'Get-ZNAssetInboundRulesExcludedDestinationCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - { (Get-ZNAssetInboundRulesExcludedDestinationCandidate -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetInboundRulesExcludedDestinationCandidate -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetInboundRulesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetInboundRulesSourceCandidate.Tests.ps1 index 13aa24d..ce7a6c0 100644 --- a/src/ZN/test/Get-ZNAssetInboundRulesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetInboundRulesSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetInboundRulesSource Describe 'Get-ZNAssetInboundRulesSourceCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - { (Get-ZNAssetInboundRulesSourceCandidate -AssetId $asset -RuleType 1).Items } | Should -Not -Be $null + { (Get-ZNAssetInboundRulesSourceCandidate -AssetId $asset -RuleType 1).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetListeningPort.Tests.ps1 b/src/ZN/test/Get-ZNAssetListeningPort.Tests.ps1 index 07e4008..be583a7 100644 --- a/src/ZN/test/Get-ZNAssetListeningPort.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetListeningPort.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetListeningPort' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - Get-ZNAssetListeningPort -AssetId $asset | Should -Not -Be $null + Get-ZNAssetListeningPort -AssetId $asset | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetManager.Tests.ps1 b/src/ZN/test/Get-ZNAssetManager.Tests.ps1 index ca6b797..13b6af2 100644 --- a/src/ZN/test/Get-ZNAssetManager.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetManager.Tests.ps1 @@ -15,8 +15,8 @@ Describe 'Get-ZNAssetManager' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId $user = (Get-ZNUser).Items | Select -First 1 - Add-ZNAssetManager -AssetId $asset -ManagerIds @($user.Id) - (Get-ZNAssetManager -AssetId $asset).Count | Should -Not -Be $null + Add-ZNAssetManager -AssetId $asset -ManagerIds @($user.Id) -Permission 3 + (Get-ZNAssetManager -AssetId $asset).Count | Should -Not -BeNullOrEmpty Remove-ZNAssetManager -AssetId $asset -GroupOrUserId $user.Id } } diff --git a/src/ZN/test/Get-ZNAssetManagersCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetManagersCandidate.Tests.ps1 index 64c963b..cbeff27 100644 --- a/src/ZN/test/Get-ZNAssetManagersCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetManagersCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetManagersCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - (Get-ZNAssetManagersCandidate -AssetId $asset).Count | Should -Not -Be $null + (Get-ZNAssetManagersCandidate -AssetId $asset).Count | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMemberOf.Tests.ps1 b/src/ZN/test/Get-ZNAssetMemberOf.Tests.ps1 index e3f67e8..6627b4b 100644 --- a/src/ZN/test/Get-ZNAssetMemberOf.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMemberOf.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetMemberOf')) Describe 'Get-ZNAssetMemberOf' { It 'Get' { $asset = (Get-ZNAsset).Items | Select-Object -First 1 - { Get-ZNAssetMemberOf -AssetId $asset.id } | Should -Not -Be $null + { Get-ZNAssetMemberOf -AssetId $asset.id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMemberOfGroupCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMemberOfGroupCandidate.Tests.ps1 new file mode 100644 index 0000000..4919601 --- /dev/null +++ b/src/ZN/test/Get-ZNAssetMemberOfGroupCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetMemberOfGroupCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetMemberOfGroupCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetMemberOfGroupCandidate' { + It 'Get' { + $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId + (Get-ZNAssetMemberOfGroupCandidate -AssetId $asset).Count | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.Tests.ps1 index 88dd5bc..63c63bb 100644 --- a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetMfaIdentityPolicie Describe 'Get-ZNAssetMfaIdentityPoliciesDestinationCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { (Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 index 1d65bac..a52a918 100644 --- a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetMfaIdentityPolicie Describe 'Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { (Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesMfamethod.Tests.ps1 index d3ed66c..47020a7 100644 --- a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesMfamethod.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetMfaIdentityPolicie Describe 'Get-ZNAssetMfaIdentityPoliciesMfamethod' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId $asset } | Should -Not -Be $null + { Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId $asset } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.Tests.ps1 index 7209e25..dc463dc 100644 --- a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetMfaIdentityPolicie Describe 'Get-ZNAssetMfaIdentityPoliciesSourceCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { (Get-ZNAssetMfaIdentityPoliciesSourceCandidate -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetMfaIdentityPoliciesSourceCandidate -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 index 301c636..18bef09 100644 --- a/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetMfaIdentityPolicie Describe 'Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { (Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaIdentityPolicy.Tests.ps1 index fa37934..56fee75 100644 --- a/src/ZN/test/Get-ZNAssetMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaIdentityPolicy.Tests.ps1 @@ -17,12 +17,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetMfaIdentityPolicy' Describe 'Get-ZNAssetMfaIdentityPolicy' { It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { (Get-ZNAssetMfaIdentityPolicy -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetMfaIdentityPolicy -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } It 'Get' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId $policy = (Get-ZNAssetMfaIdentityPolicy -AssetId $asset).Items | select -First 1 - { Get-ZNAssetMfaIdentityPolicy -AssetId $asset -ReactivePolicyId $policy.itemId } | Should -Not -Be $null + { Get-ZNAssetMfaIdentityPolicy -AssetId $asset -ReactivePolicyId $policy.itemId } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.Tests.ps1 index 6d31938..a29cc8b 100644 --- a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesDestinationCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaInboundPoliciesDestinationCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - (get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId $asset).Items | Should -Not -Be $null + (get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId $asset).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 index 5e97021..65a6bfb 100644 --- a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - (get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId $asset).Items | Should -Not -Be $null + (get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId $asset).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesMfamethod.Tests.ps1 index 00b1a1b..b58e9a8 100644 --- a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesMfamethod.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaInboundPoliciesMfamethod' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId $asset | Should -Not -Be $null + Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId $asset | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesSourceCandidate.Tests.ps1 index 88d6662..1560d6f 100644 --- a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesSourceCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaInboundPoliciesSourceCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - (get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId $asset).Items | Should -Not -Be $null + (get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId $asset).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.Tests.ps1 index 669af74..120a4b7 100644 --- a/src/ZN/test/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaInboundPoliciesSourceUserCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaInboundPoliciesSourceUserCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - (get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId $asset).Items | Should -Not -Be $null + (get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId $asset).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaInboundPolicy.Tests.ps1 index 2c0ddf5..e2a8b0a 100644 --- a/src/ZN/test/Get-ZNAssetMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaInboundPolicy.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'Get-ZNAssetMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - { (Get-ZNAssetMfaInboundPolicy -AssetId $asset).Items } | Should -Not -Be $null + $policy = New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + { (Get-ZNAssetMfaInboundPolicy -AssetId $asset).Items } | Should -Not -BeNullOrEmpty Remove-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId $policy.Itemid } @@ -37,9 +37,9 @@ Describe 'Get-ZNAssetMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $policy = Get-ZNAssetMfaInboundPolicy -AssetId $asset | Select-Object -First 1 - { (Get-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId $policy.Id).ItemId } | Should -Not -Be $null + { (Get-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId $policy.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId $policy.id } } diff --git a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.Tests.ps1 index 20e5119..84b9d80 100644 --- a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesDestinationCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaOutboundPoliciesDestinationCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId - (get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId $asset).Items | Should -Not -Be $null + (get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId $asset).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 index e18cd44..5f864e8 100644 --- a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId - (get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId $asset).Items | Should -Not -Be $null + (get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId $asset).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesMfamethod.Tests.ps1 index d0681ae..5522d70 100644 --- a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesMfamethod.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaOutboundPoliciesMfamethod' { It 'List' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId - Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId $asset | Should -Not -Be $null + Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId $asset | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.Tests.ps1 index 54de758..b32ab24 100644 --- a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesSourceCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaOutboundPoliciesSourceCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId - (get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId $asset).Items | Should -Not -Be $null + (get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId $asset).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 index ab5aa6d..e766c88 100644 --- a/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId - (get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId $asset).Items | Should -Not -Be $null + (get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId $asset).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Get-ZNAssetMfaOutboundPolicy.Tests.ps1 index a53caa3..62be29a 100644 --- a/src/ZN/test/Get-ZNAssetMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetMfaOutboundPolicy.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'Get-ZNAssetMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - { Get-ZNAssetMfaOutboundPolicy -AssetId $asset } | Should -Not -Be $null + $policy = New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + { Get-ZNAssetMfaOutboundPolicy -AssetId $asset } | Should -Not -BeNullOrEmpty Remove-ZNAssetMfaOutboundPolicy -AssetId $asset -ReactivePolicyId $policy.ItemId } @@ -38,9 +38,9 @@ Describe 'Get-ZNAssetMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $policy = Get-ZNAssetMfaOutboundPolicy -AssetId $asset| Select-Object -First 1 - { (Get-ZNAssetMfaOutboundPolicy -AssetId $asset -ReactivePolicyId $policy.Id).ItemId } | Should -Not -Be $null + { (Get-ZNAssetMfaOutboundPolicy -AssetId $asset -ReactivePolicyId $policy.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNAssetMfaOutboundPolicy -AssetId $asset -ReactivePolicyId $policy.Id } } diff --git a/src/ZN/test/Get-ZNAssetOt.Tests.ps1 b/src/ZN/test/Get-ZNAssetOt.Tests.ps1 index 6d3d936..1cae0fc 100644 --- a/src/ZN/test/Get-ZNAssetOt.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOt.Tests.ps1 @@ -15,6 +15,6 @@ Describe 'Get-ZNAssetOt' { It 'Get' { $Asset= (Search-ZNAsset -Fqdn switch01).AssetId $asset = Get-ZNAssetOt -AssetId $Asset - $asset.EntityId | Should -Not -Be $null + $asset.EntityId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetOtAssetManager.Tests.ps1 b/src/ZN/test/Get-ZNAssetOtAssetManager.Tests.ps1 index d137e0b..8c8742a 100644 --- a/src/ZN/test/Get-ZNAssetOtAssetManager.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOtAssetManager.Tests.ps1 @@ -15,8 +15,8 @@ Describe 'Get-ZNAssetOtAssetManager' { It 'List' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId $user = (Get-ZNUser).Items | Select -First 1 - Add-ZNAssetOtAssetManager -AssetId $asset -ManagerIds @($user.Id) - (Get-ZNAssetOtAssetManager -AssetId $asset).Count | Should -Not -Be $null + Add-ZNAssetOtAssetManager -AssetId $asset -ManagerIds @($user.Id) -Permission 3 + (Get-ZNAssetOtAssetManager -AssetId $asset).Count | Should -Not -BeNullOrEmpty Remove-ZNAssetOtAssetManager -AssetId $asset -GroupOrUserId $user.Id } } diff --git a/src/ZN/test/Get-ZNAssetOtAssetManagersCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetOtAssetManagersCandidate.Tests.ps1 index 8c56ef4..14dc69b 100644 --- a/src/ZN/test/Get-ZNAssetOtAssetManagersCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOtAssetManagersCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetOtAssetManagersCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId - (Get-ZNAssetOtAssetManagersCandidate -AssetId $asset).Count | Should -Not -Be $null + (Get-ZNAssetOtAssetManagersCandidate -AssetId $asset).Count | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetOtMemberOf.Tests.ps1 b/src/ZN/test/Get-ZNAssetOtMemberOf.Tests.ps1 index b50b7ab..c616274 100644 --- a/src/ZN/test/Get-ZNAssetOtMemberOf.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOtMemberOf.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetOtMemberOf' { It 'Get' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId - { Get-ZNAssetOtMemberOf -AssetId $asset.id } | Should -Not -Be $null + { Get-ZNAssetOtMemberOf -AssetId $asset.id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetOtMemberOfGroupCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetOtMemberOfGroupCandidate.Tests.ps1 new file mode 100644 index 0000000..da3d7e1 --- /dev/null +++ b/src/ZN/test/Get-ZNAssetOtMemberOfGroupCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetOtMemberOfGroupCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetOtMemberOfGroupCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetOtMemberOfGroupCandidate' { + It 'Get' { + $asset= (Search-ZNAsset -Fqdn switch01).AssetId + (Get-ZNAssetOtMemberOfGroupCandidate -AssetId $asset).Count | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNAssetOtTag.Tests.ps1 b/src/ZN/test/Get-ZNAssetOtTag.Tests.ps1 index 34e9a58..0f3cb30 100644 --- a/src/ZN/test/Get-ZNAssetOtTag.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOtTag.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNAssetOtTag' { It 'Get' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId - { Get-ZNAssetOtTag -AssetId $asset.id } | Should -Not -Be $null + { Get-ZNAssetOtTag -AssetId $asset.id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetOutboundRule.Tests.ps1 b/src/ZN/test/Get-ZNAssetOutboundRule.Tests.ps1 index c9c5e87..2d3a58c 100644 --- a/src/ZN/test/Get-ZNAssetOutboundRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOutboundRule.Tests.ps1 @@ -17,12 +17,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetOutboundRule')) Describe 'Get-ZNAssetOutboundRule' { It 'Get' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { Get-ZNAssetOutboundRule -AssetId $asset -AddBuiltins } | Should -Not -Be $null + { Get-ZNAssetOutboundRule -AssetId $asset -AddBuiltins } | Should -Not -BeNullOrEmpty } It 'List' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId $rule = Get-ZNAssetOutboundRule -AssetId $asset -AddBuiltins | Select -first 1 - { Get-ZNAssetOutboundRule -AssetId $asset -RuleId $rule.id } | Should -Not -Be $null + { Get-ZNAssetOutboundRule -AssetId $asset -RuleId $rule.id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetOutboundRulesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetOutboundRulesDestinationCandidate.Tests.ps1 index 0038bfc..c4ed4c8 100644 --- a/src/ZN/test/Get-ZNAssetOutboundRulesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOutboundRulesDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetOutboundRulesDesti Describe 'Get-ZNAssetOutboundRulesDestinationCandidate' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - { (Get-ZNAssetOutboundRulesDestinationCandidate -AssetId $asset -RuleType 3).Items } | Should -Not -Be $null + { (Get-ZNAssetOutboundRulesDestinationCandidate -AssetId $asset -RuleType 3).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetOutboundRulesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetOutboundRulesExcludedSourceCandidate.Tests.ps1 index 2d7a64a..fd17f47 100644 --- a/src/ZN/test/Get-ZNAssetOutboundRulesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOutboundRulesExcludedSourceCandidate.Tests.ps1 @@ -15,8 +15,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetOutboundRulesExclu } Describe 'Get-ZNAssetOutboundRulesExcludedSourceCandidate' { - It 'List' { + It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - { (Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetOutboundRulesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetOutboundRulesSourceCandidate.Tests.ps1 index 5d0ae67..dec8f69 100644 --- a/src/ZN/test/Get-ZNAssetOutboundRulesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetOutboundRulesSourceCandidate.Tests.ps1 @@ -15,8 +15,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetOutboundRulesSourc } Describe 'Get-ZNAssetOutboundRulesSourceCandidate' { - It 'List' { + It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - { (Get-ZNAssetOutboundRulesSourceCandidate -AssetId $asset).Items } | Should -Not -Be $null + { (Get-ZNAssetOutboundRulesSourceCandidate -AssetId $asset).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetOutboundRulesUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNAssetOutboundRulesUserCandidate.Tests.ps1 new file mode 100644 index 0000000..f21d042 --- /dev/null +++ b/src/ZN/test/Get-ZNAssetOutboundRulesUserCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetOutboundRulesUserCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetOutboundRulesUserCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetOutboundRulesUserCandidate' { + It 'List' { + $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId + { Get-ZNAssetOutboundRulesUserCandidate -AssetId $asset } | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNAssetPreferredSegmentServer.Tests.ps1 b/src/ZN/test/Get-ZNAssetPreferredSegmentServer.Tests.ps1 new file mode 100644 index 0000000..ca64aa9 --- /dev/null +++ b/src/ZN/test/Get-ZNAssetPreferredSegmentServer.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetPreferredSegmentServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetPreferredSegmentServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetPreferredSegmentServer' { + It 'GetExpanded' { + $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId + (Get-ZNAssetPreferredSegmentServer -AssetId $asset).preferredDeployment | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNAssetRpcRule.Tests.ps1 b/src/ZN/test/Get-ZNAssetRpcRule.Tests.ps1 index 6ea7e29..d73ec72 100644 --- a/src/ZN/test/Get-ZNAssetRpcRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetRpcRule.Tests.ps1 @@ -24,6 +24,6 @@ Describe 'Get-ZNAssetRpcRule' { $asset = (Search-ZNAsset -fqdn dc01.posh.local).AssetId $rules = (Get-ZNAssetRpcRule -AssetId $asset -AddBuiltins).Items $rule = Get-ZNAssetRpcRule -AssetId $asset -RuleId $rules[0].Id - $rule.ItemId | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetRulesDistribution.Tests.ps1 b/src/ZN/test/Get-ZNAssetRulesDistribution.Tests.ps1 index 1a08225..c6cabb2 100644 --- a/src/ZN/test/Get-ZNAssetRulesDistribution.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetRulesDistribution.Tests.ps1 @@ -15,6 +15,6 @@ Describe 'Get-ZNAssetRulesDistribution' { It 'Get' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId $rule = Get-ZNAssetInboundRule -AssetId $asset | select -First 1 - { Get-ZNAssetRulesDistribution -AssetId $asset -RuleId $rule.Id -RuleDirection $rule.Direction } | Should -Not -be $null + { Get-ZNAssetRulesDistribution -AssetId $asset -RuleId $rule.Id -RuleDirection $rule.Direction } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetTag.Tests.ps1 b/src/ZN/test/Get-ZNAssetTag.Tests.ps1 index 4352bf1..c283839 100644 --- a/src/ZN/test/Get-ZNAssetTag.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetTag.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetTag')) Describe 'Get-ZNAssetTag' { It 'Get' { $asset = (Get-ZNAsset).Items | Select-Object -First 1 - { Get-ZNAssetTag -AssetId $asset.id } | Should -Not -Be $null + { Get-ZNAssetTag -AssetId $asset.id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetsIdentityQueued.Tests.ps1 b/src/ZN/test/Get-ZNAssetsIdentityQueued.Tests.ps1 new file mode 100644 index 0000000..1c7edac --- /dev/null +++ b/src/ZN/test/Get-ZNAssetsIdentityQueued.Tests.ps1 @@ -0,0 +1,26 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsIdentityQueued')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetsIdentityQueued.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetsIdentityQueued' { + It 'List' { + $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId + $assetProps = (Get-ZNAsset -AssetId $asset).Entity + if($assetProps.StateIdentityProtectionState -ne 5){ + Invoke-ZNAssetIdentityQueue -AssetId $asset -QueueDays -1 + } + (Get-ZNAssetsIdentityQueued).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNAssetsIdentitySegmented.Tests.ps1 b/src/ZN/test/Get-ZNAssetsIdentitySegmented.Tests.ps1 index 07cc7ed..1fbd2c2 100644 --- a/src/ZN/test/Get-ZNAssetsIdentitySegmented.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetsIdentitySegmented.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsIdentitySegmented Describe 'Get-ZNAssetsIdentitySegmented' { It 'List' { - { (Get-ZNAssetsIdentitySegmented).Items } | Should -Not -Be $null + { (Get-ZNAssetsIdentitySegmented).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetsMonitored.Tests.ps1 b/src/ZN/test/Get-ZNAssetsMonitored.Tests.ps1 index f308e10..8d719e2 100644 --- a/src/ZN/test/Get-ZNAssetsMonitored.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetsMonitored.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsMonitored')) Describe 'Get-ZNAssetsMonitored' { It 'List' { - { (Get-ZNAssetsMonitored).Items} | Should -Not -Be $null + { (Get-ZNAssetsMonitored).Items} | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetsNetworkSegmented.Tests.ps1 b/src/ZN/test/Get-ZNAssetsNetworkSegmented.Tests.ps1 new file mode 100644 index 0000000..9187d57 --- /dev/null +++ b/src/ZN/test/Get-ZNAssetsNetworkSegmented.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsNetworkSegmented')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetsNetworkSegmented.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetsNetworkSegmented' { + It 'List' { + (Get-ZNAssetsNetworkSegmented).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNAssetsOt.Tests.ps1 b/src/ZN/test/Get-ZNAssetsOt.Tests.ps1 index e2a5a3d..c418c2c 100644 --- a/src/ZN/test/Get-ZNAssetsOt.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetsOt.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsOt')) Describe 'Get-ZNAssetsOt' { It 'List' { - { (Get-ZNAssetsOt).Items } | Should -Not -Be $null + { (Get-ZNAssetsOt).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetsProtected.Tests.ps1 b/src/ZN/test/Get-ZNAssetsProtected.Tests.ps1 index 2f41e6c..d07cd25 100644 --- a/src/ZN/test/Get-ZNAssetsProtected.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetsProtected.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsProtected')) Describe 'Get-ZNAssetsProtected' { It 'List' { - { (Get-ZNAssetsProtected).Items } | Should -Not -Be $null + { (Get-ZNAssetsProtected).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetsRpcQueued.Tests.ps1 b/src/ZN/test/Get-ZNAssetsRpcQueued.Tests.ps1 new file mode 100644 index 0000000..aff1624 --- /dev/null +++ b/src/ZN/test/Get-ZNAssetsRpcQueued.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsRpcQueued')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetsRpcQueued.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNAssetsRpcQueued' { + It 'List' { + (Get-ZNAssetsRpcQueued).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNAssetsStatesStatistics.Tests.ps1 b/src/ZN/test/Get-ZNAssetsStatesStatistics.Tests.ps1 index 441cf94..7b4a0bb 100644 --- a/src/ZN/test/Get-ZNAssetsStatesStatistics.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetsStatesStatistics.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsStatesStatistics' Describe 'Get-ZNAssetsStatesStatistics' { It 'Get' { - { Get-ZNAssetsStatesStatistics } | Should -Not -Be $null + { Get-ZNAssetsStatesStatistics } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAssetsStatistics.Tests.ps1 b/src/ZN/test/Get-ZNAssetsStatistics.Tests.ps1 index f961329..38211fa 100644 --- a/src/ZN/test/Get-ZNAssetsStatistics.Tests.ps1 +++ b/src/ZN/test/Get-ZNAssetsStatistics.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsStatistics')) Describe 'Get-ZNAssetsStatistics' { It 'Get' { - { Get-ZNAssetsStatistics } | Should -Not -Be $null + { Get-ZNAssetsStatistics } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNAudit.Tests.ps1 b/src/ZN/test/Get-ZNAudit.Tests.ps1 index fcf8698..04ece20 100644 --- a/src/ZN/test/Get-ZNAudit.Tests.ps1 +++ b/src/ZN/test/Get-ZNAudit.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAudit')) Describe 'Get-ZNAudit' { It 'List' { - { (Get-ZNAudit).Items } | Should -Not -Be $null + { (Get-ZNAudit).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNCustomGroupsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNCustomGroupsCandidate.Tests.ps1 index a5820fb..8ffc8ff 100644 --- a/src/ZN/test/Get-ZNCustomGroupsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNCustomGroupsCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNCustomGroupsCandidate') Describe 'Get-ZNCustomGroupsCandidate' { It 'List' { - Get-ZNCustomGroupsCandidate | Should -Not -Be $null + Get-ZNCustomGroupsCandidate | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Get-ZNExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..f056be7 --- /dev/null +++ b/src/ZN/test/Get-ZNExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,27 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNExternalAccessPolicy' { + It 'List' { + (Get-ZNExternalAccessPolicy).Count | Should -BeGreaterThan 0 + } + + It 'Get' { + $policy = (Get-ZNExternalAccessPolicy).Items | Select-Object -First 1 + $policy = Get-ZNExternalAccessPolicy -PolicyId $policy.Id + $policy.ItemId | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 new file mode 100644 index 0000000..e98935a --- /dev/null +++ b/src/ZN/test/Get-ZNExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNExternalAccessPolicyDestinationAssetsCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNExternalAccessPolicyDestinationAssetsCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNExternalAccessPolicyDestinationAssetsCandidate' { + It 'List' { + (Get-ZNExternalAccessPolicyDestinationAssetsCandidate).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNExternalAccessPolicySourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNExternalAccessPolicySourceUserCandidate.Tests.ps1 new file mode 100644 index 0000000..41f2cd0 --- /dev/null +++ b/src/ZN/test/Get-ZNExternalAccessPolicySourceUserCandidate.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNExternalAccessPolicySourceUserCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNExternalAccessPolicySourceUserCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNExternalAccessPolicySourceUserCandidate' { + It 'List' { + (Get-ZNExternalAccessPolicySourceUserCandidate).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNExternalAccessPolicyStatistics.Tests.ps1 b/src/ZN/test/Get-ZNExternalAccessPolicyStatistics.Tests.ps1 new file mode 100644 index 0000000..18caf92 --- /dev/null +++ b/src/ZN/test/Get-ZNExternalAccessPolicyStatistics.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNExternalAccessPolicyStatistics')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNExternalAccessPolicyStatistics.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNExternalAccessPolicyStatistics' { + It 'Get' { + (Get-ZNExternalAccessPolicyStatistics).PolicyStatisticsTotalCount | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNGroupAudit.Tests.ps1 b/src/ZN/test/Get-ZNGroupAudit.Tests.ps1 index fe45104..688e8da 100644 --- a/src/ZN/test/Get-ZNGroupAudit.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupAudit.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupAudit')) Describe 'Get-ZNGroupAudit' { It 'Get' { $group = Get-ZNGroup | Select-Object -First 1 - { Get-ZNGroupAudit -GroupId $group.id } | Should -Not -Be $null + { Get-ZNGroupAudit -GroupId $group.id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupMemberOf.Tests.ps1 b/src/ZN/test/Get-ZNGroupMemberOf.Tests.ps1 index 79125e2..dcf7389 100644 --- a/src/ZN/test/Get-ZNGroupMemberOf.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupMemberOf.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupMemberOf')) Describe 'Get-ZNGroupMemberOf' { It 'Get' { $group = Get-ZNGroup -Search "Domain Admins" | Select-Object -first 1 - { Get-ZNGroupMemberOf -GroupId $group.id } | Should -Not -Be $null + { Get-ZNGroupMemberOf -GroupId $group.id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupMemberOfGroupCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupMemberOfGroupCandidate.Tests.ps1 new file mode 100644 index 0000000..401d4a2 --- /dev/null +++ b/src/ZN/test/Get-ZNGroupMemberOfGroupCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupMemberOfGroupCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNGroupMemberOfGroupCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNGroupMemberOfGroupCandidate' { + It 'Get' { + $group = (Get-ZNGroup -Search "Domain Admins" | Select-Object -first 1).Items[0] + (Get-ZNGroupMemberOfGroupCandidate -GroupId $group.id -GroupType ad).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNGroupsAssetManager.Tests.ps1 b/src/ZN/test/Get-ZNGroupsAssetManager.Tests.ps1 index 59203ed..e89963a 100644 --- a/src/ZN/test/Get-ZNGroupsAssetManager.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsAssetManager.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Get-ZNGroupsAssetManager' { $manager = (Get-ZNUser).Items | Select -First 1 New-ZNCustomGroup -Name "GetGroupsAssetManagerTest" $customGroup = (Get-ZNGroup -Search GetGroupsAssetManagerTest).Items - Add-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -ManagerIds $manager.id + Add-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -ManagerIds $manager.id -Permission 3 $managers = Get-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom $managers.ManagerId | Should -Be $manager.id Remove-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -GroupOrUserId $manager.id diff --git a/src/ZN/test/Get-ZNGroupsAssetManagersCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsAssetManagersCandidate.Tests.ps1 index cc3e3ed..dc9d951 100644 --- a/src/ZN/test/Get-ZNGroupsAssetManagersCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsAssetManagersCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsAssetManagersCand Describe 'Get-ZNGroupsAssetManagersCandidate' { It 'List' { $group = (Get-ZNGroup -Search clients).Items | where {$_.Id -like "g:s:*"} - (Get-ZNGroupsAssetManagersCandidate -GroupId $group.id -GroupType system).Items | Should -Not -Be $null + (Get-ZNGroupsAssetManagersCandidate -GroupId $group.id -GroupType system).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Get-ZNGroupsExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..ac8c32f --- /dev/null +++ b/src/ZN/test/Get-ZNGroupsExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNGroupsExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNGroupsExternalAccessPolicy' { + It 'List' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + (Get-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag).Count | Should -BeGreaterThan 0 + } + + It 'Get' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + $policy = (Get-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag).Items | Select-Object -First 1 + $policy = Get-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag -PolicyId $policy.Id + $policy.ItemId | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 new file mode 100644 index 0000000..3d34d46 --- /dev/null +++ b/src/ZN/test/Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate' { + It 'List' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + (Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate -GroupId $groupId -GroupType tag).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.Tests.ps1 new file mode 100644 index 0000000..63ea2e0 --- /dev/null +++ b/src/ZN/test/Get-ZNGroupsExternalAccessPolicySourceUserCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsExternalAccessPolicySourceUserCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNGroupsExternalAccessPolicySourceUserCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNGroupsExternalAccessPolicySourceUserCandidate' { + It 'List' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + (Get-ZNGroupsExternalAccessPolicySourceUserCandidate -GroupId $groupId -GroupType tag).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNGroupsExternalAccessPolicyStatistics.Tests.ps1 b/src/ZN/test/Get-ZNGroupsExternalAccessPolicyStatistics.Tests.ps1 new file mode 100644 index 0000000..8c7c595 --- /dev/null +++ b/src/ZN/test/Get-ZNGroupsExternalAccessPolicyStatistics.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsExternalAccessPolicyStatistics')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNGroupsExternalAccessPolicyStatistics.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNGroupsExternalAccessPolicyStatistics' { + It 'Get' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + (Get-ZNGroupsExternalAccessPolicyStatistics -GroupId $groupId -GroupType tag).PolicyStatisticsTotalCount | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNGroupsIdentityRulesAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsIdentityRulesAssetsCandidate.Tests.ps1 index 2bc1db1..d0cb60a 100644 --- a/src/ZN/test/Get-ZNGroupsIdentityRulesAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsIdentityRulesAssetsCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsIdentityRulesAsse Describe 'Get-ZNGroupsIdentityRulesAssetsCandidate' { It 'List' { $group = Get-ZNGroup -Search "domain controllers" | where {$_.Id -like "g:t:*"} - { Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId $group.Id -GroupType tag } | Should -Not -Be $null + { Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId $group.Id -GroupType tag } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.Tests.ps1 index 3461627..e45e79f 100644 --- a/src/ZN/test/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsIdentityRulesExcludedAssetsCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsIdentityRulesExcl Describe 'Get-ZNGroupsIdentityRulesExcludedAssetsCandidate' { It 'List' { $group = Get-ZNGroup -Search "domain controllers" | where {$_.Id -like "g:t:*"} - { Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -GroupId $group.Id -GroupType tag } | Should -Not -Be $null + { Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -GroupId $group.Id -GroupType tag } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsIdentityRulesUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsIdentityRulesUserCandidate.Tests.ps1 index 2f12f86..c819069 100644 --- a/src/ZN/test/Get-ZNGroupsIdentityRulesUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsIdentityRulesUserCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsIdentityRulesUser Describe 'Get-ZNGroupsIdentityRulesUserCandidate' { It 'List' { $group = Get-ZNGroup -Search "domain controllers" | where {$_.Id -like "g:t:*"} - { Get-ZNGroupsIdentityRulesUserCandidate -GroupId $group.Id -GroupType tag } | Should -Not -Be $null + { Get-ZNGroupsIdentityRulesUserCandidate -GroupId $group.Id -GroupType tag } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsInboundRule.Tests.ps1 b/src/ZN/test/Get-ZNGroupsInboundRule.Tests.ps1 index a0c4295..0c3cf77 100644 --- a/src/ZN/test/Get-ZNGroupsInboundRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsInboundRule.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'Get-ZNGroupsInboundRule' { $source = (Get-ZNGroupsInboundRulesSourceCandidate -GroupId $group.id -GroupType tag -RuleType 1 -search "any asset").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - { Get-ZNGroupsInboundRule -GroupId $group.id -GroupType tag } | Should -Not -Be $null - Remove-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Item.Id + { Get-ZNGroupsInboundRule -GroupId $group.id -GroupType tag } | Should -Not -BeNullOrEmpty + Remove-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.ItemId } It 'Get' { @@ -34,7 +34,7 @@ Describe 'Get-ZNGroupsInboundRule' { $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt $rule = Get-ZNGroupsInboundRule -GroupId $group.id -GroupType tag | Select-Object -First 1 - { (Get-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Id).ItemId } | Should -Not -Be $null + { (Get-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Id } } diff --git a/src/ZN/test/Get-ZNGroupsInboundRulesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsInboundRulesDestinationCandidate.Tests.ps1 index e737cba..1625920 100644 --- a/src/ZN/test/Get-ZNGroupsInboundRulesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsInboundRulesDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsInboundRulesDesti Describe 'Get-ZNGroupsInboundRulesDestinationCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsInboundRulesDestinationCandidate -GroupId $group.Id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsInboundRulesDestinationCandidate -GroupId $group.Id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.Tests.ps1 index 8d76f8c..f70856e 100644 --- a/src/ZN/test/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsInboundRulesExcludedDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsInboundRulesExclu Describe 'Get-ZNGroupsInboundRulesExcludedDestinationCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsInboundRulesExcludedDestinationCandidate -GroupId $group.Id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsInboundRulesExcludedDestinationCandidate -GroupId $group.Id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsInboundRulesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsInboundRulesSourceCandidate.Tests.ps1 index fde2108..bff514b 100644 --- a/src/ZN/test/Get-ZNGroupsInboundRulesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsInboundRulesSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsInboundRulesSourc Describe 'Get-ZNGroupsInboundRulesSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsInboundRulesSourceCandidate -GroupId $group.Id -GroupType tag -RuleType 1).Items } | Should -Not -Be $null + { (Get-ZNGroupsInboundRulesSourceCandidate -GroupId $group.Id -GroupType tag -RuleType 1).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsManagedAsset.Tests.ps1 b/src/ZN/test/Get-ZNGroupsManagedAsset.Tests.ps1 index cb13fda..e40ce13 100644 --- a/src/ZN/test/Get-ZNGroupsManagedAsset.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsManagedAsset.Tests.ps1 @@ -16,7 +16,7 @@ Describe 'Get-ZNGroupsManagedAsset' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId New-ZNCustomGroup -Name "GetGroupsManagedAssetTest" $customGroup = (Get-ZNGroup -Search GetGroupsManagedAssetTest).Items - Add-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -EntityIds @($asset) + Add-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -EntityIds @($asset) -permission 3 $managedAssets = Get-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom $managedAssets.EntityId | Should -Be $asset Remove-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -GroupOrAssetId $asset diff --git a/src/ZN/test/Get-ZNGroupsManagedAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsManagedAssetsCandidate.Tests.ps1 index 8c37916..d7bf28b 100644 --- a/src/ZN/test/Get-ZNGroupsManagedAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsManagedAssetsCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsManagedAssetsCandidate' { It 'List' { $group = (Get-ZNGroup -Search clients).Items | select -first 1 - (Get-ZNGroupsManagedAssetsCandidate -GroupId $group.id -GroupType system).Items | Should -Not -Be $null + (Get-ZNGroupsManagedAssetsCandidate -GroupId $group.id -GroupType system).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMember.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMember.Tests.ps1 index 91223b8..e9487eb 100644 --- a/src/ZN/test/Get-ZNGroupsMember.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMember.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsMember')) Describe 'Get-ZNGroupsMember' { It 'List' { $group = (Get-ZNGroup -Search "Administrators").Items | Select-Object -first 1 - { (Get-ZNGroupsMember -GroupId $group.id -IncludeNestedMembers:$false).Entities } | Should -Not -Be $null + { (Get-ZNGroupsMember -GroupId $group.id -IncludeNestedMembers:$false).Entities } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.Tests.ps1 index 6eb75d4..a702368 100644 --- a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsMfaIdentityPolici Describe 'Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -GroupId $group.id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -GroupId $group.id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 index 32a55dc..bf406f0 100644 --- a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsMfaIdentityPolici Describe 'Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate -GroupId $group.id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate -GroupId $group.id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesMfamethod.Tests.ps1 index a3ccd90..fb078af 100644 --- a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesMfamethod.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsMfaIdentityPolici Describe 'Get-ZNGroupsMfaIdentityPoliciesMfamethod' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { Get-ZNGroupsMfaIdentityPoliciesMfamethod -GroupId $group.id -GroupType tag } | Should -Not -Be $null + { Get-ZNGroupsMfaIdentityPoliciesMfamethod -GroupId $group.id -GroupType tag } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.Tests.ps1 index 7e98331..02b816f 100644 --- a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsMfaIdentityPolici Describe 'Get-ZNGroupsMfaIdentityPoliciesSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsMfaIdentityPoliciesSourceCandidate -GroupId $group.id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsMfaIdentityPoliciesSourceCandidate -GroupId $group.id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 index 3b222cd..d9c081a 100644 --- a/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsMfaIdentityPolici Describe 'Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate -GroupId $group.id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate -GroupId $group.id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaIdentityPolicy.Tests.ps1 index b37cc22..d502214 100644 --- a/src/ZN/test/Get-ZNGroupsMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaIdentityPolicy.Tests.ps1 @@ -17,12 +17,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsMfaIdentityPolicy Describe 'Get-ZNGroupsMfaIdentityPolicy' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsMfaIdentityPolicy -GroupId $group.id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsMfaIdentityPolicy -GroupId $group.id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } It 'Get' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} $policy = (Get-ZNGroupsMfaIdentityPolicy -GroupId $group.id -GroupType tag).Items | Select -First 1 - { (Get-ZNGroupsMfaIdentityPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.ItemId).ItemId } | Should -Not -Be $null + { (Get-ZNGroupsMfaIdentityPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.ItemId).ItemId } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.Tests.ps1 index 01b3a03..64a0d74 100644 --- a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesDestinationCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaInboundPoliciesDestinationCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - (Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -Be $null + (Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 index 24728ca..6866c35 100644 --- a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - (Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -Be $null + (Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesMfamethod.Tests.ps1 index 94cd2db..fff7eea 100644 --- a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesMfamethod.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaInboundPoliciesMfamethod' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - Get-ZNGroupsMfaInboundPoliciesMfamethod -GroupId $group.id -GroupType tag | Should -Not -Be $null + Get-ZNGroupsMfaInboundPoliciesMfamethod -GroupId $group.id -GroupType tag | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.Tests.ps1 index f32c62e..3737be3 100644 --- a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesSourceCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaInboundPoliciesSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - (Get-ZNGroupsMfaInboundPoliciesSourceCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -Be $null + (Get-ZNGroupsMfaInboundPoliciesSourceCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.Tests.ps1 index 455e400..55bd56d 100644 --- a/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - (Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -Be $null + (Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaInboundPolicy.Tests.ps1 index 782c1a0..f163d91 100644 --- a/src/ZN/test/Get-ZNGroupsMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaInboundPolicy.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'Get-ZNGroupsMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - { Get-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag } | Should -Not -Be $null + $policy = New-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + { Get-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag } | Should -Not -BeNullOrEmpty Remove-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.Itemid } @@ -37,9 +37,9 @@ Describe 'Get-ZNGroupsMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $policy = Get-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag | Select-Object -First 1 - { (Get-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.Id).ItemId } | Should -Not -Be $null + { (Get-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.id } } diff --git a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.Tests.ps1 index 3add875..3c96fc3 100644 --- a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - (Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -Be $null + (Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 index 8a2f03a..54923e7 100644 --- a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - (Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -Be $null + (Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesMfamethod.Tests.ps1 index 6ae9efe..53b17db 100644 --- a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesMfamethod.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaOutboundPoliciesMfamethod' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - Get-ZNGroupsMfaOutboundPoliciesMfamethod -GroupId $group.id -GroupType tag | Should -Not -Be $null + Get-ZNGroupsMfaOutboundPoliciesMfamethod -GroupId $group.id -GroupType tag | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.Tests.ps1 index 938dfcc..52f368a 100644 --- a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesSourceCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaOutboundPoliciesSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - (Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -Be $null + (Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 index 8715008..679d9a9 100644 --- a/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 @@ -14,6 +14,6 @@ while(-not $mockingPath) { Describe 'Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - (Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -Be $null + (Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -GroupId $group.id -GroupType tag).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Get-ZNGroupsMfaOutboundPolicy.Tests.ps1 index d95d594..8a57ce6 100644 --- a/src/ZN/test/Get-ZNGroupsMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsMfaOutboundPolicy.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'Get-ZNGroupsMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - { Get-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag } | Should -Not -Be $null + $policy = New-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + { Get-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag } | Should -Not -BeNullOrEmpty Remove-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.ItemId } @@ -38,9 +38,9 @@ Describe 'Get-ZNGroupsMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $policy = Get-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag| Select-Object -First 1 - { (Get-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.Id).ItemId } | Should -Not -Be $null + { (Get-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.Id } } diff --git a/src/ZN/test/Get-ZNGroupsOutboundRule.Tests.ps1 b/src/ZN/test/Get-ZNGroupsOutboundRule.Tests.ps1 index b27ab3e..f8a7200 100644 --- a/src/ZN/test/Get-ZNGroupsOutboundRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsOutboundRule.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'Get-ZNGroupsOutboundRule' { $destination = (Get-ZNGroupsOutboundRulesDestinationCandidate -GroupId $group.id -GroupType tag -RuleType 3 -search "any asset").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt - { (Get-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag).Items } | Should -Not -Be $null - Remove-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Item.Id + { (Get-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag).Items } | Should -Not -BeNullOrEmpty + Remove-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.ItemId } It 'Get' { @@ -34,7 +34,7 @@ Describe 'Get-ZNGroupsOutboundRule' { $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt $rule = Get-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag | Select-Object -First 1 - { (Get-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Id).ItemId } | Should -Not -Be $null + { (Get-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Id } } diff --git a/src/ZN/test/Get-ZNGroupsOutboundRulesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsOutboundRulesDestinationCandidate.Tests.ps1 index 5383aec..770c713 100644 --- a/src/ZN/test/Get-ZNGroupsOutboundRulesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsOutboundRulesDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsOutboundRulesDest Describe 'Get-ZNGroupsOutboundRulesDestinationCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsOutboundRulesDestinationCandidate -GroupId $group.Id -GroupType tag -RuleType 3).Items } | Should -Not -Be $null + { (Get-ZNGroupsOutboundRulesDestinationCandidate -GroupId $group.Id -GroupType tag -RuleType 3).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.Tests.ps1 index 664e1ee..ab4ca29 100644 --- a/src/ZN/test/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsOutboundRulesExcludedSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsOutboundRulesExcl Describe 'Get-ZNGroupsOutboundRulesExcludedSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsOutboundRulesExcludedSourceCandidate -GroupId $group.Id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsOutboundRulesExcludedSourceCandidate -GroupId $group.Id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsOutboundRulesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsOutboundRulesSourceCandidate.Tests.ps1 index 6b6458e..a60b745 100644 --- a/src/ZN/test/Get-ZNGroupsOutboundRulesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsOutboundRulesSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsOutboundRulesSour Describe 'Get-ZNGroupsOutboundRulesSourceCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNGroupsOutboundRulesSourceCandidate -GroupId $group.Id -GroupType tag).Items } | Should -Not -Be $null + { (Get-ZNGroupsOutboundRulesSourceCandidate -GroupId $group.Id -GroupType tag).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsOutboundRulesUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNGroupsOutboundRulesUserCandidate.Tests.ps1 new file mode 100644 index 0000000..e2a7e49 --- /dev/null +++ b/src/ZN/test/Get-ZNGroupsOutboundRulesUserCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsOutboundRulesUserCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNGroupsOutboundRulesUserCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNGroupsOutboundRulesUserCandidate' { + It 'List' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + (Get-ZNGroupsOutboundRulesUserCandidate -GroupId $groupId -GroupType tag).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNGroupsRpcRule.Tests.ps1 b/src/ZN/test/Get-ZNGroupsRpcRule.Tests.ps1 index e9d4a04..c43d3fe 100644 --- a/src/ZN/test/Get-ZNGroupsRpcRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsRpcRule.Tests.ps1 @@ -24,6 +24,6 @@ Describe 'Get-ZNGroupsRpcRule' { $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $rules = (Get-ZNGroupsRpcRule -GroupId $group.id -GroupType Tag -AddBuiltins).Items $rule = Get-ZNGroupsRpcRule -GroupId $group.id -GroupType Tag -RuleId $rules[0].Id - $rule.ItemId | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsRulesDistribution.Tests.ps1 b/src/ZN/test/Get-ZNGroupsRulesDistribution.Tests.ps1 index 32b6cbe..c649ba5 100644 --- a/src/ZN/test/Get-ZNGroupsRulesDistribution.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsRulesDistribution.Tests.ps1 @@ -15,6 +15,6 @@ Describe 'Get-ZNGroupsRulesDistribution' { It 'Get' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} $rule = Get-ZNGroupsInboundRule -GroupId $group.id -GroupType tag | select -First 1 - { Get-ZNGroupsRulesDistribution -GroupId $group.id -GroupType tag -RuleId $rule.Id -RuleDirection $rule.Direction } | Should -Not -be $null + { Get-ZNGroupsRulesDistribution -GroupId $group.id -GroupType tag -RuleId $rule.Id -RuleDirection $rule.Direction } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNGroupsStatistics.Tests.ps1 b/src/ZN/test/Get-ZNGroupsStatistics.Tests.ps1 index 74b3730..f20a84c 100644 --- a/src/ZN/test/Get-ZNGroupsStatistics.Tests.ps1 +++ b/src/ZN/test/Get-ZNGroupsStatistics.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNGroupsStatistics')) Describe 'Get-ZNGroupsStatistics' { It 'Get' { - { Get-ZNGroupsStatistics } | Should -Not -Be $null + { Get-ZNGroupsStatistics } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNIdentityOnboardingPoliciesGroupCandidate.Tests.ps1 b/src/ZN/test/Get-ZNIdentityOnboardingPoliciesGroupCandidate.Tests.ps1 new file mode 100644 index 0000000..c40bc6e --- /dev/null +++ b/src/ZN/test/Get-ZNIdentityOnboardingPoliciesGroupCandidate.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNIdentityOnboardingPoliciesGroupCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNIdentityOnboardingPoliciesGroupCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNIdentityOnboardingPoliciesGroupCandidate' { + It 'List' { + (Get-ZNIdentityOnboardingPoliciesGroupCandidate).Items.Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNIdentityOnboardingPolicy.Tests.ps1 b/src/ZN/test/Get-ZNIdentityOnboardingPolicy.Tests.ps1 new file mode 100644 index 0000000..27c028b --- /dev/null +++ b/src/ZN/test/Get-ZNIdentityOnboardingPolicy.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNIdentityOnboardingPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNIdentityOnboardingPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNIdentityOnboardingPolicy' { + It 'List' { + (Get-ZNIdentityOnboardingPolicy).count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNIdentityRulesAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNIdentityRulesAssetsCandidate.Tests.ps1 index 0f00d62..5052d17 100644 --- a/src/ZN/test/Get-ZNIdentityRulesAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNIdentityRulesAssetsCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNIdentityRulesAssetsCand Describe 'Get-ZNIdentityRulesAssetsCandidate' { It 'List' { - { Get-ZNIdentityRulesAssetsCandidate } | Should -Not -Be $null + { Get-ZNIdentityRulesAssetsCandidate } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNIdentityRulesExcludedAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNIdentityRulesExcludedAssetsCandidate.Tests.ps1 index a525c03..e57f472 100644 --- a/src/ZN/test/Get-ZNIdentityRulesExcludedAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNIdentityRulesExcludedAssetsCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNIdentityRulesExcludedAs Describe 'Get-ZNIdentityRulesExcludedAssetsCandidate' { It 'List' { - { Get-ZNIdentityRulesExcludedAssetsCandidate } | Should -Not -Be $null + { Get-ZNIdentityRulesExcludedAssetsCandidate } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNIdentityRulesUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNIdentityRulesUserCandidate.Tests.ps1 index 1a49e0f..e0a66f5 100644 --- a/src/ZN/test/Get-ZNIdentityRulesUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNIdentityRulesUserCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNIdentityRulesUserCandid Describe 'Get-ZNIdentityRulesUserCandidate' { It 'List' { - { Get-ZNIdentityRulesUserCandidate } | Should -Not -Be $null + { Get-ZNIdentityRulesUserCandidate } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNInboundRule.Tests.ps1 b/src/ZN/test/Get-ZNInboundRule.Tests.ps1 index 88a06b3..0d8b4ba 100644 --- a/src/ZN/test/Get-ZNInboundRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNInboundRule.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'Get-ZNInboundRule' { $destination = (Get-ZNInboundRulesDestinationCandidate -Search "all segmented assets").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNInboundRule -LocalEntityId $destination.Id -Action 1 -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - { (Get-ZNInboundRule).Items } | Should -Not -Be $null - Remove-ZNInboundRule -RuleId $rule.Item.Id + { (Get-ZNInboundRule).Items } | Should -Not -BeNullOrEmpty + Remove-ZNInboundRule -RuleId $rule.ItemId } It 'Get' { @@ -34,7 +34,7 @@ Describe 'Get-ZNInboundRule' { $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNInboundRule -LocalEntityId $destination.Id -Action 1 -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt $rule = Get-ZNInboundRule | Select-Object -First 1 - { (Get-ZNInboundRule -RuleId $rule.Id).Id } | Should -Not -Be $null + { (Get-ZNInboundRule -RuleId $rule.Id).Id } | Should -Not -BeNullOrEmpty Remove-ZNInboundRule -RuleId $rule.Id } } diff --git a/src/ZN/test/Get-ZNInboundRulesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNInboundRulesDestinationCandidate.Tests.ps1 index 9ac43ca..d20b527 100644 --- a/src/ZN/test/Get-ZNInboundRulesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNInboundRulesDestinationCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNInboundRulesDestination Describe 'Get-ZNInboundRulesDestinationCandidate' { It 'List' { - { (Get-ZNInboundRulesDestinationCandidate).Items } | Should -Not -Be $null + { (Get-ZNInboundRulesDestinationCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNInboundRulesExcludedDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNInboundRulesExcludedDestinationCandidate.Tests.ps1 index bc5bc7f..41a4a70 100644 --- a/src/ZN/test/Get-ZNInboundRulesExcludedDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNInboundRulesExcludedDestinationCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNInboundRulesExcludedDes Describe 'Get-ZNInboundRulesExcludedDestinationCandidate' { It 'List' { - { (Get-ZNInboundRulesExcludedDestinationCandidate).Items } | Should -Not -Be $null + { (Get-ZNInboundRulesExcludedDestinationCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNInboundRulesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNInboundRulesSourceCandidate.Tests.ps1 index 09575bc..918e648 100644 --- a/src/ZN/test/Get-ZNInboundRulesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNInboundRulesSourceCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNInboundRulesSourceCandi Describe 'Get-ZNInboundRulesSourceCandidate' { It 'List' { - { (Get-ZNInboundRulesSourceCandidate -RuleType 1).Items } | Should -Not -Be $null + { (Get-ZNInboundRulesSourceCandidate -RuleType 1).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaIdentityPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaIdentityPoliciesDestinationCandidate.Tests.ps1 index 48ef9a9..b487a03 100644 --- a/src/ZN/test/Get-ZNMfaIdentityPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaIdentityPoliciesDestinationCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaIdentityPoliciesDest Describe 'Get-ZNMfaIdentityPoliciesDestinationCandidate' { It 'List' { - { (Get-ZNMfaIdentityPoliciesDestinationCandidate).ITems } | Should -Not -Be $null + { (Get-ZNMfaIdentityPoliciesDestinationCandidate).ITems } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 index 8b93eba..f653d39 100644 --- a/src/ZN/test/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaIdentityPoliciesExcl Describe 'Get-ZNMfaIdentityPoliciesExcludedSourceCandidate' { It 'List' { - { (Get-ZNMfaIdentityPoliciesExcludedSourceCandidate).ITems } | Should -Not -Be $null + { (Get-ZNMfaIdentityPoliciesExcludedSourceCandidate).ITems } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaIdentityPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNMfaIdentityPoliciesMfamethod.Tests.ps1 index 6a52b9e..d9fd5f1 100644 --- a/src/ZN/test/Get-ZNMfaIdentityPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaIdentityPoliciesMfamethod.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaIdentityPoliciesMfam Describe 'Get-ZNMfaIdentityPoliciesMfamethod' { It 'List' { - { Get-ZNMfaIdentityPoliciesMfamethod } | Should -Not -Be $null + { Get-ZNMfaIdentityPoliciesMfamethod } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaIdentityPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaIdentityPoliciesSourceCandidate.Tests.ps1 index b951528..b98eaf3 100644 --- a/src/ZN/test/Get-ZNMfaIdentityPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaIdentityPoliciesSourceCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaIdentityPoliciesSour Describe 'Get-ZNMfaIdentityPoliciesSourceCandidate' { It 'List' { - { (Get-ZNMfaIdentityPoliciesSourceCandidate).ITems } | Should -Not -Be $null + { (Get-ZNMfaIdentityPoliciesSourceCandidate).ITems } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 index 57c6443..ab9a12c 100644 --- a/src/ZN/test/Get-ZNMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaIdentityPoliciesSour Describe 'Get-ZNMfaIdentityPoliciesSourceUserCandidate' { It 'List' { - { (Get-ZNMfaIdentityPoliciesSourceUserCandidate).ITems } | Should -Not -Be $null + { (Get-ZNMfaIdentityPoliciesSourceUserCandidate).ITems } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Get-ZNMfaIdentityPolicy.Tests.ps1 index 52efc89..5bc98ef 100644 --- a/src/ZN/test/Get-ZNMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaIdentityPolicy.Tests.ps1 @@ -16,11 +16,11 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaIdentityPolicy')) Describe 'Get-ZNMfaIdentityPolicy' { It 'List' { - { (Get-ZNMfaIdentityPolicy).Items } | Should -Not -Be $null + { (Get-ZNMfaIdentityPolicy).Items } | Should -Not -BeNullOrEmpty } It 'Get' { $policy = (Get-ZNMfaIdentityPolicy).Items | select -first 1 - { (Get-ZNMfaIdentityPolicy -ReactivePolicyId $policy.ItemId).ItemId } | Should -Not -Be $null + { (Get-ZNMfaIdentityPolicy -ReactivePolicyId $policy.ItemId).ItemId } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaInboundPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaInboundPoliciesDestinationCandidate.Tests.ps1 index 0a50cd6..2eed4a1 100644 --- a/src/ZN/test/Get-ZNMfaInboundPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaInboundPoliciesDestinationCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaInboundPoliciesDesti Describe 'Get-ZNMfaInboundPoliciesDestinationCandidate' { It 'List' { - { (Get-ZNMfaInboundPoliciesDestinationCandidate).Items } | Should -Not -Be $null + { (Get-ZNMfaInboundPoliciesDestinationCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 index eaefcec..d5baa25 100644 --- a/src/ZN/test/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaInboundPoliciesExcludedSourceCandidate.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNMfaInboundPoliciesExcludedSourceCandidate' { It 'List' { - { (Get-ZNMfaInboundPoliciesExcludedSourceCandidate).Items } | Should -Not -Be $null + { (Get-ZNMfaInboundPoliciesExcludedSourceCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaInboundPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNMfaInboundPoliciesMfamethod.Tests.ps1 index c02709c..5378755 100644 --- a/src/ZN/test/Get-ZNMfaInboundPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaInboundPoliciesMfamethod.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaInboundPoliciesMfame Describe 'Get-ZNMfaInboundPoliciesMfamethod' { It 'List' { - { Get-ZNMfaInboundPoliciesMfamethod } | Should -Not -Be $null + { Get-ZNMfaInboundPoliciesMfamethod } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaInboundPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaInboundPoliciesSourceCandidate.Tests.ps1 index b1e0a8b..f98c4ed 100644 --- a/src/ZN/test/Get-ZNMfaInboundPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaInboundPoliciesSourceCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaInboundPoliciesSourc Describe 'Get-ZNMfaInboundPoliciesSourceCandidate' { It 'List' { - (Get-ZNMfaInboundPoliciesSourceCandidate).Items | Should -Not -Be $Null + (Get-ZNMfaInboundPoliciesSourceCandidate).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaInboundPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaInboundPoliciesSourceUserCandidate.Tests.ps1 index e49c5b0..6c21f05 100644 --- a/src/ZN/test/Get-ZNMfaInboundPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaInboundPoliciesSourceUserCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaInboundPoliciesSourc Describe 'Get-ZNMfaInboundPoliciesSourceUserCandidate' { It 'List' { - { (Get-ZNMfaInboundPoliciesSourceUserCandidate).Items } | Should -Not -Be $null + { (Get-ZNMfaInboundPoliciesSourceUserCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Get-ZNMfaInboundPolicy.Tests.ps1 index 28367c2..658714a 100644 --- a/src/ZN/test/Get-ZNMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaInboundPolicy.Tests.ps1 @@ -25,8 +25,8 @@ Describe 'Get-ZNMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - { (Get-ZNMfaInboundPolicy).Items } | Should -Not -Be $null + $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + { (Get-ZNMfaInboundPolicy).Items } | Should -Not -BeNullOrEmpty Remove-ZNMfaInboundPolicy -ReactivePolicyId $policy.Itemid } @@ -40,9 +40,9 @@ Describe 'Get-ZNMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $policy = Get-ZNMfaInboundPolicy | Select-Object -First 1 - { (Get-ZNMfaInboundPolicy -ReactivePolicyId $policy.Id).ItemId } | Should -Not -Be $null + { (Get-ZNMfaInboundPolicy -ReactivePolicyId $policy.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNMfaInboundPolicy -ReactivePolicyId $policy.id } } diff --git a/src/ZN/test/Get-ZNMfaOutboundPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaOutboundPoliciesDestinationCandidate.Tests.ps1 index f00cdb3..c6be2b9 100644 --- a/src/ZN/test/Get-ZNMfaOutboundPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaOutboundPoliciesDestinationCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaOutboundPoliciesDest Describe 'Get-ZNMfaOutboundPoliciesDestinationCandidate' { It 'List' { - { (Get-ZNMfaOutboundPoliciesDestinationCandidate).Items } | Should -Not -Be $null + { (Get-ZNMfaOutboundPoliciesDestinationCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 index 2f00afd..706582a 100644 --- a/src/ZN/test/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaOutboundPoliciesExcludedSourceCandidate.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNMfaOutboundPoliciesExcludedSourceCandidate' { It 'List' { - { (Get-ZNMfaOutboundPoliciesExcludedSourceCandidate).Items } | Should -Not -Be $null + { (Get-ZNMfaOutboundPoliciesExcludedSourceCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaOutboundPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNMfaOutboundPoliciesMfamethod.Tests.ps1 index 3706264..684ca41 100644 --- a/src/ZN/test/Get-ZNMfaOutboundPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaOutboundPoliciesMfamethod.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaOutboundPoliciesMfam Describe 'Get-ZNMfaOutboundPoliciesMfamethod' { It 'List' { - { Get-ZNMfaOutboundPoliciesMfamethod } | Should -Not -Be $null + { Get-ZNMfaOutboundPoliciesMfamethod } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaOutboundPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaOutboundPoliciesSourceCandidate.Tests.ps1 index 95d8f9b..8915815 100644 --- a/src/ZN/test/Get-ZNMfaOutboundPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaOutboundPoliciesSourceCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaOutboundPoliciesSour Describe 'Get-ZNMfaOutboundPoliciesSourceCandidate' { It 'List' { - (Get-ZNMfaOutboundPoliciesSourceCandidate).Items | Should -Not -Be $Null + (Get-ZNMfaOutboundPoliciesSourceCandidate).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 index cbca6d6..2f4779f 100644 --- a/src/ZN/test/Get-ZNMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaOutboundPoliciesSourceUserCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaOutboundPoliciesSour Describe 'Get-ZNMfaOutboundPoliciesSourceUserCandidate' { It 'List' { - { (Get-ZNMfaOutboundPoliciesSourceUserCandidate).Items } | Should -Not -Be $null + { (Get-ZNMfaOutboundPoliciesSourceUserCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Get-ZNMfaOutboundPolicy.Tests.ps1 index edac09b..6a3fd56 100644 --- a/src/ZN/test/Get-ZNMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaOutboundPolicy.Tests.ps1 @@ -25,8 +25,8 @@ Describe 'Get-ZNMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - { (Get-ZNMfaOutboundPolicy).Items } | Should -Not -Be $null + $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + { (Get-ZNMfaOutboundPolicy).Items } | Should -Not -BeNullOrEmpty Remove-ZNMfaOutboundPolicy -ReactivePolicyId $policy.ItemId } @@ -41,9 +41,9 @@ Describe 'Get-ZNMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $policy = Get-ZNMfaOutboundPolicy | Select-Object -First 1 - { (Get-ZNMfaOutboundPolicy -ReactivePolicyId $policy.Id).ItemId } | Should -Not -Be $null + { (Get-ZNMfaOutboundPolicy -ReactivePolicyId $policy.Id).ItemId } | Should -Not -BeNullOrEmpty Remove-ZNMfaOutboundPolicy -ReactivePolicyId $policy.Id } } diff --git a/src/ZN/test/Get-ZNMfaPoliciesDistribution.Tests.ps1 b/src/ZN/test/Get-ZNMfaPoliciesDistribution.Tests.ps1 index be56e76..e06dec6 100644 --- a/src/ZN/test/Get-ZNMfaPoliciesDistribution.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaPoliciesDistribution.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaPoliciesDistribution Describe 'Get-ZNMfaPoliciesDistribution' { It 'List' { - { Get-ZNMfaPoliciesDistribution } | Should -Not -Be $null + { Get-ZNMfaPoliciesDistribution } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNMfaPoliciesStatistics.Tests.ps1 b/src/ZN/test/Get-ZNMfaPoliciesStatistics.Tests.ps1 index f74fc54..9ed78a4 100644 --- a/src/ZN/test/Get-ZNMfaPoliciesStatistics.Tests.ps1 +++ b/src/ZN/test/Get-ZNMfaPoliciesStatistics.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNMfaPoliciesStatistics') Describe 'Get-ZNMfaPoliciesStatistics' { It 'List' { - { Get-ZNMfaPoliciesStatistics } | Should -Not -Be $null + { Get-ZNMfaPoliciesStatistics } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNNetworkOnboardingPoliciesGroupCandidate.Tests.ps1 b/src/ZN/test/Get-ZNNetworkOnboardingPoliciesGroupCandidate.Tests.ps1 new file mode 100644 index 0000000..28512af --- /dev/null +++ b/src/ZN/test/Get-ZNNetworkOnboardingPoliciesGroupCandidate.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNNetworkOnboardingPoliciesGroupCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNNetworkOnboardingPoliciesGroupCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNNetworkOnboardingPoliciesGroupCandidate' { + It 'List' { + (Get-ZNIdentityOnboardingPoliciesGroupCandidate).Items.Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNNetworkOnboardingPolicy.Tests.ps1 b/src/ZN/test/Get-ZNNetworkOnboardingPolicy.Tests.ps1 new file mode 100644 index 0000000..c1505a8 --- /dev/null +++ b/src/ZN/test/Get-ZNNetworkOnboardingPolicy.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNNetworkOnboardingPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNNetworkOnboardingPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNNetworkOnboardingPolicy' { + It 'List' { + (Get-ZNNetworkOnboardingPolicy).count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNOutboundRule.Tests.ps1 b/src/ZN/test/Get-ZNOutboundRule.Tests.ps1 index 73ddc44..504b6a8 100644 --- a/src/ZN/test/Get-ZNOutboundRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNOutboundRule.Tests.ps1 @@ -21,7 +21,7 @@ Describe 'Get-ZNOutboundRule' { $destination = Invoke-ZNEncodeEntityIp -IP 8.8.8.8 $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNOutboundRule -Action 1 -LocalEntityId $source.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination) -State 1 -ExpiresAt $expiresAt - { (Get-ZNOutboundRule).Items } | Should -Not -Be $null + { (Get-ZNOutboundRule).Items } | Should -Not -BeNullOrEmpty } It 'Get' { @@ -31,6 +31,6 @@ Describe 'Get-ZNOutboundRule' { $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNOutboundRule -Action 1 -LocalEntityId $source.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination) -State 1 -ExpiresAt $expiresAt $rule = Get-ZNOutboundRule | Select-Object -First 1 - { (Get-ZNOutboundRule -RuleId $rule.Id).ItemsId } | Should -Not -Be $null + { (Get-ZNOutboundRule -RuleId $rule.Id).ItemsId } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNOutboundRulesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNOutboundRulesDestinationCandidate.Tests.ps1 index 15e4692..872a088 100644 --- a/src/ZN/test/Get-ZNOutboundRulesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNOutboundRulesDestinationCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNOutboundRulesDestinatio Describe 'Get-ZNOutboundRulesDestinationCandidate' { It 'List' { - { (Get-ZNOutboundRulesDestinationCandidate -RuleType 3).Items } | Should -Not -Be $null + { (Get-ZNOutboundRulesDestinationCandidate -RuleType 3).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNOutboundRulesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNOutboundRulesExcludedSourceCandidate.Tests.ps1 index 74e2f34..283ed07 100644 --- a/src/ZN/test/Get-ZNOutboundRulesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNOutboundRulesExcludedSourceCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNOutboundRulesExcludedSo Describe 'Get-ZNOutboundRulesExcludedSourceCandidate' { It 'List' { - { (Get-ZNOutboundRulesExcludedSourceCandidate).Items } | Should -Not -Be $null + { (Get-ZNOutboundRulesExcludedSourceCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNOutboundRulesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNOutboundRulesSourceCandidate.Tests.ps1 index 2825ff8..21f510b 100644 --- a/src/ZN/test/Get-ZNOutboundRulesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNOutboundRulesSourceCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNOutboundRulesSourceCand Describe 'Get-ZNOutboundRulesSourceCandidate' { It 'List' { - { (Get-ZNOutboundRulesSourceCandidate).Items } | Should -Not -Be $null + { (Get-ZNOutboundRulesSourceCandidate).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNOutboundRulesUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNOutboundRulesUserCandidate.Tests.ps1 new file mode 100644 index 0000000..56f738a --- /dev/null +++ b/src/ZN/test/Get-ZNOutboundRulesUserCandidate.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNOutboundRulesUserCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNOutboundRulesUserCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNOutboundRulesUserCandidate' { + It 'List' { + (Get-ZNOutboundRulesUserCandidate).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNRpcRule.Tests.ps1 b/src/ZN/test/Get-ZNRpcRule.Tests.ps1 index 6afc633..6fd1ab6 100644 --- a/src/ZN/test/Get-ZNRpcRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNRpcRule.Tests.ps1 @@ -22,6 +22,6 @@ Describe 'Get-ZNRpcRule' { It 'Get' { $rules = (Get-ZNRpcRule -AddBuiltins).Items $rule = Get-ZNRpcRule -RuleId $rules[0].Id - $rule.ItemId | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNRulesDistribution.Tests.ps1 b/src/ZN/test/Get-ZNRulesDistribution.Tests.ps1 index c3057fb..4fddb6b 100644 --- a/src/ZN/test/Get-ZNRulesDistribution.Tests.ps1 +++ b/src/ZN/test/Get-ZNRulesDistribution.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNRulesDistribution')) Describe 'Get-ZNRulesDistribution' { It 'Get' { $rule = Get-ZNInboundRule | select -First 1 - { Get-ZNRulesDistribution -RuleId $rule.Id -RuleDirection $rule.Direction } | Should -Not -be $null + { Get-ZNRulesDistribution -RuleId $rule.Id -RuleDirection $rule.Direction } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNRulesStatistics.Tests.ps1 b/src/ZN/test/Get-ZNRulesStatistics.Tests.ps1 index d9ef11e..327958e 100644 --- a/src/ZN/test/Get-ZNRulesStatistics.Tests.ps1 +++ b/src/ZN/test/Get-ZNRulesStatistics.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNRulesStatistics')) Describe 'Get-ZNRulesStatistics' { It 'Get' { - { Get-ZNRulesStatistics } | Should -Not -Be $null + { Get-ZNRulesStatistics } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSegmentServer.Tests.ps1 b/src/ZN/test/Get-ZNSegmentServer.Tests.ps1 index a6ab340..681dbb1 100644 --- a/src/ZN/test/Get-ZNSegmentServer.Tests.ps1 +++ b/src/ZN/test/Get-ZNSegmentServer.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSegmentServer')) Describe 'Get-ZNSegmentServer' { It 'List' { - { Get-ZNSegmentServer } | Should -Not -Be $null + { Get-ZNSegmentServer } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsAad.Tests.ps1 b/src/ZN/test/Get-ZNSettingsAad.Tests.ps1 index cad8d5e..a834171 100644 --- a/src/ZN/test/Get-ZNSettingsAad.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsAad.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsAad')) Describe 'Get-ZNSettingsAad' { It 'Get' { - (Get-ZNSettingsAad).ClientId | Should -Not -Be $null + (Get-ZNSettingsAad).ClientId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsAd.Tests.ps1 b/src/ZN/test/Get-ZNSettingsAd.Tests.ps1 index 0f3b05d..0f03ead 100644 --- a/src/ZN/test/Get-ZNSettingsAd.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsAd.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsAd')) Describe 'Get-ZNSettingsAd' { It 'Get' { - (Get-ZNSettingsAd).ForestId | Should -Not -Be $null + (Get-ZNSettingsAd).ForestId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsAnsible.Tests.ps1 b/src/ZN/test/Get-ZNSettingsAnsible.Tests.ps1 index 73a05a1..32534e5 100644 --- a/src/ZN/test/Get-ZNSettingsAnsible.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsAnsible.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsAnsible')) Describe 'Get-ZNSettingsAnsible' { It 'Get' { - (Get-ZNSettingsAnsible).ClientId | Should -Not -Be $null + (Get-ZNSettingsAnsible).ClientId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsAssetManager.Tests.ps1 b/src/ZN/test/Get-ZNSettingsAssetManager.Tests.ps1 index 7026b8d..5bd5d2b 100644 --- a/src/ZN/test/Get-ZNSettingsAssetManager.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsAssetManager.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsAssetManager' { It 'List' { - Get-ZNSettingsAssetManager | Should -Not -Be $null + Get-ZNSettingsAssetManager | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsAuth.Tests.ps1 b/src/ZN/test/Get-ZNSettingsAuth.Tests.ps1 index c279e3a..9bffbc1 100644 --- a/src/ZN/test/Get-ZNSettingsAuth.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsAuth.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsAuth')) Describe 'Get-ZNSettingsAuth' { It 'Get' { - { Get-ZNSettingsAuth } | Should -Not -Be $null + { Get-ZNSettingsAuth } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsBreakGlass.Tests.ps1 b/src/ZN/test/Get-ZNSettingsBreakGlass.Tests.ps1 index 9bc8d8f..5331bb8 100644 --- a/src/ZN/test/Get-ZNSettingsBreakGlass.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsBreakGlass.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsBreakGlass')) Describe 'Get-ZNSettingsBreakGlass' { It 'Get' { - (Get-ZNSettingsBreakGlass).AgentConfigAllowIdentity | Should -Not -Be $null + (Get-ZNSettingsBreakGlass).AgentConfigAllowIdentity | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsClientSubnet.Tests.ps1 b/src/ZN/test/Get-ZNSettingsClientSubnet.Tests.ps1 index a0fe5a2..eaf0f3d 100644 --- a/src/ZN/test/Get-ZNSettingsClientSubnet.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsClientSubnet.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsClientSubnet')) Describe 'Get-ZNSettingsClientSubnet' { It 'Get' { - (Get-ZNSettingsClientSubnet).ConfigPrivateNetworksList | Should -Not -Be $null + (Get-ZNSettingsClientSubnet).ConfigPrivateIpv4NetworksList | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsClientsTrustedInternet.Tests.ps1 b/src/ZN/test/Get-ZNSettingsClientsTrustedInternet.Tests.ps1 index 741ac2e..f043c16 100644 --- a/src/ZN/test/Get-ZNSettingsClientsTrustedInternet.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsClientsTrustedInternet.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsClientsTrustedI Describe 'Get-ZNSettingsClientsTrustedInternet' { It 'Get' { - (Get-ZNSettingsClientsTrustedInternet).Ports.Count | Should -BeGreaterThan 0 + (Get-ZNSettingsClientsTrustedInternet)[0].ProtocolType | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsClientsUntrustedInternet.Tests.ps1 b/src/ZN/test/Get-ZNSettingsClientsUntrustedInternet.Tests.ps1 index 7e8b3a0..86ea47a 100644 --- a/src/ZN/test/Get-ZNSettingsClientsUntrustedInternet.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsClientsUntrustedInternet.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsClientsUntruste Describe 'Get-ZNSettingsClientsUntrustedInternet' { It 'Get' { - (Get-ZNSettingsClientsUntrustedInternet).Ports.Count | Should -BeGreaterThan 0 + (Get-ZNSettingsClientsUntrustedInternet)[0].ProtocolType | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsConnectClientAutoUpdate.Tests.ps1 b/src/ZN/test/Get-ZNSettingsConnectClientAutoUpdate.Tests.ps1 index ac53d48..5f56f72 100644 --- a/src/ZN/test/Get-ZNSettingsConnectClientAutoUpdate.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsConnectClientAutoUpdate.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsConnectClientAutoUpdate' { It 'Get' { - ZNSettingsConnectClientAutoUpdate | Should -Not -Be $null + ZNSettingsConnectClientAutoUpdate | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.Tests.ps1 index 3c02c90..ead81a7 100644 --- a/src/ZN/test/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsConnectUserAcce Describe 'Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate' { It 'List' { - { Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate } | Should -Not -Be $null + { Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsDefaultApplication.Tests.ps1 b/src/ZN/test/Get-ZNSettingsDefaultApplication.Tests.ps1 index 57f3d98..10e1026 100644 --- a/src/ZN/test/Get-ZNSettingsDefaultApplication.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsDefaultApplication.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsDefaultApplicat Describe 'Get-ZNSettingsDefaultApplication' { It 'Get' { - Get-ZNSettingsDefaultApplication | Should -Not -Be $null + Get-ZNSettingsDefaultApplication | Should -Not -BeNullOrEmpty } } \ No newline at end of file diff --git a/src/ZN/test/Get-ZNSettingsFirewall.Tests.ps1 b/src/ZN/test/Get-ZNSettingsFirewall.Tests.ps1 index 06c72c0..236ea84 100644 --- a/src/ZN/test/Get-ZNSettingsFirewall.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsFirewall.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsFirewall')) Describe 'Get-ZNSettingsFirewall' { It 'Get' { - Get-ZNSettingsFirewall | Should -Not -Be $null + Get-ZNSettingsFirewall | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsFirewallIgnoredGpo.Tests.ps1 b/src/ZN/test/Get-ZNSettingsFirewallIgnoredGpo.Tests.ps1 index d650e84..21f6e90 100644 --- a/src/ZN/test/Get-ZNSettingsFirewallIgnoredGpo.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsFirewallIgnoredGpo.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsFirewallIgnoredGpo' { It 'Get' { - (get-ZNSettingsFirewallIgnoredGpo).InboundList | Should -Not -Be $null + (get-ZNSettingsFirewallIgnoredGpo).InboundList | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsFirewallIgnoredRule.Tests.ps1 b/src/ZN/test/Get-ZNSettingsFirewallIgnoredRule.Tests.ps1 index a1055ca..fa67420 100644 --- a/src/ZN/test/Get-ZNSettingsFirewallIgnoredRule.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsFirewallIgnoredRule.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsFirewallIgnoredRule' { It 'Get' { - (get-ZNSettingsFirewallIgnoredRule).InboundList | Should -Not -Be $null + (get-ZNSettingsFirewallIgnoredRule).InboundList | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsFirewallProfile.Tests.ps1 b/src/ZN/test/Get-ZNSettingsFirewallProfile.Tests.ps1 index 584f03a..bee8ef4 100644 --- a/src/ZN/test/Get-ZNSettingsFirewallProfile.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsFirewallProfile.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsFirewallProfile' { It 'Get' { - (Get-ZNSettingsFirewallProfile).InboundAllowDomain | Should -Not -Be $null + (Get-ZNSettingsFirewallProfile).InboundAllowDomain | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsIdp.Tests.ps1 b/src/ZN/test/Get-ZNSettingsIdp.Tests.ps1 index e3d1808..c4737fd 100644 --- a/src/ZN/test/Get-ZNSettingsIdp.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsIdp.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsIdp')) Describe 'Get-ZNSettingsIdp' { It 'Get' { - (Get-ZNSettingsIdp).IdentityProviderType | Should -Not -Be $null + (Get-ZNSettingsIdp).IdentityProviderType | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsInactiveAsset.Tests.ps1 b/src/ZN/test/Get-ZNSettingsInactiveAsset.Tests.ps1 index d2283df..fed6678 100644 --- a/src/ZN/test/Get-ZNSettingsInactiveAsset.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsInactiveAsset.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsInactiveAsset') Describe 'Get-ZNSettingsInactiveAsset' { It 'List' { - { (Get-ZNSettingsInactiveAsset).LastActiveDurationInMonths } | Should -Not -Be $null + { (Get-ZNSettingsInactiveAsset).LastActiveDurationInMonths } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsInternalSubnet.Tests.ps1 b/src/ZN/test/Get-ZNSettingsInternalSubnet.Tests.ps1 index d100e18..b63d1c7 100644 --- a/src/ZN/test/Get-ZNSettingsInternalSubnet.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsInternalSubnet.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsInternalSubnet' { It 'Get' { - { Get-ZNSettingsInternalSubnet } | Should -Not -Be $null + { Get-ZNSettingsInternalSubnet } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsLearningConfig.Tests.ps1 b/src/ZN/test/Get-ZNSettingsLearningConfig.Tests.ps1 index 4a828ed..c34232d 100644 --- a/src/ZN/test/Get-ZNSettingsLearningConfig.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsLearningConfig.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsLearningConfig' { It 'Get' { - (get-ZNSettingsLearningConfig).AllowQueueForever | Should -Not -Be $null + (get-ZNSettingsLearningConfig).AllowQueueForever | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsLicense.Tests.ps1 b/src/ZN/test/Get-ZNSettingsLicense.Tests.ps1 index d80decc..32478b4 100644 --- a/src/ZN/test/Get-ZNSettingsLicense.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsLicense.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsLicense')) Describe 'Get-ZNSettingsLicense' { It 'Get' { - { (Get-ZNSettingsLicense -ProtectionType network).ConfigInfoLicenseMode } | Should -Not -Be $null + { (Get-ZNSettingsLicense -ProtectionType network).ConfigInfoLicenseMode } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsLinuxSetup.Tests.ps1 b/src/ZN/test/Get-ZNSettingsLinuxSetup.Tests.ps1 index f40191b..e563fad 100644 --- a/src/ZN/test/Get-ZNSettingsLinuxSetup.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsLinuxSetup.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsLinuxSetup' { It 'Get' { - ZNSettingsLinuxSetup | Should -Not -Be $null + ZNSettingsLinuxSetup | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsLinuxUser.Tests.ps1 b/src/ZN/test/Get-ZNSettingsLinuxUser.Tests.ps1 index f9b5291..8ef0325 100644 --- a/src/ZN/test/Get-ZNSettingsLinuxUser.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsLinuxUser.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsLinuxUser')) Describe 'Get-ZNSettingsLinuxUser' { It 'Get' { - get-ZNSettingsLinuxUser | Should -Not -Be $null + get-ZNSettingsLinuxUser | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsMaintenanceWindow.Tests.ps1 b/src/ZN/test/Get-ZNSettingsMaintenanceWindow.Tests.ps1 new file mode 100644 index 0000000..95c46c2 --- /dev/null +++ b/src/ZN/test/Get-ZNSettingsMaintenanceWindow.Tests.ps1 @@ -0,0 +1,27 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsMaintenanceWindow')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNSettingsMaintenanceWindow.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNSettingsMaintenanceWindow' { + It 'List' { + (Get-ZNSettingsMaintenanceWindow).Count | Should -BeGreaterThan 0 + } + + It 'Get' { + $settings = Get-ZNSettingsMaintenanceWindow | Select -First 1 + $setting = Get-ZNSettingsMaintenanceWindow -MaintenanceWindowId $settings.Id + $setting.ItemId | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNSettingsMfaAuthentication.Tests.ps1 b/src/ZN/test/Get-ZNSettingsMfaAuthentication.Tests.ps1 index 4f9981c..ce66037 100644 --- a/src/ZN/test/Get-ZNSettingsMfaAuthentication.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsMfaAuthentication.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsMfaAuthenticati Describe 'Get-ZNSettingsMfaAuthentication' { It 'Get' { - (Get-ZNSettingsMfaAuthentication).ItemTokenTtl | Should -Not -Be $null + (Get-ZNSettingsMfaAuthentication).ItemTokenTtl | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsMfaCache.Tests.ps1 b/src/ZN/test/Get-ZNSettingsMfaCache.Tests.ps1 new file mode 100644 index 0000000..872b8a2 --- /dev/null +++ b/src/ZN/test/Get-ZNSettingsMfaCache.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsMfaCache')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNSettingsMfaCache.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNSettingsMfaCache' { + It 'List' { + (get-ZNSettingsMfaCache).count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNSettingsMfaCacheCandidate.Tests.ps1 b/src/ZN/test/Get-ZNSettingsMfaCacheCandidate.Tests.ps1 new file mode 100644 index 0000000..e20e35a --- /dev/null +++ b/src/ZN/test/Get-ZNSettingsMfaCacheCandidate.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsMfaCacheCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNSettingsMfaCacheCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNSettingsMfaCacheCandidate' { + It 'List' { + (Get-ZNSettingsMfaCacheCandidate).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNSettingsMfaDetection.Tests.ps1 b/src/ZN/test/Get-ZNSettingsMfaDetection.Tests.ps1 index 37b91bb..32f2acf 100644 --- a/src/ZN/test/Get-ZNSettingsMfaDetection.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsMfaDetection.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsMfaDetection')) Describe 'Get-ZNSettingsMfaDetection' { It 'Get' { - Get-ZNSettingsMfaDetection | Should -Not -Be $null + Get-ZNSettingsMfaDetection | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsNotification.Tests.ps1 b/src/ZN/test/Get-ZNSettingsNotification.Tests.ps1 index 9d468c6..cd634eb 100644 --- a/src/ZN/test/Get-ZNSettingsNotification.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsNotification.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsNotification')) Describe 'Get-ZNSettingsNotification' { It 'Get' { - (Get-ZNSettingsNotification).AssetPostponed | Should -Not -Be $null + (Get-ZNSettingsNotification).AssetPostponed | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsPrivilegedPort.Tests.ps1 b/src/ZN/test/Get-ZNSettingsPrivilegedPort.Tests.ps1 index e37679b..b8ef4a5 100644 --- a/src/ZN/test/Get-ZNSettingsPrivilegedPort.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsPrivilegedPort.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsPrivilegedPort' { It 'Get' { - (Get-ZNSettingsPrivilegedPort).ItemTcpPorts | Should -Not -Be $null + (Get-ZNSettingsPrivilegedPort).ItemTcpPorts | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsServersTrustedInternet.Tests.ps1 b/src/ZN/test/Get-ZNSettingsServersTrustedInternet.Tests.ps1 index b8c812e..a6d628d 100644 --- a/src/ZN/test/Get-ZNSettingsServersTrustedInternet.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsServersTrustedInternet.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsServersTrustedI Describe 'Get-ZNSettingsServersTrustedInternet' { It 'Get' { - (Get-ZNSettingsServersTrustedInternet).Ports | Should -Not -Be $null + (Get-ZNSettingsServersTrustedInternet)[0].ProtocolType | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsServersUntrustedInternet.Tests.ps1 b/src/ZN/test/Get-ZNSettingsServersUntrustedInternet.Tests.ps1 index 6ef9024..25d1c7a 100644 --- a/src/ZN/test/Get-ZNSettingsServersUntrustedInternet.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsServersUntrustedInternet.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsServersUntruste Describe 'Get-ZNSettingsServersUntrustedInternet' { It 'Get' { - (Get-ZNSettingsServersUntrustedInternet).Ports | Should -Not -Be $null + (Get-ZNSettingsServersUntrustedInternet)[0].ProtocolType | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsTrustedInternetAddress.Tests.ps1 b/src/ZN/test/Get-ZNSettingsTrustedInternetAddress.Tests.ps1 index 16ed560..eb38245 100644 --- a/src/ZN/test/Get-ZNSettingsTrustedInternetAddress.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsTrustedInternetAddress.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsTrustedInternetAddress' { It 'Get' { - ZNSettingsTrustedInternetAddress | Should -Not -Be $null + ZNSettingsTrustedInternetAddress | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNSettingsZpa.Tests.ps1 b/src/ZN/test/Get-ZNSettingsZpa.Tests.ps1 index 19bd094..cb31b2d 100644 --- a/src/ZN/test/Get-ZNSettingsZpa.Tests.ps1 +++ b/src/ZN/test/Get-ZNSettingsZpa.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNSettingsZpa' { It 'Get' { - (Get-ZNSettingsZpa).IsEnabled | Should -Be $null + (Get-ZNSettingsZpa).IsEnabled | Should -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNTagGroupsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNTagGroupsCandidate.Tests.ps1 index bd6dcae..27808ed 100644 --- a/src/ZN/test/Get-ZNTagGroupsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNTagGroupsCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNTagGroupsCandidate')) Describe 'Get-ZNTagGroupsCandidate' { It 'List' { $group = (Get-ZNGroup -Search "domain controllers").Items | where {$_.id -like "g:t:*"} - { (Get-ZNTagGroupsCandidate -GroupId $group.Id).Items } | Should -Not -Be $null + { (Get-ZNTagGroupsCandidate -GroupId $group.Id).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUser.Tests.ps1 b/src/ZN/test/Get-ZNUser.Tests.ps1 index 2d2063f..94fe13c 100644 --- a/src/ZN/test/Get-ZNUser.Tests.ps1 +++ b/src/ZN/test/Get-ZNUser.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUser')) Describe 'Get-ZNUser' { It 'List' { - { Get-ZNUser } | Should -Not -Be $null + { Get-ZNUser } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserAudit.Tests.ps1 b/src/ZN/test/Get-ZNUserAudit.Tests.ps1 index b4cb391..3dbedcf 100644 --- a/src/ZN/test/Get-ZNUserAudit.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserAudit.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserAudit')) Describe 'Get-ZNUserAudit' { It 'Get' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - (Get-ZNUserAudit -UserId $user.id).Items | Should -Not -Be $null + (Get-ZNUserAudit -UserId $user.id).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Get-ZNUserExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..3e09a63 --- /dev/null +++ b/src/ZN/test/Get-ZNUserExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNUserExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNUserExternalAccessPolicy' { + It 'List' { + $userId = ((Get-ZNUser -Search "zero").Items | where {$_.Name -eq "zero"}).Id + (Get-ZNUserExternalAccessPolicy -UserId $userId).Items.Count | Should -BeGreaterThan 0 + } + + It 'Get' { + $userId = ((Get-ZNUser -Search "zero").Items | where {$_.Name -eq "zero"}).Id + $policies = (Get-ZNUserExternalAccessPolicy -UserId $userId).Items | Select -First 1 + $policy = Get-ZNUserExternalAccessPolicy -UserId $userId -PolicyId $policies.Id + $policy.ItemId | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 new file mode 100644 index 0000000..5ab8142 --- /dev/null +++ b/src/ZN/test/Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate' { + It 'List' { + $userId = ((Get-ZNUser -Search "zero").Items | where {$_.Name -eq "zero"}).Id + (Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate -UserId $userId).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNUserExternalAccessPolicySourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserExternalAccessPolicySourceUserCandidate.Tests.ps1 new file mode 100644 index 0000000..c5df33a --- /dev/null +++ b/src/ZN/test/Get-ZNUserExternalAccessPolicySourceUserCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserExternalAccessPolicySourceUserCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNUserExternalAccessPolicySourceUserCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNUserExternalAccessPolicySourceUserCandidate' { + It 'List' { + $userId = ((Get-ZNUser -Search "zero").Items | where {$_.Name -eq "zero"}).Id + (Get-ZNUserExternalAccessPolicySourceUserCandidate -UserId $userId).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNUserExternalAccessPolicyStatistics.Tests.ps1 b/src/ZN/test/Get-ZNUserExternalAccessPolicyStatistics.Tests.ps1 new file mode 100644 index 0000000..15ec0f3 --- /dev/null +++ b/src/ZN/test/Get-ZNUserExternalAccessPolicyStatistics.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserExternalAccessPolicyStatistics')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNUserExternalAccessPolicyStatistics.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNUserExternalAccessPolicyStatistics' { + It 'Get' { + $userId = ((Get-ZNUser -Search "zero").Items | where {$_.Name -eq "zero"}).Id + (Get-ZNUserExternalAccessPolicyStatistics -UserId $userId).PolicyStatisticsTotalCount | Should -Not -BeNullOrEmpty + } +} diff --git a/src/ZN/test/Get-ZNUserIdentityRulesAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserIdentityRulesAssetsCandidate.Tests.ps1 index 39354c7..aee67ac 100644 --- a/src/ZN/test/Get-ZNUserIdentityRulesAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserIdentityRulesAssetsCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserIdentityRulesAssets Describe 'Get-ZNUserIdentityRulesAssetsCandidate' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { Get-ZNUserIdentityRulesAssetsCandidate -UserId $user.Id } | Should -Not -Be $null + { Get-ZNUserIdentityRulesAssetsCandidate -UserId $user.Id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserIdentityRulesExcludedAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserIdentityRulesExcludedAssetsCandidate.Tests.ps1 index c8bc3b4..b604b2d 100644 --- a/src/ZN/test/Get-ZNUserIdentityRulesExcludedAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserIdentityRulesExcludedAssetsCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserIdentityRulesExclud Describe 'Get-ZNUserIdentityRulesExcludedAssetsCandidate' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId $user.Id } | Should -Not -Be $null + { Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId $user.Id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserIdentityRulesUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserIdentityRulesUserCandidate.Tests.ps1 index c017cfd..859f5dd 100644 --- a/src/ZN/test/Get-ZNUserIdentityRulesUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserIdentityRulesUserCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserIdentityRulesUserCa Describe 'Get-ZNUserIdentityRulesUserCandidate' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { Get-ZNUserIdentityRulesUserCandidate -UserId $user.Id } | Should -Not -Be $null + { Get-ZNUserIdentityRulesUserCandidate -UserId $user.Id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserMemberOf.Tests.ps1 b/src/ZN/test/Get-ZNUserMemberOf.Tests.ps1 index 38db243..28ab581 100644 --- a/src/ZN/test/Get-ZNUserMemberOf.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserMemberOf.Tests.ps1 @@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserMemberOf')) Describe 'Get-ZNUserMemberOf' { It 'Get' { - $user = Get-ZNUser -Search "zero" - { Get-ZNUserMemberOf -UserId $user.Id } | Should -Not -Be $null + $user = (Get-ZNUser -Search "zero").ITems | Where {$_.Name -eq "Zero"} + { Get-ZNUserMemberOf -UserId $user.Id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserMemberOfGroupCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserMemberOfGroupCandidate.Tests.ps1 new file mode 100644 index 0000000..76be24f --- /dev/null +++ b/src/ZN/test/Get-ZNUserMemberOfGroupCandidate.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserMemberOfGroupCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNUserMemberOfGroupCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNUserMemberOfGroupCandidate' { + It 'Get' { + $user = (Get-ZNUser -Search "zero").Items | Where {$_.Name -eq "Zero"} + (Get-ZNUserMemberOfGroupCandidate -UserId $user.id).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.Tests.ps1 index 5c9bbe1..fd9c2ec 100644 --- a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesDestinationCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserMfaIdentityPolicies Describe 'Get-ZNUserMfaIdentityPoliciesDestinationCandidate' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { (Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId $user.Id).Items } | Should -Not -Be $null + { (Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId $user.Id).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 index ac99727..d4f895d 100644 --- a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserMfaIdentityPolicies Describe 'Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { (Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId $user.Id).Items } | Should -Not -Be $null + { (Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId $user.Id).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesMfamethod.Tests.ps1 b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesMfamethod.Tests.ps1 index 1aed2f4..8dd329d 100644 --- a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesMfamethod.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesMfamethod.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserMfaIdentityPolicies Describe 'Get-ZNUserMfaIdentityPoliciesMfamethod' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { Get-ZNUserMfaIdentityPoliciesMfamethod -UserId $user.Id } | Should -Not -Be $null + { Get-ZNUserMfaIdentityPoliciesMfamethod -UserId $user.Id } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesSourceCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesSourceCandidate.Tests.ps1 index 5acd256..a6c71dd 100644 --- a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesSourceCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesSourceCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserMfaIdentityPolicies Describe 'Get-ZNUserMfaIdentityPoliciesSourceCandidate' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { (Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId $user.Id).Items } | Should -Not -Be $null + { (Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId $user.Id).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 index 25c2500..0cd5ee9 100644 --- a/src/ZN/test/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserMfaIdentityPoliciesSourceUserCandidate.Tests.ps1 @@ -17,6 +17,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserMfaIdentityPolicies Describe 'Get-ZNUserMfaIdentityPoliciesSourceUserCandidate' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { (Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId $user.Id).Items } | Should -Not -Be $null + { (Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId $user.Id).Items } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Get-ZNUserMfaIdentityPolicy.Tests.ps1 index 3811c9b..04c4977 100644 --- a/src/ZN/test/Get-ZNUserMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserMfaIdentityPolicy.Tests.ps1 @@ -17,12 +17,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserMfaIdentityPolicy') Describe 'Get-ZNUserMfaIdentityPolicy' { It 'List' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} - { (Get-ZNUserMfaIdentityPolicy -UserId $user.Id).Items } | Should -Not -Be $null + { (Get-ZNUserMfaIdentityPolicy -UserId $user.Id).Items } | Should -Not -BeNullOrEmpty } It 'Get' { $user = (Get-ZNUser -Search zero).Items | where {$_.Name -eq "zero"} $policy = (Get-ZNUserMfaIdentityPolicy -UserId $user.Id).Items | select -first 1 - { (Get-ZNUserMfaIdentityPolicy -UserId $user.Id -ReactivePolicyId $policy.id).ItemId } | Should -Not -Be $null + { (Get-ZNUserMfaIdentityPolicy -UserId $user.Id -ReactivePolicyId $policy.id).ItemId } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUserStatistics.Tests.ps1 b/src/ZN/test/Get-ZNUserStatistics.Tests.ps1 index 3cb972d..157af4c 100644 --- a/src/ZN/test/Get-ZNUserStatistics.Tests.ps1 +++ b/src/ZN/test/Get-ZNUserStatistics.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUserStatistics')) Describe 'Get-ZNUserStatistics' { It 'Get' { - { Get-ZNUserStatistics } | Should -Not -Be $null + { Get-ZNUserStatistics } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUsersIdentityQueued.Tests.ps1 b/src/ZN/test/Get-ZNUsersIdentityQueued.Tests.ps1 index ac5ff11..19d5694 100644 --- a/src/ZN/test/Get-ZNUsersIdentityQueued.Tests.ps1 +++ b/src/ZN/test/Get-ZNUsersIdentityQueued.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Get-ZNUsersIdentityQueued' { It 'List' { $svcAccount = ((Get-ZNUsersServiceAccount).Items | where {$_.ProtectionState -eq 1})[0] Invoke-ZNUserIdentityQueue -QueueDays 30 -UserIds @($svcAccount.Id) - { Get-ZNUsersIdentityQueued } | Should -Not -Be $null - Unprotect-ZNUserIdentity -UserIds @($svcAccount.Id) + { Get-ZNUsersIdentityQueued } | Should -Not -BeNullOrEmpty + Unprotect-ZNUserIdentitySegment -UserIds @($svcAccount.Id) } } diff --git a/src/ZN/test/Get-ZNUsersIdentitySegmented.Tests.ps1 b/src/ZN/test/Get-ZNUsersIdentitySegmented.Tests.ps1 index 33d6dbf..797c1df 100644 --- a/src/ZN/test/Get-ZNUsersIdentitySegmented.Tests.ps1 +++ b/src/ZN/test/Get-ZNUsersIdentitySegmented.Tests.ps1 @@ -17,8 +17,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUsersIdentitySegmented' Describe 'Get-ZNUsersIdentitySegmented' { It 'List' { $svcAccount = ((Get-ZNUsersServiceAccount).Items | where {$_.ProtectionState -eq 1})[0] - Protect-ZNUserIdentity -UserIds @($svcAccount.Id) + Protect-ZNUserIdentitySegment -UserIds @($svcAccount.Id) (Get-ZNUsersIdentitySegmented).Items.Count | Should -BeGreaterThan 0 - Unprotect-ZNUserIdentity -UserIds @($svcAccount.Id) + Unprotect-ZNUserIdentitySegment -UserIds @($svcAccount.Id) } } diff --git a/src/ZN/test/Get-ZNProtectionPolicy.Tests.ps1 b/src/ZN/test/Get-ZNUsersInactive.Tests.ps1 similarity index 65% rename from src/ZN/test/Get-ZNProtectionPolicy.Tests.ps1 rename to src/ZN/test/Get-ZNUsersInactive.Tests.ps1 index b9d47ea..a35f3ac 100644 --- a/src/ZN/test/Get-ZNProtectionPolicy.Tests.ps1 +++ b/src/ZN/test/Get-ZNUsersInactive.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNProtectionPolicy')) +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUsersInactive')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNProtectionPolicy.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNUsersInactive.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,8 +14,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNProtectionPolicy')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-ZNProtectionPolicy' { +Describe 'Get-ZNUsersInactive' { It 'List' { - { Get-ZNProtectionPolicy } | Should -Not -be $null + { Get-ZNUsersInactive } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUsersManagedAsset.Tests.ps1 b/src/ZN/test/Get-ZNUsersManagedAsset.Tests.ps1 index 233eb04..8aff6e8 100644 --- a/src/ZN/test/Get-ZNUsersManagedAsset.Tests.ps1 +++ b/src/ZN/test/Get-ZNUsersManagedAsset.Tests.ps1 @@ -15,7 +15,7 @@ Describe 'Get-ZNUsersManagedAsset' { It 'List' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId $user = (Get-ZNUser).Items | Select -First 1 - Add-ZNUsersManagedAsset -UserId $user.Id -EntityIds @($asset) + Add-ZNUsersManagedAsset -UserId $user.Id -EntityIds @($asset) -Permission 3 $managedAssets = Get-ZNUsersManagedAsset -UserId $user.Id $managedAssets.EntityId | Should -Be $asset Remove-ZNUsersManagedAsset -UserId $user.Id -GroupOrAssetId $asset diff --git a/src/ZN/test/Get-ZNUsersManagedAssetsCandidate.Tests.ps1 b/src/ZN/test/Get-ZNUsersManagedAssetsCandidate.Tests.ps1 index a5a422a..3cf0fd7 100644 --- a/src/ZN/test/Get-ZNUsersManagedAssetsCandidate.Tests.ps1 +++ b/src/ZN/test/Get-ZNUsersManagedAssetsCandidate.Tests.ps1 @@ -13,6 +13,6 @@ while(-not $mockingPath) { Describe 'Get-ZNUsersManagedAssetsCandidate' { It 'List' { - (Get-ZNUsersManagedAssetsCandidate -UserId ((Get-ZNUser).Items | Select-Object -First 1).Id).Items | Should -Not -Be $null + (Get-ZNUsersManagedAssetsCandidate -UserId ((Get-ZNUser).Items | Select-Object -First 1).Id).Items | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Get-ZNUsersPrivileged.Tests.ps1 b/src/ZN/test/Get-ZNUsersPrivileged.Tests.ps1 new file mode 100644 index 0000000..335d877 --- /dev/null +++ b/src/ZN/test/Get-ZNUsersPrivileged.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNUsersPrivileged')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNUsersPrivileged.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNUsersPrivileged' { + It 'List' { + (Get-ZNUsersPrivileged).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Invoke-ZNAssetIdentityExtendQueue.Tests.ps1 b/src/ZN/test/Invoke-ZNAssetIdentityExtendQueue.Tests.ps1 new file mode 100644 index 0000000..886c58d --- /dev/null +++ b/src/ZN/test/Invoke-ZNAssetIdentityExtendQueue.Tests.ps1 @@ -0,0 +1,31 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNAssetIdentityExtendQueue')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-ZNAssetIdentityExtendQueue.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-ZNAssetIdentityExtendQueue' { + It 'QueueExpanded' { + $asset = (Search-ZNAsset -Fqdn fs01.posh.local).AssetId + Invoke-ZNAssetIdentityQueue -Items @($asset) -QueueDays 14 + { Invoke-ZNAssetIdentityExtendQueue -Items @($asset) -ExtendByDays 14 } | Should -Not -Throw + Unprotect-ZNAssetIdentitySegment -Items @($asset) + } + + It 'QueueExpanded1' { + $asset = (Search-ZNAsset -Fqdn fs01.posh.local).AssetId + Invoke-ZNAssetIdentityQueue -AssetId $asset -QueueDays 14 + { Invoke-ZNAssetIdentityExtendQueue -AssetId $asset -ExtendByDays 14 } | Should -Not -Throw + Unprotect-ZNAssetIdentitySegment -Assetid $asset + } +} diff --git a/src/ZN/test/Invoke-ZNAssetIdentityQueue.Tests.ps1 b/src/ZN/test/Invoke-ZNAssetIdentityQueue.Tests.ps1 new file mode 100644 index 0000000..1d2034e --- /dev/null +++ b/src/ZN/test/Invoke-ZNAssetIdentityQueue.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNAssetIdentityQueue')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-ZNAssetIdentityQueue.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-ZNAssetIdentityQueue' { + It 'QueueExpanded' { + $asset = (Search-ZNAsset -Fqdn fs01.posh.local).AssetId + { Invoke-ZNAssetIdentityQueue -Items @($asset) -QueueDays 14 } | Should -Not -Throw + Unprotect-ZNAssetIdentitySegment -Items @($asset) + } + + It 'QueueExpanded1' { + $asset = (Search-ZNAsset -Fqdn fs01.posh.local).AssetId + { Invoke-ZNAssetIdentityQueue -AssetId $asset -QueueDays 14 } | Should -Not -Throw + Unprotect-ZNAssetIdentitySegment -Assetid $asset + } +} diff --git a/src/ZN/test/Invoke-ZNAssetRpcExtendQueue.Tests.ps1 b/src/ZN/test/Invoke-ZNAssetRpcExtendQueue.Tests.ps1 new file mode 100644 index 0000000..bb5a0ca --- /dev/null +++ b/src/ZN/test/Invoke-ZNAssetRpcExtendQueue.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNAssetRpcExtendQueue')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-ZNAssetRpcExtendQueue.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-ZNAssetRpcExtendQueue' { + It 'QueueExpanded' { + $asset = (Search-ZNAsset -Fqdn ts01.posh.local).AssetId + $monitored = (Get-ZNAssetsRpcMonitored).Items | where {$_.Id -eq $asset} + if($monitored.Count -eq 0){ + Add-ZNAssetRpcMonitoring -AssetId $asset + start-sleep 30 + } + Invoke-ZNAssetRpcQueue -Items @($asset) -QueueDays 14 + { Invoke-ZNAssetRpcExtendQueue -Items @($asset) -ExtendByDays 14 } | Should -Not -Throw + Unprotect-ZNAssetRpcSegment -Items @($asset) + } +} diff --git a/src/ZN/test/Invoke-ZNAssetRpcQueue.Tests.ps1 b/src/ZN/test/Invoke-ZNAssetRpcQueue.Tests.ps1 new file mode 100644 index 0000000..226d9c5 --- /dev/null +++ b/src/ZN/test/Invoke-ZNAssetRpcQueue.Tests.ps1 @@ -0,0 +1,28 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNAssetRpcQueue')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-ZNAssetRpcQueue.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-ZNAssetRpcQueue' { + It 'QueueExpanded' { + $asset = (Search-ZNAsset -Fqdn ts01.posh.local).AssetId + $monitored = (Get-ZNAssetsRpcMonitored).Items | where {$_.Id -eq $asset} + if($monitored.Count -eq 0){ + Add-ZNAssetRpcMonitoring -AssetId $asset + start-sleep 30 + } + { Invoke-ZNAssetRpcQueue -Items @($asset) -QueueDays 14 } | Should -Not -Throw + Unprotect-ZNAssetRpcSegment -Items @($asset) + } +} diff --git a/src/ZN/test/Invoke-ZNDownloadCloudConnectorInstaller.Tests.ps1 b/src/ZN/test/Invoke-ZNDownloadCloudConnectorInstaller.Tests.ps1 index 6b023b4..c43e650 100644 --- a/src/ZN/test/Invoke-ZNDownloadCloudConnectorInstaller.Tests.ps1 +++ b/src/ZN/test/Invoke-ZNDownloadCloudConnectorInstaller.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNDownloadCloudConnect Describe 'Invoke-ZNDownloadCloudConnectorInstaller' { It 'Download' { - { (invoke-ZNDownloadCloudConnectorInstaller).Url } | Should -Not -Be $null + { (invoke-ZNDownloadCloudConnectorInstaller).Url } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Invoke-ZNDownloadConnectClient.Tests.ps1 b/src/ZN/test/Invoke-ZNDownloadConnectClient.Tests.ps1 index 447c903..65af6eb 100644 --- a/src/ZN/test/Invoke-ZNDownloadConnectClient.Tests.ps1 +++ b/src/ZN/test/Invoke-ZNDownloadConnectClient.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNDownloadConnectClien Describe 'Invoke-ZNDownloadConnectClient' { It 'Download' { - { (invoke-ZNDownloadConnectClient).Url } | Should -Not -Be $null + { (invoke-ZNDownloadConnectClient).Url } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Invoke-ZNDownloadConnectServer.Tests.ps1 b/src/ZN/test/Invoke-ZNDownloadConnectServer.Tests.ps1 index bb7e40e..acd3970 100644 --- a/src/ZN/test/Invoke-ZNDownloadConnectServer.Tests.ps1 +++ b/src/ZN/test/Invoke-ZNDownloadConnectServer.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNDownloadConnectServe Describe 'Invoke-ZNDownloadConnectServer' { It 'Download' { - { (invoke-ZNDownloadConnectServer).Url } | Should -Not -Be $null + { (invoke-ZNDownloadConnectServer).Url } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Invoke-ZNDownloadSegmentServer.Tests.ps1 b/src/ZN/test/Invoke-ZNDownloadSegmentServer.Tests.ps1 index 0f7a0e9..7406c08 100644 --- a/src/ZN/test/Invoke-ZNDownloadSegmentServer.Tests.ps1 +++ b/src/ZN/test/Invoke-ZNDownloadSegmentServer.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNDownloadSegmentServe Describe 'Invoke-ZNDownloadSegmentServer' { It 'Download' { - { (invoke-ZNDownloadSegmentServer).Url } | Should -Not -Be $null + { (invoke-ZNDownloadSegmentServer).Url } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Invoke-ZNEncodeEntityIP.Tests.ps1 b/src/ZN/test/Invoke-ZNEncodeEntityIP.Tests.ps1 index 1fd090a..32d1970 100644 --- a/src/ZN/test/Invoke-ZNEncodeEntityIP.Tests.ps1 +++ b/src/ZN/test/Invoke-ZNEncodeEntityIP.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNEncodeEntityIP')) Describe 'Invoke-ZNEncodeEntityIP' { It 'Encode' { - { Invoke-ZNEncodeEntityIP -Ip 1.1.1.1} | Should -Not -Be $null + { Invoke-ZNEncodeEntityIP -Ip 1.1.1.1} | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Invoke-ZNEncodeEntityIPRange.Tests.ps1 b/src/ZN/test/Invoke-ZNEncodeEntityIPRange.Tests.ps1 index de129a9..cc39d14 100644 --- a/src/ZN/test/Invoke-ZNEncodeEntityIPRange.Tests.ps1 +++ b/src/ZN/test/Invoke-ZNEncodeEntityIPRange.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNEncodeEntityIPRange' Describe 'Invoke-ZNEncodeEntityIPRange' { It 'Encode' { - { Invoke-ZNEncodeEntityIPRange -IPRange 1.1.1.1-1.1.1.2 } | Should -Not -Be $null + { Invoke-ZNEncodeEntityIPRange -IPRange 1.1.1.1-1.1.1.2 } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Invoke-ZNEncodeEntitySubnet.Tests.ps1 b/src/ZN/test/Invoke-ZNEncodeEntitySubnet.Tests.ps1 index a00fcd1..7c41d9c 100644 --- a/src/ZN/test/Invoke-ZNEncodeEntitySubnet.Tests.ps1 +++ b/src/ZN/test/Invoke-ZNEncodeEntitySubnet.Tests.ps1 @@ -16,6 +16,6 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNEncodeEntitySubnet') Describe 'Invoke-ZNEncodeEntitySubnet' { It 'Encode' { - { Invoke-ZNEncodeEntitySubnet -Subnet 1.1.1.0/24 } | Should -Not -Be $null + { Invoke-ZNEncodeEntitySubnet -Subnet 1.1.1.0/24 } | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/Invoke-ZNMirrorAsset.Tests.ps1 b/src/ZN/test/Invoke-ZNMirrorAsset.Tests.ps1 new file mode 100644 index 0000000..8be88ad --- /dev/null +++ b/src/ZN/test/Invoke-ZNMirrorAsset.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Invoke-ZNMirrorAsset')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Invoke-ZNMirrorAsset.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Invoke-ZNMirrorAsset' { + It 'MirrorExpanded' { + { Invoke-ZNMirrorAsset -OriginalAssetId "a:l:4NMHdoaO" -TargetAssetId "a:l:18VODYZg" } | Should -Not -Throw + } + + It 'MirrorExpanded1' -skip { + { Invoke-ZNMirrorAsset -AssetId "a:l:4NMHdoaO" -OriginalAssetId "a:l:4NMHdoaO" -TargetAssetId "a:l:18VODYZg" } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Invoke-ZNUserIdentityQueue.Tests.ps1 b/src/ZN/test/Invoke-ZNUserIdentityQueue.Tests.ps1 index fa3ff64..eba5612 100644 --- a/src/ZN/test/Invoke-ZNUserIdentityQueue.Tests.ps1 +++ b/src/ZN/test/Invoke-ZNUserIdentityQueue.Tests.ps1 @@ -19,6 +19,6 @@ Describe 'Invoke-ZNUserIdentityQueue' { $svcAccount = ((Get-ZNUsersServiceAccount).Items | where {$_.ProtectionState -eq 1})[0] Invoke-ZNUserIdentityQueue -QueueDays 30 -UserIds @($svcAccount.Id) (Get-ZNUser -UserId $svcAccount.id).EntityProtectionState | Should -Be 5 - Unprotect-ZNUserIdentity -UserIds @($svcAccount.Id) + Unprotect-ZNUserIdentitySegment -UserIds @($svcAccount.Id) } } diff --git a/src/ZN/test/New-ZNAssetExternalAccessPolicy.Tests.ps1 b/src/ZN/test/New-ZNAssetExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..6b9611b --- /dev/null +++ b/src/ZN/test/New-ZNAssetExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,27 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNAssetExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNAssetExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNAssetExternalAccessPolicy' { + It 'CreateExpanded' { + $assetId = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNAssetExternalAccessPolicy -AssetId $assetId -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalNewAssetTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + $Policy.ItemId | Should -Not -BeNullOrEmpty + Remove-ZNAssetExternalAccessPolicy -AssetId $assetId -PolicyId $Policy.ItemId + } +} diff --git a/src/ZN/test/New-ZNAssetInboundRule.Tests.ps1 b/src/ZN/test/New-ZNAssetInboundRule.Tests.ps1 index 8caa221..3420c3e 100644 --- a/src/ZN/test/New-ZNAssetInboundRule.Tests.ps1 +++ b/src/ZN/test/New-ZNAssetInboundRule.Tests.ps1 @@ -22,6 +22,6 @@ Describe 'New-ZNAssetInboundRule' { $source = (Get-ZNAssetInboundRulesSourceCandidate -AssetId $asset -RuleType 1 -search "any asset").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNAssetInboundRule -AssetId $asset -Action 1 -LocalEntityId $asset -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - $rule.Item.Id | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/New-ZNAssetMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/New-ZNAssetMfaIdentityPolicy.Tests.ps1 index 9083a67..d3a40cf 100644 --- a/src/ZN/test/New-ZNAssetMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNAssetMfaIdentityPolicy.Tests.ps1 @@ -20,8 +20,8 @@ Describe 'New-ZNAssetMfaIdentityPolicy' { $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items - $policy = New-ZNAssetMfaIdentityPolicy -AssetId $asset -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 - $policy.ItemId | Should -Not -Be $null + $policy = New-ZNAssetMfaIdentityPolicy -AssetId $asset -DstAssetId $asset -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNMfaIdentityPolicy -ReactivePolicyId $policy.ItemId } } diff --git a/src/ZN/test/New-ZNAssetMfaInboundPolicy.Tests.ps1 b/src/ZN/test/New-ZNAssetMfaInboundPolicy.Tests.ps1 index d701b84..0cc117b 100644 --- a/src/ZN/test/New-ZNAssetMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNAssetMfaInboundPolicy.Tests.ps1 @@ -25,8 +25,8 @@ Describe 'New-ZNAssetMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - $policy.ItemId | Should -Not -Be $null + $policy = New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId $policy.Itemid } } diff --git a/src/ZN/test/New-ZNAssetMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/New-ZNAssetMfaOutboundPolicy.Tests.ps1 index 2a08e4d..d581d46 100644 --- a/src/ZN/test/New-ZNAssetMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNAssetMfaOutboundPolicy.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'New-ZNAssetMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - $policy.ItemId | Should -Not -Be $null + $policy = New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNAssetMfaOutboundPolicy -AssetId $asset -ReactivePolicyId $policy.ItemId } } diff --git a/src/ZN/test/New-ZNAssetOutboundRule.Tests.ps1 b/src/ZN/test/New-ZNAssetOutboundRule.Tests.ps1 index b4bdd8c..70af0e7 100644 --- a/src/ZN/test/New-ZNAssetOutboundRule.Tests.ps1 +++ b/src/ZN/test/New-ZNAssetOutboundRule.Tests.ps1 @@ -21,6 +21,6 @@ Describe 'New-ZNAssetOutboundRule' { $destination = Invoke-ZNEncodeEntityIp -IP 8.8.8.8 $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNAssetOutboundRule -AssetId $asset -Action 1 -LocalEntityId $asset -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt - $rule.Item.Id | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/New-ZNAssetRpcRule.Tests.ps1 b/src/ZN/test/New-ZNAssetRpcRule.Tests.ps1 index e1d6ad8..ee8e3dc 100644 --- a/src/ZN/test/New-ZNAssetRpcRule.Tests.ps1 +++ b/src/ZN/test/New-ZNAssetRpcRule.Tests.ps1 @@ -19,8 +19,8 @@ Describe 'New-ZNAssetRpcRule' { $asset = (Search-ZNAsset -Fqdn as01.posh.local).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNAssetRpcRulesUserCandidate -AssetId $asset -Search 'Any User').Id - $rule = New-ZNAssetRpcRule -AssetId $asset -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) - $rule.ItemId | Should -Not -Be $null + $rule = New-ZNAssetRpcRule -AssetId $asset -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule.ItemId | Should -Not -BeNullOrEmpty Remove-ZNAssetRpcRule -AssetId $asset -RuleId $rule.ItemId } } diff --git a/src/ZN/test/New-ZNAssetsOt.Tests.ps1 b/src/ZN/test/New-ZNAssetsOt.Tests.ps1 index 6c5c651..de554f2 100644 --- a/src/ZN/test/New-ZNAssetsOt.Tests.ps1 +++ b/src/ZN/test/New-ZNAssetsOt.Tests.ps1 @@ -15,9 +15,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-ZNAssetsOt')) } Describe 'New-ZNAssetsOt' { - It 'CreateExpanded' { + It 'CreateExpanded' { $name = ("ot"+(Get-Random -Maximum 999999)) [string]$ip = (Get-Random -Minimum 1 -Maximum 254).ToString() + "." + (Get-Random -Minimum 1 -Maximum 254).ToString() + "." + (Get-Random -Minimum 1 -Maximum 254).ToString() + "." + (Get-Random -Minimum 1 -Maximum 254).ToString() - { New-ZNAssetsOt -DisplayName $name -Ipv4 $ip -Type 4 } | Should -Not -Throw + { New-ZNAssetsOt -DisplayName $name -Fqdn ($name+"posh.local") -Ipv4 $ip -Type 4 } | Should -Not -Throw } } diff --git a/src/ZN/test/New-ZNExternalAccessPolicy.Tests.ps1 b/src/ZN/test/New-ZNExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..78d4224 --- /dev/null +++ b/src/ZN/test/New-ZNExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,26 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNExternalAccessPolicy' { + It 'CreateExpanded' { + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNExternalAccessPolicy -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalNewTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + $Policy.ItemId | Should -Not -BeNullOrEmpty + Remove-ZNExternalAccessPolicy -PolicyId $Policy.ItemId + } +} diff --git a/src/ZN/test/New-ZNGroupsExternalAccessPolicy.Tests.ps1 b/src/ZN/test/New-ZNGroupsExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..847351a --- /dev/null +++ b/src/ZN/test/New-ZNGroupsExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,26 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNGroupsExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNGroupsExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNGroupsExternalAccessPolicy' { + It 'CreateExpanded' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $Policy = New-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag -DstAssetId $groupId -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalNewGroupTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + $Policy.ItemId | Should -Not -BeNullOrEmpty + Remove-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag -PolicyId $Policy.ItemId + } +} diff --git a/src/ZN/test/New-ZNGroupsInboundRule.Tests.ps1 b/src/ZN/test/New-ZNGroupsInboundRule.Tests.ps1 index 6215fc2..e731546 100644 --- a/src/ZN/test/New-ZNGroupsInboundRule.Tests.ps1 +++ b/src/ZN/test/New-ZNGroupsInboundRule.Tests.ps1 @@ -22,6 +22,6 @@ Describe 'New-ZNGroupsInboundRule' { $source = (Get-ZNGroupsInboundRulesSourceCandidate -GroupId $group.Id -GroupType tag -RuleType 1 -search "any asset").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNGroupsInboundRule -GroupId $group.Id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - $rule.Item.Id | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/New-ZNGroupsMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/New-ZNGroupsMfaIdentityPolicy.Tests.ps1 index cc59a1b..793a4f5 100644 --- a/src/ZN/test/New-ZNGroupsMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNGroupsMfaIdentityPolicy.Tests.ps1 @@ -16,11 +16,11 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-ZNGroupsMfaIdentityPolicy Describe 'New-ZNGroupsMfaIdentityPolicy' { It 'CreateExpanded' { - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNGroupsMfaIdentityPolicy -GroupId $group.id -GroupType tag -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 - $policy.ItemId | Should -Not -Be $null + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNMfaIdentityPolicy -ReactivePolicyId $policy.ItemId } } diff --git a/src/ZN/test/New-ZNGroupsMfaInboundPolicy.Tests.ps1 b/src/ZN/test/New-ZNGroupsMfaInboundPolicy.Tests.ps1 index 3828634..8570d6e 100644 --- a/src/ZN/test/New-ZNGroupsMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNGroupsMfaInboundPolicy.Tests.ps1 @@ -25,8 +25,8 @@ Describe 'New-ZNGroupsMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - $policy.ItemId | Should -Not -Be $null + $policy = New-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -ReactivePolicyId $policy.Itemid } } diff --git a/src/ZN/test/New-ZNGroupsMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/New-ZNGroupsMfaOutboundPolicy.Tests.ps1 index 6a31ce7..7759784 100644 --- a/src/ZN/test/New-ZNGroupsMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNGroupsMfaOutboundPolicy.Tests.ps1 @@ -22,8 +22,8 @@ Describe 'New-ZNGroupsMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - $policy.ItemId | Should -Not -Be $null + $policy = New-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType tag -ReactivePolicyId $policy.Itemid } } diff --git a/src/ZN/test/New-ZNGroupsOutboundRule.Tests.ps1 b/src/ZN/test/New-ZNGroupsOutboundRule.Tests.ps1 index 90e2c15..5bdfc74 100644 --- a/src/ZN/test/New-ZNGroupsOutboundRule.Tests.ps1 +++ b/src/ZN/test/New-ZNGroupsOutboundRule.Tests.ps1 @@ -21,6 +21,6 @@ Describe 'New-ZNGroupsOutboundRule' { $destination = Invoke-ZNEncodeEntityIp -IP 8.8.8.8 $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt - $rule.Item.Id | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/New-ZNGroupsRpcRule.Tests.ps1 b/src/ZN/test/New-ZNGroupsRpcRule.Tests.ps1 index c357b60..dc0af84 100644 --- a/src/ZN/test/New-ZNGroupsRpcRule.Tests.ps1 +++ b/src/ZN/test/New-ZNGroupsRpcRule.Tests.ps1 @@ -19,8 +19,8 @@ Describe 'New-ZNGroupsRpcRule' { $asset = (Search-ZNAsset -Fqdn as01.posh.local).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNGroupsRpcRulesUserCandidate -GroupId $group.Id -GroupType tag -Search 'Any User').Id - $rule = New-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) - $rule.ItemId | Should -Not -Be $null + $rule = New-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule.ItemId | Should -Not -BeNullOrEmpty Remove-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -RuleId $rule.ItemId } } diff --git a/src/ZN/test/New-ZNIdentityOnboardingPolicy.Tests.ps1 b/src/ZN/test/New-ZNIdentityOnboardingPolicy.Tests.ps1 new file mode 100644 index 0000000..b1d98b9 --- /dev/null +++ b/src/ZN/test/New-ZNIdentityOnboardingPolicy.Tests.ps1 @@ -0,0 +1,24 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNIdentityOnboardingPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNIdentityOnboardingPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNIdentityOnboardingPolicy' { + It 'CreateExpanded' { + $group = (Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search "Account Operators").Items | select -First 1 + $policy = New-ZNIdentityOnboardingPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Description "Powershell test" -Enabled:$false + $policy.ItemId | Should -Not -BeNullOrEmpty + Remove-ZNIdentityOnboardingPolicy -OnboardingPolicyId $policy.ItemId + } +} diff --git a/src/ZN/test/New-ZNInboundRule.Tests.ps1 b/src/ZN/test/New-ZNInboundRule.Tests.ps1 index 67630ba..4097069 100644 --- a/src/ZN/test/New-ZNInboundRule.Tests.ps1 +++ b/src/ZN/test/New-ZNInboundRule.Tests.ps1 @@ -22,6 +22,6 @@ Describe 'New-ZNInboundRule' { $destination = (Get-ZNInboundRulesDestinationCandidate -Search "all segmented assets").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNInboundRule -Action 1 -LocalEntityId $destination.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - $rule.Item.Id | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty } } diff --git a/src/ZN/test/New-ZNMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/New-ZNMfaIdentityPolicy.Tests.ps1 index f44f6f3..90c0d2a 100644 --- a/src/ZN/test/New-ZNMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNMfaIdentityPolicy.Tests.ps1 @@ -16,11 +16,11 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-ZNMfaIdentityPolicy')) Describe 'New-ZNMfaIdentityPolicy' { It 'CreateExpanded' { - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNMfaIdentityPolicy -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 - $policy.ItemId | Should -Not -Be $null + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNMfaIdentityPolicy -ReactivePolicyId $policy.ItemId } } diff --git a/src/ZN/test/New-ZNMfaInboundPolicy.Tests.ps1 b/src/ZN/test/New-ZNMfaInboundPolicy.Tests.ps1 index 7deb7e8..c4f1fd4 100644 --- a/src/ZN/test/New-ZNMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNMfaInboundPolicy.Tests.ps1 @@ -25,8 +25,8 @@ Describe 'New-ZNMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - $policy.ItemId | Should -Not -Be $null + $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNMfaInboundPolicy -ReactivePolicyId $policy.Itemid } } diff --git a/src/ZN/test/New-ZNMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/New-ZNMfaOutboundPolicy.Tests.ps1 index 6a4273d..edd9c2b 100644 --- a/src/ZN/test/New-ZNMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNMfaOutboundPolicy.Tests.ps1 @@ -25,8 +25,8 @@ Describe 'New-ZNMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false - $policy.ItemId | Should -Not -Be $null + $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNMfaOutboundPolicy -ReactivePolicyId $policy.ItemId } } diff --git a/src/ZN/test/New-ZNNetworkOnboardingPolicy.Tests.ps1 b/src/ZN/test/New-ZNNetworkOnboardingPolicy.Tests.ps1 new file mode 100644 index 0000000..cfe140a --- /dev/null +++ b/src/ZN/test/New-ZNNetworkOnboardingPolicy.Tests.ps1 @@ -0,0 +1,24 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNNetworkOnboardingPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNNetworkOnboardingPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNNetworkOnboardingPolicy' { + It 'CreateExpanded' { + $group = (Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search "Account Operators").Items | select -First 1 + $policy = New-ZNNetworkOnboardingPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Description "Powershell test" -Enabled:$false + $policy.ItemId | Should -Not -BeNullOrEmpty + Remove-ZNNetworkOnboardingPolicy -OnboardingPolicyId $policy.ItemId + } +} diff --git a/src/ZN/test/New-ZNOutboundRule.Tests.ps1 b/src/ZN/test/New-ZNOutboundRule.Tests.ps1 index 72efde4..28cde21 100644 --- a/src/ZN/test/New-ZNOutboundRule.Tests.ps1 +++ b/src/ZN/test/New-ZNOutboundRule.Tests.ps1 @@ -21,6 +21,7 @@ Describe 'New-ZNOutboundRule' { $destination = Invoke-ZNEncodeEntityIp -IP 8.8.8.8 $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNOutboundRule -Action 1 -LocalEntityId $source.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt - $rule.Item.Id | Should -Not -Be $null + $rule.ItemId | Should -Not -BeNullOrEmpty + Remove-ZnOutboundRule -RuleId $rule.ItemId } } diff --git a/src/ZN/test/New-ZNProtectionPolicy.Tests.ps1 b/src/ZN/test/New-ZNProtectionPolicy.Tests.ps1 deleted file mode 100644 index fb8a933..0000000 --- a/src/ZN/test/New-ZNProtectionPolicy.Tests.ps1 +++ /dev/null @@ -1,24 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'New-ZNProtectionPolicy')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNProtectionPolicy.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'New-ZNProtectionPolicy' { - It 'CreateExpanded' { - $group = (Get-ZNGroup -Search "ProtectionPolicy").Items - $protectionPolicy = New-ZNProtectionPolicy -GroupId $group.Id -initialQueueDays 30 -newMembersLearningDays 30 - $protectionPolicy.ItemId | Should -Not -Be $null - Remove-ZNProtectionPolicy -ProtectionPolicyId $protectionPolicy.ItemId - } -} diff --git a/src/ZN/test/New-ZNRpcRule.Tests.ps1 b/src/ZN/test/New-ZNRpcRule.Tests.ps1 index 36ac6d3..beda965 100644 --- a/src/ZN/test/New-ZNRpcRule.Tests.ps1 +++ b/src/ZN/test/New-ZNRpcRule.Tests.ps1 @@ -19,8 +19,8 @@ Describe 'New-ZNRpcRule' { $asset = (Search-ZNAsset -Fqdn switch03).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNRpcRulesUserCandidate -Search 'Any User').Id - $rule = New-ZNRpcRule -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) - $rule.ItemId | Should -Not -Be $null + $rule = New-ZNRpcRule -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule.ItemId | Should -Not -BeNullOrEmpty Remove-ZNRpcRule -RuleId $rule.ItemId } } diff --git a/src/ZN/test/New-ZNSettingsMaintenanceWindow.Tests.ps1 b/src/ZN/test/New-ZNSettingsMaintenanceWindow.Tests.ps1 new file mode 100644 index 0000000..2f14c0a --- /dev/null +++ b/src/ZN/test/New-ZNSettingsMaintenanceWindow.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNSettingsMaintenanceWindow')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNSettingsMaintenanceWindow.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNSettingsMaintenanceWindow' { + It 'CreateExpanded' { + $setting = New-ZNSettingsMaintenanceWindow -IsDefault:$false -Name "MaintWindowTest" -StartTime 1 -Weekday 1 + $setting.ItemId | Should -Not -BeNullOrEmpty + Remove-ZNSettingsMaintenanceWindow -MaintenanceWindowId $setting.ItemId + } +} diff --git a/src/ZN/test/New-ZNSettingsMfaCache.Tests.ps1 b/src/ZN/test/New-ZNSettingsMfaCache.Tests.ps1 new file mode 100644 index 0000000..49a4b86 --- /dev/null +++ b/src/ZN/test/New-ZNSettingsMfaCache.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNSettingsMfaCache')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNSettingsMfaCache.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNSettingsMfaCache' { + It 'CreateExpanded' { + $policy = New-ZNSettingsMfaCache -AssetLimit 10 -EntityId "u:a:jRVryncp" -TtlMinutes 720 + $policy.ItemEntityId | Should -Not -BeNullOrEmpty + Remove-ZNSettingsMfaCache -EntityId "u:a:jRVryncp" + } +} diff --git a/src/ZN/test/New-ZNUserExternalAccessPolicy.Tests.ps1 b/src/ZN/test/New-ZNUserExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..825dd18 --- /dev/null +++ b/src/ZN/test/New-ZNUserExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,26 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNUserExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNUserExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNUserExternalAccessPolicy' { + It 'CreateExpanded' { + $userId = ((Get-ZNUser -Search "zero").Items | where {$_.Name -eq "zero"}).Id + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNUserExternalAccessPolicy -UserId $userId -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalNewUserTest" -RuleDuration 4 -SrcUserIdsList @($userId) -State 1 -Url "https://external.posh.local" + $Policy.ItemId | Should -Not -BeNullOrEmpty + Remove-ZNUserExternalAccessPolicy -UserId $userId -PolicyId $Policy.ItemId + } +} diff --git a/src/ZN/test/New-ZNUserMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/New-ZNUserMfaIdentityPolicy.Tests.ps1 index f2a0acb..4ab6869 100644 --- a/src/ZN/test/New-ZNUserMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/New-ZNUserMfaIdentityPolicy.Tests.ps1 @@ -17,11 +17,11 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-ZNUserMfaIdentityPolicy') Describe 'New-ZNUserMfaIdentityPolicy' { It 'CreateExpanded' { $user = (Get-ZNUser).Items | Select -First 1 - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNUserMfaIdentityPolicy -UserId $user.id -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 - $policy.ItemId | Should -Not -Be $null + $policy.ItemId | Should -Not -BeNullOrEmpty Remove-ZNMfaIdentityPolicy -ReactivePolicyId $policy.ItemId } } diff --git a/src/ZN/test/Protect-ZNAssetIdentity.Tests.ps1 b/src/ZN/test/Protect-ZNAssetIdentitySegment.Tests.ps1 similarity index 67% rename from src/ZN/test/Protect-ZNAssetIdentity.Tests.ps1 rename to src/ZN/test/Protect-ZNAssetIdentitySegment.Tests.ps1 index 9a29f9e..5853eff 100644 --- a/src/ZN/test/Protect-ZNAssetIdentity.Tests.ps1 +++ b/src/ZN/test/Protect-ZNAssetIdentitySegment.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Protect-ZNAssetIdentity')) +if(($null -eq $TestName) -or ($TestName -contains 'Protect-ZNAssetIdentitySegment')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Protect-ZNAssetIdentity.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Protect-ZNAssetIdentitySegment.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,16 +14,16 @@ if(($null -eq $TestName) -or ($TestName -contains 'Protect-ZNAssetIdentity')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Protect-ZNAssetIdentity' { +Describe 'Protect-ZNAssetIdentitySegment' { It 'Protect1' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { Protect-ZNAssetIdentity -AssetId $asset } | Should -Not -Throw - Unprotect-ZNAssetIdentity -AssetId $asset + { Protect-ZNAssetIdentitySegment -AssetId $asset } | Should -Not -Throw + Unprotect-ZNAssetIdentitySegment -AssetId $asset } It 'ProtectExpanded' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - { Protect-ZNAssetIdentity -Items @($asset) } | Should -Not -Throw - Unprotect-ZNAssetIdentity -Items @($asset) + { Protect-ZNAssetIdentitySegment -Items @($asset) } | Should -Not -Throw + Unprotect-ZNAssetIdentitySegment -Items @($asset) } } diff --git a/src/ZN/test/Add-ZNAssetRpcSegment.Tests.ps1 b/src/ZN/test/Protect-ZNAssetRpcSegment.Tests.ps1 similarity index 61% rename from src/ZN/test/Add-ZNAssetRpcSegment.Tests.ps1 rename to src/ZN/test/Protect-ZNAssetRpcSegment.Tests.ps1 index af8628f..7325ef8 100644 --- a/src/ZN/test/Add-ZNAssetRpcSegment.Tests.ps1 +++ b/src/ZN/test/Protect-ZNAssetRpcSegment.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Add-ZNAssetRpcSegment')) +if(($null -eq $TestName) -or ($TestName -contains 'Protect-ZNAssetRpcSegment')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Add-ZNAssetRpcSegment.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Protect-ZNAssetRpcSegment.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,26 +14,26 @@ if(($null -eq $TestName) -or ($TestName -contains 'Add-ZNAssetRpcSegment')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Add-ZNAssetRpcSegment' { - It 'Add' { +Describe 'Protect-ZNAssetRpcSegment' { + It 'ProtectExpanded' { $asset = (Search-ZNAsset -Fqdn ts01.posh.local).AssetId Add-ZNAssetRpcMonitoring -Items @($asset) start-sleep 30 - { Add-ZNAssetRpcSegment -Items @($asset) } | Should -Not -Throw + { Protect-ZNAssetRpcSegment -Items @($asset) } | Should -Not -Throw start-sleep 30 - Remove-ZNAssetRpcSegment -Items @($asset) + Unprotect-ZNAssetRpcSegment -Items @($asset) start-sleep 30 Remove-ZNAssetRpcMonitoring -Items @($asset) start-sleep 30 } - - It 'AddExpanded' { - $asset = (Search-ZNAsset -Fqdn ts01.posh.local).AssetId + + It 'ProtectExpanded1' { + $asset = (Search-ZNAsset -Fqdn ts01.posh.local).AssetId Add-ZNAssetRpcMonitoring -AssetId $asset start-sleep 30 - { Add-ZNAssetRpcSegment -AssetId $asset } | Should -Not -Throw + { Protect-ZNAssetRpcSegment -AssetId $asset } | Should -Not -Throw start-sleep 30 - Remove-ZNAssetRpcSegment -AssetId $asset + Unprotect-ZNAssetRpcSegment -AssetId $asset start-sleep 30 Remove-ZNAssetRpcMonitoring -AssetId $asset start-sleep 30 diff --git a/src/ZN/test/Protect-ZNUserIdentity.Tests.ps1 b/src/ZN/test/Protect-ZNUserIdentitySegment.Tests.ps1 similarity index 74% rename from src/ZN/test/Protect-ZNUserIdentity.Tests.ps1 rename to src/ZN/test/Protect-ZNUserIdentitySegment.Tests.ps1 index a77d816..2ab7f88 100644 --- a/src/ZN/test/Protect-ZNUserIdentity.Tests.ps1 +++ b/src/ZN/test/Protect-ZNUserIdentitySegment.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Protect-ZNUserIdentity')) +if(($null -eq $TestName) -or ($TestName -contains 'Protect-ZNUserIdentitySegment')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Protect-ZNUserIdentity.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Protect-ZNUserIdentitySegment.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,10 +14,10 @@ if(($null -eq $TestName) -or ($TestName -contains 'Protect-ZNUserIdentity')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Protect-ZNUserIdentity' { +Describe 'Protect-ZNUserIdentitySegment' { It 'ProtectExpanded' { $svcAccount = (Get-ZNUsersServiceAccount).Items | where {$_.ProtectionState -eq 1} - { Protect-ZNUserIdentity -UserIds @($svcAccount.Id) } | Should -Not -Throw - Unprotect-ZNUserIdentity -UserIds @($svcAccount.Id) + { Protect-ZNUserIdentitySegment -UserIds @($svcAccount.Id) } | Should -Not -Throw + Unprotect-ZNUserIdentitySegment -UserIds @($svcAccount.Id) } } diff --git a/src/ZN/test/Read-ZNJWTtoken.Tests.ps1 b/src/ZN/test/Read-ZNJWTtoken.Tests.ps1 new file mode 100644 index 0000000..8490e83 --- /dev/null +++ b/src/ZN/test/Read-ZNJWTtoken.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Read-ZNJWTtoken')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Read-ZNJWTtoken.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Read-ZNJWTtoken' { + It '__AllParameterSets' { + (Read-ZNJWTtoken -token $env:ZNApiKey).aud.Split(".")[1] | Should -Be "zeronetworks" + } +} diff --git a/src/ZN/test/Remove-ZNAeExclusionsInbound.Tests.ps1 b/src/ZN/test/Remove-ZNAeExclusionsInbound.Tests.ps1 new file mode 100644 index 0000000..d881320 --- /dev/null +++ b/src/ZN/test/Remove-ZNAeExclusionsInbound.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNAeExclusionsInbound')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNAeExclusionsInbound.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNAeExclusionsInbound' { + It 'Delete' { + # cant test automatically + $a = 1 + $a | Should -Be 1 + } +} diff --git a/src/ZN/test/Remove-ZNAeExclusionsOutbound.Tests.ps1 b/src/ZN/test/Remove-ZNAeExclusionsOutbound.Tests.ps1 new file mode 100644 index 0000000..2a167f3 --- /dev/null +++ b/src/ZN/test/Remove-ZNAeExclusionsOutbound.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNAeExclusionsOutbound')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNAeExclusionsOutbound.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNAeExclusionsOutbound' { + It 'Delete' { + # cant test automatically + $a = 1 + $a | Should -Be 1 + } +} diff --git a/src/ZN/test/Remove-ZNAssetExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNAssetExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..c77f6dd --- /dev/null +++ b/src/ZN/test/Remove-ZNAssetExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNAssetExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNAssetExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNAssetExternalAccessPolicy' { + It 'Delete' { + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNExternalAccessPolicy -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalDeleteAssetTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + { Remove-ZNAssetExternalAccessPolicy -AssetId $dstAsset -PolicyId $Policy.ItemId } | SHould -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNAssetInboundRule.Tests.ps1 b/src/ZN/test/Remove-ZNAssetInboundRule.Tests.ps1 index f9d0ba0..21e2ac6 100644 --- a/src/ZN/test/Remove-ZNAssetInboundRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNAssetInboundRule.Tests.ps1 @@ -22,6 +22,6 @@ Describe 'Remove-ZNAssetInboundRule' { $source = (Get-ZNAssetInboundRulesSourceCandidate -AssetId $asset -RuleType 1 -search "any asset").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNAssetInboundRule -AssetId $asset -Action 1 -LocalEntityId $asset -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - { Remove-ZNAssetInboundRule -AssetId $asset -RuleId $rule.Item.Id } | Should -Not -Throw + { Remove-ZNAssetInboundRule -AssetId $asset -RuleId $rule.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNAssetManager.Tests.ps1 b/src/ZN/test/Remove-ZNAssetManager.Tests.ps1 index 66cbced..fd9c691 100644 --- a/src/ZN/test/Remove-ZNAssetManager.Tests.ps1 +++ b/src/ZN/test/Remove-ZNAssetManager.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Remove-ZNAssetManager' { It 'Delete' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId $user = (Get-ZNUser).Items | Select -First 1 - Add-ZNAssetManager -AssetId $asset -ManagerIds @($user.Id) + Add-ZNAssetManager -AssetId $asset -ManagerIds @($user.Id) -Permission 3 { Remove-ZNAssetManager -AssetId $asset -GroupOrUserId $user.Id } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNAssetMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNAssetMfaIdentityPolicy.Tests.ps1 index 2f53c1e..5172441 100644 --- a/src/ZN/test/Remove-ZNAssetMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNAssetMfaIdentityPolicy.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNAssetMfaIdentityPoli Describe 'Remove-ZNAssetMfaIdentityPolicy' { It 'Delete' { $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNAssetMfaIdentityPolicy -AssetId $asset -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 diff --git a/src/ZN/test/Remove-ZNAssetMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNAssetMfaInboundPolicy.Tests.ps1 index c12b95d..dd1a20c 100644 --- a/src/ZN/test/Remove-ZNAssetMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNAssetMfaInboundPolicy.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Remove-ZNAssetMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNAssetMfaInboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false { Remove-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId $policy.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNAssetMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNAssetMfaOutboundPolicy.Tests.ps1 index cbf241e..a330deb 100644 --- a/src/ZN/test/Remove-ZNAssetMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNAssetMfaOutboundPolicy.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Remove-ZNAssetMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNAssetMfaOutboundPolicy -AssetId $asset -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false { Remove-ZNAssetMfaOutboundPolicy -AssetId $asset -ReactivePolicyId $policy.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNAssetOtAssetManager.Tests.ps1 b/src/ZN/test/Remove-ZNAssetOtAssetManager.Tests.ps1 index 9d49d32..5dba5ed 100644 --- a/src/ZN/test/Remove-ZNAssetOtAssetManager.Tests.ps1 +++ b/src/ZN/test/Remove-ZNAssetOtAssetManager.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Remove-ZNAssetOtAssetManager' { It 'Delete' { $asset= (Search-ZNAsset -Fqdn switch01).AssetId $user = (Get-ZNUser).Items | Select -First 1 - Add-ZNAssetOtAssetManager -AssetId $asset -ManagerIds @($user.Id) + Add-ZNAssetOtAssetManager -AssetId $asset -ManagerIds @($user.Id) -Permission 3 { Remove-ZNAssetOtAssetManager -AssetId $asset -GroupOrUserId $user.Id } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNAssetOutboundRule.Tests.ps1 b/src/ZN/test/Remove-ZNAssetOutboundRule.Tests.ps1 index f8c7ce9..83a5ac5 100644 --- a/src/ZN/test/Remove-ZNAssetOutboundRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNAssetOutboundRule.Tests.ps1 @@ -21,6 +21,6 @@ Describe 'Remove-ZNAssetOutboundRule' { $destination = Invoke-ZNEncodeEntityIp -IP 8.8.8.8 $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNAssetOutboundRule -AssetId $asset -Action 1 -LocalEntityId $asset -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt - { Remove-ZNAssetOutboundRule -AssetId $asset -RuleId $rule.Item.Id } | Should -Not -Throw + { Remove-ZNAssetOutboundRule -AssetId $asset -RuleId $rule.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNAssetRpcRule.Tests.ps1 b/src/ZN/test/Remove-ZNAssetRpcRule.Tests.ps1 index c1bb7b6..ea7b584 100644 --- a/src/ZN/test/Remove-ZNAssetRpcRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNAssetRpcRule.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Remove-ZNAssetRpcRule' { $asset = (Search-ZNAsset -Fqdn as01.posh.local).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNAssetRpcRulesUserCandidate -AssetId $asset -Search 'Any User').Id - $rule = New-ZNAssetRpcRule -AssetId $asset -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule = New-ZNAssetRpcRule -AssetId $asset -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) { Remove-ZNAssetRpcRule -AssetId $asset -RuleId $rule.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..a1d612c --- /dev/null +++ b/src/ZN/test/Remove-ZNExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNExternalAccessPolicy' { + It 'Delete' { + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNExternalAccessPolicy -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalDeleteTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + { Remove-ZNExternalAccessPolicy -PolicyId $Policy.ItemId } | SHould -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNGroupsAssetManager.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsAssetManager.Tests.ps1 index 307c13b..8cf3443 100644 --- a/src/ZN/test/Remove-ZNGroupsAssetManager.Tests.ps1 +++ b/src/ZN/test/Remove-ZNGroupsAssetManager.Tests.ps1 @@ -16,7 +16,7 @@ Describe 'Remove-ZNGroupsAssetManager' { $manager = (Get-ZNUser).Items | Select -First 1 New-ZNCustomGroup -Name "RemoveGroupsAssetManagerTest" $customGroup = (Get-ZNGroup -Search RemoveGroupsAssetManagerTest).Items - Add-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -ManagerIds $manager.id + Add-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -ManagerIds $manager.id -Permission 3 $managers = Get-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom { Remove-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType custom -GroupOrUserId $manager.id} | Should -Not -Throw Remove-ZNCustomGroup -GroupId $customGroup.Id diff --git a/src/ZN/test/Remove-ZNGroupsExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..c1a9762 --- /dev/null +++ b/src/ZN/test/Remove-ZNGroupsExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNGroupsExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNGroupsExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNGroupsExternalAccessPolicy' { + It 'Delete' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $Policy = New-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag -DstAssetId $groupId -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalDeleteGroupsTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + { Remove-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag -PolicyId $Policy.ItemId } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNGroupsInboundRule.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsInboundRule.Tests.ps1 index 1b6194e..66c5bea 100644 --- a/src/ZN/test/Remove-ZNGroupsInboundRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNGroupsInboundRule.Tests.ps1 @@ -22,6 +22,6 @@ Describe 'Remove-ZNGroupsInboundRule' { $source = (Get-ZNGroupsInboundRulesSourceCandidate -GroupId $group.Id -GroupType tag -RuleType 1 -search "any asset").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNGroupsInboundRule -GroupId $group.Id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - { Remove-ZNGroupsInboundRule -GroupId $group.Id -GroupType tag -RuleId $rule.Item.Id } | Should -Not -Throw + { Remove-ZNGroupsInboundRule -GroupId $group.Id -GroupType tag -RuleId $rule.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNGroupsManagedAsset.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsManagedAsset.Tests.ps1 index b666d14..eba2978 100644 --- a/src/ZN/test/Remove-ZNGroupsManagedAsset.Tests.ps1 +++ b/src/ZN/test/Remove-ZNGroupsManagedAsset.Tests.ps1 @@ -16,7 +16,7 @@ Describe 'Remove-ZNGroupsManagedAsset' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId New-ZNCustomGroup -Name "RemoveGroupsManagedAssetTest" $customGroup = (Get-ZNGroup -Search RemoveGroupsManagedAssetTest).Items - Add-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -EntityIds @($asset) + Add-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -EntityIds @($asset) -permission 3 $managedAssets = Get-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom { Remove-ZNGroupsManagedAsset -GroupId $customGroup.Id -GroupType Custom -GroupOrAssetId $asset } | Should -Not -Throw Remove-ZNCustomGroup -GroupId $customGroup.Id diff --git a/src/ZN/test/Remove-ZNGroupsMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsMfaIdentityPolicy.Tests.ps1 index f6a7b3a..2b501fd 100644 --- a/src/ZN/test/Remove-ZNGroupsMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNGroupsMfaIdentityPolicy.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNGroupsMfaIdentityPol Describe 'Remove-ZNGroupsMfaIdentityPolicy' { It 'Delete' { $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNGroupsMfaIdentityPolicy -GroupId $group.id -GroupType tag -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 diff --git a/src/ZN/test/Remove-ZNGroupsMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsMfaInboundPolicy.Tests.ps1 index a94a0eb..6566d64 100644 --- a/src/ZN/test/Remove-ZNGroupsMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNGroupsMfaInboundPolicy.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Remove-ZNGroupsMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false { Remove-ZNGroupsMfaInboundPolicy -GroupId $group.Id -GroupType tag -ReactivePolicyId $policy.Itemid } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNGroupsMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsMfaOutboundPolicy.Tests.ps1 index bf47eb3..b58a37d 100644 --- a/src/ZN/test/Remove-ZNGroupsMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNGroupsMfaOutboundPolicy.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Remove-ZNGroupsMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType tag -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false { Remove-ZNGroupsMfaOutboundPolicy -GroupId $group.Id -GroupType tag -ReactivePolicyId $policy.Itemid } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNGroupsOutboundRule.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsOutboundRule.Tests.ps1 index f88be65..7618f5f 100644 --- a/src/ZN/test/Remove-ZNGroupsOutboundRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNGroupsOutboundRule.Tests.ps1 @@ -21,6 +21,6 @@ Describe 'Remove-ZNGroupsOutboundRule' { $destination = Invoke-ZNEncodeEntityIp -IP 8.8.8.8 $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt - { Remove-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Item.Id} | Should -Not -Throw + { Remove-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.ItemId} | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNGroupsRpcRule.Tests.ps1 b/src/ZN/test/Remove-ZNGroupsRpcRule.Tests.ps1 index 1fed2ea..14548a8 100644 --- a/src/ZN/test/Remove-ZNGroupsRpcRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNGroupsRpcRule.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Remove-ZNGroupsRpcRule' { $asset = (Search-ZNAsset -Fqdn as01.posh.local).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNGroupsRpcRulesUserCandidate -GroupId $group.Id -GroupType tag -Search 'Any User').Id - $rule = New-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule = New-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) { Remove-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -RuleId $rule.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNIdentityOnboardingPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNIdentityOnboardingPolicy.Tests.ps1 new file mode 100644 index 0000000..14478df --- /dev/null +++ b/src/ZN/test/Remove-ZNIdentityOnboardingPolicy.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNIdentityOnboardingPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNIdentityOnboardingPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNIdentityOnboardingPolicy' { + It 'Delete' { + $group = (Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search "Account Operators").Items | select -First 1 + $policy = New-ZNIdentityOnboardingPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Description "Powershell test" -Enabled:$false + { Remove-ZNIdentityOnboardingPolicy -OnboardingPolicyId $policy.ItemId } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNInboundRule.Tests.ps1 b/src/ZN/test/Remove-ZNInboundRule.Tests.ps1 index b6fcf00..b8ad668 100644 --- a/src/ZN/test/Remove-ZNInboundRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNInboundRule.Tests.ps1 @@ -22,6 +22,6 @@ Describe 'Remove-ZNInboundRule' { $destination = (Get-ZNInboundRulesDestinationCandidate -Search "all segmented assets").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNInboundRule -Action 1 -LocalEntityId $destination.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt - { Remove-ZNInboundRule -RuleId $rule.Item.Id } | Should -Not -Throw + { Remove-ZNInboundRule -RuleId $rule.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNMfaIdentityPolicy.Tests.ps1 index bc0c82a..00dcd35 100644 --- a/src/ZN/test/Remove-ZNMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNMfaIdentityPolicy.Tests.ps1 @@ -17,10 +17,10 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNMfaIdentityPolicy')) Describe 'Remove-ZNMfaIdentityPolicy' { It 'Delete' { $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items - $policy = New-ZNMfaIdentityPolicy -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 + $policy = New-ZNMfaIdentityPolicy -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 -RestrictLoginToOriginatingUser:$false { Remove-ZNMfaIdentityPolicy -ReactivePolicyId $policy.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNMfaInboundPolicy.Tests.ps1 index 22afda6..a4c3832 100644 --- a/src/ZN/test/Remove-ZNMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNMfaInboundPolicy.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Remove-ZNMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false { Remove-ZNMfaInboundPolicy -ReactivePolicyId $policy.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNMfaOutboundPolicy.Tests.ps1 index bc574ee..1cf856e 100644 --- a/src/ZN/test/Remove-ZNMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNMfaOutboundPolicy.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Remove-ZNMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false { Remove-ZNMfaOutboundPolicy -ReactivePolicyId $policy.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNNetworkOnboardingPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNNetworkOnboardingPolicy.Tests.ps1 new file mode 100644 index 0000000..00b7734 --- /dev/null +++ b/src/ZN/test/Remove-ZNNetworkOnboardingPolicy.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNNetworkOnboardingPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNNetworkOnboardingPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNNetworkOnboardingPolicy' { + It 'Delete' { + $group = (Get-ZNNetworkOnboardingPoliciesGroupCandidate -Search "Account Operators").Items | select -First 1 + $policy = New-ZNNetworkOnboardingPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Description "Powershell test" -Enabled:$false + { Remove-ZNNetworkOnboardingPolicy -OnboardingPolicyId $policy.ItemId } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNOutboundRule.Tests.ps1 b/src/ZN/test/Remove-ZNOutboundRule.Tests.ps1 index edbb72d..53168b0 100644 --- a/src/ZN/test/Remove-ZNOutboundRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNOutboundRule.Tests.ps1 @@ -21,6 +21,6 @@ Describe 'Remove-ZNOutboundRule' { $destination = Invoke-ZNEncodeEntityIp -IP 8.8.8.8 $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() $rule = New-ZNOutboundRule -Action 1 -LocalEntityId $source.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt - { Remove-ZNOutboundRule -RuleId $rule.Item.Id } | Should -Not -Throw + { Remove-ZNOutboundRule -RuleId $rule.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNProtectionPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNProtectionPolicy.Tests.ps1 deleted file mode 100644 index 899b82e..0000000 --- a/src/ZN/test/Remove-ZNProtectionPolicy.Tests.ps1 +++ /dev/null @@ -1,23 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNProtectionPolicy')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNProtectionPolicy.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'Remove-ZNProtectionPolicy' { - It 'Delete' { - $group = (Get-ZNGroup -Search "ProtectionPolicy").Items - $protectionPolicy = New-ZNProtectionPolicy -GroupId $group.Id -newMembersLearningDays 30 -InitialQueueDays 30 - { Remove-ZNProtectionPolicy -ProtectionPolicyId $protectionPolicy.ItemId } | Should -Not -Throw - } -} diff --git a/src/ZN/test/Remove-ZNRpcRule.Tests.ps1 b/src/ZN/test/Remove-ZNRpcRule.Tests.ps1 index 5441e36..58a6844 100644 --- a/src/ZN/test/Remove-ZNRpcRule.Tests.ps1 +++ b/src/ZN/test/Remove-ZNRpcRule.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Remove-ZNRpcRule' { $asset = (Search-ZNAsset -Fqdn switch03).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNRpcRulesUserCandidate -Search 'Any User').Id - $rule = New-ZNRpcRule -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule = New-ZNRpcRule -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) { Remove-ZNRpcRule -RuleId $rule.ItemId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNSettingsAdLinux.Tests.ps1 b/src/ZN/test/Remove-ZNSettingsAdLinux.Tests.ps1 new file mode 100644 index 0000000..e2b56ee --- /dev/null +++ b/src/ZN/test/Remove-ZNSettingsAdLinux.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNSettingsAdLinux')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNSettingsAdLinux.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNSettingsAdLinux' { + It 'Delete' { + New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} + Update-ZNSettingsAdLinux -DomainId test.local -ForestId $forest.ForestId -AdLinuxConfigAllowInstallPackages -AdLinuxConfigPassword "zero@1313" -AdLinuxConfigPrivateKey "-----BEGIN RSA PRIVATE KEY-----MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEmo3qGy0t6z09AIJtH+5OeRV1be+N4cDYJKffGzDa88vQENZiRm0GRq6a+HPGQMd2kTQIhAKMSvzIBnni7ot/OSie2TmJLY4SwTQAevXysE2RbFDYdAiEBCUEaRQnMnbp79mxDXDf6AU0cN/RPBjb9qSHDcWZHGzUCIG2Es59z8ugGrDY+pxLQnwfotadxd+Uyv/Ow5T0q5gIJAiEAyS4RaI9YG8EWx/2w0T67ZUVAw8eOMB6BIUg0Xcu+3okCIBOs/5OiPgoTdSy7bcF9IGpSE8ZgGKzgYQVZeN97YE00-----END RSA PRIVATE KEY-----" -AdLinuxConfigUsername "zn-admin" -UseForAllDomains + { Remove-ZNSettingsAdLinux -DomainId test.local -ForestId $forest.ForestId } | Should -Not -Throw + Remove-ZNSettingsAd -ForestId $forest.ForestId + } +} diff --git a/src/ZN/test/Remove-ZNSettingsConnectServer.Tests.ps1 b/src/ZN/test/Remove-ZNSettingsConnectServer.Tests.ps1 new file mode 100644 index 0000000..260c017 --- /dev/null +++ b/src/ZN/test/Remove-ZNSettingsConnectServer.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNSettingsConnectServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNSettingsConnectServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNSettingsConnectServer' { + It 'Delete' { + # cant test automatically + $a = 1 + $a | Should -Be 1 + } +} diff --git a/src/ZN/test/Remove-ZNSettingsMaintenanceWindow.Tests.ps1 b/src/ZN/test/Remove-ZNSettingsMaintenanceWindow.Tests.ps1 new file mode 100644 index 0000000..94ee456 --- /dev/null +++ b/src/ZN/test/Remove-ZNSettingsMaintenanceWindow.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNSettingsMaintenanceWindow')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNSettingsMaintenanceWindow.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNSettingsMaintenanceWindow' { + It 'Delete' { + $setting = New-ZNSettingsMaintenanceWindow -IsDefault:$false -Name "MaintWindowTest" -StartTime 1 -Weekday 1 + { Remove-ZNSettingsMaintenanceWindow -MaintenanceWindowId $setting.ItemId} | Should -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNSettingsMfaCache.Tests.ps1 b/src/ZN/test/Remove-ZNSettingsMfaCache.Tests.ps1 new file mode 100644 index 0000000..57d3186 --- /dev/null +++ b/src/ZN/test/Remove-ZNSettingsMfaCache.Tests.ps1 @@ -0,0 +1,22 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNSettingsMfaCache')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNSettingsMfaCache.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNSettingsMfaCache' { + It 'Delete' { + $policy = New-ZNSettingsMfaCache -AssetLimit 10 -EntityId "u:a:jRVryncp" -TtlMinutes 720 + { Remove-ZNSettingsMfaCache -EntityId "u:a:jRVryncp" } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNUserExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNUserExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..725e896 --- /dev/null +++ b/src/ZN/test/Remove-ZNUserExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNUserExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNUserExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNUserExternalAccessPolicy' { + It 'Delete' { + $userId = ((Get-ZNUser -Search "zero").Items | where {$_.Name -eq "zero"}).Id + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNUserExternalAccessPolicy -UserId $userId -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalDeleteUserTest" -RuleDuration 4 -SrcUserIdsList @($userId) -State 1 -Url "https://external.posh.local" + { Remove-ZNUserExternalAccessPolicy -UserId $userId -PolicyId $Policy.ItemId } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNUserMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNUserMfaIdentityPolicy.Tests.ps1 index 3a1f8cc..b6a78c8 100644 --- a/src/ZN/test/Remove-ZNUserMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Remove-ZNUserMfaIdentityPolicy.Tests.ps1 @@ -18,7 +18,7 @@ Describe 'Remove-ZNUserMfaIdentityPolicy' { It 'Delete' { $user = (Get-ZNUser).Items | Select -First 1 $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNUserMfaIdentityPolicy -UserId $user.id -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 diff --git a/src/ZN/test/Remove-ZNUsersManagedAsset.Tests.ps1 b/src/ZN/test/Remove-ZNUsersManagedAsset.Tests.ps1 index 386e994..67ff216 100644 --- a/src/ZN/test/Remove-ZNUsersManagedAsset.Tests.ps1 +++ b/src/ZN/test/Remove-ZNUsersManagedAsset.Tests.ps1 @@ -15,7 +15,7 @@ Describe 'Remove-ZNUsersManagedAsset' { It 'Delete' { $asset= (Search-ZNAsset -Fqdn linux0.posh.local).AssetId $user = (Get-ZNUser).Items | Select -First 1 - Add-ZNUsersManagedAsset -UserId $user.Id -EntityIds @($asset) + Add-ZNUsersManagedAsset -UserId $user.Id -EntityIds @($asset) -Permission 3 $managedAssets = Get-ZNUsersManagedAsset -UserId $user.Id { Remove-ZNUsersManagedAsset -UserId $user.Id -GroupOrAssetId $asset } | Should -Not -Throw } diff --git a/src/ZN/test/Search-ZNAssetProtected.Tests.ps1 b/src/ZN/test/Search-ZNAssetProtected.Tests.ps1 deleted file mode 100644 index c4d1174..0000000 --- a/src/ZN/test/Search-ZNAssetProtected.Tests.ps1 +++ /dev/null @@ -1,18 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Search-ZNAssetProtected.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Search-ZNAssetProtected' { - It 'Search' { - { Search-ZNAssetProtected -Fqdn switch01 } | Should -Not -Throw - } -} diff --git a/src/ZN/test/Search-ZNAssetsNetworkSegmented.Tests.ps1 b/src/ZN/test/Search-ZNAssetsNetworkSegmented.Tests.ps1 new file mode 100644 index 0000000..24d8c39 --- /dev/null +++ b/src/ZN/test/Search-ZNAssetsNetworkSegmented.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Search-ZNAssetsNetworkSegmented')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Search-ZNAssetsNetworkSegmented.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Search-ZNAssetsNetworkSegmented' { + It 'Search' { + { Search-ZNAssetsNetworkSegmented -Fqdn switch01 } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Search-ZNGroupsExternalId.Tests.ps1 b/src/ZN/test/Search-ZNGroupsExternalId.Tests.ps1 new file mode 100644 index 0000000..dfc3132 --- /dev/null +++ b/src/ZN/test/Search-ZNGroupsExternalId.Tests.ps1 @@ -0,0 +1,24 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Search-ZNGroupsExternalId')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Search-ZNGroupsExternalId.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Search-ZNGroupsExternalId' { + It 'Search' { + $extId = ((Get-ZNGroup -Search "Information Sharing").Items | select -First 1).externalId + $group = Search-ZNGroupsExternalId -ExternalId $extId -GroupType snow + $group.ItemId | Should -Not -BeNullOrEmpty + + } +} diff --git a/src/ZN/test/Unprotect-ZNAssetIdentity.Tests.ps1 b/src/ZN/test/Unprotect-ZNAssetIdentitySegment.Tests.ps1 similarity index 67% rename from src/ZN/test/Unprotect-ZNAssetIdentity.Tests.ps1 rename to src/ZN/test/Unprotect-ZNAssetIdentitySegment.Tests.ps1 index cc9fb41..00560e3 100644 --- a/src/ZN/test/Unprotect-ZNAssetIdentity.Tests.ps1 +++ b/src/ZN/test/Unprotect-ZNAssetIdentitySegment.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Unprotect-ZNAssetIdentity')) +if(($null -eq $TestName) -or ($TestName -contains 'Unprotect-ZNAssetIdentitySegment')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Unprotect-ZNAssetIdentity.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Unprotect-ZNAssetIdentitySegment.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,16 +14,16 @@ if(($null -eq $TestName) -or ($TestName -contains 'Unprotect-ZNAssetIdentity')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Unprotect-ZNAssetIdentity' { +Describe 'Unprotect-ZNAssetIdentitySegment' { It 'Unprotect' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - Protect-ZNAssetIdentity -Items @($asset) - { Unprotect-ZNAssetIdentity -Items @($asset) } | Should -Not -Throw + Protect-ZNAssetIdentitySegment -Items @($asset) + { Unprotect-ZNAssetIdentitySegment -Items @($asset) } | Should -Not -Throw } It 'UnprotectExpanded' { $asset= (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - Protect-ZNAssetIdentity -AssetId $asset - { Unprotect-ZNAssetIdentity -AssetId $asset } | Should -Not -Throw + Protect-ZNAssetIdentitySegment -AssetId $asset + { Unprotect-ZNAssetIdentitySegment -AssetId $asset } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNAssetRpcSegment.Tests.ps1 b/src/ZN/test/Unprotect-ZNAssetRpcSegment.Tests.ps1 similarity index 61% rename from src/ZN/test/Remove-ZNAssetRpcSegment.Tests.ps1 rename to src/ZN/test/Unprotect-ZNAssetRpcSegment.Tests.ps1 index a3cd40e..e02eb10 100644 --- a/src/ZN/test/Remove-ZNAssetRpcSegment.Tests.ps1 +++ b/src/ZN/test/Unprotect-ZNAssetRpcSegment.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNAssetRpcSegment')) +if(($null -eq $TestName) -or ($TestName -contains 'Unprotect-ZNAssetRpcSegment')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNAssetRpcSegment.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Unprotect-ZNAssetRpcSegment.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,24 +14,24 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNAssetRpcSegment')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-ZNAssetRpcSegment' { - It 'Delete' { +Describe 'Unprotect-ZNAssetRpcSegment' { + It 'UnprotectExpanded' { $asset = (Search-ZNAsset -Fqdn ts01.posh.local).AssetId Add-ZNAssetRpcMonitoring -Items @($asset) start-sleep 30 - Add-ZNAssetRpcSegment -Items @($asset) + Protect-ZNAssetRpcSegment -Items @($asset) start-sleep 30 - { Remove-ZNAssetRpcSegment -Items @($asset) } | Should -Not -Throw + { Unprotect-ZNAssetRpcSegment -Items @($asset) } | Should -Not -Throw start-sleep 30 } - It 'DeleteExpanded' { + It 'Unprotect' { $asset = (Search-ZNAsset -Fqdn ts01.posh.local).AssetId Add-ZNAssetRpcMonitoring -Items @($asset) start-sleep 30 - Add-ZNAssetRpcSegment -AssetId $asset + Protect-ZNAssetRpcSegment -AssetId $asset start-sleep 30 - { Remove-ZNAssetRpcSegment -AssetId $asset } | Should -Not -Throw + { Unprotect-ZNAssetRpcSegment -AssetId $asset } | Should -Not -Throw start-sleep 30 - } + } } diff --git a/src/ZN/test/Unprotect-ZNUserIdentity.Tests.ps1 b/src/ZN/test/Unprotect-ZNUserIdentitySegment.Tests.ps1 similarity index 74% rename from src/ZN/test/Unprotect-ZNUserIdentity.Tests.ps1 rename to src/ZN/test/Unprotect-ZNUserIdentitySegment.Tests.ps1 index f019bf0..93835af 100644 --- a/src/ZN/test/Unprotect-ZNUserIdentity.Tests.ps1 +++ b/src/ZN/test/Unprotect-ZNUserIdentitySegment.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Unprotect-ZNUserIdentity')) +if(($null -eq $TestName) -or ($TestName -contains 'Unprotect-ZNUserIdentitySegment')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Unprotect-ZNUserIdentity.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Unprotect-ZNUserIdentitySegment.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,10 +14,10 @@ if(($null -eq $TestName) -or ($TestName -contains 'Unprotect-ZNUserIdentity')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Unprotect-ZNUserIdentity' { +Describe 'Unprotect-ZNUserIdentitySegment' { It 'UnprotectExpanded' { $svcAccount = (Get-ZNUsersServiceAccount).Items | where {$_.ProtectionState -eq 1} | Select -First 1 - Protect-ZNUserIdentity -UserIds @($svcAccount.Id) - { Unprotect-ZNUserIdentity -UserIds @($svcAccount.Id) } | Should -Not -Throw + Protect-ZNUserIdentitySegment -UserIds @($svcAccount.Id) + { Unprotect-ZNUserIdentitySegment -UserIds @($svcAccount.Id) } | Should -Not -Throw } } diff --git a/src/ZN/test/Update-ZNAssetActive.Tests.ps1 b/src/ZN/test/Update-ZNAssetActive.Tests.ps1 index 8c27970..5f894e8 100644 --- a/src/ZN/test/Update-ZNAssetActive.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetActive.Tests.ps1 @@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetActive')) Describe 'Update-ZNAssetActive' { It 'SetExpanded' { - $asset = (Get-ZNAsset -Order desc -OrderColumns name -Offset 0).Items | Where {$_.StateIsAssetConnected -eq $false} | select -First 1 + $asset = (Get-ZNAsset -limit 100 -Order desc -OrderColumns name -Offset 0).Items | Where {$_.StateIsAssetConnected -eq $false} | select -First 1 Update-ZNAssetInactive -Items @($asset.Id) $inactiveAsset = Get-ZNAsset -AssetId $asset.Id Update-ZNAssetActive -Items @($asset.Id) @@ -25,7 +25,7 @@ Describe 'Update-ZNAssetActive' { } It 'Set' { - $asset = (Get-ZNAsset -Order desc -OrderColumns name -Offset 0).Items | Where {$_.StateIsAssetConnected -eq $false} | select -First 1 + $asset = (Get-ZNAsset -limit 100 -Order desc -OrderColumns name -Offset 0).Items | Where {$_.StateIsAssetConnected -eq $false} | select -First 1 Update-ZNAssetInactive -AssetId $asset.Id $inactiveAsset = Get-ZNAsset -AssetId $asset.Id Update-ZNAssetActive -AssetId $asset.Id diff --git a/src/ZN/test/Update-ZNAssetExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Update-ZNAssetExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..5ccd6ce --- /dev/null +++ b/src/ZN/test/Update-ZNAssetExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,30 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNAssetExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNAssetExternalAccessPolicy' { + It 'UpdateExpanded' { + $assetId = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNAssetExternalAccessPolicy -AssetId $assetId -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalUpdateAssetTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + + $updatedPolicy = Update-ZNAssetExternalAccessPolicy -AssetId $assetId -PolicyId $Policy.ItemId -Name "ExternalTestUpdateAsset" -Url "https://external.posh.local/updated" + + $updatedPolicy.ItemUrl | Should -Be "https://external.posh.local/updated" + Remove-ZNAssetExternalAccessPolicy -AssetId $assetId -PolicyId $Policy.ItemId + } +} diff --git a/src/ZN/test/Update-ZNAssetInactive.Tests.ps1 b/src/ZN/test/Update-ZNAssetInactive.Tests.ps1 index 37139f5..576730d 100644 --- a/src/ZN/test/Update-ZNAssetInactive.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetInactive.Tests.ps1 @@ -16,19 +16,19 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetInactive')) Describe 'Update-ZNAssetInactive' { It 'SetExpanded' { - $asset = (Get-ZNAsset -Order desc -OrderColumns name -offset 0).Items | Where {$_.StateIsAssetConnected -eq $false} | select -First 1 + $asset = (Search-ZNAsset -Fqdn linux0.posh.local).AssetId Update-ZNAssetInactive -Items @($asset.Id) - $inactiveAsset = Get-ZNAsset -AssetId $asset.Id - $inactiveAsset.EntityAssetStatus | Should -Be 12 - Update-ZNAssetActive -Items @($asset.Id) + $inactiveAsset = Get-ZNAsset -AssetId $asset + $inactiveAsset.Entity.AssetStatus | Should -Be 12 + Update-ZNAssetActive -Items @($asset) } It 'Set' { - $asset = (Get-ZNAsset -Order desc -OrderColumns name -offset 0).Items | Where {$_.StateIsAssetConnected -eq $false} | select -First 1 - Update-ZNAssetInactive -AssetId $asset.Id - $inactiveAsset = Get-ZNAsset -AssetId $asset.Id - $inactiveAsset.EntityAssetStatus | Should -Be 12 - Update-ZNAssetActive -AssetId $asset.Id + $asset = (Search-ZNAsset -Fqdn linux0.posh.local).AssetId + Update-ZNAssetInactive -AssetId $asset + $inactiveAsset = Get-ZNAsset -AssetId $asset + $inactiveAsset.Entity.AssetStatus | Should -Be 12 + Update-ZNAssetActive -AssetId $asset } } diff --git a/src/ZN/test/Update-ZNAssetInboundRule.Tests.ps1 b/src/ZN/test/Update-ZNAssetInboundRule.Tests.ps1 index ebd3ef6..0ff22bc 100644 --- a/src/ZN/test/Update-ZNAssetInboundRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetInboundRule.Tests.ps1 @@ -24,9 +24,9 @@ Describe 'Update-ZNAssetInboundRule' { $rule = New-ZNAssetInboundRule -AssetId $asset -Action 1 -LocalEntityId $asset -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) - Update-ZNAssetInboundRule -AssetId $asset -RuleId $rule.Item.Id -Description $newdescription - $updatedRule = Get-ZNAssetInboundRule -AssetId $asset -RuleId $rule.Item.Id - $updatedRule.Item.Description | Should -Be $newdescription - Remove-ZNInboundRule -RuleId $rule.Item.Id + Update-ZNAssetInboundRule -AssetId $asset -RuleId $rule.ItemId -Description $newdescription + $updatedRule = Get-ZNAssetInboundRule -AssetId $asset -RuleId $rule.ItemId + $updatedRule.ItemDescription | Should -Be $newdescription + Remove-ZNInboundRule -RuleId $rule.ItemId } } diff --git a/src/ZN/test/Update-ZNAssetManager.Tests.ps1 b/src/ZN/test/Update-ZNAssetManager.Tests.ps1 new file mode 100644 index 0000000..bdef296 --- /dev/null +++ b/src/ZN/test/Update-ZNAssetManager.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetManager')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNAssetManager.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNAssetManager' { + It 'UpdateExpanded' { + $asset = (Search-ZNAsset -Fqdn linux0.posh.local).AssetId + $user = (get-znuser).Items | select -First 1 + Add-ZNAssetManager -AssetId $asset -ManagerIds @($user.Id) -Permission 3 + + Update-ZNAssetManager -AssetId $asset -ManagerId $user.id -Permission 2 + $assetManager = Get-ZNAssetManager -AssetId $asset + $assetManager.Permission | Should -Be 2 + Remove-ZNAssetManager -AssetId $asset -GroupOrUserId $user.Id + + } +} diff --git a/src/ZN/test/Update-ZNAssetMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Update-ZNAssetMfaIdentityPolicy.Tests.ps1 index 7814887..3397ac5 100644 --- a/src/ZN/test/Update-ZNAssetMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetMfaIdentityPolicy.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetMfaIdentityPoli Describe 'Update-ZNAssetMfaIdentityPolicy' { It 'UpdateExpanded' { $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNAssetMfaIdentityPolicy -AssetId $asset -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 diff --git a/src/ZN/test/Update-ZNAssetMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Update-ZNAssetMfaInboundPolicy.Tests.ps1 index 78b3149..3867dc6 100644 --- a/src/ZN/test/Update-ZNAssetMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetMfaInboundPolicy.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Update-ZNAssetMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $asset -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) Update-ZNAssetMfaInboundPolicy -AssetId $asset -ReactivePolicyId $policy.ItemId -Description $newdescription diff --git a/src/ZN/test/Update-ZNAssetMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Update-ZNAssetMfaOutboundPolicy.Tests.ps1 index b31b254..0974e1d 100644 --- a/src/ZN/test/Update-ZNAssetMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetMfaOutboundPolicy.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Update-ZNAssetMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $asset.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $asset.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) Update-ZNAssetMfaOutboundPolicy -AssetId $asset.id -ReactivePolicyId $policy.ItemId -Description $newdescription diff --git a/src/ZN/test/Update-ZNAssetOSType.Tests.ps1 b/src/ZN/test/Update-ZNAssetOSType.Tests.ps1 new file mode 100644 index 0000000..7b392f5 --- /dev/null +++ b/src/ZN/test/Update-ZNAssetOSType.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetOSType')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNAssetOSType.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNAssetOSType' { + It 'UpdateExpanded' { + $assetId = (Search-ZNAsset -Fqdn linux0.posh.local).AssetId + { Update-ZNAssetOSType -AssetIds @($assetId) -OSType 2 } | Should -Not -Throw + Update-ZNAssetOSType -AssetIds @($assetId) -OSType 3 + } +} diff --git a/src/ZN/test/Update-ZNAssetOtAssetManager.Tests.ps1 b/src/ZN/test/Update-ZNAssetOtAssetManager.Tests.ps1 new file mode 100644 index 0000000..da4d87a --- /dev/null +++ b/src/ZN/test/Update-ZNAssetOtAssetManager.Tests.ps1 @@ -0,0 +1,28 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetOtAssetManager')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNAssetOtAssetManager.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNAssetOtAssetManager' { + It 'UpdateExpanded' { + $asset = (Search-ZNAsset -Fqdn switch01).AssetId + $user = (get-znuser).Items | select -First 1 + Add-ZNAssetOtAssetManager -AssetId $asset -ManagerIds @($user.Id) -Permission 3 + + Update-ZNAssetOTAssetManager -AssetId $asset -ManagerId $user.id -Permission 2 + $assetManager = Get-ZNAssetOTAssetManager -AssetId $asset + $assetManager.Permission | Should -Be 2 + Remove-ZNAssetOtAssetManager -AssetId $asset -GroupOrUserId $user.Id + } +} diff --git a/src/ZN/test/Update-ZNAssetOutboundRestriction.Tests.ps1 b/src/ZN/test/Update-ZNAssetOutboundRestriction.Tests.ps1 new file mode 100644 index 0000000..233840a --- /dev/null +++ b/src/ZN/test/Update-ZNAssetOutboundRestriction.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetOutboundRestriction')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNAssetOutboundRestriction.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNAssetOutboundRestriction' { + It 'UpdateExpanded' { + $assetId = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + { Update-ZNAssetOutboundRestriction -AssetIds @($AssetId) -OutboundRestriction 2 } | Should -Not -Throw + Update-ZNAssetOutboundRestriction -AssetIds @($AssetId) -OutboundRestriction 1 + } +} diff --git a/src/ZN/test/Update-ZNAssetOutboundRule.Tests.ps1 b/src/ZN/test/Update-ZNAssetOutboundRule.Tests.ps1 index f7a6d83..83776bc 100644 --- a/src/ZN/test/Update-ZNAssetOutboundRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetOutboundRule.Tests.ps1 @@ -23,8 +23,9 @@ Describe 'Update-ZNAssetOutboundRule' { $rule = New-ZNOutboundRule -Action 1 -LocalEntityId $asset -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt $newdescription = "new description" + (Get-Random -Minimum 1 -Maximum 100) - Update-ZNAssetOutboundRule -AssetId $asset -RuleId $rule.Item.Id -Description $newdescription - $updatedRule = Get-ZNOutboundRule -RuleId $rule.Item.Id - $updatedRule.Item.Description | Should -Be $newdescription + Update-ZNAssetOutboundRule -AssetId $asset -RuleId $rule.ItemId -Description $newdescription + $updatedRule = Get-ZNOutboundRule -RuleId $rule.ItemId + $updatedRule.ItemDescription | Should -Be $newdescription + Remove-ZNOutboundRule -RuleId $rule.ItemId } } diff --git a/src/ZN/test/Update-ZNAssetPreferredSegmentServer.Tests.ps1 b/src/ZN/test/Update-ZNAssetPreferredSegmentServer.Tests.ps1 new file mode 100644 index 0000000..d671ecd --- /dev/null +++ b/src/ZN/test/Update-ZNAssetPreferredSegmentServer.Tests.ps1 @@ -0,0 +1,30 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetPreferredSegmentServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNAssetPreferredSegmentServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNAssetPreferredSegmentServer' { + It 'UpdateExpanded' { + $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId + $deployment = (Get-ZNSegmentServer | Select -First 1).Id + if((Get-ZNAssetPreferredSegmentServer -AssetId $asset).PreferredDeployment -ne $deployment){ + # set if empty + { Update-ZNAssetPreferredSegmentServer -AssetId $asset -PreferredDeploymentId $deployment } | Should -Not -Throw + } else { + #set to none + { Update-ZNAssetPreferredSegmentServer -AssetId $asset } | Should -Not -Throw + } + + } +} diff --git a/src/ZN/test/Update-ZNAssetRpcRule.Tests.ps1 b/src/ZN/test/Update-ZNAssetRpcRule.Tests.ps1 index 076555a..f155b84 100644 --- a/src/ZN/test/Update-ZNAssetRpcRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetRpcRule.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Update-ZNAssetRpcRule' { $asset = (Search-ZNAsset -Fqdn as01.posh.local).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNAssetRpcRulesUserCandidate -AssetId $asset -Search 'Any User').Id - $rule = New-ZNAssetRpcRule -AssetId $asset -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule = New-ZNAssetRpcRule -AssetId $asset -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) $description = "description" + (Get-Random -Minimum 1 -Maximum 50) $updatedRule = Update-ZNAssetRpcRule -AssetId $asset -RuleId $rule.ItemId -Description $description $updatedRule.ItemDescription | Should -Be $description diff --git a/src/ZN/test/Update-ZNAssetType.Tests.ps1 b/src/ZN/test/Update-ZNAssetType.Tests.ps1 index e2ca742..98ba543 100644 --- a/src/ZN/test/Update-ZNAssetType.Tests.ps1 +++ b/src/ZN/test/Update-ZNAssetType.Tests.ps1 @@ -15,16 +15,16 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNAssetType')) } Describe 'Update-ZNAssetType' { - It 'SetExpanded' { - $asset = (Search-ZNAsset -Fqdn linux0.posh.local).AssetId - $assetProperties = Get-ZNAsset -AssetId $asset - if($assetProperties.EntityAssetType -eq 1){ - $newvalue = 2 + It 'UpdateExpanded' { + $assetId = (Search-ZNAsset -Fqdn linux0.posh.local).Assetid + $asset = Get-ZNAsset -AssetId $assetId + if($asset.Entity.AssetType -eq 1){ + $newValue = 2 } else { - $newvalue = 1 + $newValue = 1 } - Update-ZNAssetType -AssetId $asset -Type $newvalue - $updatedAssetProperties = Get-ZNAsset -AssetId $asset - $updatedAssetProperties.EntityAssetType | Should -Be $newvalue + Update-ZNAssetType -AssetId $assetId -Type $newValue + $updatedAsset = Get-ZNAsset -AssetId $assetId + $updatedAsset.Entity.AssetType | Should -Be $newValue } } diff --git a/src/ZN/test/Update-ZNExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Update-ZNExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..c4d1647 --- /dev/null +++ b/src/ZN/test/Update-ZNExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,30 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNExternalAccessPolicy' { + It 'UpdateExpanded' { + $assetId = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNExternalAccessPolicy -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalUpdateTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + + $updatedPolicy = Update-ZNExternalAccessPolicy -PolicyId $Policy.ItemId -Name "ExternalTestUpdated" -Url "https://external.posh.local/updated" + + $Policy.ItemUrl | Should -Be "https://external.posh.local/updated" + Remove-ZNExternalAccessPolicy -PolicyId $Policy.ItemId + } +} diff --git a/src/ZN/test/Update-ZNGroupsAssetManager.Tests.ps1 b/src/ZN/test/Update-ZNGroupsAssetManager.Tests.ps1 new file mode 100644 index 0000000..8f1345a --- /dev/null +++ b/src/ZN/test/Update-ZNGroupsAssetManager.Tests.ps1 @@ -0,0 +1,30 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNGroupsAssetManager')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNGroupsAssetManager.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNGroupsAssetManager' { + It 'UpdateExpanded' { + $manager = (get-znuser).Items | select -First 1 + New-ZNCustomGroup -Name "AddGroupsAssetManagerTest" + $customGroup = (Get-ZNGroup -Search AddGroupsAssetManagerTest).Items + Add-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -ManagerIds $manager.id -Permission 3 + + Update-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -ManagerId $manager.id -Permission 2 + $managers = Get-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom + $managers.Permission | Should -Be 2 + Remove-ZNGroupsAssetManager -GroupId $customGroup.Id -GroupType Custom -GroupOrUserId $manager.id + Remove-ZNCustomGroup -GroupId $customGroup.Id + } +} diff --git a/src/ZN/test/Update-ZNGroupsExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Update-ZNGroupsExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..d6643e8 --- /dev/null +++ b/src/ZN/test/Update-ZNGroupsExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNGroupsExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNGroupsExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNGroupsExternalAccessPolicy' { + It 'UpdateExpanded' { + $groupId = ((Get-ZNGroup -Search "Externally Facing Servers").Items).Id + $srcUser = Get-ZNExternalAccessPolicySourceUserCandidate -Search "Any user" + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $Policy = New-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag -DstAssetId $groupId -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalUpdateGroupsTest" -RuleDuration 4 -SrcUserIdsList @($srcUser.Id) -State 1 -Url "https://external.posh.local" + + $updatedPolicy = Update-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag -PolicyId $Policy.ItemId -Name "ExternalTestUpdateGroups" -Url "https://external.posh.local/updated" + + $Policy.ItemUrl | Should -Be "https://external.posh.local/updated" + Remove-ZNGroupsExternalAccessPolicy -GroupId $groupId -GroupType tag -PolicyId $Policy.ItemId + } +} diff --git a/src/ZN/test/Update-ZNGroupsInboundRule.Tests.ps1 b/src/ZN/test/Update-ZNGroupsInboundRule.Tests.ps1 index 91c21fe..7afce75 100644 --- a/src/ZN/test/Update-ZNGroupsInboundRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNGroupsInboundRule.Tests.ps1 @@ -24,9 +24,9 @@ Describe 'Update-ZNGroupsInboundRule' { $rule = New-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) - Update-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Item.Id -Description $newdescription - $updatedRule = Get-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Item.Id - $updatedRule.Item.Description | Should -Be $newdescription - Remove-ZNInboundRule -RuleId $rule.Item.Id + Update-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.ItemId -Description $newdescription + $updatedRule = Get-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.ItemId + $updatedRule.ItemDescription | Should -Be $newdescription + Remove-ZNInboundRule -RuleId $rule.ItemId } } diff --git a/src/ZN/test/Update-ZNGroupsManagedAsset.Tests.ps1 b/src/ZN/test/Update-ZNGroupsManagedAsset.Tests.ps1 new file mode 100644 index 0000000..4cf289f --- /dev/null +++ b/src/ZN/test/Update-ZNGroupsManagedAsset.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNGroupsManagedAsset')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNGroupsManagedAsset.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNGroupsManagedAsset' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Update-ZNGroupsMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Update-ZNGroupsMfaIdentityPolicy.Tests.ps1 index f1a7af6..587dbb2 100644 --- a/src/ZN/test/Update-ZNGroupsMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNGroupsMfaIdentityPolicy.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNGroupsMfaIdentityPol Describe 'Update-ZNGroupsMfaIdentityPolicy' { It 'UpdateExpanded' { $asset = (Search-ZNAsset -Fqdn dc01.posh.local).AssetId - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNGroupsMfaIdentityPolicy -GroupId $group.id -GroupType tag -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 diff --git a/src/ZN/test/Update-ZNGroupsMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Update-ZNGroupsMfaInboundPolicy.Tests.ps1 index b45ff47..ff6bbf7 100644 --- a/src/ZN/test/Update-ZNGroupsMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNGroupsMfaInboundPolicy.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Update-ZNGroupsMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) Update-ZNGroupsMfaInboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.ItemId -Description $newdescription diff --git a/src/ZN/test/Update-ZNGroupsMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Update-ZNGroupsMfaOutboundPolicy.Tests.ps1 index 28479a9..cebe4aa 100644 --- a/src/ZN/test/Update-ZNGroupsMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNGroupsMfaOutboundPolicy.Tests.ps1 @@ -22,7 +22,7 @@ Describe 'Update-ZNGroupsMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $group.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) Update-ZNGroupsMfaOutboundPolicy -GroupId $group.id -GroupType tag -ReactivePolicyId $policy.ItemId -Description $newdescription diff --git a/src/ZN/test/Update-ZNGroupsOutboundRule.Tests.ps1 b/src/ZN/test/Update-ZNGroupsOutboundRule.Tests.ps1 index 1a36a15..81152af 100644 --- a/src/ZN/test/Update-ZNGroupsOutboundRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNGroupsOutboundRule.Tests.ps1 @@ -23,8 +23,9 @@ Describe 'Update-ZNGroupsOutboundRule' { $rule = New-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt $newdescription = "new description" + (Get-Random -Minimum 1 -Maximum 100) - Update-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.Item.Id -Description $newdescription - $updatedRule = Get-ZNOutboundRule -RuleId $rule.Item.Id - $updatedRule.Item.Description | Should -Be $newdescription + Update-ZNGroupsOutboundRule -GroupId $group.id -GroupType tag -RuleId $rule.ItemId -Description $newdescription + $updatedRule = Get-ZNOutboundRule -RuleId $rule.ItemId + $updatedRule.ItemDescription | Should -Be $newdescription + Remove-ZNOutboundRule -RuleId $rule.ItemId } } diff --git a/src/ZN/test/Update-ZNGroupsRpcRule.Tests.ps1 b/src/ZN/test/Update-ZNGroupsRpcRule.Tests.ps1 index b348356..e85e18e 100644 --- a/src/ZN/test/Update-ZNGroupsRpcRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNGroupsRpcRule.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Update-ZNGroupsRpcRule' { $asset = (Search-ZNAsset -Fqdn as01.posh.local).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNGroupsRpcRulesUserCandidate -GroupId $group.Id -GroupType tag -Search 'Any User').Id - $rule = New-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule = New-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) $description = "description" + (Get-Random -Minimum 1 -Maximum 50) $updatedRule = Update-ZNGroupsRpcRule -GroupId $group.Id -GroupType tag -RuleId $rule.ItemId -Description $description diff --git a/src/ZN/test/Update-ZNIdentityOnboardingPolicy.Tests.ps1 b/src/ZN/test/Update-ZNIdentityOnboardingPolicy.Tests.ps1 new file mode 100644 index 0000000..2e7be8a --- /dev/null +++ b/src/ZN/test/Update-ZNIdentityOnboardingPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNIdentityOnboardingPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNIdentityOnboardingPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNIdentityOnboardingPolicy' { + It 'UpdateExpanded' { + $group = (Get-ZNIdentityOnboardingPoliciesGroupCandidate -Search "Account Operators").Items | select -First 1 + $policy = New-ZNIdentityOnboardingPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Description "Powershell test" -Enabled:$false + $updatedPolicy = Update-ZNIdentityOnboardingPolicy -OnboardingPolicyId $policy.ItemId -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 + $updatedPolicy.ItemExistingMembersLearningDays | Should -Be 60 + Remove-ZNIdentityOnboardingPolicy -OnboardingPolicyId $policy.ItemId + } +} diff --git a/src/ZN/test/Update-ZNInboundRule.Tests.ps1 b/src/ZN/test/Update-ZNInboundRule.Tests.ps1 index d629d54..f519013 100644 --- a/src/ZN/test/Update-ZNInboundRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNInboundRule.Tests.ps1 @@ -24,7 +24,8 @@ Describe 'Update-ZNInboundRule' { $rule = New-ZNInboundRule -Action 1 -LocalEntityId $destination.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) - $updatedRule = Update-ZNInboundRule -RuleId $rule.Item.Id -Description $newdescription - $updatedRule.Item.Description | Should -Be $newdescription + $updatedRule = Update-ZNInboundRule -RuleId $rule.ItemId -Description $newdescription + $updatedRule.ItemDescription | Should -Be $newdescription + Remove-ZNInboundRule -RuleId $rule.ItemId } } diff --git a/src/ZN/test/Update-ZNMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Update-ZNMfaIdentityPolicy.Tests.ps1 index 7843147..03943f5 100644 --- a/src/ZN/test/Update-ZNMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNMfaIdentityPolicy.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNMfaIdentityPolicy')) Describe 'Update-ZNMfaIdentityPolicy' { It 'UpdateExpanded' { $user = (Get-ZNUser).Items | Select -First 1 - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNMfaIdentityPolicy -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 diff --git a/src/ZN/test/Update-ZNMfaInboundPolicy.Tests.ps1 b/src/ZN/test/Update-ZNMfaInboundPolicy.Tests.ps1 index eb68609..9d8bfbe 100644 --- a/src/ZN/test/Update-ZNMfaInboundPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNMfaInboundPolicy.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Update-ZNMfaInboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPorts = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaInboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPorts -DstProcessNames @("*") -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) $updatedPolicy = Update-ZNMfaInboundPolicy -ReactivePolicyId $policy.ItemId -Description $newdescription diff --git a/src/ZN/test/Update-ZNMfaOutboundPolicy.Tests.ps1 b/src/ZN/test/Update-ZNMfaOutboundPolicy.Tests.ps1 index 3021ae0..2049819 100644 --- a/src/ZN/test/Update-ZNMfaOutboundPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNMfaOutboundPolicy.Tests.ps1 @@ -25,7 +25,7 @@ Describe 'Update-ZNMfaOutboundPolicy' { $sourceUserEntity.Id = $sourceUser.Id [string]$dstPort = Get-Random -Minimum 1 -Maximum 65000 $portsList = New-ZNPortsList -Empty - $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false + $policy = New-ZNMfaOutboundPolicy -AdditionalPortsList $portsList -DstEntityInfoId $destination.Id -DstPort $dstPort -FallbackToLoggedOnUser -MfaMethods @(4) -ProtocolType 6 -RuleDuration 6 -SrcEntityInfos @($sourceEntity) -SrcProcessNames @("*") -SrcUserInfos @($sourceUserEntity) -State 1 -OverrideBuiltins:$false -RestrictLoginToOriginatingUser:$false $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) $updatedPolicy = Update-ZNMfaOutboundPolicy -ReactivePolicyId $policy.ItemId -Description $newdescription diff --git a/src/ZN/test/Update-ZNNetworkOnboardingPolicy.Tests.ps1 b/src/ZN/test/Update-ZNNetworkOnboardingPolicy.Tests.ps1 new file mode 100644 index 0000000..8050354 --- /dev/null +++ b/src/ZN/test/Update-ZNNetworkOnboardingPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNNetworkOnboardingPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNNetworkOnboardingPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNNetworkOnboardingPolicy' { + It 'UpdateExpanded' { + $group = (Get-ZNNetworkOnboardingPoliciesGroupCandidate -Search "Account Operators").Items | select -First 1 + $policy = New-ZNNetworkOnboardingPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Description "Powershell test" -Enabled:$false + $updatedPolicy = Update-ZNNetworkOnboardingPolicy -OnboardingPolicyId $policy.ItemId -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 + $updatedPolicy.ItemExistingMembersLearningDays | Should -Be 60 + Remove-ZNNetworkOnboardingPolicy -OnboardingPolicyId $policy.ItemId + } +} diff --git a/src/ZN/test/Update-ZNOutboundRule.Tests.ps1 b/src/ZN/test/Update-ZNOutboundRule.Tests.ps1 index a4333e7..f6d908a 100644 --- a/src/ZN/test/Update-ZNOutboundRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNOutboundRule.Tests.ps1 @@ -23,7 +23,8 @@ Describe 'Update-ZNOutboundRule' { $rule = New-ZNOutboundRule -Action 1 -LocalEntityId $source.Id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($destination.id) -State 1 -ExpiresAt $expiresAt $newdescription = "new description" + (Get-Random -Minimum 1 -Maximum 100) - $updatedRule = Update-ZNOutboundRule -RuleId $rule.Item.Id -Description $newdescription - $updatedRule.Item.Description | Should -Be $newdescription + $updatedRule = Update-ZNOutboundRule -RuleId $rule.ItemId -Description $newdescription + $updatedRule.ItemDescription | Should -Be $newdescription + Rempve-ZNOutboundRule -RuleId $rule.ItemId } } diff --git a/src/ZN/test/Update-ZNProtectionPolicy.Tests.ps1 b/src/ZN/test/Update-ZNProtectionPolicy.Tests.ps1 deleted file mode 100644 index 8961dc8..0000000 --- a/src/ZN/test/Update-ZNProtectionPolicy.Tests.ps1 +++ /dev/null @@ -1,31 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNProtectionPolicy')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNProtectionPolicy.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'Update-ZNProtectionPolicy' { - It 'UpdateExpanded' { - $group = (Get-ZNGroup -Search "ProtectionPolicy").Items - $protectionPolicy = New-ZNProtectionPolicy -GroupId $group.Id -newMembersLearningDays 30 -InitialQueueDays 30 - $protectionPolicy = Get-ZNProtectionPolicy | Select -First 1 - if($protectionPolicy.newMembersLearningDays -eq 30){ - $newMembersLearningDays = 14 - } else { - $newMembersLearningDays = 30 - } - $updatedProtectionPolicy = Update-ZNProtectionPolicy -ProtectionPolicyId $protectionPolicy.Id -newMembersLearningDays $newMembersLearningDays - $updatedProtectionPolicy.ItemnewMembersLearningDays | Should -Be $newMembersLearningDays - Remove-ZNProtectionPolicy -ProtectionPolicyId $protectionPolicy.Id - } -} diff --git a/src/ZN/test/Update-ZNRpcRule.Tests.ps1 b/src/ZN/test/Update-ZNRpcRule.Tests.ps1 index 637a1fc..e728763 100644 --- a/src/ZN/test/Update-ZNRpcRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNRpcRule.Tests.ps1 @@ -19,7 +19,7 @@ Describe 'Update-ZNRpcRule' { $asset = (Search-ZNAsset -Fqdn switch03).AssetId $group = (Get-ZNGroup -Search 'domain controllers').Items | where {$_.Id -like 'g:t:*'} $user = (Get-ZNRpcRulesUserCandidate -Search 'Any User').Id - $rule = New-ZNRpcRule -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @() -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) + $rule = New-ZNRpcRule -Action 1 -Description "New RPC Rule" -ExcludedAssetIdsList @() -InterfaceUuidsList @("rpcAnyInterfaceId") -LocalAssetId $group.Id -OpNumbersList @() -ProtocolsList @() -RemoteAssetIdsList @($asset) -State 1 -UserIdsList @($user) $description = "description" + (Get-Random -Minimum 1 -Maximum 50) $updatedRule = Update-ZNRpcRule -RuleId $rule.ItemId -Description $description $updatedRule.ItemDescription | Should -Be $description diff --git a/src/ZN/test/Update-ZNSettingsAdLinux.Tests.ps1 b/src/ZN/test/Update-ZNSettingsAdLinux.Tests.ps1 new file mode 100644 index 0000000..367442e --- /dev/null +++ b/src/ZN/test/Update-ZNSettingsAdLinux.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsAdLinux')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNSettingsAdLinux.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNSettingsAdLinux' { + It 'UpdateExpanded' { + New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} + { Update-ZNSettingsAdLinux -DomainId test.local -ForestId $forest.ForestId -AdLinuxConfigAllowInstallPackages -AdLinuxConfigPassword "zero@1313" -AdLinuxConfigPrivateKey "-----BEGIN RSA PRIVATE KEY-----MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEmo3qGy0t6z09AIJtH+5OeRV1be+N4cDYJKffGzDa88vQENZiRm0GRq6a+HPGQMd2kTQIhAKMSvzIBnni7ot/OSie2TmJLY4SwTQAevXysE2RbFDYdAiEBCUEaRQnMnbp79mxDXDf6AU0cN/RPBjb9qSHDcWZHGzUCIG2Es59z8ugGrDY+pxLQnwfotadxd+Uyv/Ow5T0q5gIJAiEAyS4RaI9YG8EWx/2w0T67ZUVAw8eOMB6BIUg0Xcu+3okCIBOs/5OiPgoTdSy7bcF9IGpSE8ZgGKzgYQVZeN97YE00-----END RSA PRIVATE KEY-----" -AdLinuxConfigUsername "zn-admin" -UseForAllDomains } | Should -Not -Throw + Remove-ZNSettingsAdLinux -DomainId test.local -ForestId $forest.ForestId + Remove-ZNSettingsAd -ForestId $forest.ForestId + } +} diff --git a/src/ZN/test/Update-ZNSettingsAdLinuxAutomationGroup.Tests.ps1 b/src/ZN/test/Update-ZNSettingsAdLinuxAutomationGroup.Tests.ps1 new file mode 100644 index 0000000..b216b6e --- /dev/null +++ b/src/ZN/test/Update-ZNSettingsAdLinuxAutomationGroup.Tests.ps1 @@ -0,0 +1,26 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsAdLinuxAutomationGroup')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNSettingsAdLinuxAutomationGroup.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNSettingsAdLinuxAutomationGroup' { + It 'UpdateExpanded' { + New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} + Update-ZNSettingsAdLinux -DomainId test.local -ForestId $forest.ForestId -AdLinuxConfigAllowInstallPackages -AdLinuxConfigPassword "zero@1313" -AdLinuxConfigPrivateKey "-----BEGIN RSA PRIVATE KEY-----MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8QuKUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEmo3qGy0t6z09AIJtH+5OeRV1be+N4cDYJKffGzDa88vQENZiRm0GRq6a+HPGQMd2kTQIhAKMSvzIBnni7ot/OSie2TmJLY4SwTQAevXysE2RbFDYdAiEBCUEaRQnMnbp79mxDXDf6AU0cN/RPBjb9qSHDcWZHGzUCIG2Es59z8ugGrDY+pxLQnwfotadxd+Uyv/Ow5T0q5gIJAiEAyS4RaI9YG8EWx/2w0T67ZUVAw8eOMB6BIUg0Xcu+3okCIBOs/5OiPgoTdSy7bcF9IGpSE8ZgGKzgYQVZeN97YE00-----END RSA PRIVATE KEY-----" -AdLinuxConfigUsername "zn-admin" -UseForAllDomains + { Update-ZNSettingsAdLinuxAutomationGroup -ForestId $forest.ForestId -MonitoredGroupId b:110003 } | Should -Not -Throw + Remove-ZNSettingsAdLinux -DomainId test.local -ForestId $forest.ForestId + Remove-ZNSettingsAd -ForestId $forest.ForestId + } +} diff --git a/src/ZN/test/Update-ZNSettingsAdAutomationGroup.Tests.ps1 b/src/ZN/test/Update-ZNSettingsAdWindowsAutomationGroup.Tests.ps1 similarity index 77% rename from src/ZN/test/Update-ZNSettingsAdAutomationGroup.Tests.ps1 rename to src/ZN/test/Update-ZNSettingsAdWindowsAutomationGroup.Tests.ps1 index 33152c6..bf34ce8 100644 --- a/src/ZN/test/Update-ZNSettingsAdAutomationGroup.Tests.ps1 +++ b/src/ZN/test/Update-ZNSettingsAdWindowsAutomationGroup.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsAdAutomationGroup')) +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsAdWindowsAutomationGroup')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNSettingsAdAutomationGroup.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNSettingsAdWindowsAutomationGroup.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,10 +14,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsAdAutomation . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-ZNSettingsAdAutomationGroup' { +Describe 'Update-ZNSettingsAdWindowsAutomationGroup' { It 'UpdateExpanded' { - # cant test automatically - $a = 1 - $a | Should -Be 1 + $a = 1 + $a | Should -Be 1 } } diff --git a/src/ZN/test/Update-ZNSettingsClientSubnet.Tests.ps1 b/src/ZN/test/Update-ZNSettingsClientSubnet.Tests.ps1 index 2077bc6..aa42475 100644 --- a/src/ZN/test/Update-ZNSettingsClientSubnet.Tests.ps1 +++ b/src/ZN/test/Update-ZNSettingsClientSubnet.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsClientSubnet Describe 'Update-ZNSettingsClientSubnet' { It 'UpdateExpanded' { $setting = Get-ZNSettingsClientSubnet - { Update-ZNSettingsClientSubnet -PrivateNetworksList @("192.168.1.0/24") } | Should -Not -Throw - Update-ZNSettingsClientSubnet -PrivateNetworksList $setting.ConfigPrivateNetworksList + { Update-ZNSettingsClientSubnet -PrivateIpv4NetworksList @("192.168.1.0/24") } | Should -Not -Throw + Update-ZNSettingsClientSubnet -PrivateIpv4NetworksList $setting.ConfigPrivateIpv4NetworksList } } diff --git a/src/ZN/test/Update-ZNSettingsInternalSubnet.Tests.ps1 b/src/ZN/test/Update-ZNSettingsInternalSubnet.Tests.ps1 index 251b686..1a76f1b 100644 --- a/src/ZN/test/Update-ZNSettingsInternalSubnet.Tests.ps1 +++ b/src/ZN/test/Update-ZNSettingsInternalSubnet.Tests.ps1 @@ -14,14 +14,14 @@ while(-not $mockingPath) { Describe 'Update-ZNSettingsInternalSubnet' { It 'UpdateExpanded' { #198.18.0.0/15 - $setting = (Get-ZNSettingsInternalSubnet).ConfigPrivateNetworksList + $setting = (Get-ZNSettingsInternalSubnet).ConfigPrivateIpv4NetworksList if($setting -contains '198.18.0.0/15'){ $newSetting = @('10.0.0.0/8','100.64.0.0/10','169.254.0.0/16','172.16.0.0/12','192.0.0.0/24','192.168.0.0/16') }else{ $newSetting = @('10.0.0.0/8','100.64.0.0/10','169.254.0.0/16','172.16.0.0/12','192.0.0.0/24','192.168.0.0/16','198.18.0.0/15') } Update-ZNSettingsInternalSubnet -PrivateNetworksList $newSetting - $updatedSetting = (Get-ZNSettingsInternalSubnet).ConfigPrivateNetworksList + $updatedSetting = (Get-ZNSettingsInternalSubnet).ConfigPrivateIpv4NetworksList $updatedSetting | Should -Be $newSetting } } diff --git a/src/ZN/test/Update-ZNSettingsMaintenanceWindow.Tests.ps1 b/src/ZN/test/Update-ZNSettingsMaintenanceWindow.Tests.ps1 new file mode 100644 index 0000000..d6493f8 --- /dev/null +++ b/src/ZN/test/Update-ZNSettingsMaintenanceWindow.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsMaintenanceWindow')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNSettingsMaintenanceWindow.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNSettingsMaintenanceWindow' { + It 'UpdateExpanded' { + $setting = New-ZNSettingsMaintenanceWindow -IsDefault:$false -Name "MaintWindowTest" -StartTime 1 -Weekday 1 + $updatedSetting = Update-ZNSettingsMaintenanceWindow -MaintenanceWindowId $setting.ItemId -Name "MaintWindowTestUpdated" -startTime 2 -Weekday 2 + + $updatedsetting.ItemName | Should -Be "MaintWindowTestUpdated" + Remove-ZNSettingsMaintenanceWindow -MaintenanceWindowId $setting.ItemId + } +} diff --git a/src/ZN/test/Update-ZNUserExternalAccessPolicy.Tests.ps1 b/src/ZN/test/Update-ZNUserExternalAccessPolicy.Tests.ps1 new file mode 100644 index 0000000..409305c --- /dev/null +++ b/src/ZN/test/Update-ZNUserExternalAccessPolicy.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNUserExternalAccessPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNUserExternalAccessPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNUserExternalAccessPolicy' { + It 'UpdateExpanded' { + $userId = ((Get-ZNUser -Search "zero").Items | where {$_.Name -eq "zero"}).Id + $portsList = New-ZNPortsList -Protocol TCP -Ports 12 + $dstAsset = (Search-ZNAsset -Fqdn ls01.posh.local).AssetId + $Policy = New-ZNUserExternalAccessPolicy -UserId $userId -DstAssetId $dstAsset -DstPortsList $portsList -DstProcessNamesList @("*") -Name "ExternalUpdateUserTest" -RuleDuration 4 -SrcUserIdsList @($userId) -State 1 -Url "https://external.posh.local" + + $updatedPolicy = Update-ZNExternalAccessPolicy -UserId $userId -PolicyId $Policy.ItemId -Name "ExternalTestUpdateUser" -Url "https://external.posh.local/updated" + + $Policy.ItemUrl | Should -Be "https://external.posh.local/updated" + Remove-ZNUserExternalAccessPolicy -UserId $userId -PolicyId $Policy.ItemId + } +} diff --git a/src/ZN/test/Update-ZNUserMfaIdentityPolicy.Tests.ps1 b/src/ZN/test/Update-ZNUserMfaIdentityPolicy.Tests.ps1 index 890fb2a..c7e9131 100644 --- a/src/ZN/test/Update-ZNUserMfaIdentityPolicy.Tests.ps1 +++ b/src/ZN/test/Update-ZNUserMfaIdentityPolicy.Tests.ps1 @@ -17,7 +17,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNUserMfaIdentityPolic Describe 'Update-ZNUserMfaIdentityPolicy' { It 'UpdateExpanded' { $user = (Get-ZNUser).Items | Select -First 1 - $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "domain controllers").items | where {$_.Id -like "g:t:*"} + $group = (Get-ZNMfaIdentityPoliciesDestinationCandidate -Search "databases").items | where {$_.Id -like "g:t:*"} $source = (Get-ZNMfaIdentityPoliciesSourceCandidate -Search "Any Asset").items $users = (Get-ZNMfaIdentityPoliciesSourceUserCandidate -Search "Domain Admins").items $policy = New-ZNUserMfaIdentityPolicy -UserId $user.id -DstAssetId $group.id -FallbackToSingleLoggedOnUser:$true -IdentityProtectionCategoryList @(5) -MfaMethodsList @(4) -OverrideBuiltins:$false -RuleDuration 6 -SrcAssetIdsList @($source.id) -SrcUserIdsList @($users.id) -State 1 diff --git a/src/ZN/test/New-AzPortsListItemObject.Tests.ps1 b/src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 similarity index 69% rename from src/ZN/test/New-AzPortsListItemObject.Tests.ps1 rename to src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 index c3f03dc..67742a8 100644 --- a/src/ZN/test/New-AzPortsListItemObject.Tests.ps1 +++ b/src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'New-AzPortsListItemObject')) +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNUsersManagedAsset')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPortsListItemObject.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNUsersManagedAsset.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,8 +14,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzPortsListItemObject')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzPortsListItemObject' { - It '__AllParameterSets' -skip { +Describe 'Update-ZNUsersManagedAsset' { + It 'UpdateExpanded' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } } diff --git a/src/ZN/test/localEnv.json b/src/ZN/test/localEnv.json index 3a9d6eb..1138f16 100644 --- a/src/ZN/test/localEnv.json +++ b/src/ZN/test/localEnv.json @@ -1,3 +1,3 @@ { - "baseUri": "https://portal.zeronetworks.com/api/v1" + "baseUri": "https://portal-staging.zeronetworks.com/api/v1" } diff --git a/src/ZN/test/utils.ps1 b/src/ZN/test/utils.ps1 index 61b6001..6874139 100644 --- a/src/ZN/test/utils.ps1 +++ b/src/ZN/test/utils.ps1 @@ -5,6 +5,45 @@ function RandomString([bool]$allChars, [int32]$len) { return -join ((48..57) + (97..122) | Get-Random -Count $len | % {[char]$_}) } } + +function Decode-JWTToken { + + [cmdletbinding()] + param([Parameter(Mandatory=$true)][string]$token) + + #Validate as per https://tools.ietf.org/html/rfc7519 + #Access and ID tokens are fine, Refresh tokens will not work + if (!$token.Contains(".") -or !$token.StartsWith("eyJ")) { Write-Error "Invalid token" -ErrorAction Stop } + + #Header + $tokenheader = $token.Split(".")[0].Replace('-', '+').Replace('_', '/') + #Fix padding as needed, keep adding "=" until string length modulus 4 reaches 0 + while ($tokenheader.Length % 4) { Write-Verbose "Invalid length for a Base-64 char array or string, adding ="; $tokenheader += "=" } + Write-Verbose "Base64 encoded (padded) header:" + Write-Verbose $tokenheader + #Convert from Base64 encoded string to PSObject all at once + Write-Verbose "Decoded header:" + #[System.Text.Encoding]::ASCII.GetString([system.convert]::FromBase64String($tokenheader)) | ConvertFrom-Json | fl | Out-Default + + #Payload + $tokenPayload = $token.Split(".")[1].Replace('-', '+').Replace('_', '/') + #Fix padding as needed, keep adding "=" until string length modulus 4 reaches 0 + while ($tokenPayload.Length % 4) { Write-Verbose "Invalid length for a Base-64 char array or string, adding ="; $tokenPayload += "=" } + Write-Verbose "Base64 encoded (padded) payoad:" + Write-Verbose $tokenPayload + #Convert to Byte array + $tokenByteArray = [System.Convert]::FromBase64String($tokenPayload) + #Convert to string array + $tokenArray = [System.Text.Encoding]::ASCII.GetString($tokenByteArray) + Write-Verbose "Decoded array in JSON format:" + Write-Verbose $tokenArray + #Convert from JSON to PSObject + $tokobj = $tokenArray | ConvertFrom-Json + Write-Verbose "Decoded Payload:" + + return $tokobj +} + $env = @{} if ($UsePreviousConfigForRecord) { $previousEnv = Get-Content (Join-Path $PSScriptRoot 'env.json') | ConvertFrom-Json @@ -18,6 +57,9 @@ function setupEnv() { # as default. You could change them if needed. #$env.SubscriptionId = (Get-AzContext).Subscription.Id #$env.Tenant = (Get-AzContext).Tenant.Id + if(Get-Module Az.Accounts){} else { + Install-Module Az.Accounts -Force + } #Constants $constants = Get-Content ../../tools/constants.json | ConvertFrom-Json @@ -29,14 +71,54 @@ function setupEnv() { exit } + Connect-AzAccount -UseDeviceAuthentication -Subscription 51a36d38-3b14-471f-8dde-a5867f5e51eb + $azToken = "Bearer "+(Get-AzAccessToken -ResourceUrl https://znapikeys.vault.azure.net).Token + $azHeaders = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" + $azHeaders.Add("Authorization", $azToken) + $azHeaders.Add("Content-Type","application/json") + if($envToTest -eq "prd"){ + $poshSecret = (Invoke-Restmethod -Method Get -Uri https://znapikeys.vault.azure.net/secrets/Posh-PRD-ApiKey?api-version=7.4 -Headers $azHeaders).value + $teamSecret = (Invoke-Restmethod -Method Get -Uri https://znapikeys.vault.azure.net/secrets/TeamToken?api-version=7.4 -Headers $azHeaders).value + } elseif($envToTest -eq "stg"){ + $poshSecret = (Invoke-Restmethod -Method Get -Uri https://znapikeys.vault.azure.net/secrets/Posh-STG-ApiKey?api-version=7.4 -Headers $azHeaders).value + $teamSecret = (Invoke-Restmethod -Method Get -Uri https://znapikeys.vault.azure.net/secrets/TeamToken-Stg?api-version=7.4 -Headers $azHeaders).value + } elseif($envToTest -eq "dev"){ + $poshSecret = (Invoke-Restmethod -Method Get -Uri https://znapikeys.vault.azure.net/secrets/Posh-DEV-ApiKey?api-version=7.4 -Headers $azHeaders).value + $teamSecret = (Invoke-Restmethod -Method Get -Uri https://znapikeys.vault.azure.net/secrets/TeamToken-Dev?api-version=7.4 -Headers $azHeaders).value + } else { + Write-Host "Couldnt find environment to test in constants.json" + exit + } + + + try { + $decodedToken = Decode-JWTToken $poshSecret + $env:ZNAccountName = $decodedToken.aud.Split(".zeronetworks.com")[0] + $ZNAccountName = $decodedToken.aud.Split(".zeronetworks.com")[0] + } + catch { + throw + } + + try { + $env:ZNApiKey = $poshSecret + } + catch { + throw + } + + + $env.Add("baseUri", ($constants.$envToTest.baseURL+"/api/v1")) $znHeader = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" - $znHeader.Add("Authorization", $constants.$envToTest.ZNApiKey) + #$znHeader.Add("Authorization", $constants.$envToTest.ZNApiKey) + $znHeader.Add("Authorization", $poshSecret) $znHeader.Add("Content-Type","application/json") $znTeamHeader = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" - $znTeamHeader.Add("Authorization", $constants.$envToTest.ZNTeamApiKey) + #$znTeamHeader.Add("Authorization", $constants.$envToTest.ZNTeamApiKey) + $znTeamHeader.Add("Authorization", $teamSecret) $znTeamHeader.Add("Content-Type","application/json") $znTeamHeader.Add("zn-env-id",$constants.$envToTest.ZNEnvId) diff --git a/src/cmdlets/0.0.13-preview-syntax.md b/src/cmdlets/0.0.13-preview-syntax.md new file mode 100644 index 0000000..dc581f9 --- /dev/null +++ b/src/cmdlets/0.0.13-preview-syntax.md @@ -0,0 +1,2306 @@ + +Add-ZNAssetManager -AssetId -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNAssetOtAssetManager -AssetId -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNAssetRpcMonitoring -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Add-ZNAssetRpcMonitoring -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNAssetRpcSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Add-ZNAssetRpcSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNCustomGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNGroupsAssetManager -GroupId -GroupType -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNGroupsManagedAsset -GroupId -GroupType [-EntityIds ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNTagGroupsMember -GroupId -MembersId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNUsersManagedAsset -UserId [-EntityIds ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNAssetInboundRuleReview -AssetId -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNInboundRuleReview -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNInboundRuleReview -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNOutboundRuleReview -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Connect-ZN -Email [-WhatIf] [-Confirm] [] + + + + +Deny-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNInboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Disconnect-ZN [-WhatIf] [-Confirm] [] + + + + +Get-ZNAiExclusionNetworkBoth [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionNetworkClient [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionNetworkServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionSourceEntity [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiNextBatch [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAsset [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAsset -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetAnalysis -AssetId -Direction [-Connectionstate ] [-From ] [-Sort ] [-To ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetAudit -AssetId [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetClusterInfo -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetHealthState -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRule -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetIdentityRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesAssetsCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRule -AssetId [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetInboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesExcludedDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesSourceCandidate -AssetId -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetListeningPort -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetManager -AssetId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetManagersCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMemberOf -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOt -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAssetManager -AssetId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAssetManagersCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAudit -AssetId [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtMemberOf -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtTag -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRule -AssetId [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetOutboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesDestinationCandidate -AssetId -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRule -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetRpcRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesExcludedDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRulesDistribution -AssetId -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsIdentityQueued [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsIdentitySegmented [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsInactive [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsMonitored [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsNetworkQueued [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsOt [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsProtected [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcMonitored [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcQueued [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcSegmented [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsStatesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetTag -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAudit [-Limit ] [-Cursor ] [-EntityId ] [-Filters ] [-From ] [-Order ] [-Search ] [-To ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNCustomGroupsCandidate [-Limit ] [-GroupId ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroup [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroup -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupAudit -GroupId -GroupType [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupMemberOf -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsAssetManager -GroupId -GroupType [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsAssetManagersCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsByType -GroupType [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRule -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRule -GroupId -GroupType [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesExcludedDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesSourceCandidate -GroupId -GroupType -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsManagedAsset -GroupId -GroupType [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsManagedAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMember -GroupId -GroupType -IncludeNestedMembers [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRule -GroupId -GroupType [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesDestinationCandidate -GroupId -GroupType -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRule -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesExcludedDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRulesDistribution -GroupId -GroupType -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNIdentityRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesExcludedAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNInboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesExcludedDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesSourceCandidate -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaIdentityPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaInboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaOutboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaPoliciesDistribution [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaPoliciesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNOutboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesDestinationCandidate -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesExcludedSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNRpcRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesExcludedDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRulesDistribution -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRulesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSegmentServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSession [-Limit ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAad [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAdMonitoredCandidate -ForestId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAdProtectedCandidate -ForestId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAnsible [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAssetManager [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAuth [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsBreakGlass [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientsTrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientSubnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientsUntrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClusterStrategy [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectClientAutoUpdate [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectRegion [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectServer [-Limit ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfig [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsDefaultApplication [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewall [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallIgnoredGpo [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallIgnoredRule [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallProfile [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsIdentityProtectionPoliciesCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsIdentityProtectionPolicy [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsIdp [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsInactiveAsset [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsInternalSubnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsJamfCredentials [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLearningConfig [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLicense -ProtectionType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLinuxSetup [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLinuxUser [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaAuthentication [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaCache [-Limit ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaCacheCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaDetection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsNetworkProtectionPoliciesCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsNetworkProtectionPolicy [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsNotification [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsPrivilegedPort [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsPushNotification [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsServersTrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsServersUntrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsTrustedInternetAddress [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsZpa [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNTagGroupsCandidate [-Limit ] [-GroupId ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUser [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUser -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserAudit -UserId [-Limit ] [-Cursor ] [-Filters ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRule -UserId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserIdentityRule -UserId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesUserCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMemberOf -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesMfamethod -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPolicy -UserId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserMfaIdentityPolicy -UserId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserRulesDistribution -RuleId -UserId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersIdentityQueued [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersIdentitySegmented [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersManagedAsset -UserId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersManagedAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersServiceAccount [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Initialize-ZNAssetBreakGlass -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Initialize-ZNAssetBreakGlass -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetDeactivateBreakGlass -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetDeactivateBreakGlass -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetIdentityExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetIdentityExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetIdentityQueue -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetIdentityQueue -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetNetworkExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetNetworkExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetNetworkQueue -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetNetworkQueue -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetOtNetworkExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetOtNetworkExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetOtNetworkQueue -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetOtNetworkQueue -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetRpcExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetRpcQueue -Items -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNDownloadCloudConnectorInstaller [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadConnectClient -Platform [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadConnectServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadSegmentServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntityIP -IP [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntityIPRange -IPRange [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntitySubnet -Subnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNRediscoverAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNRediscoverLinux [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNResyncAzureAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNUserIdentityQueue -QueueDays -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetIdentityRule -AssetId -Action -AssetId1 -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetInboundRule -AssetId -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaIdentityPolicy -AssetId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaInboundPolicy -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaOutboundPolicy -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetOutboundRule -AssetId -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetRpcRule -AssetId -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetsLinux -DisplayName -Fqdn [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetsOt -DisplayName -Fqdn -Ipv4 -Type [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNCustomGroup -Name [-Description ] [-MembersId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsIdentityRule -GroupId -GroupType -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsInboundRule -GroupId -GroupType -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaInboundPolicy -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsOutboundRule -GroupId -GroupType -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsRpcRule -GroupId -GroupType -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNIdentityRule -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNInboundRule -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaIdentityPolicy -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaInboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaOutboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNOutboundRule -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNPortsList -Protocol [-Ports ] [] + +New-ZNPortsList -Empty [] + + + + +New-ZNRpcRule -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsAd [-AllowNtlmFallback] [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsAdSecondary -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsConnectRegion [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsConnectUserAccessConfig [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsIdentityProtectionPolicy -ExistingMembersLearningDays -GroupId -NewMembersLearningDays [-Description ] [-Enabled] [-EnforceBlocks] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsIdp [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsMfaCache -AssetLimit -EntityId -TtlMinutes [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsNetworkProtectionPolicy -ExistingMembersLearningDays -GroupId -NewMembersLearningDays [-Description ] [-Enabled] [-EnforceBlocks] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] [-Host1 ] [-Id ] [-IdentityProvider ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] -TenantId [-WhatIf] [-Confirm] [] + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] -ApiHostname -IntegrationKey [-WhatIf] [-Confirm] [] + + + + +New-ZNUserIdentityRule -UserId -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNUserMfaIdentityPolicy -UserId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetIdentity -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetIdentity -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetOtNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetOtNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNUserIdentity -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNApiKey [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetIdentityRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetInboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetManager -AssetId -GroupOrUserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetOtAssetManager -AssetId -GroupOrUserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetOutboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetRpcMonitoring -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Remove-ZNAssetRpcMonitoring -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetRpcRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetRpcSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Remove-ZNAssetRpcSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNCustomGroup -GroupId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNCustomGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsAssetManager -GroupId -GroupOrUserId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsManagedAsset -GroupId -GroupOrAssetId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNIdentityRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNInboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaIdentityPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaInboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaOutboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNOutboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNRpcRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAad [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAd -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAdSecondary -DomainId -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsConnectRegion -RegionId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsIdp -IdentityProviderId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsJamfCredentials [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsMfaCache -EntityId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsPushNotification -PushIdentityProviderId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNTagGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUserIdentityRule -RuleId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUsersManagedAsset -GroupOrAssetId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Revoke-ZNSession -SessionId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Search-ZNAsset [-Fqdn ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Search-ZNAssetProtected [-Fqdn ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Search-ZNUser -PrincipalName [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Search-ZNUser -Sid [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Set-ZNApiKey -ApiKey [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetIdentityProtect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetIdentityProtect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetIdentityUnprotect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetIdentityUnprotect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkSegment -Body [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetNetworkUnprotect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkUnprotect -Body [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkUnprotect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetIdentity -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetIdentity -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetOtNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetOtNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNUserIdentity -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkBoth [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkClient [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkServer [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetActive -Items [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetActive -AssetId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetIdentityRule -AssetId -RuleId [-Action ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetInactive -Items [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetInactive -AssetId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetInboundRule -AssetId -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetOt -AssetId [-DisplayName ] [-Fqdn ] [-Type ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetOutboundRule -AssetId -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetRpcRule -AssetId -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetType -AssetId -Type [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNCustomGroup -GroupId [-Name ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNIdentityRule -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNInboundRule -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaIdentityPolicy -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaInboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaOutboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNOSType -AssetIds -OSType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNOutboundRule -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNRpcRule -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAd -ForestId [-AllowNtlmFallback] [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAdAutomationGroup -ForestId [-MonitoredGroupId ] [-ProtectedGroupId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAdSecondary -DomainId -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAnsible [-ClientId ] [-ClientSecret ] [-CredentialsName ] [-DisableCertificateValidation] [-Password ] [-Url ] [-Username ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAuth [-PortalTokenTtl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsBreakGlass [-AgentConfigAllowIdentity] [-AgentConfigAllowInbound] [-AgentConfigAllowOutbound] [-TrustConfigAllowIdentity] [-TrustConfigAllowInbound] [-TrustConfigAllowOutbound] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientsTrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientSubnet [-PrivateIpv4NetworksList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientsUntrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClusterStrategy [-PreferredDeploymentId ] [-Strategy ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectClientAutoUpdate [-ClientAutoUpdate] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectRegion -RegionId [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectServer -ConnectServerId [-PublicPort ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsDefaultApplication [-Application ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewall [-ImplicitIcmpRuleEnabled] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallIgnoredGpo [-InboundList ] [-OutboundList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallIgnoredRule [-InboundList ] [-OutboundList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallProfile [-InboundAllowDomain] [-InboundAllowPrivate] [-InboundAllowPublic] [-InboundBlockDomain] [-InboundBlockPrivate] [-InboundBlockPublic] [-OutboundBlockDomain] [-OutboundBlockPrivate] [-OutboundBlockPublic] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId -ExistingMembersLearningDays -NewMembersLearningDays -PolicyType [-Description ] [-Enabled] [-Id ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsIdp -IdentityProviderId [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsInactiveAsset [-LastActiveDurationInMonths ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsInternalSubnet [-PrivateIpv4NetworksList ] [-PrivateIpv6NetworksList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsJamfCredentials -Host1 -Password -Username [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLearningConfig [-AllowQueueForever] [-AllowQuickLearning] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLinuxSetup [-AllowInstallPackages] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLinuxUser [-Password ] [-PrivateKey ] [-Username ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsMfaAuthentication -IsRequiresAuth -IsSsoForceAuth -TokenTtl [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsMfaDetection -TimeoutMinutes [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId -ExistingMembersLearningDays -NewMembersLearningDays -PolicyType [-Description ] [-Enabled] [-Id ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsNotification -AssetPostponed -AssetProtected -AssetQueued -AssetUnprotected [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsPrivilegedPort [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsServersTrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsServersUntrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsTrustedInternetAddress [-ExternalIpsList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsZpa [-ClientOutboundSubnet ] [-GatewayIpsList ] [-IsEnabled] [-PortsToMfaTcp ] [-PortsToMfaUdp ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserIdentityRule -UserId -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserMfaIdentityPolicy -UserId -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserType -UserId -Comment -UserType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNUserType -Comment -UserType -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + diff --git a/src/cmdlets/0.0.13-preview.md b/src/cmdlets/0.0.13-preview.md new file mode 100644 index 0000000..b642b87 --- /dev/null +++ b/src/cmdlets/0.0.13-preview.md @@ -0,0 +1,440 @@ + +Name +---- +Add-ZNAssetManager +Add-ZNAssetOtAssetManager +Add-ZNAssetRpcMonitoring +Add-ZNAssetRpcSegment +Add-ZNCustomGroupsMember +Add-ZNGroupsAssetManager +Add-ZNGroupsManagedAsset +Add-ZNTagGroupsMember +Add-ZNUsersManagedAsset +Approve-ZNAssetInboundRuleReview +Approve-ZNAssetOutboundRuleReview +Approve-ZNInboundRuleReview +Approve-ZNOutboundRuleReview +Connect-ZN +Deny-ZNAssetInboundRuleReview +Deny-ZNAssetOutboundRuleReview +Deny-ZNInboundRuleReview +Deny-ZNOutboundRuleReview +Disconnect-ZN +Get-ZNAiExclusionNetworkBoth +Get-ZNAiExclusionNetworkClient +Get-ZNAiExclusionNetworkServer +Get-ZNAiExclusionSourceCandidate +Get-ZNAiExclusionSourceEntity +Get-ZNAiNextBatch +Get-ZNAsset +Get-ZNAssetAnalysis +Get-ZNAssetAudit +Get-ZNAssetClusterInfo +Get-ZNAssetHealthState +Get-ZNAssetIdentityRule +Get-ZNAssetIdentityRulesAssetsCandidate +Get-ZNAssetIdentityRulesExcludedAssetsCandidate +Get-ZNAssetIdentityRulesUserCandidate +Get-ZNAssetInboundRule +Get-ZNAssetInboundRulesDestinationCandidate +Get-ZNAssetInboundRulesExcludedDestinationCandidate +Get-ZNAssetInboundRulesSourceCandidate +Get-ZNAssetListeningPort +Get-ZNAssetManager +Get-ZNAssetManagersCandidate +Get-ZNAssetMemberOf +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNAssetMfaIdentityPoliciesMfamethod +Get-ZNAssetMfaIdentityPoliciesSourceCandidate +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate +Get-ZNAssetMfaIdentityPolicy +Get-ZNAssetMfaInboundPoliciesDestinationCandidate +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate +Get-ZNAssetMfaInboundPoliciesMfamethod +Get-ZNAssetMfaInboundPoliciesSourceCandidate +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate +Get-ZNAssetMfaInboundPolicy +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNAssetMfaOutboundPoliciesMfamethod +Get-ZNAssetMfaOutboundPoliciesSourceCandidate +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate +Get-ZNAssetMfaOutboundPolicy +Get-ZNAssetOt +Get-ZNAssetOtAssetManager +Get-ZNAssetOtAssetManagersCandidate +Get-ZNAssetOtAudit +Get-ZNAssetOtMemberOf +Get-ZNAssetOtTag +Get-ZNAssetOutboundRule +Get-ZNAssetOutboundRulesDestinationCandidate +Get-ZNAssetOutboundRulesExcludedSourceCandidate +Get-ZNAssetOutboundRulesSourceCandidate +Get-ZNAssetRpcRule +Get-ZNAssetRpcRulesDestinationCandidate +Get-ZNAssetRpcRulesExcludedDestinationCandidate +Get-ZNAssetRpcRulesSourceCandidate +Get-ZNAssetRpcRulesUserCandidate +Get-ZNAssetRulesDistribution +Get-ZNAssetsIdentityQueued +Get-ZNAssetsIdentitySegmented +Get-ZNAssetsInactive +Get-ZNAssetsMonitored +Get-ZNAssetsNetworkQueued +Get-ZNAssetsOt +Get-ZNAssetsProtected +Get-ZNAssetsRpcMonitored +Get-ZNAssetsRpcQueued +Get-ZNAssetsRpcSegmented +Get-ZNAssetsStatesStatistics +Get-ZNAssetsStatistics +Get-ZNAssetTag +Get-ZNAudit +Get-ZNCustomGroupsCandidate +Get-ZNGroup +Get-ZNGroupAudit +Get-ZNGroupMemberOf +Get-ZNGroupsAssetManager +Get-ZNGroupsAssetManagersCandidate +Get-ZNGroupsByType +Get-ZNGroupsIdentityRule +Get-ZNGroupsIdentityRulesAssetsCandidate +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate +Get-ZNGroupsIdentityRulesUserCandidate +Get-ZNGroupsInboundRule +Get-ZNGroupsInboundRulesDestinationCandidate +Get-ZNGroupsInboundRulesExcludedDestinationCandidate +Get-ZNGroupsInboundRulesSourceCandidate +Get-ZNGroupsManagedAsset +Get-ZNGroupsManagedAssetsCandidate +Get-ZNGroupsMember +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate +Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaIdentityPoliciesMfamethod +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate +Get-ZNGroupsMfaIdentityPolicy +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate +Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaInboundPoliciesMfamethod +Get-ZNGroupsMfaInboundPoliciesSourceCandidate +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate +Get-ZNGroupsMfaInboundPolicy +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate +Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaOutboundPoliciesMfamethod +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate +Get-ZNGroupsMfaOutboundPolicy +Get-ZNGroupsOutboundRule +Get-ZNGroupsOutboundRulesDestinationCandidate +Get-ZNGroupsOutboundRulesExcludedSourceCandidate +Get-ZNGroupsOutboundRulesSourceCandidate +Get-ZNGroupsRpcRule +Get-ZNGroupsRpcRulesDestinationCandidate +Get-ZNGroupsRpcRulesExcludedDestinationCandidate +Get-ZNGroupsRpcRulesSourceCandidate +Get-ZNGroupsRpcRulesUserCandidate +Get-ZNGroupsRulesDistribution +Get-ZNGroupsStatistics +Get-ZNIdentityRule +Get-ZNIdentityRulesAssetsCandidate +Get-ZNIdentityRulesExcludedAssetsCandidate +Get-ZNIdentityRulesUserCandidate +Get-ZNInboundRule +Get-ZNInboundRulesDestinationCandidate +Get-ZNInboundRulesExcludedDestinationCandidate +Get-ZNInboundRulesSourceCandidate +Get-ZNMfaIdentityPoliciesDestinationCandidate +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNMfaIdentityPoliciesMfamethod +Get-ZNMfaIdentityPoliciesSourceCandidate +Get-ZNMfaIdentityPoliciesSourceUserCandidate +Get-ZNMfaIdentityPolicy +Get-ZNMfaInboundPoliciesDestinationCandidate +Get-ZNMfaInboundPoliciesExcludedSourceCandidate +Get-ZNMfaInboundPoliciesMfamethod +Get-ZNMfaInboundPoliciesSourceCandidate +Get-ZNMfaInboundPoliciesSourceUserCandidate +Get-ZNMfaInboundPolicy +Get-ZNMfaOutboundPoliciesDestinationCandidate +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNMfaOutboundPoliciesMfamethod +Get-ZNMfaOutboundPoliciesSourceCandidate +Get-ZNMfaOutboundPoliciesSourceUserCandidate +Get-ZNMfaOutboundPolicy +Get-ZNMfaPoliciesDistribution +Get-ZNMfaPoliciesStatistics +Get-ZNOutboundRule +Get-ZNOutboundRulesDestinationCandidate +Get-ZNOutboundRulesExcludedSourceCandidate +Get-ZNOutboundRulesSourceCandidate +Get-ZNRpcRule +Get-ZNRpcRulesDestinationCandidate +Get-ZNRpcRulesExcludedDestinationCandidate +Get-ZNRpcRulesSourceCandidate +Get-ZNRpcRulesUserCandidate +Get-ZNRulesDistribution +Get-ZNRulesStatistics +Get-ZNSegmentServer +Get-ZNSession +Get-ZNSettingsAad +Get-ZNSettingsAd +Get-ZNSettingsAdMonitoredCandidate +Get-ZNSettingsAdProtectedCandidate +Get-ZNSettingsAnsible +Get-ZNSettingsAssetManager +Get-ZNSettingsAuth +Get-ZNSettingsBreakGlass +Get-ZNSettingsClientsTrustedInternet +Get-ZNSettingsClientSubnet +Get-ZNSettingsClientsUntrustedInternet +Get-ZNSettingsClusterStrategy +Get-ZNSettingsConnectClientAutoUpdate +Get-ZNSettingsConnectRegion +Get-ZNSettingsConnectServer +Get-ZNSettingsConnectUserAccessConfig +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate +Get-ZNSettingsDefaultApplication +Get-ZNSettingsFirewall +Get-ZNSettingsFirewallIgnoredGpo +Get-ZNSettingsFirewallIgnoredRule +Get-ZNSettingsFirewallProfile +Get-ZNSettingsIdentityProtectionPoliciesCandidate +Get-ZNSettingsIdentityProtectionPolicy +Get-ZNSettingsIdp +Get-ZNSettingsInactiveAsset +Get-ZNSettingsInternalSubnet +Get-ZNSettingsJamfCredentials +Get-ZNSettingsLearningConfig +Get-ZNSettingsLicense +Get-ZNSettingsLinuxSetup +Get-ZNSettingsLinuxUser +Get-ZNSettingsMfaAuthentication +Get-ZNSettingsMfaCache +Get-ZNSettingsMfaCacheCandidate +Get-ZNSettingsMfaDetection +Get-ZNSettingsNetworkProtectionPoliciesCandidate +Get-ZNSettingsNetworkProtectionPolicy +Get-ZNSettingsNotification +Get-ZNSettingsPrivilegedPort +Get-ZNSettingsPushNotification +Get-ZNSettingsServersTrustedInternet +Get-ZNSettingsServersUntrustedInternet +Get-ZNSettingsTrustedInternetAddress +Get-ZNSettingsZpa +Get-ZNTagGroupsCandidate +Get-ZNUser +Get-ZNUserAudit +Get-ZNUserIdentityRule +Get-ZNUserIdentityRulesAssetsCandidate +Get-ZNUserIdentityRulesExcludedAssetsCandidate +Get-ZNUserIdentityRulesUserCandidate +Get-ZNUserMemberOf +Get-ZNUserMfaIdentityPoliciesDestinationCandidate +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNUserMfaIdentityPoliciesMfamethod +Get-ZNUserMfaIdentityPoliciesSourceCandidate +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate +Get-ZNUserMfaIdentityPolicy +Get-ZNUserRulesDistribution +Get-ZNUsersIdentityQueued +Get-ZNUsersIdentitySegmented +Get-ZNUsersManagedAsset +Get-ZNUsersManagedAssetsCandidate +Get-ZNUsersServiceAccount +Get-ZNUserStatistics +Initialize-ZNAssetBreakGlass +Invoke-ZNAssetDeactivateBreakGlass +Invoke-ZNAssetIdentityExtendQueue +Invoke-ZNAssetIdentityQueue +Invoke-ZNAssetNetworkExtendQueue +Invoke-ZNAssetNetworkQueue +Invoke-ZNAssetOtNetworkExtendQueue +Invoke-ZNAssetOtNetworkQueue +Invoke-ZNAssetRpcExtendQueue +Invoke-ZNAssetRpcQueue +Invoke-ZNDownloadCloudConnectorInstaller +Invoke-ZNDownloadConnectClient +Invoke-ZNDownloadConnectServer +Invoke-ZNDownloadSegmentServer +Invoke-ZNEncodeEntityIP +Invoke-ZNEncodeEntityIPRange +Invoke-ZNEncodeEntitySubnet +Invoke-ZNRediscoverAd +Invoke-ZNRediscoverLinux +Invoke-ZNResyncAzureAd +Invoke-ZNUserIdentityQueue +New-ZNAssetIdentityRule +New-ZNAssetInboundRule +New-ZNAssetMfaIdentityPolicy +New-ZNAssetMfaInboundPolicy +New-ZNAssetMfaOutboundPolicy +New-ZNAssetOutboundRule +New-ZNAssetRpcRule +New-ZNAssetsLinux +New-ZNAssetsOt +New-ZNCustomGroup +New-ZNGroupsIdentityRule +New-ZNGroupsInboundRule +New-ZNGroupsMfaIdentityPolicy +New-ZNGroupsMfaInboundPolicy +New-ZNGroupsMfaOutboundPolicy +New-ZNGroupsOutboundRule +New-ZNGroupsRpcRule +New-ZNIdentityRule +New-ZNInboundRule +New-ZNMfaIdentityPolicy +New-ZNMfaInboundPolicy +New-ZNMfaOutboundPolicy +New-ZNOutboundRule +New-ZNPortsList +New-ZNRpcRule +New-ZNSettingsAd +New-ZNSettingsAdSecondary +New-ZNSettingsConnectRegion +New-ZNSettingsConnectUserAccessConfig +New-ZNSettingsIdentityProtectionPolicy +New-ZNSettingsIdp +New-ZNSettingsMfaCache +New-ZNSettingsNetworkProtectionPolicy +New-ZNSettingsPushNotification +New-ZNUserIdentityRule +New-ZNUserMfaIdentityPolicy +Protect-ZNAssetIdentity +Protect-ZNAssetNetworkSegment +Protect-ZNAssetOtNetworkSegment +Protect-ZNUserIdentity +Remove-ZNApiKey +Remove-ZNAssetIdentityRule +Remove-ZNAssetInboundRule +Remove-ZNAssetManager +Remove-ZNAssetMfaIdentityPolicy +Remove-ZNAssetMfaInboundPolicy +Remove-ZNAssetMfaOutboundPolicy +Remove-ZNAssetOtAssetManager +Remove-ZNAssetOutboundRule +Remove-ZNAssetRpcMonitoring +Remove-ZNAssetRpcRule +Remove-ZNAssetRpcSegment +Remove-ZNCustomGroup +Remove-ZNCustomGroupsMember +Remove-ZNGroupsAssetManager +Remove-ZNGroupsIdentityRule +Remove-ZNGroupsInboundRule +Remove-ZNGroupsManagedAsset +Remove-ZNGroupsMfaIdentityPolicy +Remove-ZNGroupsMfaInboundPolicy +Remove-ZNGroupsMfaOutboundPolicy +Remove-ZNGroupsOutboundRule +Remove-ZNGroupsRpcRule +Remove-ZNIdentityRule +Remove-ZNInboundRule +Remove-ZNMfaIdentityPolicy +Remove-ZNMfaInboundPolicy +Remove-ZNMfaOutboundPolicy +Remove-ZNOutboundRule +Remove-ZNRpcRule +Remove-ZNSettingsAad +Remove-ZNSettingsAd +Remove-ZNSettingsAdSecondary +Remove-ZNSettingsConnectRegion +Remove-ZNSettingsConnectUserAccessConfig +Remove-ZNSettingsIdentityProtectionPolicy +Remove-ZNSettingsIdp +Remove-ZNSettingsJamfCredentials +Remove-ZNSettingsMfaCache +Remove-ZNSettingsNetworkProtectionPolicy +Remove-ZNSettingsPushNotification +Remove-ZNTagGroupsMember +Remove-ZNUserIdentityRule +Remove-ZNUserMfaIdentityPolicy +Remove-ZNUsersManagedAsset +Revoke-ZNSession +Search-ZNAsset +Search-ZNAssetProtected +Search-ZNUser +Set-ZNApiKey +Test-ZNAssetIdentityProtect +Test-ZNAssetIdentityUnprotect +Test-ZNAssetNetworkSegment +Test-ZNAssetNetworkUnprotect +Unprotect-ZNAssetIdentity +Unprotect-ZNAssetNetworkSegment +Unprotect-ZNAssetOtNetworkSegment +Unprotect-ZNUserIdentity +Update-ZNAiExclusionNetworkBoth +Update-ZNAiExclusionNetworkClient +Update-ZNAiExclusionNetworkServer +Update-ZNAssetActive +Update-ZNAssetIdentityRule +Update-ZNAssetInactive +Update-ZNAssetInboundRule +Update-ZNAssetMfaIdentityPolicy +Update-ZNAssetMfaInboundPolicy +Update-ZNAssetMfaOutboundPolicy +Update-ZNAssetOt +Update-ZNAssetOutboundRule +Update-ZNAssetRpcRule +Update-ZNAssetType +Update-ZNCustomGroup +Update-ZNGroupsIdentityRule +Update-ZNGroupsInboundRule +Update-ZNGroupsMfaIdentityPolicy +Update-ZNGroupsMfaInboundPolicy +Update-ZNGroupsMfaOutboundPolicy +Update-ZNGroupsOutboundRule +Update-ZNGroupsRpcRule +Update-ZNIdentityRule +Update-ZNInboundRule +Update-ZNMfaIdentityPolicy +Update-ZNMfaInboundPolicy +Update-ZNMfaOutboundPolicy +Update-ZNOSType +Update-ZNOutboundRule +Update-ZNRpcRule +Update-ZNSettingsAd +Update-ZNSettingsAdAutomationGroup +Update-ZNSettingsAdSecondary +Update-ZNSettingsAnsible +Update-ZNSettingsAuth +Update-ZNSettingsBreakGlass +Update-ZNSettingsClientsTrustedInternet +Update-ZNSettingsClientSubnet +Update-ZNSettingsClientsUntrustedInternet +Update-ZNSettingsClusterStrategy +Update-ZNSettingsConnectClientAutoUpdate +Update-ZNSettingsConnectRegion +Update-ZNSettingsConnectServer +Update-ZNSettingsConnectUserAccessConfig +Update-ZNSettingsDefaultApplication +Update-ZNSettingsFirewall +Update-ZNSettingsFirewallIgnoredGpo +Update-ZNSettingsFirewallIgnoredRule +Update-ZNSettingsFirewallProfile +Update-ZNSettingsIdentityProtectionPolicy +Update-ZNSettingsIdp +Update-ZNSettingsInactiveAsset +Update-ZNSettingsInternalSubnet +Update-ZNSettingsJamfCredentials +Update-ZNSettingsLearningConfig +Update-ZNSettingsLinuxSetup +Update-ZNSettingsLinuxUser +Update-ZNSettingsMfaAuthentication +Update-ZNSettingsMfaDetection +Update-ZNSettingsNetworkProtectionPolicy +Update-ZNSettingsNotification +Update-ZNSettingsPrivilegedPort +Update-ZNSettingsServersTrustedInternet +Update-ZNSettingsServersUntrustedInternet +Update-ZNSettingsTrustedInternetAddress +Update-ZNSettingsZpa +Update-ZNUserIdentityRule +Update-ZNUserMfaIdentityPolicy +Update-ZNUserType diff --git a/src/cmdlets/0.0.14-preview-syntax.md b/src/cmdlets/0.0.14-preview-syntax.md new file mode 100644 index 0000000..3cd72f5 --- /dev/null +++ b/src/cmdlets/0.0.14-preview-syntax.md @@ -0,0 +1,2307 @@ + +Add-ZNAssetManager -AssetId -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNAssetOtAssetManager -AssetId -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNAssetRpcMonitoring -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Add-ZNAssetRpcMonitoring -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNAssetRpcSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Add-ZNAssetRpcSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNCustomGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNGroupsAssetManager -GroupId -GroupType -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNGroupsManagedAsset -GroupId -GroupType [-EntityIds ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNTagGroupsMember -GroupId -MembersId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNUsersManagedAsset -UserId [-EntityIds ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNAssetInboundRuleReview -AssetId -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNInboundRuleReview -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNInboundRuleReview -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNOutboundRuleReview -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Connect-ZN -Email [-WhatIf] [-Confirm] [] + + + + +Deny-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNInboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Disconnect-ZN [-WhatIf] [-Confirm] [] + + + + +Get-ZNAiExclusionNetworkBoth [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionNetworkClient [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionNetworkServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionSourceEntity [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiNextBatch [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAsset [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAsset -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetAnalysis -AssetId -Direction [-Connectionstate ] [-From ] [-Sort ] [-To ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetAudit -AssetId [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetClusterInfo -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetHealthState -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRule -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetIdentityRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesAssetsCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRule -AssetId [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetInboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesExcludedDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesSourceCandidate -AssetId -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetListeningPort -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetManager -AssetId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetManagersCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMemberOf -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOt -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAssetManager -AssetId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAssetManagersCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAudit -AssetId [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtMemberOf -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtTag -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRule -AssetId [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetOutboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesDestinationCandidate -AssetId -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRule -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetRpcRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesExcludedDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRulesDistribution -AssetId -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsIdentityQueued [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsIdentitySegmented [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsInactive [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsMonitored [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsNetworkQueued [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsOt [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsProtected [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcMonitored [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcQueued [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcSegmented [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsStatesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetTag -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAudit [-Limit ] [-Cursor ] [-EntityId ] [-Filters ] [-From ] [-Order ] [-Search ] [-To ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNCustomGroupsCandidate [-Limit ] [-GroupId ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroup [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroup -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupAudit -GroupId -GroupType [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupMemberOf -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsAssetManager -GroupId -GroupType [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsAssetManagersCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsByType -GroupType [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRule -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRule -GroupId -GroupType [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesExcludedDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesSourceCandidate -GroupId -GroupType -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsManagedAsset -GroupId -GroupType [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsManagedAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMember -GroupId -GroupType -IncludeNestedMembers [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRule -GroupId -GroupType [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesDestinationCandidate -GroupId -GroupType -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRule -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesExcludedDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRulesDistribution -GroupId -GroupType -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNIdentityRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesExcludedAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNInboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesExcludedDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesSourceCandidate -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaIdentityPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaInboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaOutboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaPoliciesDistribution [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaPoliciesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNOutboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesDestinationCandidate -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesExcludedSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNRpcRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesExcludedDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRulesDistribution -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRulesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSegmentServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSession [-Limit ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAad [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAdMonitoredCandidate -ForestId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAdProtectedCandidate -ForestId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAnsible [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAssetManager [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAuth [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsBreakGlass [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientsTrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientSubnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientsUntrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClusterStrategy [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectClientAutoUpdate [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectRegion [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectServer [-Limit ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfig [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsDefaultApplication [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewall [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallIgnoredGpo [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallIgnoredRule [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallProfile [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsIdentityProtectionPoliciesCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsIdentityProtectionPolicy [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsIdp [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsInactiveAsset [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsInternalSubnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsJamfCredentials [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLearningConfig [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLicense -ProtectionType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLinuxSetup [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLinuxUser [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaAuthentication [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaCache [-Limit ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaCacheCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaDetection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsNetworkProtectionPoliciesCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsNetworkProtectionPolicy [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsNotification [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsPrivilegedPort [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsPushNotification [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsServersTrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsServersUntrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsTrustedInternetAddress [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsZpa [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNTagGroupsCandidate [-Limit ] [-GroupId ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUser [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUser -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserAudit -UserId [-Limit ] [-Cursor ] [-Filters ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRule -UserId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserIdentityRule -UserId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesUserCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMemberOf -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesMfamethod -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPolicy -UserId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserMfaIdentityPolicy -UserId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserRulesDistribution -RuleId -UserId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersIdentityQueued [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersIdentitySegmented [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersManagedAsset -UserId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersManagedAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersServiceAccount [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Initialize-ZNAssetBreakGlass -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Initialize-ZNAssetBreakGlass -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetDeactivateBreakGlass -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetDeactivateBreakGlass -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetIdentityExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetIdentityExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetIdentityQueue -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetIdentityQueue -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetNetworkExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetNetworkExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetNetworkQueue -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetNetworkQueue -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetOtNetworkExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetOtNetworkExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetOtNetworkQueue -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetOtNetworkQueue -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetRpcExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetRpcQueue -Items -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNDownloadCloudConnectorInstaller [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadConnectClient -Platform [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadConnectServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadSegmentServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntityIP -IP [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntityIPRange -IPRange [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntitySubnet -Subnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNRediscoverAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNRediscoverLinux [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNResyncAzureAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNUserIdentityQueue -QueueDays -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetIdentityRule -AssetId -Action -AssetId1 -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetInboundRule -AssetId -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaIdentityPolicy -AssetId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaInboundPolicy -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaOutboundPolicy -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetOutboundRule -AssetId -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetRpcRule -AssetId -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetsLinux -DisplayName -Fqdn [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetsOt -DisplayName -Fqdn -Ipv4 -Type [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNCustomGroup -Name [-Description ] [-MembersId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsIdentityRule -GroupId -GroupType -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsInboundRule -GroupId -GroupType -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaInboundPolicy -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsOutboundRule -GroupId -GroupType -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsRpcRule -GroupId -GroupType -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNIdentityRule -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNInboundRule -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaIdentityPolicy -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaInboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaOutboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNOutboundRule -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNPortsList -Protocol [-Ports ] [] + +New-ZNPortsList -Empty [] + + + + +New-ZNRpcRule -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsAd [-AllowNtlmFallback] [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsAdSecondary -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsConnectRegion [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsConnectUserAccessConfig [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsIdentityProtectionPolicy -ExistingMembersLearningDays -GroupId -NewMembersLearningDays [-Description ] [-Enabled] [-EnforceBlocks] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsIdp [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsMfaCache -AssetLimit -EntityId -TtlMinutes [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsNetworkProtectionPolicy -ExistingMembersLearningDays -GroupId -NewMembersLearningDays [-Description ] [-Enabled] [-EnforceBlocks] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] [-Host1 ] [-Id ] [-IdentityProvider ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] -TenantId [-WhatIf] [-Confirm] [] + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] -ApiHostname -IntegrationKey [-WhatIf] [-Confirm] [] + + + + +New-ZNUserIdentityRule -UserId -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNUserMfaIdentityPolicy -UserId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetIdentity -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetIdentity -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetOtNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetOtNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNUserIdentity -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNApiKey [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetIdentityRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetInboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetManager -AssetId -GroupOrUserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetOtAssetManager -AssetId -GroupOrUserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetOutboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetRpcMonitoring -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Remove-ZNAssetRpcMonitoring -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetRpcRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetRpcSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Remove-ZNAssetRpcSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNCustomGroup -GroupId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNCustomGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsAssetManager -GroupId -GroupOrUserId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsManagedAsset -GroupId -GroupOrAssetId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNIdentityRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNInboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaIdentityPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaInboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaOutboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNOutboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNRpcRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAad [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAd -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAdSecondary -DomainId -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsConnectRegion -RegionId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsIdp -IdentityProviderId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsJamfCredentials [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsMfaCache -EntityId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsPushNotification -PushIdentityProviderId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNTagGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUserIdentityRule -RuleId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUsersManagedAsset -GroupOrAssetId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Revoke-ZNSession -SessionId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Search-ZNAsset [-Fqdn ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Search-ZNAssetProtected [-Fqdn ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Search-ZNUser -PrincipalName [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Search-ZNUser -Sid [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Set-ZNApiKey -ApiKey [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetIdentityProtect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetIdentityProtect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetIdentityUnprotect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetIdentityUnprotect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkSegment -Body [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetNetworkUnprotect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkUnprotect -Body [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkUnprotect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetIdentity -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetIdentity -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetOtNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetOtNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNUserIdentity -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkBoth [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkClient [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkServer [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetActive -Items [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetActive -AssetId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetIdentityRule -AssetId -RuleId [-Action ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetInactive -Items [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetInactive -AssetId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetInboundRule -AssetId -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetOt -AssetId [-DisplayName ] [-Fqdn ] [-Type ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetOutboundRule -AssetId -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetRpcRule -AssetId -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetType -AssetId -Type [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNCustomGroup -GroupId [-Name ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNIdentityRule -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNInboundRule -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaIdentityPolicy -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaInboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaOutboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNOSType -AssetIds -OSType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNOutboundRule -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNRpcRule -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAd -ForestId [-AllowNtlmFallback] [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAdAutomationGroup -ForestId [-MonitoredGroupId ] [-ProtectedGroupId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAdSecondary -DomainId -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAnsible [-ClientId ] [-ClientSecret ] [-CredentialsName ] [-DisableCertificateValidation] [-Password ] [-Url ] [-Username ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAuth [-PortalTokenTtl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsBreakGlass [-AgentConfigAllowIdentity] [-AgentConfigAllowInbound] [-AgentConfigAllowOutbound] [-TrustConfigAllowIdentity] [-TrustConfigAllowInbound] [-TrustConfigAllowOutbound] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientsTrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientSubnet [-PrivateIpv4NetworksList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientsUntrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClusterStrategy [-PreferredDeploymentId ] [-Strategy ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectClientAutoUpdate [-ClientAutoUpdate] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectRegion -RegionId [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectServer -ConnectServerId [-PublicPort ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsDefaultApplication [-Application ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewall [-ImplicitIcmpRuleEnabled] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallIgnoredGpo [-InboundList ] [-OutboundList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallIgnoredRule [-InboundList ] [-OutboundList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallProfile [-InboundAllowDomain] [-InboundAllowPrivate] [-InboundAllowPublic] [-InboundBlockDomain] [-InboundBlockPrivate] [-InboundBlockPublic] [-OutboundBlockDomain] [-OutboundBlockPrivate] [-OutboundBlockPublic] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId -ExistingMembersLearningDays -NewMembersLearningDays -PolicyType [-Description ] [-Enabled] [-Id ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsIdp -IdentityProviderId [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsInactiveAsset [-LastActiveDurationInMonths ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsInternalSubnet [-PrivateIpv4NetworksList ] [-PrivateIpv6NetworksList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsJamfCredentials -Host1 -Password -Username [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLearningConfig [-AllowQueueForever] [-AllowQuickLearning] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLinuxSetup [-AllowInstallPackages] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLinuxUser [-Password ] [-PrivateKey ] [-Username ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsMfaAuthentication -IsRequiresAuth -IsSsoForceAuth -TokenTtl [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsMfaDetection -TimeoutMinutes [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId -ExistingMembersLearningDays -NewMembersLearningDays -PolicyType [-Description ] [-Enabled] [-Id ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsNotification -AssetPostponed -AssetProtected -AssetQueued -AssetUnprotected [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsPrivilegedPort [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsServersTrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsServersUntrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsTrustedInternetAddress [-ExternalIpsList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsZpa [-ClientOutboundSubnet ] [-GatewayIpsList ] [-IsEnabled] [-PortsToMfaTcp ] [-PortsToMfaUdp ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserIdentityRule -UserId -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserMfaIdentityPolicy -UserId -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserType -UserId -Comment -UserType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNUserType -Comment -UserType -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + diff --git a/src/cmdlets/0.0.14-preview.md b/src/cmdlets/0.0.14-preview.md new file mode 100644 index 0000000..b642b87 --- /dev/null +++ b/src/cmdlets/0.0.14-preview.md @@ -0,0 +1,440 @@ + +Name +---- +Add-ZNAssetManager +Add-ZNAssetOtAssetManager +Add-ZNAssetRpcMonitoring +Add-ZNAssetRpcSegment +Add-ZNCustomGroupsMember +Add-ZNGroupsAssetManager +Add-ZNGroupsManagedAsset +Add-ZNTagGroupsMember +Add-ZNUsersManagedAsset +Approve-ZNAssetInboundRuleReview +Approve-ZNAssetOutboundRuleReview +Approve-ZNInboundRuleReview +Approve-ZNOutboundRuleReview +Connect-ZN +Deny-ZNAssetInboundRuleReview +Deny-ZNAssetOutboundRuleReview +Deny-ZNInboundRuleReview +Deny-ZNOutboundRuleReview +Disconnect-ZN +Get-ZNAiExclusionNetworkBoth +Get-ZNAiExclusionNetworkClient +Get-ZNAiExclusionNetworkServer +Get-ZNAiExclusionSourceCandidate +Get-ZNAiExclusionSourceEntity +Get-ZNAiNextBatch +Get-ZNAsset +Get-ZNAssetAnalysis +Get-ZNAssetAudit +Get-ZNAssetClusterInfo +Get-ZNAssetHealthState +Get-ZNAssetIdentityRule +Get-ZNAssetIdentityRulesAssetsCandidate +Get-ZNAssetIdentityRulesExcludedAssetsCandidate +Get-ZNAssetIdentityRulesUserCandidate +Get-ZNAssetInboundRule +Get-ZNAssetInboundRulesDestinationCandidate +Get-ZNAssetInboundRulesExcludedDestinationCandidate +Get-ZNAssetInboundRulesSourceCandidate +Get-ZNAssetListeningPort +Get-ZNAssetManager +Get-ZNAssetManagersCandidate +Get-ZNAssetMemberOf +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNAssetMfaIdentityPoliciesMfamethod +Get-ZNAssetMfaIdentityPoliciesSourceCandidate +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate +Get-ZNAssetMfaIdentityPolicy +Get-ZNAssetMfaInboundPoliciesDestinationCandidate +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate +Get-ZNAssetMfaInboundPoliciesMfamethod +Get-ZNAssetMfaInboundPoliciesSourceCandidate +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate +Get-ZNAssetMfaInboundPolicy +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNAssetMfaOutboundPoliciesMfamethod +Get-ZNAssetMfaOutboundPoliciesSourceCandidate +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate +Get-ZNAssetMfaOutboundPolicy +Get-ZNAssetOt +Get-ZNAssetOtAssetManager +Get-ZNAssetOtAssetManagersCandidate +Get-ZNAssetOtAudit +Get-ZNAssetOtMemberOf +Get-ZNAssetOtTag +Get-ZNAssetOutboundRule +Get-ZNAssetOutboundRulesDestinationCandidate +Get-ZNAssetOutboundRulesExcludedSourceCandidate +Get-ZNAssetOutboundRulesSourceCandidate +Get-ZNAssetRpcRule +Get-ZNAssetRpcRulesDestinationCandidate +Get-ZNAssetRpcRulesExcludedDestinationCandidate +Get-ZNAssetRpcRulesSourceCandidate +Get-ZNAssetRpcRulesUserCandidate +Get-ZNAssetRulesDistribution +Get-ZNAssetsIdentityQueued +Get-ZNAssetsIdentitySegmented +Get-ZNAssetsInactive +Get-ZNAssetsMonitored +Get-ZNAssetsNetworkQueued +Get-ZNAssetsOt +Get-ZNAssetsProtected +Get-ZNAssetsRpcMonitored +Get-ZNAssetsRpcQueued +Get-ZNAssetsRpcSegmented +Get-ZNAssetsStatesStatistics +Get-ZNAssetsStatistics +Get-ZNAssetTag +Get-ZNAudit +Get-ZNCustomGroupsCandidate +Get-ZNGroup +Get-ZNGroupAudit +Get-ZNGroupMemberOf +Get-ZNGroupsAssetManager +Get-ZNGroupsAssetManagersCandidate +Get-ZNGroupsByType +Get-ZNGroupsIdentityRule +Get-ZNGroupsIdentityRulesAssetsCandidate +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate +Get-ZNGroupsIdentityRulesUserCandidate +Get-ZNGroupsInboundRule +Get-ZNGroupsInboundRulesDestinationCandidate +Get-ZNGroupsInboundRulesExcludedDestinationCandidate +Get-ZNGroupsInboundRulesSourceCandidate +Get-ZNGroupsManagedAsset +Get-ZNGroupsManagedAssetsCandidate +Get-ZNGroupsMember +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate +Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaIdentityPoliciesMfamethod +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate +Get-ZNGroupsMfaIdentityPolicy +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate +Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaInboundPoliciesMfamethod +Get-ZNGroupsMfaInboundPoliciesSourceCandidate +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate +Get-ZNGroupsMfaInboundPolicy +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate +Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaOutboundPoliciesMfamethod +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate +Get-ZNGroupsMfaOutboundPolicy +Get-ZNGroupsOutboundRule +Get-ZNGroupsOutboundRulesDestinationCandidate +Get-ZNGroupsOutboundRulesExcludedSourceCandidate +Get-ZNGroupsOutboundRulesSourceCandidate +Get-ZNGroupsRpcRule +Get-ZNGroupsRpcRulesDestinationCandidate +Get-ZNGroupsRpcRulesExcludedDestinationCandidate +Get-ZNGroupsRpcRulesSourceCandidate +Get-ZNGroupsRpcRulesUserCandidate +Get-ZNGroupsRulesDistribution +Get-ZNGroupsStatistics +Get-ZNIdentityRule +Get-ZNIdentityRulesAssetsCandidate +Get-ZNIdentityRulesExcludedAssetsCandidate +Get-ZNIdentityRulesUserCandidate +Get-ZNInboundRule +Get-ZNInboundRulesDestinationCandidate +Get-ZNInboundRulesExcludedDestinationCandidate +Get-ZNInboundRulesSourceCandidate +Get-ZNMfaIdentityPoliciesDestinationCandidate +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNMfaIdentityPoliciesMfamethod +Get-ZNMfaIdentityPoliciesSourceCandidate +Get-ZNMfaIdentityPoliciesSourceUserCandidate +Get-ZNMfaIdentityPolicy +Get-ZNMfaInboundPoliciesDestinationCandidate +Get-ZNMfaInboundPoliciesExcludedSourceCandidate +Get-ZNMfaInboundPoliciesMfamethod +Get-ZNMfaInboundPoliciesSourceCandidate +Get-ZNMfaInboundPoliciesSourceUserCandidate +Get-ZNMfaInboundPolicy +Get-ZNMfaOutboundPoliciesDestinationCandidate +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNMfaOutboundPoliciesMfamethod +Get-ZNMfaOutboundPoliciesSourceCandidate +Get-ZNMfaOutboundPoliciesSourceUserCandidate +Get-ZNMfaOutboundPolicy +Get-ZNMfaPoliciesDistribution +Get-ZNMfaPoliciesStatistics +Get-ZNOutboundRule +Get-ZNOutboundRulesDestinationCandidate +Get-ZNOutboundRulesExcludedSourceCandidate +Get-ZNOutboundRulesSourceCandidate +Get-ZNRpcRule +Get-ZNRpcRulesDestinationCandidate +Get-ZNRpcRulesExcludedDestinationCandidate +Get-ZNRpcRulesSourceCandidate +Get-ZNRpcRulesUserCandidate +Get-ZNRulesDistribution +Get-ZNRulesStatistics +Get-ZNSegmentServer +Get-ZNSession +Get-ZNSettingsAad +Get-ZNSettingsAd +Get-ZNSettingsAdMonitoredCandidate +Get-ZNSettingsAdProtectedCandidate +Get-ZNSettingsAnsible +Get-ZNSettingsAssetManager +Get-ZNSettingsAuth +Get-ZNSettingsBreakGlass +Get-ZNSettingsClientsTrustedInternet +Get-ZNSettingsClientSubnet +Get-ZNSettingsClientsUntrustedInternet +Get-ZNSettingsClusterStrategy +Get-ZNSettingsConnectClientAutoUpdate +Get-ZNSettingsConnectRegion +Get-ZNSettingsConnectServer +Get-ZNSettingsConnectUserAccessConfig +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate +Get-ZNSettingsDefaultApplication +Get-ZNSettingsFirewall +Get-ZNSettingsFirewallIgnoredGpo +Get-ZNSettingsFirewallIgnoredRule +Get-ZNSettingsFirewallProfile +Get-ZNSettingsIdentityProtectionPoliciesCandidate +Get-ZNSettingsIdentityProtectionPolicy +Get-ZNSettingsIdp +Get-ZNSettingsInactiveAsset +Get-ZNSettingsInternalSubnet +Get-ZNSettingsJamfCredentials +Get-ZNSettingsLearningConfig +Get-ZNSettingsLicense +Get-ZNSettingsLinuxSetup +Get-ZNSettingsLinuxUser +Get-ZNSettingsMfaAuthentication +Get-ZNSettingsMfaCache +Get-ZNSettingsMfaCacheCandidate +Get-ZNSettingsMfaDetection +Get-ZNSettingsNetworkProtectionPoliciesCandidate +Get-ZNSettingsNetworkProtectionPolicy +Get-ZNSettingsNotification +Get-ZNSettingsPrivilegedPort +Get-ZNSettingsPushNotification +Get-ZNSettingsServersTrustedInternet +Get-ZNSettingsServersUntrustedInternet +Get-ZNSettingsTrustedInternetAddress +Get-ZNSettingsZpa +Get-ZNTagGroupsCandidate +Get-ZNUser +Get-ZNUserAudit +Get-ZNUserIdentityRule +Get-ZNUserIdentityRulesAssetsCandidate +Get-ZNUserIdentityRulesExcludedAssetsCandidate +Get-ZNUserIdentityRulesUserCandidate +Get-ZNUserMemberOf +Get-ZNUserMfaIdentityPoliciesDestinationCandidate +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNUserMfaIdentityPoliciesMfamethod +Get-ZNUserMfaIdentityPoliciesSourceCandidate +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate +Get-ZNUserMfaIdentityPolicy +Get-ZNUserRulesDistribution +Get-ZNUsersIdentityQueued +Get-ZNUsersIdentitySegmented +Get-ZNUsersManagedAsset +Get-ZNUsersManagedAssetsCandidate +Get-ZNUsersServiceAccount +Get-ZNUserStatistics +Initialize-ZNAssetBreakGlass +Invoke-ZNAssetDeactivateBreakGlass +Invoke-ZNAssetIdentityExtendQueue +Invoke-ZNAssetIdentityQueue +Invoke-ZNAssetNetworkExtendQueue +Invoke-ZNAssetNetworkQueue +Invoke-ZNAssetOtNetworkExtendQueue +Invoke-ZNAssetOtNetworkQueue +Invoke-ZNAssetRpcExtendQueue +Invoke-ZNAssetRpcQueue +Invoke-ZNDownloadCloudConnectorInstaller +Invoke-ZNDownloadConnectClient +Invoke-ZNDownloadConnectServer +Invoke-ZNDownloadSegmentServer +Invoke-ZNEncodeEntityIP +Invoke-ZNEncodeEntityIPRange +Invoke-ZNEncodeEntitySubnet +Invoke-ZNRediscoverAd +Invoke-ZNRediscoverLinux +Invoke-ZNResyncAzureAd +Invoke-ZNUserIdentityQueue +New-ZNAssetIdentityRule +New-ZNAssetInboundRule +New-ZNAssetMfaIdentityPolicy +New-ZNAssetMfaInboundPolicy +New-ZNAssetMfaOutboundPolicy +New-ZNAssetOutboundRule +New-ZNAssetRpcRule +New-ZNAssetsLinux +New-ZNAssetsOt +New-ZNCustomGroup +New-ZNGroupsIdentityRule +New-ZNGroupsInboundRule +New-ZNGroupsMfaIdentityPolicy +New-ZNGroupsMfaInboundPolicy +New-ZNGroupsMfaOutboundPolicy +New-ZNGroupsOutboundRule +New-ZNGroupsRpcRule +New-ZNIdentityRule +New-ZNInboundRule +New-ZNMfaIdentityPolicy +New-ZNMfaInboundPolicy +New-ZNMfaOutboundPolicy +New-ZNOutboundRule +New-ZNPortsList +New-ZNRpcRule +New-ZNSettingsAd +New-ZNSettingsAdSecondary +New-ZNSettingsConnectRegion +New-ZNSettingsConnectUserAccessConfig +New-ZNSettingsIdentityProtectionPolicy +New-ZNSettingsIdp +New-ZNSettingsMfaCache +New-ZNSettingsNetworkProtectionPolicy +New-ZNSettingsPushNotification +New-ZNUserIdentityRule +New-ZNUserMfaIdentityPolicy +Protect-ZNAssetIdentity +Protect-ZNAssetNetworkSegment +Protect-ZNAssetOtNetworkSegment +Protect-ZNUserIdentity +Remove-ZNApiKey +Remove-ZNAssetIdentityRule +Remove-ZNAssetInboundRule +Remove-ZNAssetManager +Remove-ZNAssetMfaIdentityPolicy +Remove-ZNAssetMfaInboundPolicy +Remove-ZNAssetMfaOutboundPolicy +Remove-ZNAssetOtAssetManager +Remove-ZNAssetOutboundRule +Remove-ZNAssetRpcMonitoring +Remove-ZNAssetRpcRule +Remove-ZNAssetRpcSegment +Remove-ZNCustomGroup +Remove-ZNCustomGroupsMember +Remove-ZNGroupsAssetManager +Remove-ZNGroupsIdentityRule +Remove-ZNGroupsInboundRule +Remove-ZNGroupsManagedAsset +Remove-ZNGroupsMfaIdentityPolicy +Remove-ZNGroupsMfaInboundPolicy +Remove-ZNGroupsMfaOutboundPolicy +Remove-ZNGroupsOutboundRule +Remove-ZNGroupsRpcRule +Remove-ZNIdentityRule +Remove-ZNInboundRule +Remove-ZNMfaIdentityPolicy +Remove-ZNMfaInboundPolicy +Remove-ZNMfaOutboundPolicy +Remove-ZNOutboundRule +Remove-ZNRpcRule +Remove-ZNSettingsAad +Remove-ZNSettingsAd +Remove-ZNSettingsAdSecondary +Remove-ZNSettingsConnectRegion +Remove-ZNSettingsConnectUserAccessConfig +Remove-ZNSettingsIdentityProtectionPolicy +Remove-ZNSettingsIdp +Remove-ZNSettingsJamfCredentials +Remove-ZNSettingsMfaCache +Remove-ZNSettingsNetworkProtectionPolicy +Remove-ZNSettingsPushNotification +Remove-ZNTagGroupsMember +Remove-ZNUserIdentityRule +Remove-ZNUserMfaIdentityPolicy +Remove-ZNUsersManagedAsset +Revoke-ZNSession +Search-ZNAsset +Search-ZNAssetProtected +Search-ZNUser +Set-ZNApiKey +Test-ZNAssetIdentityProtect +Test-ZNAssetIdentityUnprotect +Test-ZNAssetNetworkSegment +Test-ZNAssetNetworkUnprotect +Unprotect-ZNAssetIdentity +Unprotect-ZNAssetNetworkSegment +Unprotect-ZNAssetOtNetworkSegment +Unprotect-ZNUserIdentity +Update-ZNAiExclusionNetworkBoth +Update-ZNAiExclusionNetworkClient +Update-ZNAiExclusionNetworkServer +Update-ZNAssetActive +Update-ZNAssetIdentityRule +Update-ZNAssetInactive +Update-ZNAssetInboundRule +Update-ZNAssetMfaIdentityPolicy +Update-ZNAssetMfaInboundPolicy +Update-ZNAssetMfaOutboundPolicy +Update-ZNAssetOt +Update-ZNAssetOutboundRule +Update-ZNAssetRpcRule +Update-ZNAssetType +Update-ZNCustomGroup +Update-ZNGroupsIdentityRule +Update-ZNGroupsInboundRule +Update-ZNGroupsMfaIdentityPolicy +Update-ZNGroupsMfaInboundPolicy +Update-ZNGroupsMfaOutboundPolicy +Update-ZNGroupsOutboundRule +Update-ZNGroupsRpcRule +Update-ZNIdentityRule +Update-ZNInboundRule +Update-ZNMfaIdentityPolicy +Update-ZNMfaInboundPolicy +Update-ZNMfaOutboundPolicy +Update-ZNOSType +Update-ZNOutboundRule +Update-ZNRpcRule +Update-ZNSettingsAd +Update-ZNSettingsAdAutomationGroup +Update-ZNSettingsAdSecondary +Update-ZNSettingsAnsible +Update-ZNSettingsAuth +Update-ZNSettingsBreakGlass +Update-ZNSettingsClientsTrustedInternet +Update-ZNSettingsClientSubnet +Update-ZNSettingsClientsUntrustedInternet +Update-ZNSettingsClusterStrategy +Update-ZNSettingsConnectClientAutoUpdate +Update-ZNSettingsConnectRegion +Update-ZNSettingsConnectServer +Update-ZNSettingsConnectUserAccessConfig +Update-ZNSettingsDefaultApplication +Update-ZNSettingsFirewall +Update-ZNSettingsFirewallIgnoredGpo +Update-ZNSettingsFirewallIgnoredRule +Update-ZNSettingsFirewallProfile +Update-ZNSettingsIdentityProtectionPolicy +Update-ZNSettingsIdp +Update-ZNSettingsInactiveAsset +Update-ZNSettingsInternalSubnet +Update-ZNSettingsJamfCredentials +Update-ZNSettingsLearningConfig +Update-ZNSettingsLinuxSetup +Update-ZNSettingsLinuxUser +Update-ZNSettingsMfaAuthentication +Update-ZNSettingsMfaDetection +Update-ZNSettingsNetworkProtectionPolicy +Update-ZNSettingsNotification +Update-ZNSettingsPrivilegedPort +Update-ZNSettingsServersTrustedInternet +Update-ZNSettingsServersUntrustedInternet +Update-ZNSettingsTrustedInternetAddress +Update-ZNSettingsZpa +Update-ZNUserIdentityRule +Update-ZNUserMfaIdentityPolicy +Update-ZNUserType diff --git a/src/cmdlets/0.0.15-preview-syntax.md b/src/cmdlets/0.0.15-preview-syntax.md new file mode 100644 index 0000000..5bb243c --- /dev/null +++ b/src/cmdlets/0.0.15-preview-syntax.md @@ -0,0 +1,2607 @@ + +Add-ZNAssetManager [-AccountName ] -AssetId -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNAssetOtAssetManager [-AccountName ] -AssetId -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNAssetRpcMonitoring [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Add-ZNAssetRpcMonitoring [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNCustomGroupsMember [-AccountName ] -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNGroupsAssetManager [-AccountName ] -GroupId -GroupType -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNGroupsManagedAsset [-AccountName ] -GroupId -GroupType [-EntityIds ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNTagGroupsMember [-AccountName ] -GroupId -MembersId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Add-ZNUsersManagedAsset [-AccountName ] -UserId [-EntityIds ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNAssetInboundRuleReview -AssetId -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNInboundRuleReview -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNInboundRuleReview -RuleId -Reason [-Details ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Approve-ZNOutboundRuleReview -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-ipSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Connect-ZN -AccountName -Email [-WhatIf] [-Confirm] [] + + + + +Deny-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNInboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Deny-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Disconnect-ZN [-WhatIf] [-Confirm] [] + + + + +Enable-ZNAssetQuarantine [-AccountName ] -AssetId -Quarantine [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Enable-ZNAssetQuarantine [-AccountName ] -Quarantine -AssetIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Get-ZNAeExclusionsInbound [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAeExclusionsOutbound [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionNetworkBoth [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionNetworkClient [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionNetworkServer [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiExclusionSourceEntity [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAiNextBatch [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAsset [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAsset [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetAnalysis [-AccountName ] -AssetId -Direction [-Connectionstate ] [-From ] [-Sort ] [-To ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetAudit [-AccountName ] -AssetId [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetClusterInfo [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetExternalAccessPolicy [-AccountName ] -AssetId [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetExternalAccessPolicy [-AccountName ] -AssetId -PolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetExternalAccessPolicySourceUserCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetExternalAccessPolicyStatistics [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetHealthState [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRule [-AccountName ] -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetIdentityRule [-AccountName ] -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesAssetsCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesExcludedAssetsCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetIdentityRulesUserCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRule [-AccountName ] -AssetId [-Direction ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetInboundRule [-AccountName ] -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesDestinationCandidate [-AccountName ] -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesExcludedDestinationCandidate [-AccountName ] -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetInboundRulesSourceCandidate [-AccountName ] -AssetId -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetListeningPort [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetManager [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetManagersCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMemberOf [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMemberOfGroupCandidate [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesMfamethod [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaIdentityPolicy [-AccountName ] -AssetId [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaIdentityPolicy [-AccountName ] -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesDestinationCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesMfamethod [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaInboundPolicy [-AccountName ] -AssetId [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaInboundPolicy [-AccountName ] -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesMfamethod [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetMfaOutboundPolicy [-AccountName ] -AssetId [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaOutboundPolicy [-AccountName ] -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOt [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAssetManager [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAssetManagersCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtAudit [-AccountName ] -AssetId [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtMemberOf [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtMemberOfGroupCandidate [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOtTag [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRule [-AccountName ] -AssetId [-Direction ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetOutboundRule [-AccountName ] -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesDestinationCandidate [-AccountName ] -AssetId -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesExcludedSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetOutboundRulesUserCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetPreferredSegmentServer [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRule [-AccountName ] -AssetId [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetRpcRule [-AccountName ] -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesDestinationCandidate [-AccountName ] -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesExcludedDestinationCandidate [-AccountName ] -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesSourceCandidate [-AccountName ] -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRpcRulesUserCandidate [-AccountName ] -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetRulesDistribution [-AccountName ] -AssetId -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsIdentityQueued [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsIdentitySegmented [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsInactive [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsMonitored [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsNetworkQueued [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsNetworkSegmented [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsOt [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcMonitored [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcQueued [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsRpcSegmented [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsStatesStatistics [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetsStatistics [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAssetTag [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNAudit [-AccountName ] [-Limit ] [-Cursor ] [-EntityId ] [-Filters ] [-From ] [-Order ] [-Search ] [-To ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNCustomGroupsCandidate [-AccountName ] [-Limit ] [-Offset ] [-GroupId ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNExternalAccessPolicy [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNExternalAccessPolicy [-AccountName ] -PolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNExternalAccessPolicyDestinationAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNExternalAccessPolicySourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNExternalAccessPolicyStatistics [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroup [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroup [-AccountName ] -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupAudit [-AccountName ] -GroupId -GroupType [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupMemberOf [-AccountName ] -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupMemberOfGroupCandidate [-AccountName ] -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsAssetManager [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsAssetManagersCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsByType [-AccountName ] -GroupType [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsExternalAccessPolicy [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsExternalAccessPolicy [-AccountName ] -GroupId -GroupType -PolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsExternalAccessPolicySourceUserCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsExternalAccessPolicyStatistics [-AccountName ] -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRule [-AccountName ] -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsIdentityRule [-AccountName ] -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesAssetsCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsIdentityRulesUserCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRule [-AccountName ] -GroupId -GroupType [-Direction ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsInboundRule [-AccountName ] -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesDestinationCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesExcludedDestinationCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsInboundRulesSourceCandidate [-AccountName ] -GroupId -GroupType -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsManagedAsset [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsManagedAssetsCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMember [-AccountName ] -GroupId -GroupType -IncludeNestedMembers [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesMfamethod [-AccountName ] -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaIdentityPolicy [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaIdentityPolicy [-AccountName ] -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesMfamethod [-AccountName ] -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaInboundPolicy [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaInboundPolicy [-AccountName ] -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesMfamethod [-AccountName ] -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsMfaOutboundPolicy [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaOutboundPolicy [-AccountName ] -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRule [-AccountName ] -GroupId -GroupType [-Direction ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsOutboundRule [-AccountName ] -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesDestinationCandidate [-AccountName ] -GroupId -GroupType -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesExcludedSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsOutboundRulesUserCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRule [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsRpcRule [-AccountName ] -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesDestinationCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesExcludedDestinationCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesSourceCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRpcRulesUserCandidate [-AccountName ] -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsRulesDistribution [-AccountName ] -GroupId -GroupType -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNGroupsStatistics [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityOnboardingPoliciesGroupCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityOnboardingPolicy [-AccountName ] [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRule [-AccountName ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNIdentityRule [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesExcludedAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNIdentityRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRule [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNInboundRule [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesDestinationCandidate [-AccountName ] [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesExcludedDestinationCandidate [-AccountName ] [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNInboundRulesSourceCandidate [-AccountName ] -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesMfamethod [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaIdentityPolicy [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaIdentityPolicy [-AccountName ] -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesExcludedSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesMfamethod [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaInboundPolicy [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaInboundPolicy [-AccountName ] -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesDestinationCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesMfamethod [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesSourceCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPoliciesSourceUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaOutboundPolicy [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaOutboundPolicy [-AccountName ] -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaPoliciesDistribution [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNMfaPoliciesStatistics [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNNetworkOnboardingPoliciesGroupCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNNetworkOnboardingPolicy [-AccountName ] [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRule [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-EnrichRemoteIps] [-EntityParams ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNOutboundRule [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesDestinationCandidate [-AccountName ] -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesExcludedSourceCandidate [-AccountName ] [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesSourceCandidate [-AccountName ] [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNOutboundRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRule [-AccountName ] [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNRpcRule [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesDestinationCandidate [-AccountName ] [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesExcludedDestinationCandidate [-AccountName ] [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesSourceCandidate [-AccountName ] [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRpcRulesUserCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRulesDistribution [-AccountName ] -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNRulesStatistics [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSegmentServer [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSession [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAad [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAd [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAdMonitoredCandidate [-AccountName ] -ForestId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAdProtectedCandidate [-AccountName ] -ForestId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAnsible [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAssetManager [-AccountName ] [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsAuth [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsBreakGlass [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientsTrustedInternet [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientSubnet [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClientsUntrustedInternet [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsClusterStrategy [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectClientAutoUpdate [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectRegion [-AccountName ] [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectServer [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfig [-AccountName ] [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsDefaultApplication [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewall [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallIgnoredGpo [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallIgnoredRule [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsFirewallProfile [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsIdp [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsInactiveAsset [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsInternalSubnet [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsJamfCredentials [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLearningConfig [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLicense [-AccountName ] -ProtectionType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLinuxSetup [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsLinuxUser [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMaintenanceWindow [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNSettingsMaintenanceWindow [-AccountName ] -MaintenanceWindowId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaAuthentication [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaCache [-AccountName ] [-Limit ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaCacheCandidate [-AccountName ] [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsMfaDetection [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsNotification [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsPrivilegedPort [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsPushNotification [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsServersTrustedInternet [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsServersUntrustedInternet [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsTrustedInternetAddress [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNSettingsZpa [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNTagGroupsCandidate [-AccountName ] [-Limit ] [-Offset ] [-GroupId ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUser [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUser [-AccountName ] -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserAudit [-AccountName ] -UserId [-Limit ] [-Cursor ] [-Filters ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserExternalAccessPolicy [-AccountName ] -UserId [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserExternalAccessPolicy [-AccountName ] -UserId -PolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserExternalAccessPolicySourceUserCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserExternalAccessPolicyStatistics [-AccountName ] -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRule [-AccountName ] -UserId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserIdentityRule [-AccountName ] -UserId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesAssetsCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesExcludedAssetsCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserIdentityRulesUserCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMemberOf [-AccountName ] -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMemberOfGroupCandidate [-AccountName ] -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesDestinationCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-IsSrcAssetUnmonitored] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesMfamethod [-AccountName ] -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesSourceCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserMfaIdentityPolicy [-AccountName ] -UserId [-Limit ] [-Offset ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserMfaIdentityPolicy [-AccountName ] -UserId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserRulesDistribution [-AccountName ] -RuleId -UserId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersIdentityQueued [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersIdentitySegmented [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersInactive [-AccountName ] [-Limit ] [-Offset ] [-Cursor ] [-Filters ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersManagedAsset [-AccountName ] -UserId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersManagedAssetsCandidate [-AccountName ] -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersPrivileged [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUsersServiceAccount [-AccountName ] [-Limit ] [-Offset ] [-Filters ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Get-ZNUserStatistics [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Initialize-ZNAssetBreakGlass [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Initialize-ZNAssetBreakGlass [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetDeactivateBreakGlass [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetDeactivateBreakGlass [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetIdentityExtendQueue [-AccountName ] -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetIdentityExtendQueue [-AccountName ] -ExtendByDays [-RelearnReason ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetIdentityQueue [-AccountName ] -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetIdentityQueue [-AccountName ] -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetNetworkExtendQueue [-AccountName ] -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetNetworkExtendQueue [-AccountName ] -ExtendByDays [-RelearnReason ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetNetworkQueue [-AccountName ] -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetNetworkQueue [-AccountName ] -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetOtNetworkExtendQueue [-AccountName ] -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetOtNetworkExtendQueue [-AccountName ] -ExtendByDays [-RelearnReason ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetOtNetworkQueue [-AccountName ] -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetOtNetworkQueue [-AccountName ] -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetRpcExtendQueue [-AccountName ] -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNAssetRpcQueue [-AccountName ] -Items -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNDownloadCloudConnectorInstaller [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadConnectClient [-AccountName ] -Platform [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadConnectServer [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNDownloadSegmentServer [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntityIP [-AccountName ] -IP [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntityIPRange [-AccountName ] -IPRange [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNEncodeEntitySubnet [-AccountName ] -Subnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Invoke-ZNMirrorAsset [-AccountName ] -OriginalAssetId -TargetAssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNMirrorAsset [-AccountName ] -AssetId -OriginalAssetId -TargetAssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNRediscoverAd [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNRediscoverLinux [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNResyncAzureAd [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Invoke-ZNUserIdentityQueue [-AccountName ] -QueueDays -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetExternalAccessPolicy [-AccountName ] -AssetId -DstAssetId -DstPortsList -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList [-Description ] [-State ] [-Url ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetIdentityRule [-AccountName ] -AssetId -Action -AssetId1 -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetInboundRule [-AccountName ] -AssetId -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-SrcUsersList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaIdentityPolicy [-AccountName ] -AssetId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaInboundPolicy [-AccountName ] -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetMfaOutboundPolicy [-AccountName ] -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetOutboundRule [-AccountName ] -AssetId -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-SrcUsersList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetRpcRule [-AccountName ] -AssetId -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetsLinux [-AccountName ] -DisplayName -Fqdn [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNAssetsOt [-AccountName ] -DisplayName -Fqdn -Ipv4 -Type [-InterfaceName ] [-SwitchId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNCustomGroup [-AccountName ] -Name [-Description ] [-MembersId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNExternalAccessPolicy [-AccountName ] -DstAssetId -DstPortsList -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList [-Description ] [-State ] [-Url ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsExternalAccessPolicy [-AccountName ] -GroupId -GroupType -DstAssetId -DstPortsList -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList [-Description ] [-State ] [-Url ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsIdentityRule [-AccountName ] -GroupId -GroupType -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsInboundRule [-AccountName ] -GroupId -GroupType -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-SrcUsersList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaIdentityPolicy [-AccountName ] -GroupId -GroupType -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaInboundPolicy [-AccountName ] -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsMfaOutboundPolicy [-AccountName ] -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsOutboundRule [-AccountName ] -GroupId -GroupType -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-SrcUsersList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNGroupsRpcRule [-AccountName ] -GroupId -GroupType -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNIdentityOnboardingPolicy [-AccountName ] -ExistingMembersLearningDays -GroupId -NewMembersLearningDays [-Description ] [-Enabled] [-EnforceBlocks] [-MaintenanceWindowId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNIdentityRule [-AccountName ] -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNInboundRule [-AccountName ] -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-SrcUsersList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaIdentityPolicy [-AccountName ] -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaInboundPolicy [-AccountName ] -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNMfaOutboundPolicy [-AccountName ] -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RestrictLoginToOriginatingUser -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNNetworkOnboardingPolicy [-AccountName ] -ExistingMembersLearningDays -GroupId -NewMembersLearningDays [-Description ] [-Enabled] [-EnforceBlocks] [-MaintenanceWindowId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNOutboundRule [-AccountName ] -Action -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-SrcUsersList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNPortsList -Protocol [-Ports ] [] + +New-ZNPortsList -Empty [] + + + + +New-ZNRpcRule [-AccountName ] -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsAd [-AccountName ] [-AllowNtlmFallback] [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsAdSecondary [-AccountName ] -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsConnectRegion [-AccountName ] [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsConnectUserAccessConfig [-AccountName ] [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsIdp [-AccountName ] [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsMaintenanceWindow [-AccountName ] [-IsDefault] [-Name ] [-StartTime ] [-Weekday ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsMfaCache [-AccountName ] -AssetLimit -EntityId -TtlMinutes [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNSettingsPushNotification [-AccountName ] -PushIdentityProviderId [-SecretKey ] [-Host ] [-Id ] [-IdentityProvider ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] -TenantId [-WhatIf] [-Confirm] [] + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] -ApiHostname -IntegrationKey [-WhatIf] [-Confirm] [] + + + + +New-ZNUserExternalAccessPolicy [-AccountName ] -UserId -DstAssetId -DstPortsList -DstProcessNamesList -Name -RuleDuration -SrcUserIdsList [-Description ] [-State ] [-Url ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNUserIdentityRule [-AccountName ] -UserId -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +New-ZNUserMfaIdentityPolicy [-AccountName ] -UserId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-RestrictLoginToOriginatingUser] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetIdentitySegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetIdentitySegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetNetworkSegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetNetworkSegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetOtNetworkSegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetOtNetworkSegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNAssetRpcSegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetRpcSegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Protect-ZNUserIdentitySegment [-AccountName ] -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Read-ZNJWTtoken [-token] [] + + + + +Remove-ZNAeExclusionsInbound [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAeExclusionsOutbound [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNApiKey [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetExternalAccessPolicy [-AccountName ] -AssetId -PolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetIdentityRule [-AccountName ] -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetInboundRule [-AccountName ] -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetManager [-AccountName ] -AssetId -GroupOrUserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaIdentityPolicy [-AccountName ] -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaInboundPolicy [-AccountName ] -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetMfaOutboundPolicy [-AccountName ] -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetOtAssetManager [-AccountName ] -AssetId -GroupOrUserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetOutboundRule [-AccountName ] -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetRpcMonitoring [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Remove-ZNAssetRpcMonitoring [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNAssetRpcRule [-AccountName ] -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNCustomGroup [-AccountName ] -GroupId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNCustomGroupsMember [-AccountName ] -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNExternalAccessPolicy [-AccountName ] -PolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsAssetManager [-AccountName ] -GroupId -GroupOrUserId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsExternalAccessPolicy [-AccountName ] -GroupId -GroupType -PolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsIdentityRule [-AccountName ] -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsInboundRule [-AccountName ] -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsManagedAsset [-AccountName ] -GroupId -GroupOrAssetId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaIdentityPolicy [-AccountName ] -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaInboundPolicy [-AccountName ] -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsMfaOutboundPolicy [-AccountName ] -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsOutboundRule [-AccountName ] -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNGroupsRpcRule [-AccountName ] -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNIdentityOnboardingPolicy [-AccountName ] -OnboardingPolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNIdentityRule [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNInboundRule [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaIdentityPolicy [-AccountName ] -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaInboundPolicy [-AccountName ] -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNMfaOutboundPolicy [-AccountName ] -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNNetworkOnboardingPolicy [-AccountName ] -OnboardingPolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNOutboundRule [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNRpcRule [-AccountName ] -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAad [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAd [-AccountName ] -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAdLinux [-AccountName ] -DomainId -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsAdSecondary [-AccountName ] -DomainId -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsConnectRegion [-AccountName ] -RegionId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsConnectServer [-AccountName ] -ConnectServerId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsConnectUserAccessConfig [-AccountName ] -UserAccessConfigId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsIdp [-AccountName ] -IdentityProviderId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsJamfCredentials [-AccountName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsMaintenanceWindow [-AccountName ] -MaintenanceWindowId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsMfaCache [-AccountName ] -EntityId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNSettingsPushNotification [-AccountName ] -PushIdentityProviderId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNTagGroupsMember [-AccountName ] -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUserExternalAccessPolicy [-AccountName ] -PolicyId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUserIdentityRule [-AccountName ] -RuleId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUserMfaIdentityPolicy [-AccountName ] -ReactivePolicyId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Remove-ZNUsersManagedAsset [-AccountName ] -GroupOrAssetId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Revoke-ZNSession [-AccountName ] -SessionId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Search-ZNAsset [-AccountName ] [-Fqdn ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Search-ZNAssetsNetworkSegmented [-AccountName ] [-Fqdn ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Search-ZNGroupsExternalId [-AccountName ] -ExternalId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Search-ZNUser [-AccountName ] -PrincipalName [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Search-ZNUser [-AccountName ] -Sid [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + + + +Set-ZNApiKey -ApiKey [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetIdentityProtect [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetIdentityProtect [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetIdentityUnprotect [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetIdentityUnprotect [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetNetworkSegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkSegment [-AccountName ] -Body [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkSegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Test-ZNAssetNetworkUnprotect [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkUnprotect [-AccountName ] -Body [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkUnprotect [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetIdentitySegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetIdentitySegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetNetworkSegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetNetworkSegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetOtNetworkSegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetOtNetworkSegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNAssetRpcSegment [-AccountName ] -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetRpcSegment [-AccountName ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Unprotect-ZNUserIdentitySegment [-AccountName ] -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkBoth [-AccountName ] [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkClient [-AccountName ] [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAiExclusionNetworkServer [-AccountName ] [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetActive [-AccountName ] -AssetId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetActive [-AccountName ] [-Comment ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetExternalAccessPolicy -AssetId -PolicyId [-DstPortsList ] [-DstProcessNamesList ] [-Name ] [-RuleDuration ] [-SrcUserIdsList ] [-Description ] [-State ] [-Url ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetIdentityRule -AssetId -RuleId [-Action ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetInactive [-AccountName ] -AssetId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetInactive [-AccountName ] [-Comment ] -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetInboundRule -AssetId -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetOSType [-AccountName ] -AssetIds -OSType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetOSType [-AccountName ] -AssetId -AssetIds -OSType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetOt [-AccountName ] -AssetId [-DisplayName ] [-Fqdn ] [-Type ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetOutboundRestriction [-AccountName ] -AssetIds -OutboundRestriction [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetOutboundRestriction [-AccountName ] -AssetId -AssetIds -OutboundRestriction [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetOutboundRule -AssetId -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetPreferredSegmentServer [-AccountName ] -AssetId [-PreferredDeploymentId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetPreferredSegmentServer [-AccountName ] -AssetId -AssetId1 [-PreferredDeploymentId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetRpcRule -AssetId -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNAssetType [-AccountName ] -AssetId -Type [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNCustomGroup -GroupId [-Name ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNExternalAccessPolicy -PolicyId [-DstPortsList ] [-DstProcessNamesList ] [-Name ] [-RuleDuration ] [-SrcUserIdsList ] [-Description ] [-State ] [-Url ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsExternalAccessPolicy -GroupId -GroupType -PolicyId [-DstPortsList ] [-DstProcessNamesList ] [-Name ] [-RuleDuration ] [-SrcUserIdsList ] [-Description ] [-State ] [-Url ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNIdentityOnboardingPolicy [-AccountName ] -OnboardingPolicyId -ExistingMembersLearningDays -NewMembersLearningDays [-PolicyType ] [-Description ] [-Enabled] [-Id ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNIdentityRule -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNInboundRule -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaIdentityPolicy -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaInboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNMfaOutboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNNetworkOnboardingPolicy [-AccountName ] -OnboardingPolicyId -ExistingMembersLearningDays -NewMembersLearningDays [-PolicyType ] [-Description ] [-Enabled] [-Id ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNOutboundRule -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNRpcRule -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAd [-AccountName ] -ForestId [-AllowNtlmFallback] [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAdLinux [-AccountName ] -DomainId -ForestId [-AdLinuxConfigAllowInstallPackages] [-AdLinuxConfigPassword ] [-AdLinuxConfigPrivateKey ] [-AdLinuxConfigUsername ] [-UseForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAdLinuxAutomationGroup [-AccountName ] -ForestId [-MonitoredGroupId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAdSecondary [-AccountName ] -DomainId -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAdWindowsAutomationGroup [-AccountName ] -ForestId [-MonitoredGroupId ] [-ProtectedGroupId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAnsible [-AccountName ] [-ClientId ] [-ClientSecret ] [-CredentialsName ] [-DisableCertificateValidation] [-Password ] [-Url ] [-Username ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsAuth [-AccountName ] [-PortalTokenTtl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsBreakGlass [-AccountName ] [-AgentConfigAllowIdentity] [-AgentConfigAllowInbound] [-AgentConfigAllowOutbound] [-TrustConfigAllowIdentity] [-TrustConfigAllowInbound] [-TrustConfigAllowOutbound] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientsTrustedInternet [-AccountName ] [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientSubnet [-AccountName ] [-PrivateIpv4NetworksList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClientsUntrustedInternet [-AccountName ] [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsClusterStrategy [-AccountName ] [-PreferredDeploymentId ] [-Strategy ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectClientAutoUpdate [-AccountName ] [-ClientAutoUpdate] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectRegion [-AccountName ] -RegionId [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectServer [-AccountName ] -ConnectServerId [-PublicPort ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsConnectUserAccessConfig [-AccountName ] -UserAccessConfigId [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsDefaultApplication [-AccountName ] [-Application ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewall [-AccountName ] [-ImplicitIcmpRuleEnabled] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallIgnoredGpo [-AccountName ] [-InboundList ] [-OutboundList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallIgnoredRule [-AccountName ] [-InboundList ] [-OutboundList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsFirewallProfile [-AccountName ] [-InboundAllowDomain] [-InboundAllowPrivate] [-InboundAllowPublic] [-InboundBlockDomain] [-InboundBlockPrivate] [-InboundBlockPublic] [-OutboundBlockDomain] [-OutboundBlockPrivate] [-OutboundBlockPublic] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsIdp [-AccountName ] -IdentityProviderId [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsInactiveAsset [-AccountName ] [-LastActiveDurationInMonths ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsInternalSubnet [-AccountName ] [-PrivateIpv4NetworksList ] [-PrivateIpv6NetworksList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsJamfCredentials [-AccountName ] -Host -Password -Username [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLearningConfig [-AccountName ] [-AllowQueueForever] [-AllowQuickLearning] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLinuxSetup [-AccountName ] [-AllowInstallPackages] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsLinuxUser [-AccountName ] [-Password ] [-PrivateKey ] [-Username ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsMaintenanceWindow [-AccountName ] -MaintenanceWindowId [-IsDefault] [-Name ] [-StartTime ] [-Weekday ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsMfaAuthentication [-AccountName ] -IsRequiresAuth -IsSsoForceAuth -TokenTtl [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsMfaDetection [-AccountName ] -TimeoutMinutes [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsNotification [-AccountName ] -AssetPostponed -AssetProtected -AssetQueued -AssetUnprotected [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsPrivilegedPort [-AccountName ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsServersTrustedInternet [-AccountName ] [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsServersUntrustedInternet [-AccountName ] [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsTrustedInternetAddress [-AccountName ] [-ExternalIpsList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNSettingsZpa [-AccountName ] [-ClientOutboundSubnet ] [-GatewayIpsList ] [-IsEnabled] [-PortsToMfaTcp ] [-PortsToMfaUdp ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserExternalAccessPolicy -UserId -PolicyId [-DstPortsList ] [-DstProcessNamesList ] [-Name ] [-RuleDuration ] [-SrcUserIdsList ] [-Description ] [-State ] [-Url ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserIdentityRule -UserId -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserMfaIdentityPolicy -UserId -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RestrictLoginToOriginatingUser] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + + +Update-ZNUserType [-AccountName ] -UserId -UserType [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNUserType [-AccountName ] -UserType [-Comment ] -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + + diff --git a/src/cmdlets/0.0.15-preview.md b/src/cmdlets/0.0.15-preview.md new file mode 100644 index 0000000..4710cd5 --- /dev/null +++ b/src/cmdlets/0.0.15-preview.md @@ -0,0 +1,497 @@ + +Name +---- +Add-ZNAssetManager +Add-ZNAssetOtAssetManager +Add-ZNAssetRpcMonitoring +Add-ZNCustomGroupsMember +Add-ZNGroupsAssetManager +Add-ZNGroupsManagedAsset +Add-ZNTagGroupsMember +Add-ZNUsersManagedAsset +Approve-ZNAssetInboundRuleReview +Approve-ZNAssetOutboundRuleReview +Approve-ZNInboundRuleReview +Approve-ZNOutboundRuleReview +Connect-ZN +Deny-ZNAssetInboundRuleReview +Deny-ZNAssetOutboundRuleReview +Deny-ZNInboundRuleReview +Deny-ZNOutboundRuleReview +Disconnect-ZN +Enable-ZNAssetQuarantine +Get-ZNAeExclusionsInbound +Get-ZNAeExclusionsOutbound +Get-ZNAiExclusionNetworkBoth +Get-ZNAiExclusionNetworkClient +Get-ZNAiExclusionNetworkServer +Get-ZNAiExclusionSourceCandidate +Get-ZNAiExclusionSourceEntity +Get-ZNAiNextBatch +Get-ZNAsset +Get-ZNAssetAnalysis +Get-ZNAssetAudit +Get-ZNAssetClusterInfo +Get-ZNAssetExternalAccessPolicy +Get-ZNAssetExternalAccessPolicyDestinationAssetsCandidate +Get-ZNAssetExternalAccessPolicySourceUserCandidate +Get-ZNAssetExternalAccessPolicyStatistics +Get-ZNAssetHealthState +Get-ZNAssetIdentityRule +Get-ZNAssetIdentityRulesAssetsCandidate +Get-ZNAssetIdentityRulesExcludedAssetsCandidate +Get-ZNAssetIdentityRulesUserCandidate +Get-ZNAssetInboundRule +Get-ZNAssetInboundRulesDestinationCandidate +Get-ZNAssetInboundRulesExcludedDestinationCandidate +Get-ZNAssetInboundRulesSourceCandidate +Get-ZNAssetListeningPort +Get-ZNAssetManager +Get-ZNAssetManagersCandidate +Get-ZNAssetMemberOf +Get-ZNAssetMemberOfGroupCandidate +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNAssetMfaIdentityPoliciesMfamethod +Get-ZNAssetMfaIdentityPoliciesSourceCandidate +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate +Get-ZNAssetMfaIdentityPolicy +Get-ZNAssetMfaInboundPoliciesDestinationCandidate +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate +Get-ZNAssetMfaInboundPoliciesMfamethod +Get-ZNAssetMfaInboundPoliciesSourceCandidate +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate +Get-ZNAssetMfaInboundPolicy +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNAssetMfaOutboundPoliciesMfamethod +Get-ZNAssetMfaOutboundPoliciesSourceCandidate +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate +Get-ZNAssetMfaOutboundPolicy +Get-ZNAssetOt +Get-ZNAssetOtAssetManager +Get-ZNAssetOtAssetManagersCandidate +Get-ZNAssetOtAudit +Get-ZNAssetOtMemberOf +Get-ZNAssetOtMemberOfGroupCandidate +Get-ZNAssetOtTag +Get-ZNAssetOutboundRule +Get-ZNAssetOutboundRulesDestinationCandidate +Get-ZNAssetOutboundRulesExcludedSourceCandidate +Get-ZNAssetOutboundRulesSourceCandidate +Get-ZNAssetOutboundRulesUserCandidate +Get-ZNAssetPreferredSegmentServer +Get-ZNAssetRpcRule +Get-ZNAssetRpcRulesDestinationCandidate +Get-ZNAssetRpcRulesExcludedDestinationCandidate +Get-ZNAssetRpcRulesSourceCandidate +Get-ZNAssetRpcRulesUserCandidate +Get-ZNAssetRulesDistribution +Get-ZNAssetsIdentityQueued +Get-ZNAssetsIdentitySegmented +Get-ZNAssetsInactive +Get-ZNAssetsMonitored +Get-ZNAssetsNetworkQueued +Get-ZNAssetsNetworkSegmented +Get-ZNAssetsOt +Get-ZNAssetsRpcMonitored +Get-ZNAssetsRpcQueued +Get-ZNAssetsRpcSegmented +Get-ZNAssetsStatesStatistics +Get-ZNAssetsStatistics +Get-ZNAssetTag +Get-ZNAudit +Get-ZNCustomGroupsCandidate +Get-ZNExternalAccessPolicy +Get-ZNExternalAccessPolicyDestinationAssetsCandidate +Get-ZNExternalAccessPolicySourceUserCandidate +Get-ZNExternalAccessPolicyStatistics +Get-ZNGroup +Get-ZNGroupAudit +Get-ZNGroupMemberOf +Get-ZNGroupMemberOfGroupCandidate +Get-ZNGroupsAssetManager +Get-ZNGroupsAssetManagersCandidate +Get-ZNGroupsByType +Get-ZNGroupsExternalAccessPolicy +Get-ZNGroupsExternalAccessPolicyDestinationAssetsCandidate +Get-ZNGroupsExternalAccessPolicySourceUserCandidate +Get-ZNGroupsExternalAccessPolicyStatistics +Get-ZNGroupsIdentityRule +Get-ZNGroupsIdentityRulesAssetsCandidate +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate +Get-ZNGroupsIdentityRulesUserCandidate +Get-ZNGroupsInboundRule +Get-ZNGroupsInboundRulesDestinationCandidate +Get-ZNGroupsInboundRulesExcludedDestinationCandidate +Get-ZNGroupsInboundRulesSourceCandidate +Get-ZNGroupsManagedAsset +Get-ZNGroupsManagedAssetsCandidate +Get-ZNGroupsMember +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate +Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaIdentityPoliciesMfamethod +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate +Get-ZNGroupsMfaIdentityPolicy +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate +Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaInboundPoliciesMfamethod +Get-ZNGroupsMfaInboundPoliciesSourceCandidate +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate +Get-ZNGroupsMfaInboundPolicy +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate +Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNGroupsMfaOutboundPoliciesMfamethod +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate +Get-ZNGroupsMfaOutboundPolicy +Get-ZNGroupsOutboundRule +Get-ZNGroupsOutboundRulesDestinationCandidate +Get-ZNGroupsOutboundRulesExcludedSourceCandidate +Get-ZNGroupsOutboundRulesSourceCandidate +Get-ZNGroupsOutboundRulesUserCandidate +Get-ZNGroupsRpcRule +Get-ZNGroupsRpcRulesDestinationCandidate +Get-ZNGroupsRpcRulesExcludedDestinationCandidate +Get-ZNGroupsRpcRulesSourceCandidate +Get-ZNGroupsRpcRulesUserCandidate +Get-ZNGroupsRulesDistribution +Get-ZNGroupsStatistics +Get-ZNIdentityOnboardingPoliciesGroupCandidate +Get-ZNIdentityOnboardingPolicy +Get-ZNIdentityRule +Get-ZNIdentityRulesAssetsCandidate +Get-ZNIdentityRulesExcludedAssetsCandidate +Get-ZNIdentityRulesUserCandidate +Get-ZNInboundRule +Get-ZNInboundRulesDestinationCandidate +Get-ZNInboundRulesExcludedDestinationCandidate +Get-ZNInboundRulesSourceCandidate +Get-ZNMfaIdentityPoliciesDestinationCandidate +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNMfaIdentityPoliciesMfamethod +Get-ZNMfaIdentityPoliciesSourceCandidate +Get-ZNMfaIdentityPoliciesSourceUserCandidate +Get-ZNMfaIdentityPolicy +Get-ZNMfaInboundPoliciesDestinationCandidate +Get-ZNMfaInboundPoliciesExcludedSourceCandidate +Get-ZNMfaInboundPoliciesMfamethod +Get-ZNMfaInboundPoliciesSourceCandidate +Get-ZNMfaInboundPoliciesSourceUserCandidate +Get-ZNMfaInboundPolicy +Get-ZNMfaOutboundPoliciesDestinationCandidate +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate +Get-ZNMfaOutboundPoliciesMfamethod +Get-ZNMfaOutboundPoliciesSourceCandidate +Get-ZNMfaOutboundPoliciesSourceUserCandidate +Get-ZNMfaOutboundPolicy +Get-ZNMfaPoliciesDistribution +Get-ZNMfaPoliciesStatistics +Get-ZNNetworkOnboardingPoliciesGroupCandidate +Get-ZNNetworkOnboardingPolicy +Get-ZNOutboundRule +Get-ZNOutboundRulesDestinationCandidate +Get-ZNOutboundRulesExcludedSourceCandidate +Get-ZNOutboundRulesSourceCandidate +Get-ZNOutboundRulesUserCandidate +Get-ZNRpcRule +Get-ZNRpcRulesDestinationCandidate +Get-ZNRpcRulesExcludedDestinationCandidate +Get-ZNRpcRulesSourceCandidate +Get-ZNRpcRulesUserCandidate +Get-ZNRulesDistribution +Get-ZNRulesStatistics +Get-ZNSegmentServer +Get-ZNSession +Get-ZNSettingsAad +Get-ZNSettingsAd +Get-ZNSettingsAdMonitoredCandidate +Get-ZNSettingsAdProtectedCandidate +Get-ZNSettingsAnsible +Get-ZNSettingsAssetManager +Get-ZNSettingsAuth +Get-ZNSettingsBreakGlass +Get-ZNSettingsClientsTrustedInternet +Get-ZNSettingsClientSubnet +Get-ZNSettingsClientsUntrustedInternet +Get-ZNSettingsClusterStrategy +Get-ZNSettingsConnectClientAutoUpdate +Get-ZNSettingsConnectRegion +Get-ZNSettingsConnectServer +Get-ZNSettingsConnectUserAccessConfig +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate +Get-ZNSettingsDefaultApplication +Get-ZNSettingsFirewall +Get-ZNSettingsFirewallIgnoredGpo +Get-ZNSettingsFirewallIgnoredRule +Get-ZNSettingsFirewallProfile +Get-ZNSettingsIdp +Get-ZNSettingsInactiveAsset +Get-ZNSettingsInternalSubnet +Get-ZNSettingsJamfCredentials +Get-ZNSettingsLearningConfig +Get-ZNSettingsLicense +Get-ZNSettingsLinuxSetup +Get-ZNSettingsLinuxUser +Get-ZNSettingsMaintenanceWindow +Get-ZNSettingsMfaAuthentication +Get-ZNSettingsMfaCache +Get-ZNSettingsMfaCacheCandidate +Get-ZNSettingsMfaDetection +Get-ZNSettingsNotification +Get-ZNSettingsPrivilegedPort +Get-ZNSettingsPushNotification +Get-ZNSettingsServersTrustedInternet +Get-ZNSettingsServersUntrustedInternet +Get-ZNSettingsTrustedInternetAddress +Get-ZNSettingsZpa +Get-ZNTagGroupsCandidate +Get-ZNUser +Get-ZNUserAudit +Get-ZNUserExternalAccessPolicy +Get-ZNUserExternalAccessPolicyDestinationAssetsCandidate +Get-ZNUserExternalAccessPolicySourceUserCandidate +Get-ZNUserExternalAccessPolicyStatistics +Get-ZNUserIdentityRule +Get-ZNUserIdentityRulesAssetsCandidate +Get-ZNUserIdentityRulesExcludedAssetsCandidate +Get-ZNUserIdentityRulesUserCandidate +Get-ZNUserMemberOf +Get-ZNUserMemberOfGroupCandidate +Get-ZNUserMfaIdentityPoliciesDestinationCandidate +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate +Get-ZNUserMfaIdentityPoliciesMfamethod +Get-ZNUserMfaIdentityPoliciesSourceCandidate +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate +Get-ZNUserMfaIdentityPolicy +Get-ZNUserRulesDistribution +Get-ZNUsersIdentityQueued +Get-ZNUsersIdentitySegmented +Get-ZNUsersInactive +Get-ZNUsersManagedAsset +Get-ZNUsersManagedAssetsCandidate +Get-ZNUsersPrivileged +Get-ZNUsersServiceAccount +Get-ZNUserStatistics +Initialize-ZNAssetBreakGlass +Invoke-ZNAssetDeactivateBreakGlass +Invoke-ZNAssetIdentityExtendQueue +Invoke-ZNAssetIdentityQueue +Invoke-ZNAssetNetworkExtendQueue +Invoke-ZNAssetNetworkQueue +Invoke-ZNAssetOtNetworkExtendQueue +Invoke-ZNAssetOtNetworkQueue +Invoke-ZNAssetRpcExtendQueue +Invoke-ZNAssetRpcQueue +Invoke-ZNDownloadCloudConnectorInstaller +Invoke-ZNDownloadConnectClient +Invoke-ZNDownloadConnectServer +Invoke-ZNDownloadSegmentServer +Invoke-ZNEncodeEntityIP +Invoke-ZNEncodeEntityIPRange +Invoke-ZNEncodeEntitySubnet +Invoke-ZNMirrorAsset +Invoke-ZNRediscoverAd +Invoke-ZNRediscoverLinux +Invoke-ZNResyncAzureAd +Invoke-ZNUserIdentityQueue +New-ZNAssetExternalAccessPolicy +New-ZNAssetIdentityRule +New-ZNAssetInboundRule +New-ZNAssetMfaIdentityPolicy +New-ZNAssetMfaInboundPolicy +New-ZNAssetMfaOutboundPolicy +New-ZNAssetOutboundRule +New-ZNAssetRpcRule +New-ZNAssetsLinux +New-ZNAssetsOt +New-ZNCustomGroup +New-ZNExternalAccessPolicy +New-ZNGroupsExternalAccessPolicy +New-ZNGroupsIdentityRule +New-ZNGroupsInboundRule +New-ZNGroupsMfaIdentityPolicy +New-ZNGroupsMfaInboundPolicy +New-ZNGroupsMfaOutboundPolicy +New-ZNGroupsOutboundRule +New-ZNGroupsRpcRule +New-ZNIdentityOnboardingPolicy +New-ZNIdentityRule +New-ZNInboundRule +New-ZNMfaIdentityPolicy +New-ZNMfaInboundPolicy +New-ZNMfaOutboundPolicy +New-ZNNetworkOnboardingPolicy +New-ZNOutboundRule +New-ZNPortsList +New-ZNRpcRule +New-ZNSettingsAd +New-ZNSettingsAdSecondary +New-ZNSettingsConnectRegion +New-ZNSettingsConnectUserAccessConfig +New-ZNSettingsIdp +New-ZNSettingsMaintenanceWindow +New-ZNSettingsMfaCache +New-ZNSettingsPushNotification +New-ZNUserExternalAccessPolicy +New-ZNUserIdentityRule +New-ZNUserMfaIdentityPolicy +Protect-ZNAssetIdentitySegment +Protect-ZNAssetNetworkSegment +Protect-ZNAssetOtNetworkSegment +Protect-ZNAssetRpcSegment +Protect-ZNUserIdentitySegment +Read-ZNJWTtoken +Remove-ZNAeExclusionsInbound +Remove-ZNAeExclusionsOutbound +Remove-ZNApiKey +Remove-ZNAssetExternalAccessPolicy +Remove-ZNAssetIdentityRule +Remove-ZNAssetInboundRule +Remove-ZNAssetManager +Remove-ZNAssetMfaIdentityPolicy +Remove-ZNAssetMfaInboundPolicy +Remove-ZNAssetMfaOutboundPolicy +Remove-ZNAssetOtAssetManager +Remove-ZNAssetOutboundRule +Remove-ZNAssetRpcMonitoring +Remove-ZNAssetRpcRule +Remove-ZNCustomGroup +Remove-ZNCustomGroupsMember +Remove-ZNExternalAccessPolicy +Remove-ZNGroupsAssetManager +Remove-ZNGroupsExternalAccessPolicy +Remove-ZNGroupsIdentityRule +Remove-ZNGroupsInboundRule +Remove-ZNGroupsManagedAsset +Remove-ZNGroupsMfaIdentityPolicy +Remove-ZNGroupsMfaInboundPolicy +Remove-ZNGroupsMfaOutboundPolicy +Remove-ZNGroupsOutboundRule +Remove-ZNGroupsRpcRule +Remove-ZNIdentityOnboardingPolicy +Remove-ZNIdentityRule +Remove-ZNInboundRule +Remove-ZNMfaIdentityPolicy +Remove-ZNMfaInboundPolicy +Remove-ZNMfaOutboundPolicy +Remove-ZNNetworkOnboardingPolicy +Remove-ZNOutboundRule +Remove-ZNRpcRule +Remove-ZNSettingsAad +Remove-ZNSettingsAd +Remove-ZNSettingsAdLinux +Remove-ZNSettingsAdSecondary +Remove-ZNSettingsConnectRegion +Remove-ZNSettingsConnectServer +Remove-ZNSettingsConnectUserAccessConfig +Remove-ZNSettingsIdp +Remove-ZNSettingsJamfCredentials +Remove-ZNSettingsMaintenanceWindow +Remove-ZNSettingsMfaCache +Remove-ZNSettingsPushNotification +Remove-ZNTagGroupsMember +Remove-ZNUserExternalAccessPolicy +Remove-ZNUserIdentityRule +Remove-ZNUserMfaIdentityPolicy +Remove-ZNUsersManagedAsset +Revoke-ZNSession +Search-ZNAsset +Search-ZNAssetsNetworkSegmented +Search-ZNGroupsExternalId +Search-ZNUser +Set-ZNApiKey +Test-ZNAssetIdentityProtect +Test-ZNAssetIdentityUnprotect +Test-ZNAssetNetworkSegment +Test-ZNAssetNetworkUnprotect +Unprotect-ZNAssetIdentitySegment +Unprotect-ZNAssetNetworkSegment +Unprotect-ZNAssetOtNetworkSegment +Unprotect-ZNAssetRpcSegment +Unprotect-ZNUserIdentitySegment +Update-ZNAiExclusionNetworkBoth +Update-ZNAiExclusionNetworkClient +Update-ZNAiExclusionNetworkServer +Update-ZNAssetActive +Update-ZNAssetExternalAccessPolicy +Update-ZNAssetIdentityRule +Update-ZNAssetInactive +Update-ZNAssetInboundRule +Update-ZNAssetMfaIdentityPolicy +Update-ZNAssetMfaInboundPolicy +Update-ZNAssetMfaOutboundPolicy +Update-ZNAssetOSType +Update-ZNAssetOt +Update-ZNAssetOutboundRestriction +Update-ZNAssetOutboundRule +Update-ZNAssetPreferredSegmentServer +Update-ZNAssetRpcRule +Update-ZNAssetType +Update-ZNCustomGroup +Update-ZNExternalAccessPolicy +Update-ZNGroupsExternalAccessPolicy +Update-ZNGroupsIdentityRule +Update-ZNGroupsInboundRule +Update-ZNGroupsMfaIdentityPolicy +Update-ZNGroupsMfaInboundPolicy +Update-ZNGroupsMfaOutboundPolicy +Update-ZNGroupsOutboundRule +Update-ZNGroupsRpcRule +Update-ZNIdentityOnboardingPolicy +Update-ZNIdentityRule +Update-ZNInboundRule +Update-ZNMfaIdentityPolicy +Update-ZNMfaInboundPolicy +Update-ZNMfaOutboundPolicy +Update-ZNNetworkOnboardingPolicy +Update-ZNOutboundRule +Update-ZNRpcRule +Update-ZNSettingsAd +Update-ZNSettingsAdLinux +Update-ZNSettingsAdLinuxAutomationGroup +Update-ZNSettingsAdSecondary +Update-ZNSettingsAdWindowsAutomationGroup +Update-ZNSettingsAnsible +Update-ZNSettingsAuth +Update-ZNSettingsBreakGlass +Update-ZNSettingsClientsTrustedInternet +Update-ZNSettingsClientSubnet +Update-ZNSettingsClientsUntrustedInternet +Update-ZNSettingsClusterStrategy +Update-ZNSettingsConnectClientAutoUpdate +Update-ZNSettingsConnectRegion +Update-ZNSettingsConnectServer +Update-ZNSettingsConnectUserAccessConfig +Update-ZNSettingsDefaultApplication +Update-ZNSettingsFirewall +Update-ZNSettingsFirewallIgnoredGpo +Update-ZNSettingsFirewallIgnoredRule +Update-ZNSettingsFirewallProfile +Update-ZNSettingsIdp +Update-ZNSettingsInactiveAsset +Update-ZNSettingsInternalSubnet +Update-ZNSettingsJamfCredentials +Update-ZNSettingsLearningConfig +Update-ZNSettingsLinuxSetup +Update-ZNSettingsLinuxUser +Update-ZNSettingsMaintenanceWindow +Update-ZNSettingsMfaAuthentication +Update-ZNSettingsMfaDetection +Update-ZNSettingsNotification +Update-ZNSettingsPrivilegedPort +Update-ZNSettingsServersTrustedInternet +Update-ZNSettingsServersUntrustedInternet +Update-ZNSettingsTrustedInternetAddress +Update-ZNSettingsZpa +Update-ZNUserExternalAccessPolicy +Update-ZNUserIdentityRule +Update-ZNUserMfaIdentityPolicy +Update-ZNUserType + diff --git a/src/openapi.yaml b/src/openapi.yaml index 0f06738..6792919 100644 --- a/src/openapi.yaml +++ b/src/openapi.yaml @@ -1,17 +1,25 @@ openapi: 3.0.1 info: title: Zero Networks - version: 1.0.2 + version: 1.0.5 description: APIs for Zero Networks + contact: + name: Support + url: https://support.zeronetworks.com + email: support@zeronetworks.com servers: - - url: 'https://portal.zeronetworks.com/api/v1' - description: productioN + - url: 'https://{accountName}.zeronetworks.com/api/v1' + description: The production API server + variables: + accountName: + description: this value is per customer / partner + default: portal paths: /activities/logon: get: operationId: LogonActivities_List summary: List Logon Activities - description: Returns a list of logon activites. + description: Returns a list of logon activities. parameters: - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' @@ -75,7 +83,7 @@ paths: - api_key: [] tags: - Activities - '/activities/logon/export/csv/{exportId}': + /activities/logon/export/csv/{exportId}: get: operationId: LogonActivitiesExport_Get summary: Download logon activities export @@ -90,6 +98,8 @@ paths: schema: type: object format: file + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: @@ -120,11 +130,152 @@ paths: - api_key: [] tags: - Activities + /activities/logon/user-filters: + get: + operationId: LogonActivitiesSavedFilters_List + summary: List Saved Filters for Logon Activities + description: Returns a list of saved filters for logon activities. + parameters: + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFiltersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities + post: + operationId: LogonActivitiesSavedFilters_Create + summary: Create a Saved Filter for Logon Activities + description: Returns the filter id. + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities + /activities/logon/user-filters/{filterId}: + get: + operationId: LogonActivitiesSavedFilters_Get + summary: Get a Saved Filter for Logon Activities + description: Returns a saved filters for logon activities. + parameters: + - $ref: '#/components/parameters/filterIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterObject' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities + put: + operationId: LogonActivitiesSavedFilters_Update + summary: update a Saved Filter for Logon Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/filterIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterUpdateBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities + delete: + operationId: LogonActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for Logon Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/filterIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities /activities/network: get: operationId: NetworkActivities_List summary: List Network Activities - description: Returns a list of network activites. + description: Returns a list of network activities. parameters: - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' @@ -188,7 +339,7 @@ paths: - api_key: [] tags: - Activities - '/activities/network/export/csv/{exportId}': + /activities/network/export/csv/{exportId}: get: operationId: NetworkActivitiesExport_Get summary: Download network activities export @@ -203,6 +354,8 @@ paths: schema: type: object format: file + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: @@ -233,11 +386,152 @@ paths: - api_key: [] tags: - Activities + /activities/network/user-filters: + get: + operationId: NetworkActivitiesSavedFilters_List + summary: List Saved Filters for Network Activities + description: Returns a list of saved filters for network activities. + parameters: + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFiltersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities + post: + operationId: NetworkActivitiesSavedFilters_Create + summary: Create a Saved Filter for Network Activities + description: Returns the filter id. + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities + /activities/network/user-filters/{filterId}: + get: + operationId: NetworkActivitiesSavedFilters_Get + summary: Get a Saved Filter for Network Activities + description: Returns a saved filters for network activities. + parameters: + - $ref: '#/components/parameters/filterIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterObject' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities + put: + operationId: NetworkActivitiesSavedFilters_Update + summary: update a Saved Filter for Network Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/filterIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterUpdateBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities + delete: + operationId: NetworkActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for Network Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/filterIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Activities /activities/rpc: get: operationId: RPCActivities_List summary: List RPC Activities - description: Returns a list of RPC activites. + description: Returns a list of RPC activities. parameters: - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' @@ -301,7 +595,7 @@ paths: - api_key: [] tags: - Activities - '/activities/rpc/export/csv/{exportId}': + /activities/rpc/export/csv/{exportId}: get: operationId: RPCActivitiesExport_Get summary: Download RPC activities export @@ -316,6 +610,8 @@ paths: schema: type: object format: file + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: @@ -351,6 +647,10 @@ paths: operationId: RPCActivitiesInterfaceCandidatesFilters_List summary: Get RPC activity Interface Name filters description: Returns the interface name filters that can be used for RPC activities. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK @@ -377,6 +677,10 @@ paths: operationId: RPCActivitiesOperationFilters_List summary: Get RPC activity operation filters description: Returns the operation filters that can be used for RPC activities. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK @@ -398,18 +702,20 @@ paths: - api_key: [] tags: - Activities - /ai/next-batch: + /activities/rpc/user-filters: get: - operationId: AINextBatch_Get - summary: AI Next Batch - description: Returns a date in epoch(ms) for the next batch of AI rules. + operationId: RPCActivitiesSavedFilters_List + summary: List Saved Filters for RPC Activities + description: Returns a list of saved filters for RPC activities. + parameters: + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/nextBatch' + $ref: '#/components/schemas/savedFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -423,28 +729,25 @@ paths: security: - api_key: [] tags: - - Settings - /assets: - get: - operationId: Assets_List - summary: Assets - description: Returns a list of assets. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. - parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/optionalOffsetParameter' - - $ref: '#/components/parameters/entityCursorParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/optionalOrderParameter' - - $ref: '#/components/parameters/optionalOrderColumnParameter' - - $ref: '#/components/parameters/showInactiveParameter' + - Activities + post: + operationId: RPCActivitiesSavedFilters_Create + summary: Create a Saved Filter for RPC Activities + description: Returns the filter id. + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchAssetsResponse' + $ref: '#/components/schemas/savedFilterId' '400': $ref: '#/components/responses/400' '401': @@ -458,22 +761,21 @@ paths: security: - api_key: [] tags: - - Assets - /assets/actions/activate: - post: - operationId: AssetsActive_Set - summary: Mark assets active - description: Returns and empty object. - requestBody: - description: Array of assetIds to activate - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsActivateBody' + - Activities + /activities/rpc/user-filters/{filterId}: + get: + operationId: RPCActivitiesSavedFilters_Get + summary: Get a Saved Filter for RPC Activities + description: Returns a saved filters for RPC activities. + parameters: + - $ref: '#/components/parameters/filterIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterObject' '400': $ref: '#/components/responses/400' '401': @@ -487,22 +789,23 @@ paths: security: - api_key: [] tags: - - Assets - /assets/actions/activate-break-glass: - post: - operationId: AssetsBreakGlass_Activate - summary: Activate break glass for assets. - description: Returns and empty object. + - Activities + put: + operationId: RPCActivitiesSavedFilters_Update + summary: update a Saved Filter for RPC Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/filterIdParameter' requestBody: - description: Array of assetIds to activate break glass + description: 'Name, filters, and description for the saved filter' required: true content: application/json: schema: - $ref: '#/components/schemas/assetsBreakGlassBody' + $ref: '#/components/schemas/savedFilterUpdateBody' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK '400': $ref: '#/components/responses/400' '401': @@ -516,22 +819,16 @@ paths: security: - api_key: [] tags: - - Assets - /assets/actions/deactivate-break-glass: - post: - operationId: AssetsBreakGlass_Deactivate - summary: Dectivate break glass for assets. - description: Returns and empty object. - requestBody: - description: Array of assetIds to deactivate break glass - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsBreakGlassBody' + - Activities + delete: + operationId: RPCActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for RPC Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/filterIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK '400': $ref: '#/components/responses/400' '401': @@ -545,22 +842,19 @@ paths: security: - api_key: [] tags: - - Assets - /assets/actions/inactivate: - post: - operationId: AssetsInactive_Set - summary: Mark assets inactive - description: Returns and empty object. - requestBody: - description: Array of assetIds to mark inactive - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsActivateBody' + - Activities + /ai/next-batch: + get: + operationId: AINextBatch_Get + summary: AI Next Batch + description: Returns a date in epoch(ms) for the next batch of AI rules. responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/nextBatch' '400': $ref: '#/components/responses/400' '401': @@ -574,22 +868,28 @@ paths: security: - api_key: [] tags: - - Assets - /assets/actions/protect: - post: - operationId: AssetsNetworkSegment_Protect - summary: Move asset from learning to network segmentation - description: Returns and empty object. - requestBody: - description: Array of assetIds to move to network segmentation - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsProtectBody' + - Settings + /assets: + get: + operationId: Assets_List + summary: Assets + description: Returns a list of assets. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' + - $ref: '#/components/parameters/showInactiveParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': @@ -604,25 +904,20 @@ paths: - api_key: [] tags: - Assets - /assets/actions/protect/validate: - post: - operationId: AssetsNetworkSegment_Validate - summary: Validate assets for network segmentation - description: Returns a number of assets that are valid for network segmentation. - requestBody: - description: Array of assetIds to move to network segmentation - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsProtectBody' + /assets/{assetId}: + get: + operationId: Asset_Get + summary: Get an asset + description: Returns the properties of an asset. + parameters: + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/validateResponse' + $ref: '#/components/schemas/assetResponse' '400': $ref: '#/components/responses/400' '401': @@ -636,19 +931,20 @@ paths: security: - api_key: [] tags: - - Assets - /assets/actions/queue: + - Asset + /assets/{assetId}/actions/activate: post: - operationId: AssetsNetwork_Queue - summary: Move asset from monitored to network learning + operationId: AssetActive_Set + summary: Mark asset active description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Array of assetIds to move to network learning required: true content: application/json: schema: - $ref: '#/components/schemas/assetsQueueBody' + $ref: '#/components/schemas/assetActivateBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -665,18 +961,21 @@ paths: security: - api_key: [] tags: - - Assets - put: - operationId: AssetsExtendNetwork_Queue - summary: Extend asset network learning period - description: Returns an empty object. + - Asset + /assets/{assetId}/actions/activate-break-glass: + post: + operationId: AssetBreakGlass_Activate + summary: Activate break glass for asset + description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Array of assetIds to extend network learning + description: Send an empty object required: true content: application/json: schema: - $ref: '#/components/schemas/queueExtendBody' + type: object responses: '200': $ref: '#/components/responses/200_empty' @@ -694,17 +993,20 @@ paths: - api_key: [] tags: - Assets - /assets/actions/unprotect: + /assets/{assetId}/actions/deactivate-break-glass: post: - operationId: AssetsNetworkSegment_Unprotect - summary: Unprotect an asset from network segmentation - description: Returns an empty object. + operationId: AssetBreakGlass_Deactivate + summary: Deactivate break glass for asset. + description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: + description: Send an empty object required: true content: application/json: schema: - $ref: '#/components/schemas/assetsUnprotectBody' + type: object responses: '200': $ref: '#/components/responses/200_empty' @@ -722,26 +1024,22 @@ paths: - api_key: [] tags: - Assets - /assets/actions/unprotect/validate: + /assets/{assetId}/actions/inactivate: post: - operationId: AssetsNetworkUnprotect_Validate - summary: Validate assets for removing from network segmentation - description: Returns a number of assets that are valid to unprotect. + operationId: AssetInactive_Set + summary: Mark asset inactive + description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Array of assetIds to remove from network segmentation required: true content: application/json: schema: - $ref: '#/components/schemas/assetsUnprotectBody' - examples: {} + $ref: '#/components/schemas/assetActivateBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/validateResponse' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -755,56 +1053,59 @@ paths: security: - api_key: [] tags: - - Assets - /assets/{assetId}/actions/type: - put: - operationId: AssetType_Update - summary: Set asset type - description: Set the asset type (Client/server) + - Asset + /assets/{assetId}/actions/mirror: + post: + operationId: Asset_Mirror + summary: Mirror one asset to another + description: Returns and empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' requestBody: + description: The assetIds of the source and target required: true content: application/json: schema: - $ref: '#/components/schemas/setAssetType' + $ref: '#/components/schemas/assetsMirrorBody' responses: '200': - description: OK + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - - api_key: [ ] + - api_key: [] tags: - - Assets - /assets/identity-actions/protect: - post: - operationId: AssetsIdentity_Protect - summary: Move assets from to identity segmentation. - description: Returns and empty object. + - Asset + /assets/{assetId}/actions/os-type: + put: + operationId: AssetOSType_Update + summary: Set OS type + description: Set the OS type (Windows/Linux/Mac) for multiple assets + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Array of assetIds to move to protection + description: OS type and Array of assetIds to set to required: true content: application/json: schema: - $ref: '#/components/schemas/assetsProtectBody' + $ref: '#/components/schemas/setOSType' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '500': @@ -812,32 +1113,28 @@ paths: security: - api_key: [] tags: - - Assets - /assets/identity-actions/protect/validate: - post: - operationId: AssetsIdentityProtect_Validate - summary: Validate assets for identity segmentation - description: Returns a number of assets that are valid for identity segmentation. + - Asset + /assets/{assetId}/actions/outbound-restriction: + put: + operationId: AssetOutboundRestriction_Update + summary: Set outbound restriction + description: Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Array of assetIds to move to identiy segmentation + description: Outbound restriction and Array of assetIds to set to required: true content: application/json: schema: - $ref: '#/components/schemas/assetsProtectBody' + $ref: '#/components/schemas/setOutboundRestriction' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '500': @@ -845,18 +1142,21 @@ paths: security: - api_key: [] tags: - - Assets - /assets/identity-actions/unprotect: - post: - operationId: AssetsIdentity_Unprotect - summary: Unprotect assets - description: Returns an empty object. + - Asset + /assets/{assetId}/actions/preferred-deployment: + put: + operationId: AssetPreferredSegmentServer_Update + summary: Set the preferred segment server for an asset + description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: + description: The assetId and Segment Server Id required: true content: application/json: schema: - $ref: '#/components/schemas/assetsUnprotectBody' + $ref: '#/components/schemas/assetsPreferredSegmentServerSetBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -873,27 +1173,17 @@ paths: security: - api_key: [] tags: - - Assets - /assets/identity-actions/unprotect/validate: + - Asset + /assets/{assetId}/actions/protect: post: - operationId: AssetsIdentityUnprotect_Validate - summary: Validate assets for removing from identity segmentation - description: Returns a number of assets that are valid to unprotect. - requestBody: - description: Array of assetIds to remove from identity segmentation - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsUnprotectBody' - examples: {} + operationId: AssetNetworkSegment_Protect + summary: Move specific asset from learning to network segmentation + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/validateResponse' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -907,26 +1197,21 @@ paths: security: - api_key: [] tags: - - Assets - /assets/identity-protected: - get: - operationId: AssetsIdentitySegmented_List - summary: Identity Segmented Assets - description: Returns a list of assets that are identity segmentated. + - Asset + /assets/{assetId}/actions/protect/validate: + post: + operationId: AssetNetworkSegment_Validate + summary: Validate specific asset for network segmentation + description: Returns a number of assets that are valid for network segmentation. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchAssetsResponse' + $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -940,26 +1225,30 @@ paths: security: - api_key: [] tags: - - Assets - /assets/identity-protected/export: - post: - operationId: AssetsIdentityProtected_Export - summary: Export identity protected assets - description: Returns an exportId to pass into the download API. + - Asset + /assets/{assetId}/actions/quarantine: + put: + operationId: AssetQuarantine_Enable + summary: Enable quarantine for asset + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: Send an object with a quarantine boolean required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAssets' + type: object + properties: + quarantine: + type: boolean + description: Indicates whether to enable or disable quarantine + required: + - quarantine responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -973,70 +1262,24 @@ paths: security: - api_key: [] tags: - - Assets - '/assets/identity-protected/export/csv/{exportId}': - get: - operationId: AssetsIdentityProtectedExport_Get - summary: Download identity protected assets export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Assets - /assets/identity-protected/filters: - get: - operationId: AssetsIdentitySegmentedFilters_List - summary: List Identity Segmented Assets Filters - description: Returns the filters that can be used for identity segmented assets. - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Assets - /assets/inactive: - get: - operationId: AssetsInactive_List - summary: Inactive Assets - description: Returns a list of assets that are inactive. + - Asset + /assets/{assetId}/actions/queue: + put: + operationId: AssetExtendNetwork_Queue + summary: Extend asset learning + description: Extend asset learning parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' - - $ref: '#/components/parameters/showInactiveParameter' + - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Queue days to extend by + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/queueAssetExtendBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/searchAssetsResponse' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -1050,26 +1293,23 @@ paths: security: - api_key: [] tags: - - Assets - /assets/inactive/export: + - Asset post: - operationId: AssetsInactive_Export - summary: Export inactive assets - description: Returns an exportId to pass into the download API. + operationId: AssetNetwork_Queue + summary: Extend asset learning + description: Extend asset learning + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: Queue days required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAssets' + $ref: '#/components/schemas/queueAssetBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -1083,71 +1323,51 @@ paths: security: - api_key: [] tags: - - Assets - '/assets/inactive/export/csv/{exportId}': - get: - operationId: AssetsInactiveExport_Get - summary: Download inactive assets export - description: Returns a csv file to be downloaded. + - Asset + /assets/{assetId}/actions/retry-health: + post: + operationId: AssetRetryHealth_Invoke + summary: Retry asset health checks + description: Retry asset health checks parameters: - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Assets - /assets/inactive/filters: - get: - operationId: AssetsInactiveFilters_List - summary: List Inactive Assets Filters - description: Returns the filters that can be used for inactive assets. + - $ref: '#/components/parameters/assetIdParameter' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/rpc-actions/monitor: - post: - operationId: AssetsRpcMonitoring_Add - summary: Add assets to RPC monitoring - description: Returns and empty object. + - Asset + /assets/{assetId}/actions/type: + put: + operationId: AssetType_Update + summary: Set asset type + description: Set the asset type (Client/server) + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Array of asset ids to add to RPC monitoring required: true content: application/json: schema: - $ref: '#/components/schemas/assetsRpcBody' + $ref: '#/components/schemas/setAssetType' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '500': @@ -1156,18 +1376,13 @@ paths: - api_key: [] tags: - Assets - /assets/rpc-actions/protect: + /assets/{assetId}/actions/unprotect: post: - operationId: AssetsRpcSegment_Add - summary: Add assets to RPC segmentation - description: Returns and empty object. - requestBody: - description: Array of asset ids to add to RPC segmentation - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsRpcBody' + operationId: AssetNetworkSegment_Unprotect + summary: Unprotect a specific asset from network segmentation + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' responses: '200': $ref: '#/components/responses/200_empty' @@ -1184,22 +1399,21 @@ paths: security: - api_key: [] tags: - - Assets - /assets/rpc-actions/unmonitor: + - Asset + /assets/{assetId}/actions/unprotect/validate: post: - operationId: AssetsRpcMonitoring_Delete - summary: Remove assets from RPC monitoring - description: Returns and empty object. - requestBody: - description: Array of asset ids to remove from RPC monitoring - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsRpcBody' + operationId: AssetNetworkUnprotect_Validate + summary: Validate a specific asset for removing from protection + description: Returns a number of assets that are valid to unprotect. + parameters: + - $ref: '#/components/parameters/assetIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -1213,22 +1427,29 @@ paths: security: - api_key: [] tags: - - Assets - /assets/rpc-actions/unprotect: - post: - operationId: AssetsRpcSegment_Delete - summary: Remove assets from RPC segmentation - description: Returns and empty object. - requestBody: - description: Array of asset ids to remove from RPC segmentation - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetsRpcBody' + - Asset + /assets/{assetId}/activities/logon: + get: + operationId: AssetLogonActivities_List + summary: List a specific Logon Activities + description: Returns a list of logon activities for a specific asset. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/logonActivitiesList' '400': $ref: '#/components/responses/400' '401': @@ -1242,19 +1463,21 @@ paths: security: - api_key: [] tags: - - Assets - /assets/export: + - Asset + /assets/{assetId}/activities/logon/export: post: - operationId: Assets_Export - summary: Export assets + operationId: AssetLogonActivities_Export + summary: Export logon activities for a specific asset description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAssets' + $ref: '#/components/schemas/exportBodyActivities' responses: '200': description: OK @@ -1275,13 +1498,14 @@ paths: security: - api_key: [] tags: - - Assets - '/assets/export/csv/{exportId}': + - Asset + /assets/{assetId}/activities/logon/export/csv/{exportId}: get: - operationId: AssetsExport_Get - summary: Download assets export + operationId: AssetLogonActivitiesExport_Get + summary: Download logon activities for a specific asset export description: Returns a csv file to be downloaded. parameters: + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/exportIdParameter' responses: '200': @@ -1289,17 +1513,21 @@ paths: content: text/csv: schema: - type: string - format: binary + type: object + format: file + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Assets - /assets/filters: + - Asset + /assets/{assetId}/activities/logon/filters: get: - operationId: AssetsFilters_List - summary: Assets Filters - description: Returns the filters that can be used for assets. + operationId: AssetLogonActivitiesFilters_List + summary: Get logon activity filters for a specific asset + description: Returns the filters that can be used for logon activities for a specific asset. + parameters: + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK @@ -1313,177 +1541,218 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/scripts/fix-wmi: + - Asset + /assets/{assetId}/activities/logon/user-filters: get: - operationId: AssetsScripts_FixWmi - summary: Get fix-wmi.sh script - description: Returns the script as application/octet-stream. + operationId: AssetLogonActivitiesSavedFilters_List + summary: List Saved Filters for Logon Activities + description: Returns a list of saved filters for logon activities. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: - application/octet-stream: + application/json: schema: - type: string + $ref: '#/components/schemas/savedFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/scripts/test-udp-net-connection/powershell: - get: - operationId: AssetsScriptsPowerShellTestUdpNetConnection_Get - summary: Get testUdpNetConnection.ps1 script - description: Returns the script as application/octet-stream. + - Asset + post: + operationId: AssetLogonActivitiesSavedFilters_Create + summary: Create a Saved Filter for Logon Activities + description: Returns the filter id. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterBody' responses: '200': description: OK content: - application/octet-stream: + application/json: schema: - type: string + $ref: '#/components/schemas/savedFilterId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/scripts/test-udp-net-connection/python: + - Asset + /assets/{assetId}/activities/logon/user-filters/{filterId}: get: - operationId: AssetsScriptsPythonTestUdpNetConnection_Get - summary: Get testUdpNetConnection.py script - description: Returns the script as application/octet-stream. + operationId: AssetLogonActivitiesSavedFilters_Get + summary: Get a Saved Filter for Logon Activities + description: Returns a saved filters for logon activities. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK content: - application/octet-stream: + application/json: schema: - type: string + $ref: '#/components/schemas/savedFilterObject' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/linux: - post: - operationId: AssetsLinux_Create - summary: Create linux asset - description: Returns the assetId of the created Linux asset. + - Asset + put: + operationId: AssetLogonActivitiesSavedFilters_Update + summary: update a Saved Filter for Logon Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' requestBody: - description: Linux asset details + description: 'Name, filters, and description for the saved filter' required: true content: application/json: schema: - $ref: '#/components/schemas/linuxBody' + $ref: '#/components/schemas/savedFilterUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/linuxResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/linux/scripts/add-user: - get: - operationId: AssetsLinuxScript_Get - summary: Get add_znuser.sh script - description: Returns the script as application/octet-stream. + - Asset + delete: + operationId: AssetLogonActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for Logon Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK - content: - application/octet-stream: - schema: - type: string '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/linux/scripts/add-user-available: + - Asset + /assets/{assetId}/activities/network: get: - operationId: AssetsLinuxScriptAvailable_Get - summary: Check is Linux script is available - description: Check is Linux script is available + operationId: AssetNetworkActivities_List + summary: List Network Activities for a specific asset + description: Returns a list of network activities for a specific asset. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/linuxScriptAvailable' + $ref: '#/components/schemas/activitiesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - '/assets/{assetId}': - get: - operationId: Asset_Get - summary: Get an asset - description: Returns the properties of an asset. + - Asset + /assets/{assetId}/activities/network/export: + post: + operationId: AssetNetworkActivities_Export + summary: Export network activities for a specific asset + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyActivities' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetResponse' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -1498,53 +1767,42 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/actions/activate': - post: - operationId: AssetActive_Set - summary: Mark asset active - description: Returns and empty object. + /assets/{assetId}/activities/network/export/csv/{exportId}: + get: + operationId: AssetNetworkActivitiesExport_Get + summary: Download network activities export for a specific asset + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/assetActivateBody' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' - '400': - $ref: '#/components/responses/400' + description: OK + content: + text/csv: + schema: + type: object + format: file '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/actions/activate-break-glass': - post: - operationId: AssetBreakGlass_Activate - summary: Activate break glass for asset - description: Returns and empty object. + /assets/{assetId}/activities/network/filters: + get: + operationId: AssetNetworkActivitiesFilters_List + summary: Get network activity filters for a specific asset + description: Returns the filters that can be used for network activities for a specific asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: Send an empty object - required: true - content: - application/json: - schema: - type: object responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -1558,24 +1816,22 @@ paths: security: - api_key: [] tags: - - Assets - '/assets/{assetId}/actions/deactivate-break-glass': - post: - operationId: AssetBreakGlass_Deactivate - summary: Dectivate break glass for asset. - description: Returns and empty object. + - Asset + /assets/{assetId}/activities/network/user-filters: + get: + operationId: AssetNetworkActivitiesSavedFilters_List + summary: List Saved Filters for Network Activities + description: Returns a list of saved filters for network activities. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: Send an empty object - required: true - content: - application/json: - schema: - type: object + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -1589,23 +1845,27 @@ paths: security: - api_key: [] tags: - - Assets - '/assets/{assetId}/actions/inactivate': + - Asset post: - operationId: AssetInactive_Set - summary: Mark asset inactive - description: Returns and empty object. + operationId: AssetNetworkActivitiesSavedFilters_Create + summary: Create a Saved Filter for Network Activities + description: Returns the filter id. parameters: - $ref: '#/components/parameters/assetIdParameter' requestBody: + description: 'Name, filters, and description for the saved filter' required: true content: application/json: schema: - $ref: '#/components/schemas/assetActivateBody' + $ref: '#/components/schemas/savedFilterBody' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterId' '400': $ref: '#/components/responses/400' '401': @@ -1620,16 +1880,21 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/actions/protect': - post: - operationId: AssetNetworkSegment_Protect - summary: Move specific asset from learning to network segmentation - description: Returns an empty object. + /assets/{assetId}/activities/network/user-filters/{filterId}: + get: + operationId: AssetNetworkActivitiesSavedFilters_Get + summary: Get a Saved Filter for Network Activities + description: Returns a saved filters for network activities. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterObject' '400': $ref: '#/components/responses/400' '401': @@ -1644,20 +1909,23 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/actions/protect/validate': - post: - operationId: AssetNetworkSegment_Validate - summary: Validate specific asset for network segmentation - description: Returns a number of assets that are valid for network segmentation. + put: + operationId: AssetNetworkActivitiesSavedFilters_Update + summary: update a Saved Filter for Network Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -1672,23 +1940,16 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/actions/queue': - put: - operationId: AssetExtendNetwork_Queue - summary: Extend asset learning - description: Extend asset learning + delete: + operationId: AssetNetworkActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for Network Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: Queue days to extand by - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/queueAssetExtendBody' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK '400': $ref: '#/components/responses/400' '401': @@ -1703,22 +1964,28 @@ paths: - api_key: [] tags: - Asset - post: - operationId: AssetNetwork_Queue - summary: Extend asset learning - description: Extend asset learning + /assets/{assetId}/activities/rpc: + get: + operationId: AssetRPCActivities_List + summary: List RPC Activities for a specific asset + description: Returns a list of RPC activities for a specific asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: Queue days - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/queueAssetBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/rpcActivitiesList' '400': $ref: '#/components/responses/400' '401': @@ -1733,16 +2000,27 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/actions/retry-health': + /assets/{assetId}/activities/rpc/export: post: - operationId: AssetRetryHealth_Invoke - summary: Retry asset health checks - description: Retry asset health checks + operationId: AssetRPCActivities_Export + summary: Export RPC activities for a specific asset + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyActivities' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -1757,35 +2035,33 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/actions/unprotect': - post: - operationId: AssetNetworkSegment_Unprotect - summary: Unprotect a specific asset from network segmentation - description: Returns an empty object. + /assets/{assetId}/activities/rpc/export/csv/{exportId}: + get: + operationId: AssetRPCActivitiesExport_Get + summary: Download RPC activities export for a specific asset + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' - '400': - $ref: '#/components/responses/400' + description: OK + content: + text/csv: + schema: + type: object + format: file '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/actions/unprotect/validate': - post: - operationId: AssetNetworkUnprotect_Validate - summary: Validate a specific asset for removing from protection - description: Returns a number of assets that are valid to unprotect. + /assets/{assetId}/activities/rpc/filters: + get: + operationId: AssetRPCActivitiesFilters_List + summary: Get RPC activity filters for a specific asset + description: Returns the filters that can be used for RPC activities for a specific asset. parameters: - $ref: '#/components/parameters/assetIdParameter' responses: @@ -1794,7 +2070,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/validateResponse' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -1809,16 +2085,23 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/rpc-actions/monitor': - post: - operationId: AssetRpcMonitoring_Add - summary: Adds a specific asset to RPC monitoring - description: Returns an empty object. + /assets/{assetId}/activities/rpc/filters/interface-candidates: + get: + operationId: AssetRPCActivitiesInterfaceCandidatesFilters_List + summary: Get RPC activity Interface Name filters for a specific asset + description: Returns the interface name filters that can be used for RPC activities for a specific asset. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/rpcFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -1833,23 +2116,23 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/rpc-actions/protect': - post: - operationId: AssetRpcSegment_Add - summary: Add asset to RPC segmentation - description: Returns and empty object. + /assets/{assetId}/activities/rpc/filters/op-candidates: + get: + operationId: AssetRPCActivitiesOperationFilters_List + summary: Get RPC activity operation filters for a specific asset + description: Returns the operation filters that can be used for RPC activities for a specific asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: Send an empty object - required: true - content: - application/json: - schema: - type: object + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/rpcFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -1864,16 +2147,21 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/rpc-actions/unmonitor': - post: - operationId: AssetRpcMonitoring_Delete - summary: Removes a specific asset from RPC monitoring - description: Returns an empty object. + /assets/{assetId}/activities/rpc/user-filters: + get: + operationId: AssetRPCActivitiesSavedFilters_List + summary: List Saved Filters for RPC Activities + description: Returns a list of saved filters for RPC activities. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -1888,23 +2176,26 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/rpc-actions/unprotect': post: - operationId: AssetRpcSegment_Delete - summary: Remove asset from RPC segmentation - description: Returns and empty object. + operationId: AssetRPCActivitiesSavedFilters_Create + summary: Create a Saved Filter for RPC Activities + description: Returns the filter id. parameters: - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Send an empty object + description: 'Name, filters, and description for the saved filter' required: true content: application/json: schema: - type: object + $ref: '#/components/schemas/savedFilterBody' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterId' '400': $ref: '#/components/responses/400' '401': @@ -1919,28 +2210,21 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/logon': + /assets/{assetId}/activities/rpc/user-filters/{filterId}: get: - operationId: AssetLogonActivities_List - summary: List a specific Logon Activities - description: Returns a list of logon activites for a specific asset. + operationId: AssetRPCActivitiesSavedFilters_Get + summary: Get a Saved Filter for RPC Activities + description: Returns a saved filters for RPC activities. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/logonActivitiesList' + $ref: '#/components/schemas/savedFilterObject' '400': $ref: '#/components/responses/400' '401': @@ -1955,27 +2239,23 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/logon/export': - post: - operationId: AssetLogonActivities_Export - summary: Export logon activities for a specific asset - description: Returns an exportId to pass into the download API. + put: + operationId: AssetRPCActivitiesSavedFilters_Update + summary: update a Saved Filter for RPC Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: 'Name, filters, and description for the saved filter' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyActivities' + $ref: '#/components/schemas/savedFilterUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -1990,40 +2270,16 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/logon/export/csv/{exportId}': - get: - operationId: AssetLogonActivitiesExport_Get - summary: Download logon activities for a specific asset export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: object - format: file - security: - - api_key: [] - tags: - - Asset - '/assets/{assetId}/activities/logon/filters': - get: - operationId: AssetLogonActivitiesFilters_List - summary: Get logon activity filters for a specific asset - description: Returns the filters that can be used for logon activities for a specific asset. + delete: + operationId: AssetRPCActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for RPC Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -2038,28 +2294,25 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/network': + /assets/{assetId}/analysis: get: - operationId: AssetNetworkActivities_List - summary: List Network Activities for a specific asset - description: Returns a list of network activites for a specific asset. + operationId: AssetAnalysis_Get + summary: Get an asset analysis + description: Returns an object with asset analysis data. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/sortParameter' + - $ref: '#/components/parameters/analysisDirectionParameter' + - $ref: '#/components/parameters/connectionStateParameter' - $ref: '#/components/parameters/fromParameter' - $ref: '#/components/parameters/toParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/activitiesList' + $ref: '#/components/schemas/assetAnalysis' '400': $ref: '#/components/responses/400' '401': @@ -2074,10 +2327,10 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/network/export': + /assets/{assetId}/analysis/export: post: - operationId: AssetNetworkActivities_Export - summary: Export network activities for a specific asset + operationId: AssetAnalysis_Export + summary: Export asset analysis description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' @@ -2087,7 +2340,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/exportBodyActivities' + $ref: '#/components/schemas/exportBodyAnalysis' responses: '200': description: OK @@ -2109,31 +2362,33 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/network/export/csv/{exportId}': + /assets/{assetId}/analysis/export/csv/{exportId}: get: - operationId: AssetNetworkActivitiesExport_Get - summary: Download network activities export for a specific asset + operationId: AssetAnalysisExport_Get + summary: Download asset analysis report description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK content: text/csv: schema: - type: object - format: file + type: string + format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/network/filters': + /assets/{assetId}/ancestors: get: - operationId: AssetNetworkActivitiesFilters_List - summary: Get network activity filters for a specific asset - description: Returns the filters that can be used for network activities for a specific asset. + operationId: AssetMemberOf_Get + summary: Get an asset ancestors + description: Returns a list of groups the asset is a member of. parameters: - $ref: '#/components/parameters/assetIdParameter' responses: @@ -2142,7 +2397,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/ancestors' '400': $ref: '#/components/responses/400' '401': @@ -2157,28 +2412,51 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/rpc': + /assets/{assetId}/ancestors/candidates: get: - operationId: AssetRPCActivities_List - summary: List RPC Activities for a specific asset - description: Returns a list of RPC activites for a specific asset. + operationId: AssetMemberOfGroupCandidates_Get + summary: Get candidates for adding the asset to a group + description: Returns a list of groups the asset can be a member of. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/idNamePairList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset + /assets/{assetId}/audit: + get: + operationId: AssetAudit_Get + summary: Get a assets audits + description: Returns a list of audits for the asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcActivitiesList' + $ref: '#/components/schemas/auditList' '400': $ref: '#/components/responses/400' '401': @@ -2193,10 +2471,10 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/rpc/export': + /assets/{assetId}/audit/export: post: - operationId: AssetRPCActivities_Export - summary: Export RPC activities for a specific asset + operationId: AssetAudit_Export + summary: Export assets audits description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' @@ -2206,7 +2484,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/exportBodyActivities' + $ref: '#/components/schemas/exportBody' responses: '200': description: OK @@ -2228,10 +2506,10 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/rpc/export/csv/{exportId}': + /assets/{assetId}/audit/export/csv/{exportId}: get: - operationId: AssetRPCActivitiesExport_Get - summary: Download RPC activities export for a specific asset + operationId: AssetAuditExport_Get + summary: Download assets audit export description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' @@ -2244,15 +2522,17 @@ paths: schema: type: object format: file + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/rpc/filters': + /assets/{assetId}/audit/filters: get: - operationId: AssetRPCActivitiesFilters_List - summary: Get RPC activity filters for a specific asset - description: Returns the filters that can be used for RPC activities for a specific asset. + operationId: AssetAuditsFilters_List + summary: List Audit Filters for a specific asset + description: Returns a list of filters for Audit events for a specific asset. parameters: - $ref: '#/components/parameters/assetIdParameter' responses: @@ -2270,17 +2550,15 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/rpc/filters/interface-candidates': + /assets/{assetId}/cluster-info: get: - operationId: AssetRPCActivitiesInterfaceCandidatesFilters_List - summary: Get RPC activity Interface Name filters for a specific asset - description: Returns the interface name filters that can be used for RPC activities for a specific asset. + operationId: AssetClusterInfo_Get + summary: Get asset cluster info + description: Returns an object of cluster name and cluster members parameters: - $ref: '#/components/parameters/assetIdParameter' responses: @@ -2289,26 +2567,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/rpcFiltersList' - '400': - $ref: '#/components/responses/400' + $ref: '#/components/schemas/clusterInfo' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/activities/rpc/filters/op-candidates': + /assets/{assetId}/health-state: get: - operationId: AssetRPCActivitiesOperationFilters_List - summary: Get RPC activity operation filters for a specific asset - description: Returns the operation filters that can be used for RPC activities for a specific asset. + operationId: AssetHealthState_Get + summary: Get asset health state + description: Get asset health state parameters: - $ref: '#/components/parameters/assetIdParameter' responses: @@ -2317,7 +2591,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/rpcFiltersList' + $ref: '#/components/schemas/healthStateObject' '400': $ref: '#/components/responses/400' '401': @@ -2332,20 +2606,16 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/ancestors': - get: - operationId: AssetMemberOf_Get - summary: Get an asset ancestors - description: Returns a list of groups the asset is a member of. + /assets/{assetId}/identity-actions/protect: + post: + operationId: AssetIdentitySegment_Protect + summary: Move asset to Identity Segmentation + description: Returns and empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/ancestors' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -2360,25 +2630,20 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/analysis': - get: - operationId: AssetAnalysis_Get - summary: Get an asset analysis - description: Returns an object with asset analysis data. + /assets/{assetId}/identity-actions/protect/validate: + post: + operationId: AssetIdentityProtect_Validate + summary: Validate specific asset for identity segmentation + description: Returns a number of assets that are valid for identity segmentation. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/sortParameter' - - $ref: '#/components/parameters/analysisDirectionParameter' - - $ref: '#/components/parameters/connectionStateParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetAnalysis' + $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -2393,27 +2658,23 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/analysis/export': + /assets/{assetId}/identity-actions/queue: post: - operationId: AssetAnalysis_Export - summary: Export asset analysis - description: Returns an exportId to pass into the download API. + operationId: AssetIdentity_Queue + summary: Move asset from monitored to Identity learning + description: Returns and empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: Array of assetIds to move to Identity learning required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAnalysis' + $ref: '#/components/schemas/queueAssetIdentityBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -2427,44 +2688,47 @@ paths: security: - api_key: [] tags: - - Asset - '/assets/{assetId}/analysis/export/csv/{exportId}': - get: - operationId: AssetAnalysisExport_Get - summary: Download asset analysis report - description: Returns a csv file to be downloaded. + - Assets + put: + operationId: AssetExtendIdentity_Queue + summary: Extend asset Identity learning period + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/exportIdParameter' - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Array of assetIds to extend Identity learning + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/queueAssetIdentityExtendBody' responses: '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset - '/assets/{assetId}/audit': - get: - operationId: AssetAudit_Get - summary: Get a assets audits - description: Returns a list of audits for the asset. + - Assets + /assets/{assetId}/identity-actions/unprotect: + post: + operationId: AssetIdentitySegment_Unprotect + summary: Unprotect a specific asset + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/orderParameter' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/auditList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -2479,27 +2743,20 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/audit/export': + /assets/{assetId}/identity-actions/unprotect/validate: post: - operationId: AssetAudit_Export - summary: Export assets audits - description: Returns an exportId to pass into the download API. + operationId: AssetIdentityUnprotect_Validate + summary: Validate a specific asset for removing from protection + description: Returns a number of assets that are valid to unprotect. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -2514,40 +2771,50 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/audit/export/csv/{exportId}': + /assets/{assetId}/listening-ports: get: - operationId: AssetAuditExport_Get - summary: Download assets audit export - description: Returns a csv file to be downloaded. + operationId: AssetListeningPorts_List + summary: List listening ports of asset + description: List listening ports of an asset parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/listeningPortsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/audit/filters': + /assets/{assetId}/managers: get: - operationId: AssetAuditsFilters_List - summary: List Audit Filters for a specific asset - description: Returns a list of filters for Audit events for a specific asset. + operationId: AssetAssetManagers_List + summary: Get managers of asset + description: Get asset managers of asset parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/managersList' '400': $ref: '#/components/responses/400' '401': @@ -2556,24 +2823,147 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/health-state': - get: - operationId: AssetHealthState_Get - summary: Get asset health state - description: Get asset health state + post: + operationId: AssetAssetManagers_Add + summary: Add manager of asset + description: Add an asset manager of asset + parameters: + - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Array of managers to add + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetManagersBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset + put: + operationId: AssetAssetManagers_Update + summary: Update manager of asset + description: Update an asset manager of asset + parameters: + - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Permission to change + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetManagersUpdateBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset + /assets/{assetId}/managers/{groupOrUserId}: + delete: + operationId: AssetAssetManagers_Delete + summary: Remove manager of asset + description: Remove an asset manager of asset parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/groupOrUserIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset + /assets/{assetId}/managers/candidates: + get: + operationId: AssetAssetManagersCandidates_List + summary: Get manager candidates + description: Get manager candidates for asset managers + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/healthStateObject' + $ref: '#/components/schemas/candidatesList' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + tags: + - Asset + /assets/{assetId}/protection/external-access-policies: + get: + operationId: AssetExternalAccessPolicy_List + summary: List External Access policies for an asset + description: Returns a list of external access policies. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyList' '400': $ref: '#/components/responses/400' '401': @@ -2588,20 +2978,25 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/listening-ports': - get: - operationId: AssetListeningPorts_List - summary: List listening ports of asset - description: List listening ports of an asset + post: + operationId: AssetExternalAccessPolicy_Create + summary: Create an external access policy for an asset + description: Returns a the external access policy parameters: - $ref: '#/components/parameters/assetIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/listeningPortsList' + $ref: '#/components/schemas/externalAccessPolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -2616,22 +3011,21 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/managers': + /assets/{assetId}/protection/external-access-policies/{policyId}: get: - operationId: AssetAssetManagers_List - summary: Get managers of asset - description: Get asset managers of asset + operationId: AssetExternalAccessPolicy_Get + summary: Get an External Access policy for an asset + description: Returns an external access policy. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/managersList' + $ref: '#/components/schemas/externalAccessPolicyResponse' '400': $ref: '#/components/responses/400' '401': @@ -2646,22 +3040,26 @@ paths: - api_key: [] tags: - Asset - post: - operationId: AssetAssetManagers_Add - summary: Add manager of asset - description: Add an asset manager of asset + put: + operationId: AssetExternalAccessPolicy_Update + summary: Update an External Access policy for an asset + description: Returns an external access policy. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' requestBody: - description: Array of managers to add - required: true content: application/json: schema: - $ref: '#/components/schemas/assetManagersBody' + $ref: '#/components/schemas/externalAccessPolicyBody' + required: true responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -2676,14 +3074,13 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/managers/{groupOrUserId}': delete: - operationId: AssetAssetManagers_Delete - summary: Remove manager of asset - description: Remove an asset manager of asset + operationId: AssetExternalAccessPolicy_Delete + summary: Delete an External Access policy for an asset + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/groupOrUserIdParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' responses: '200': description: OK @@ -2701,11 +3098,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/managers/candidates': + /assets/{assetId}/protection/external-access-policies/dst-asset-candidates: get: - operationId: AssetAssetManagersCandidates_List - summary: Get manager candidates - description: Get manager candidates for asset managers + operationId: AssetExternalAccessPolicyDestinationAssetsCandidates_List + summary: List External Access Policy Destinations Assets Candidates for an asset + description: Returns a list of destunation assets candidates for an external access policy. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -2717,27 +3114,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/assetsOrGroupsList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - Asset - '/assets/{assetId}/identity-actions/protect': - post: - operationId: AssetIdentity_Protect - summary: Move asset to Identity Segmentation - description: Returns and empty object. + /assets/{assetId}/protection/external-access-policies/filters: + get: + operationId: AssetExternalAccessPolicyFilters_List + summary: List External Access Policy Filters for an asset + description: Returns a list of filters for external access policies. parameters: - $ref: '#/components/parameters/assetIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -2752,72 +3155,107 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/identity-actions/protect/validate': - post: - operationId: AssetIdentityProtect_Validate - summary: Validate specific asset for identity segmentation - description: Returns a number of assets that are valid for identity segmentation. + /assets/{assetId}/protection/external-access-policies/filters/dst-asset-candidates: + get: + operationId: AssetExternalAccessPolicyDestinationAssetsCandidatesFilters_List + summary: List External Access Policy Destination Assets Candidates Filters for an asset + description: Returns a list of filters for destination asset candidates in external access policies. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/validateResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/identity-actions/unprotect': - post: - operationId: AssetIdentity_Unprotect - summary: Unprotect a specific asset - description: Returns an empty object. + /assets/{assetId}/protection/external-access-policies/filters/src-users-candidates: + get: + operationId: AssetExternalAccessPolicySourceUserCandidatesFilters_List + summary: List External Access Policy Source User Candidates Filters for an asset + description: Returns a list of filters for source user candidates in external access policies. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/identity-actions/unprotect/validate': - post: - operationId: AssetIdentityUnprotect_Validate - summary: Validate a specific asset for removing from protection - description: Returns a number of assets that are valid to unprotect. + /assets/{assetId}/protection/external-access-policies/src-users-candidates: + get: + operationId: AssetExternalAccessPolicySourceUserCandidates_List + summary: List External Access Policy Source User Candidates for an asset + description: Returns a list of source user candidates for external access policies. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/validateResponse' + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset + /assets/{assetId}/protection/external-access-policies/statistics: + get: + operationId: AssetExternalAccessPolicyStatistics_Get + summary: Get External Access policies statistics for an asset + description: Returns statistics for an external access policy. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyStatistics' '400': $ref: '#/components/responses/400' '401': @@ -2832,7 +3270,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules': + /assets/{assetId}/protection/identity-rules: get: operationId: AssetIdentityRules_List summary: Asset List Identity Rules @@ -2900,7 +3338,94 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/asset-candidates': + /assets/{assetId}/protection/identity-rules/{ruleId}: + get: + operationId: AssetIdentityRules_Get + summary: Asset Get Identity Rule + description: Returns the properties of an Identity rule. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset + put: + operationId: AssetIdentityRules_Update + summary: Asset Update an Identity Rule + description: Returns a the identity segmentation rule. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleBody' + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset + delete: + operationId: AssetIdentityRules_Delete + summary: Asset Remove Identity Rule + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset + /assets/{assetId}/protection/identity-rules/asset-candidates: get: operationId: AssetIdentityRulesAssetsCandidates_List summary: Asset List Identity Rules Assets Candidates @@ -2929,7 +3454,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/excluded-asset-candidates': + /assets/{assetId}/protection/identity-rules/excluded-asset-candidates: get: operationId: AssetIdentityRulesExcludedAssetsCandidates_List summary: Asset List Identity Rules Excluded Assets Candidates @@ -2958,7 +3483,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/export': + /assets/{assetId}/protection/identity-rules/export: post: operationId: AssetIdentityRules_Export summary: Asset Export Identity Rules @@ -2991,7 +3516,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/export/csv/{exportId}': + /assets/{assetId}/protection/identity-rules/export/csv/{exportId}: get: operationId: AssetIdentityRulesExport_Get summary: Asset Download Identity Rules Export @@ -3007,11 +3532,13 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/filters': + /assets/{assetId}/protection/identity-rules/filters: get: operationId: AssetIdentityRulesFilters_List summary: Asset List Identity Rules Filters @@ -3039,7 +3566,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/filters/asset-candidates': + /assets/{assetId}/protection/identity-rules/filters/asset-candidates: get: operationId: AssetIdentityRulesAssetsCandidatesFilters_List summary: Asset List Identity Rules Filters Assets Candidates @@ -3068,7 +3595,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/filters/user-candidates': + /assets/{assetId}/protection/identity-rules/filters/user-candidates: get: operationId: AssetIdentityRulesUserCandidatesFilters_List summary: Asset List Identity Rules Filters User Candidates @@ -3097,7 +3624,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/user-candidates': + /assets/{assetId}/protection/identity-rules/user-candidates: get: operationId: AssetIdentityRulesUserCandidates_List summary: Asset List Identity Rules User Candidates @@ -3126,94 +3653,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity-rules/{ruleId}': - get: - operationId: AssetIdentityRules_Get - summary: Asset Get Identity Rule - description: Returns the properties of an Identity rule. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleItem' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Asset - put: - operationId: AssetIdentityRules_Update - summary: Asset Update an Identity Rule - description: Returns a the identity segmentation rule. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleBody' - required: true - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleItem' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Asset - delete: - operationId: AssetIdentityRules_Delete - summary: Asset Remove Identity Rule - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - responses: - '200': - description: OK - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Asset - '/assets/{assetId}/protection/identity/reactive-policies': + /assets/{assetId}/protection/identity/reactive-policies: get: operationId: AssetMFAIdentityPolicies_List summary: List Identity MFA Policies @@ -3281,7 +3721,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/{reactivePolicyId}': + /assets/{assetId}/protection/identity/reactive-policies/{reactivePolicyId}: get: operationId: AssetMFAIdentityPolicies_Get summary: Get Identity MFA Policy @@ -3369,7 +3809,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/dst-asset-candidates': + /assets/{assetId}/protection/identity/reactive-policies/dst-asset-candidates: get: operationId: AssetMFAIdentityPoliciesDestinationCandidates_List summary: Get destination assets for Identity MFA Policy @@ -3400,7 +3840,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/excluded-src-asset-candidates': + /assets/{assetId}/protection/identity/reactive-policies/excluded-src-asset-candidates: get: operationId: AssetMFAIdentityPoliciesExcludedSourceCandidates_List summary: Fet excluded source asset candidates for Identity MFA Policy @@ -3432,7 +3872,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/filters': + /assets/{assetId}/protection/identity/reactive-policies/filters: get: operationId: AssetMFAIdentityPoliciesFilters_List summary: List Identity MFA Policy Filters @@ -3458,7 +3898,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/filters/dst-asset-candidates': + /assets/{assetId}/protection/identity/reactive-policies/filters/dst-asset-candidates: get: operationId: AssetMFAIdentityPoliciesDestinationCandidatesFilters_List summary: Get Identity MFA Policies Destination Candidates Filters @@ -3487,7 +3927,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/filters/src-asset-candidates': + /assets/{assetId}/protection/identity/reactive-policies/filters/src-asset-candidates: get: operationId: AssetMFAIdentityPoliciesSourceCandidatesFilters_List summary: List Identity MFA Policies Source Candidates Filters @@ -3516,11 +3956,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/filters/src-users-candidates': + /assets/{assetId}/protection/identity/reactive-policies/filters/src-users-candidates: get: operationId: AssetMFAIdentityPoliciesSourceUsersCandidatesFilters_List summary: Get Identity MFA Policies Source Users Filters - description: Resturns a list of filters for source users on Identity MFA policies. + description: Returns a list of filters for source users on Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -3545,7 +3985,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/mfa-methods': + /assets/{assetId}/protection/identity/reactive-policies/mfa-methods: get: operationId: AssetMFAIdentityPoliciesMFAMethods_List summary: List Identity MFA Policy Methods @@ -3571,10 +4011,10 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/src-asset-candidates': + /assets/{assetId}/protection/identity/reactive-policies/src-asset-candidates: get: operationId: AssetMFAIdentityPoliciesSourceCandidates_List - summary: List Identity MFA Polcies Source Candidates + summary: List Identity MFA Policies Source Candidates description: Returns a list of source candidates on Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' @@ -3600,7 +4040,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/identity/reactive-policies/src-users-candidates': + /assets/{assetId}/protection/identity/reactive-policies/src-users-candidates: get: operationId: AssetMFAIdentityPoliciesSourceUserCandidates_List summary: List Identity MFA Policies Source Users Candidates @@ -3629,7 +4069,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound': + /assets/{assetId}/protection/reactive-policies/inbound: get: operationId: AssetMFAInboundPolicies_List summary: Asset List Inbound MFA Policies @@ -3693,7 +4133,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/{reactivePolicyId}': + /assets/{assetId}/protection/reactive-policies/inbound/{reactivePolicyId}: get: operationId: AssetMFAInboundPolicies_Get summary: Asset Get Inbound MFA Policy @@ -3781,11 +4221,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/dst-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/dst-candidates: get: operationId: AssetMFAInboundPoliciesDestinationCandidates_List summary: Asset Get destination assets for Inbound MFA Policy - description: Returns a list of candidates for the destionation of an inbound MFA policy. + description: Returns a list of candidates for the destination of an inbound MFA policy. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -3812,7 +4252,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/excluded-src-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/excluded-src-candidates: get: operationId: AssetMFAInboundPoliciesExcludedSourceCandidates_List summary: Asset get excluded source asset candidates for Inbound MFA Policy @@ -3844,7 +4284,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/filters': + /assets/{assetId}/protection/reactive-policies/inbound/filters: get: operationId: AssetMFAInboundPoliciesFilters_List summary: Asset List Inbound MFA Policy Filters @@ -3870,7 +4310,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/filters/dst-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/filters/dst-candidates: get: operationId: AssetMFAInboundPoliciesDestinationCandidatesFilters_List summary: Asset Get Inbound MFA Policies Destination Candidates Filters @@ -3899,7 +4339,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/filters/src-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/filters/src-candidates: get: operationId: AssetMFAInboundPoliciesSourceCandidatesFilters_List summary: Asset List Inbound MFA Policies Source Candidates Filters @@ -3928,11 +4368,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/filters/src-users-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/filters/src-users-candidates: get: operationId: AssetMFAInboundPoliciesSourceUsersCandidatesFilters_List summary: Asset Get Inbound MFA Policies Source Users Filters - description: Resturns a list of filters for source users on inbound MFA policies. + description: Returns a list of filters for source users on inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -3957,7 +4397,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/mfa-methods': + /assets/{assetId}/protection/reactive-policies/inbound/mfa-methods: get: operationId: AssetMFAInboundPoliciesMFAMethods_List summary: Asset List Inbound MFA Policy Methods @@ -3983,11 +4423,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/simulate': + /assets/{assetId}/protection/reactive-policies/inbound/simulate: get: operationId: AssetMFAInboundPoliciesSimulate_Test summary: Simulate Outbound MFA access - description: Returns a list of MFA policies that would match the simulaton. + description: Returns a list of MFA policies that would match the simulation. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/srcUserId' @@ -4018,7 +4458,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/simulate/dst-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/simulate/dst-candidates: get: operationId: AssetMFAInboundPoliciesSimulateDestinationCandidates_List summary: List Inbound MFA Simulation Destination Candidates @@ -4047,7 +4487,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/simulate/resolve': + /assets/{assetId}/protection/reactive-policies/inbound/simulate/resolve: get: operationId: AssetMFAInboundPoliciesSimulateResolve_Get summary: Resolve simulation parameters @@ -4074,7 +4514,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/simulate/src-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/simulate/src-candidates: get: operationId: AssetMFAInboundPoliciesSimulateSourceCandidates_List summary: List Inbound MFA Simulation Source Candidates @@ -4103,7 +4543,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/simulate/src-users-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/simulate/src-users-candidates: get: operationId: AssetMFAInboundPoliciesSimulateSourceUserCandidates_List summary: List Inbound MFA Simulation Source User Candidates @@ -4132,10 +4572,10 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/src-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/src-candidates: get: operationId: AssetMFAInboundPoliciesSourceCandidates_List - summary: Asset List Inbound MFA Polcies Source Candidates + summary: Asset List Inbound MFA Policies Source Candidates description: Returns a list of source candidates on inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' @@ -4161,7 +4601,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/inbound/src-users-candidates': + /assets/{assetId}/protection/reactive-policies/inbound/src-users-candidates: get: operationId: AssetMFAInboundPoliciesSourceUserCandidates_List summary: Asset List Inbound MFA Policies Source Users Candidates @@ -4190,7 +4630,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound': + /assets/{assetId}/protection/reactive-policies/outbound: get: operationId: AssetMFAOutboundPolicies_List summary: Asset List Outbound MFA Policies @@ -4253,7 +4693,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/{reactivePolicyId}': + /assets/{assetId}/protection/reactive-policies/outbound/{reactivePolicyId}: get: operationId: AssetMFAOutboundPolicies_Get summary: Asset Get Outbound MFA Policy @@ -4339,7 +4779,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/dst-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/dst-candidates: get: operationId: AssetMFAOutboundPoliciesDestinationCandidates_List summary: Asset List Outbound MFA Policies Destination Candidates @@ -4368,7 +4808,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/excluded-src-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/excluded-src-candidates: get: operationId: AssetMFAOutboundPoliciesExcludedSourceCandidates_List summary: Asset get excluded source asset candidates for Outbound MFA Policy @@ -4400,7 +4840,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/filters': + /assets/{assetId}/protection/reactive-policies/outbound/filters: get: operationId: AssetMFAOutboundPoliciesFilters_Get summary: Asset List Outbound MFA Policies Filters @@ -4426,7 +4866,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/filters/dst-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/filters/dst-candidates: get: operationId: AssetMFAOutboundPoliciesDestinationCandidatesFilters_List summary: Asset List Outbound MFA Policies Destination Candidates Filters @@ -4455,7 +4895,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/filters/src-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/filters/src-candidates: get: operationId: AssetMFAOutboundPoliciesSourceCandidatesFilters_List summary: Asset Get Outbound MFA Policies Source Candidates Filters @@ -4484,11 +4924,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/filters/src-users-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/filters/src-users-candidates: get: operationId: AssetMFAOutboundPoliciesSourceUsersCandidatesFilters_List summary: Asset List Outbound MFA Policies Source Users Candidates Filters - description: Returns a list of filsters for source users candidates on outbound MFA policies. + description: Returns a list of filters for source users candidates on outbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -4513,7 +4953,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/mfa-methods': + /assets/{assetId}/protection/reactive-policies/outbound/mfa-methods: get: operationId: AssetMFAOutboundPoliciesMFAMethods_List summary: Asset List Outbound MFA Policies Methods @@ -4539,11 +4979,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/simulate': + /assets/{assetId}/protection/reactive-policies/outbound/simulate: get: operationId: AssetMFAOutboundPoliciesSimulate_Test summary: Simulate Outbound MFA access - description: Returns a list of MFA policies that would match the simulaton. + description: Returns a list of MFA policies that would match the simulation. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/srcUserId' @@ -4574,7 +5014,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/simulate/dst-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/simulate/dst-candidates: get: operationId: AssetMFAOutboundPoliciesSimulateDestinationCandidates_List summary: List Inbound MFA Simulation Destination Candidates @@ -4603,7 +5043,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/simulate/resolve': + /assets/{assetId}/protection/reactive-policies/outbound/simulate/resolve: get: operationId: AssetMFAOutboundPoliciesSimulateResolve_Get summary: Resolve simulation parameters @@ -4630,7 +5070,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/simulate/src-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/simulate/src-candidates: get: operationId: AssetMFAOutboundPoliciesSimulateSourceCandidates_List summary: List Inbound MFA Simulation Source Candidates @@ -4659,7 +5099,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/simulate/src-users-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/simulate/src-users-candidates: get: operationId: AssetMFAOutboundPoliciesSimulateSourceUserCandidates_List summary: List Inbound MFA Simulation Source User Candidates @@ -4688,7 +5128,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/src-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/src-candidates: get: operationId: AssetMFAOutboundPoliciesSourceCandidates_List summary: Asset List Outbound MFA Policies Source Candidates @@ -4717,7 +5157,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/reactive-policies/outbound/src-users-candidates': + /assets/{assetId}/protection/reactive-policies/outbound/src-users-candidates: get: operationId: AssetMFAOutboundPoliciesSourceUserCandidates_List summary: Asset Get Outbound MFA Policies Source Users Candidates @@ -4746,7 +5186,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules': + /assets/{assetId}/protection/rpc-rules: get: operationId: AssetRPCRules_List summary: Asset List RPC Rules @@ -4812,7 +5252,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/{ruleId}': + /assets/{assetId}/protection/rpc-rules/{ruleId}: get: operationId: AssetRPCRule_Get summary: Asset Get RPC Rule @@ -4900,11 +5340,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/excluded-local-candidates': + /assets/{assetId}/protection/rpc-rules/excluded-local-candidates: get: operationId: AssetRPCRulesExcludedDestinationCandidates_List summary: Asset Get RPC Rules Excluded Destination Candidates - description: Returns a list of excluded destionation candidates for RPC rules. + description: Returns a list of excluded destination candidates for RPC rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -4929,7 +5369,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/export': + /assets/{assetId}/protection/rpc-rules/export: post: operationId: AssetRPCRules_Export summary: Asset Export RPC Rules @@ -4962,7 +5402,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/export/csv/{exportId}': + /assets/{assetId}/protection/rpc-rules/export/csv/{exportId}: get: operationId: AssetRPCRulesExport_Get summary: Download assets RPC rules export @@ -4978,11 +5418,13 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/filters': + /assets/{assetId}/protection/rpc-rules/filters: get: operationId: AssetRPCRulesFilters_List summary: Asset List RPC Rules Filters @@ -5010,9 +5452,9 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/filters/local-candidates': + /assets/{assetId}/protection/rpc-rules/filters/local-candidates: get: - operationId: AssetRPCRulesDesinationCandidatesFilters_List + operationId: AssetRPCRulesDestinationCandidatesFilters_List summary: Asset List RPC Rules Destination Candidates Filters description: Returns a list of filters for destination candidates for RPC rules. parameters: @@ -5036,7 +5478,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/filters/remote-candidates': + /assets/{assetId}/protection/rpc-rules/filters/remote-candidates: get: operationId: AssetRPCRulesSourceCandidatesFilters_List summary: Asset Get RPC Rules Source Candidates Filters @@ -5062,7 +5504,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/filters/user-candidates': + /assets/{assetId}/protection/rpc-rules/filters/user-candidates: get: operationId: AssetRPCRulesUserCandidatesFilters_List summary: Asset List RPC Rules Filters User Candidates @@ -5091,11 +5533,11 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/local-candidates': + /assets/{assetId}/protection/rpc-rules/local-candidates: get: operationId: AssetRPCRulesDestinationCandidates_List summary: Asset List RPC Rules Destination Candidates - description: Returns a list of destionation candidates for RPC rules. + description: Returns a list of destination candidates for RPC rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -5120,7 +5562,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/remote-candidates': + /assets/{assetId}/protection/rpc-rules/remote-candidates: get: operationId: AssetRPCRulesSourceCandidates_List summary: Asset List RPC Rules Source Candidates @@ -5149,7 +5591,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rpc-rules/user-candidates': + /assets/{assetId}/protection/rpc-rules/user-candidates: get: operationId: AssetRPCRulesUserCandidates_List summary: Asset List RPC Rules User Candidates @@ -5178,7 +5620,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/distribution/{ruleId}': + /assets/{assetId}/protection/rules/distribution/{ruleId}: get: operationId: AssetRulesDistribution_Get summary: Get distribution of rule hit count for a specific asset @@ -5206,7 +5648,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/history/{ruleId}': + /assets/{assetId}/protection/rules/history/{ruleId}: get: operationId: AssetRulesHistory_Get summary: Get a historic version of an rule for a specific asset @@ -5234,7 +5676,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound': + /assets/{assetId}/protection/rules/inbound: get: operationId: AssetInboundRules_List summary: Asset List Inbound Rules @@ -5246,9 +5688,12 @@ paths: - $ref: '#/components/parameters/filtersParameter' - $ref: '#/components/parameters/entityParams' - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/directionParameter' - $ref: '#/components/parameters/addBuiltinsParameter' - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/directionParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK @@ -5302,60 +5747,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/export': - post: - operationId: AssetInboundRules_Export - summary: Asset Export Inbound Rules - description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBodyRules' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Asset - '/assets/{assetId}/protection/rules/inbound/export/csv/{exportId}': - get: - operationId: AssetInboundRulesExport_Get - summary: Download assets inbound rules export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Asset - '/assets/{assetId}/protection/rules/inbound/{ruleId}': + /assets/{assetId}/protection/rules/inbound/{ruleId}: get: operationId: AssetInboundRule_Get summary: Asset Get Inbound Rule @@ -5443,72 +5835,91 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/review/approve/{ruleId}': - put: - operationId: AssetInboundRulesReview_Approve - summary: Asset Approve a "pending review" rule - description: Approve a "pending review" rule without changes + /assets/{assetId}/protection/rules/inbound/excluded-local-candidates: + get: + operationId: AssetInboundRulesExcludedDestinationCandidates_List + summary: Asset Get Inbound Rules Excluded Destination Candidates + description: Returns a list of excluded destination candidates for Inbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/review/approve-with-changes/{ruleId}': - put: - operationId: AssetInboundRulesReview_ApproveWithChanges - summary: Asset Update Inbound Rule - description: Approve a "pending review" rule with changes + /assets/{assetId}/protection/rules/inbound/export: + post: + operationId: AssetInboundRules_Export + summary: Asset Export Inbound Rules + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true content: application/json: schema: - $ref: '#/components/schemas/ruleReviewApproveWithChanges' + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/review/reject/{ruleId}': - delete: - operationId: AssetInboundRulesReview_Deny - summary: Asset '' - description: Reject a "pending review" rule (deletes rule) + /assets/{assetId}/protection/rules/inbound/export/csv/{exportId}: + get: + operationId: AssetInboundRulesExport_Get + summary: Download assets inbound rules export + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewReason' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK - '400': - $ref: '#/components/responses/400' - '500': - $ref: '#/components/responses/500' + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/filters': + /assets/{assetId}/protection/rules/inbound/filters: get: operationId: AssetInboundRulesFilters_List summary: Asset List Inbound Rules Filters @@ -5536,15 +5947,15 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/excluded-local-candidates': + /assets/{assetId}/protection/rules/inbound/filters/local-candidates: get: - operationId: AssetInboundRulesExcludedDestinationCandidates_List - summary: Asset Get Inbound Rules Excluded Destination Candidates - description: Returns a list of excluded destionation candidates for Inbound rules. + operationId: AssetInboundRulesDestinationCandidatesFilters_List + summary: Asset List Inbound Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for Inbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -5565,15 +5976,15 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/local-candidates': + /assets/{assetId}/protection/rules/inbound/filters/remote-candidates: get: - operationId: AssetInboundRulesDestinationCandidates_List - summary: Asset List Inbound Rules Destination Candidates - description: Returns a list of destionation candidates for Inbound rules. + operationId: AssetInboundRulesSourceCandidatesFilters_List + summary: Asset Get Inbound Rules Source Candidates Filters + description: Returns a list of filters for source candidates for Inbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -5594,20 +6005,23 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/filters/local-candidates': + /assets/{assetId}/protection/rules/inbound/local-candidates: get: - operationId: AssetInboundRulesDesinationCandidatesFilters_List - summary: Asset List Inbound Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for Inbound rules. + operationId: AssetInboundRulesDestinationCandidates_List + summary: Asset List Inbound Rules Destination Candidates + description: Returns a list of destination candidates for Inbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -5620,7 +6034,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/remote-candidates': + /assets/{assetId}/protection/rules/inbound/remote-candidates: get: operationId: AssetInboundRulesSourceCandidates_List summary: Asset List Inbound Rules Source Candidates @@ -5650,33 +6064,74 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/inbound/filters/remote-candidates': - get: - operationId: AssetInboundRulesSourceCandidatesFilters_List - summary: Asset Get Inbound Rules Source Candidates Filters - description: Returns a list of filters for source candidates for Inbound rules. + /assets/{assetId}/protection/rules/inbound/review/approve-with-changes/{ruleId}: + put: + operationId: AssetInboundRulesReview_ApproveWithChanges + summary: Asset Update Inbound Rule + description: Approve a "pending review" rule with changes parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ruleReviewApproveWithChanges' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound': + /assets/{assetId}/protection/rules/inbound/review/approve/{ruleId}: + put: + operationId: AssetInboundRulesReview_Approve + summary: Asset Approve a "pending review" rule + description: Approve a "pending review" rule without changes + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + '401': + $ref: '#/components/responses/401' + tags: + - Asset + /assets/{assetId}/protection/rules/inbound/review/reject/{ruleId}: + delete: + operationId: AssetInboundRulesReview_Deny + summary: Asset '' + description: Reject a "pending review" rule (deletes rule) + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ruleReviewReason' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '500': + $ref: '#/components/responses/500' + tags: + - Asset + /assets/{assetId}/protection/rules/outbound: get: operationId: AssetOutboundRules_List summary: Asset List Outbound Rules @@ -5688,9 +6143,12 @@ paths: - $ref: '#/components/parameters/filtersParameter' - $ref: '#/components/parameters/entityParams' - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/directionParameter' - $ref: '#/components/parameters/addBuiltinsParameter' - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/directionParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK @@ -5744,60 +6202,7 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/export': - post: - operationId: AssetOutboundRules_Export - summary: Asset Export Outbound Rules - description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBodyRules' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Asset - '/assets/{assetId}/protection/rules/outbound/export/csv/{exportId}': - get: - operationId: AssetOutboundRulesExport_Get - summary: Download assets outbound rules export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Asset - '/assets/{assetId}/protection/rules/outbound/{ruleId}': + /assets/{assetId}/protection/rules/outbound/{ruleId}: get: operationId: AssetOutboundRule_Get summary: Asset Get Outbound Rule @@ -5885,72 +6290,91 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/review/approve/{ruleId}': - put: - operationId: AssetOutboundRulesReview_Approve - summary: Asset Approve a "pending review" rule - description: Approve a "pending review" rule without changes + /assets/{assetId}/protection/rules/outbound/excluded-local-candidates: + get: + operationId: AssetOutboundRulesExcludedSourceCandidates_List + summary: Asset List Outbound Rules Excluded Source Candidates + description: Returns a list of excluded source candidates for Outbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/review/approve-with-changes/{ruleId}': - put: - operationId: AssetOutboundRulesReview_ApproveWithChanges - summary: Asset Update Outbound Rule - description: Approve a "pending review" rule with changes + /assets/{assetId}/protection/rules/outbound/export: + post: + operationId: AssetOutboundRules_Export + summary: Asset Export Outbound Rules + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true content: application/json: schema: - $ref: '#/components/schemas/ruleReviewApproveWithChanges' + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/review/reject/{ruleId}': - delete: - operationId: AssetOutboundRulesReview_Deny - summary: Asset '' - description: Reject a "pending review" rule (deletes rule) + /assets/{assetId}/protection/rules/outbound/export/csv/{exportId}: + get: + operationId: AssetOutboundRulesExport_Get + summary: Download assets outbound rules export + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewReason' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK - '400': - $ref: '#/components/responses/400' - '500': - $ref: '#/components/responses/500' + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/filters': + /assets/{assetId}/protection/rules/outbound/filters: get: operationId: AssetOutboundRulesFilters_List summary: Asset List Outbound Rules Filters @@ -5976,23 +6400,20 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/excluded-local-candidates': + /assets/{assetId}/protection/rules/outbound/filters/excluded-local-candidates: get: - operationId: AssetOutboundRulesExcludedSourceCandidates_List - summary: Asset List Outbound Rules Excluded Source Candidates - description: Returns a list of excluded source candidates for Outbound rules. + operationId: AssetOutboundRulesExcludedSourceCandidatesFilters_List + summary: Asset List Outbound Rules Excluded Source Candidates Filters + description: Returns a list of filters for excluded source candidates for Outbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -6005,20 +6426,23 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/filters/excluded-local-candidates': + /assets/{assetId}/protection/rules/outbound/filters/local-candidates: get: - operationId: AssetOutboundRulesExcludedSourceCandidatesFilters_List - summary: Asset List Outbound Rules Excluded Source Candidates Filters - description: Returns a list of filters for excluded source candidates for Outbound rules. + operationId: AssetOutboundRulesSourceCandidatesFilters_List + summary: Asset List Outbound Rules Source Candidates Filters + description: Returns a list of filters for source candidates for Outbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -6031,15 +6455,15 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/local-candidates': + /assets/{assetId}/protection/rules/outbound/filters/remote-candidates: get: - operationId: AssetOutboundRulesSourceCandidates_List - summary: Asset List Outbound Rules Source Candidates - description: Returns a list of source candidates for Outbound rules. + operationId: AssetOutboundRulesDestinationCandidatesFilters_List + summary: Asset List Outbound Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for Outbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -6060,20 +6484,23 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/filters/local-candidates': + /assets/{assetId}/protection/rules/outbound/filters/user-candidates: get: - operationId: AssetOutboundRulesSourceCandidatesFilters_List - summary: Asset List Outbound Rules Source Candidates Filters - description: Returns a list of filters for source candidates for Outbound rules. + operationId: AssetOutboundRulesUserCandidatesFilters_List + summary: List Outbound Rules Filters User Candidates for an asset + description: Returns a list of user candidates for filters in Outbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -6086,17 +6513,16 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/remote-candidates': + /assets/{assetId}/protection/rules/outbound/local-candidates: get: - operationId: AssetOutboundRulesDestinationCandidates_List - summary: Asset List Outbound Destination Candidates - description: Returns a list of destination candidates for Outbound rules. + operationId: AssetOutboundRulesSourceCandidates_List + summary: Asset List Outbound Rules Source Candidates + description: Returns a list of source candidates for Outbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK @@ -6116,20 +6542,24 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/protection/rules/outbound/filters/remote-candidates': + /assets/{assetId}/protection/rules/outbound/remote-candidates: get: - operationId: AssetOutboundRulesDestinationCandidatesFilters_List - summary: Asset List Outbound Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for Outbound rules. + operationId: AssetOutboundRulesDestinationCandidates_List + summary: Asset List Outbound Destination Candidates + description: Returns a list of destination candidates for Outbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -6142,73 +6572,112 @@ paths: - api_key: [] tags: - Asset - '/assets/{assetId}/tags': - get: - operationId: AssetTags_Get - summary: Get asset tags - description: Returns a list of tags for an entity. + /assets/{assetId}/protection/rules/outbound/review/approve-with-changes/{ruleId}: + put: + operationId: AssetOutboundRulesReview_ApproveWithChanges + summary: Asset Update Outbound Rule + description: Approve a "pending review" rule with changes parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ruleReviewApproveWithChanges' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/tags' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - '/assets/{assetId}/cluster-info': + /assets/{assetId}/protection/rules/outbound/review/approve/{ruleId}: + put: + operationId: AssetOutboundRulesReview_Approve + summary: Asset Approve a "pending review" rule + description: Approve a "pending review" rule without changes + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + '401': + $ref: '#/components/responses/401' + tags: + - Asset + /assets/{assetId}/protection/rules/outbound/review/reject/{ruleId}: + delete: + operationId: AssetOutboundRulesReview_Deny + summary: Asset '' + description: Reject a "pending review" rule (deletes rule) + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ruleReviewReason' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '500': + $ref: '#/components/responses/500' + tags: + - Asset + /assets/{assetId}/protection/rules/outbound/user-candidates: get: - operationId: AssetClusterInfo_Get - summary: Get asset cluster info - description: Returns an object of cluster name and cluster members + operationId: AssetOutboundRulesUserCandidates_List + summary: List Source Rules User Candidates for an asset + description: Returns a list of users candidates for Outbound rules. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/clusterInfo' + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset - /assets/monitored: - get: - operationId: AssetsMonitored_List - summary: Monitored Assets - description: Returns a list of assets that are monitored. + /assets/{assetId}/rpc-actions/monitor: + post: + operationId: AssetRpcMonitoring_Add + summary: Adds a specific asset to RPC monitoring + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/searchAssetsResponse' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -6222,26 +6691,24 @@ paths: security: - api_key: [] tags: - - Assets - /assets/monitored/export: + - Asset + /assets/{assetId}/rpc-actions/protect: post: - operationId: AssetsMonitored_Export - summary: Export monitored assets - description: Returns an exportId to pass into the download API. + operationId: AssetRpcSegment_Protect + summary: Add asset to RPC segmentation + description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: Send an empty object required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAssets' + type: object responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -6255,125 +6722,145 @@ paths: security: - api_key: [] tags: - - Assets - '/assets/monitored/export/csv/{exportId}': - get: - operationId: AssetsMonitoredExport_Get - summary: Download monitored assets export - description: Returns a csv file to be downloaded. + - Asset + /assets/{assetId}/rpc-actions/queue: + post: + operationId: AssetRPC_Queue + summary: Move asset from monitored to RPC learning + description: Returns and empty object. parameters: - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/monitored/filters: - get: - operationId: AssetsMonitoredFilters_List - summary: List Monitored Assets Filters - description: Returns the filters that can be used for monitored assets. + - Asset + put: + operationId: AssetExtendRPC_Queue + summary: Extend asset RPC learning period + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/ot: - get: - operationId: AssetsOT_List - summary: List OT/IoT Assets - description: Returns a list of OT/IoT assets. + - Asset + /assets/{assetId}/rpc-actions/unmonitor: + post: + operationId: AssetRpcMonitoring_Delete + summary: Removes a specific asset from RPC monitoring + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' - - $ref: '#/components/parameters/showInactiveParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetOtList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets OT/IoT + - Asset + /assets/{assetId}/rpc-actions/unprotect: post: - operationId: AssetsOT_Create - summary: Create an OT/IoT asset - description: Returns an empty object. + operationId: AssetRpcSegment_Unprotect + summary: Remove asset from RPC segmentation + description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Array of assetIds to move to protection + description: Send an empty object required: true content: application/json: schema: - $ref: '#/components/schemas/otAssetBody' + type: object responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/createOtAssetResponse' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets OT/IoT - /assets/ot/actions/protect: + - Asset + /assets/{assetId}/tags: + get: + operationId: AssetTags_Get + summary: Get asset tags + description: Returns a list of tags for an entity. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/tags' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + security: + - api_key: [] + tags: + - Asset + /assets/actions/activate: post: - operationId: AssetsOTNetworkSegment_Protect - summary: Assets OT/IoT add to network segmentation - description: Returns an empty response. + operationId: AssetsActive_Set + summary: Mark assets active + description: Returns and empty object. requestBody: - description: Array of assetIds to move to protection + description: Array of assetIds to activate required: true content: application/json: schema: - $ref: '#/components/schemas/assetsProtectBody' - examples: {} + $ref: '#/components/schemas/assetsActivateBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -6390,19 +6877,19 @@ paths: security: - api_key: [] tags: - - Assets OT/IoT - /assets/ot/actions/queue: + - Assets + /assets/actions/activate-break-glass: post: - operationId: AssetsOtNetwork_Queue - summary: Move OT asset from monitored to learning + operationId: AssetsBreakGlass_Activate + summary: Activate break glass for assets. description: Returns and empty object. requestBody: - description: Array of assetIds to move to protection + description: Array of assetIds to activate break glass required: true content: application/json: schema: - $ref: '#/components/schemas/assetsQueueBody' + $ref: '#/components/schemas/assetsBreakGlassBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -6420,17 +6907,18 @@ paths: - api_key: [] tags: - Assets - put: - operationId: AssetsOtExtendNetwork_Queue - summary: Extend OT asset learning period - description: Returns an empty object. + /assets/actions/deactivate-break-glass: + post: + operationId: AssetsBreakGlass_Deactivate + summary: Deactivate break glass for assets. + description: Returns and empty object. requestBody: - description: Array of assetIds to move to protection + description: Array of assetIds to deactivate break glass required: true content: application/json: schema: - $ref: '#/components/schemas/queueExtendBody' + $ref: '#/components/schemas/assetsBreakGlassBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -6448,17 +6936,18 @@ paths: - api_key: [] tags: - Assets - /assets/ot/actions/unprotect: + /assets/actions/inactivate: post: - operationId: AssetsOTNetworkSegment_Unprotect - summary: Unprotect OT/IoT Asset from network segmentation - description: Returns and empty body. + operationId: AssetsInactive_Set + summary: Mark assets inactive + description: Returns and empty object. requestBody: + description: Array of assetIds to mark inactive required: true content: application/json: schema: - $ref: '#/components/schemas/assetsUnprotectBody' + $ref: '#/components/schemas/assetsActivateBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -6475,26 +6964,22 @@ paths: security: - api_key: [] tags: - - Assets OT/IoT - /assets/ot/export: + - Assets + /assets/actions/mirror: post: - operationId: AssetsOT_Export - summary: Export ot assets - description: Returns an exportId to pass into the download API. + operationId: Assets_Mirror + summary: Mirror one asset to another + description: Returns and empty object. requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: The assetIds of the source and target required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAssets' + $ref: '#/components/schemas/assetsMirrorBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -6509,69 +6994,52 @@ paths: - api_key: [] tags: - Assets - '/assets/ot/export/csv/{exportId}': - get: - operationId: AssetsOTExport_Get - summary: Download ot assets export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Assets - /assets/ot/filters: - get: - operationId: AssetsOTFilters_List - summary: List OT/IoT Assets Filters - description: Returns a list of filters for OT/IoT assets. + /assets/actions/os-type: + put: + operationId: AssetsOSType_Update + summary: Set OS type + description: Set the OS type (Windows/Linux/Mac) for multiple assets + requestBody: + description: OS type and Array of assetIds to set to + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/setOSType' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets OT/IoT - '/assets/ot/{assetId}': - get: - operationId: AssetOT_Get - summary: Get an OT asset - description: Returns the properties of an OT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + - Assets + /assets/actions/outbound-restriction: + put: + operationId: AssetsOutboundRestriction_Update + summary: Set outbound restriction + description: Set the outbound restriction (Enable Internal, Enable External, Enable Both, Disable) for multiple assets + requestBody: + description: Outbound restriction and Array of assetIds to set to + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/setOutboundRestriction' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetOtResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '500': @@ -6579,18 +7047,19 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT + - Assets + /assets/actions/preferred-deployment: put: - operationId: AssetOT_Update - summary: Edit OT/IoT asset - description: Edit an OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsPreferredSegmentServer_Update + summary: Set the preferred segment server for an asset + description: Returns and empty object. requestBody: + description: The assetId and Segment Server Id + required: true content: application/json: schema: - $ref: '#/components/schemas/otAssetEditBody' + $ref: '#/components/schemas/assetsPreferredSegmentServerSetBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -6600,19 +7069,26 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/actions/protect': + - Assets + /assets/actions/protect: post: - operationId: AssetOTNetworkSegment_Protect - summary: Move specific OT/IoT asset from learning to network segmentation - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsNetworkSegment_Protect + summary: Move asset from learning to network segmentation + description: Returns and empty object. + requestBody: + description: Array of assetIds to move to network segmentation + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsProtectBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -6629,24 +7105,26 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/actions/queue': + - Assets + /assets/actions/protect/validate: post: - operationId: AssetOtNetwork_Queue - summary: Add OT Asset to learning - description: Add OT Asset to learning - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsNetworkSegment_Validate + summary: Validate assets for network segmentation + description: Returns a number of assets that are valid for network segmentation. requestBody: - description: Queue days + description: Array of assetIds to move to network segmentation required: true content: application/json: schema: - $ref: '#/components/schemas/queueAssetBody' + $ref: '#/components/schemas/assetsProtectBody' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -6660,20 +7138,30 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT + - Assets + /assets/actions/quarantine: put: - operationId: AssetOtExtendNetwork_Queue - summary: Extend OT asset learning - description: Extend OT asset learning - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsQuarantine_Enable + summary: Enable quarantine for assets + description: Returns an empty object. requestBody: - description: Queue days to extand by + description: Send an object with a quarantine boolean and list of assets required: true content: application/json: schema: - $ref: '#/components/schemas/queueAssetExtendBody' + type: object + properties: + assetIds: + type: array + items: + type: string + quarantine: + type: boolean + description: Indicates whether to enable or disable quarantine + required: + - assetIds + - quarantine responses: '200': $ref: '#/components/responses/200_empty' @@ -6690,14 +7178,19 @@ paths: security: - api_key: [] tags: - - Asset - '/assets/ot/{assetId}/actions/unprotect': + - Assets + /assets/actions/queue: post: - operationId: AssetOTNetworkSegment_Unprotect - summary: Unprotect a specific OT/IoT asset from network segmentation - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsNetwork_Queue + summary: Move asset from monitored to network learning + description: Returns and empty object. + requestBody: + description: Array of assetIds to move to network learning + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsQueueBody' responses: '200': $ref: '#/components/responses/200_empty' @@ -6714,29 +7207,21 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/logon': - get: - operationId: AssetOTLogonActivities_List - summary: List a specific Logon Activities - description: Returns a list of logon activites for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' + - Assets + put: + operationId: AssetsExtendNetwork_Queue + summary: Extend asset network learning period + description: Returns an empty object. + requestBody: + description: Array of assetIds to extend network learning + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/queueExtendBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/logonActivitiesList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -6750,76 +7235,21 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/logon/export': + - Assets + /assets/actions/unprotect: post: - operationId: AssetOTLogonActivities_Export - summary: Export logon activities for a specific OT/IoT asset - description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsNetworkSegment_Unprotect + summary: Unprotect an asset from network segmentation + description: Returns an empty object. requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyActivities' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/logon/export/csv/{exportId}': - get: - operationId: AssetOTLogonActivitiesExport_Get - summary: Download logon activities for a specific OT/IoT asset export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: object - format: file - security: - - api_key: [] - tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/logon/filters': - get: - operationId: AssetOTLogonActivitiesFilters_List - summary: Get logon activity filters for a specific OT/IoT asset - description: Returns the filters that can be used for logon activities for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + $ref: '#/components/schemas/assetsUnprotectBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -6833,29 +7263,26 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/network': - get: - operationId: AssetOTNetworkActivities_List - summary: List Network Activities for a specific OT/IoT asset - description: Returns a list of network activites for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' + - Assets + /assets/actions/unprotect/validate: + post: + operationId: AssetsNetworkUnprotect_Validate + summary: Validate assets for removing from network segmentation + description: Returns a number of assets that are valid to unprotect. + requestBody: + description: Array of assetIds to remove from network segmentation + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsUnprotectBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/activitiesList' + $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -6869,21 +7296,19 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/network/export': + - Assets + /assets/export: post: - operationId: AssetOTNetworkActivities_Export - summary: Export network activities for a specific OT/IoT asset + operationId: Assets_Export + summary: Export assets description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/assetIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyActivities' + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK @@ -6904,14 +7329,13 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/network/export/csv/{exportId}': + - Assets + /assets/export/csv/{exportId}: get: - operationId: AssetOTNetworkActivitiesExport_Get - summary: Download network activities export for a specific OT/IoT asset + operationId: AssetsExport_Get + summary: Download assets export description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/exportIdParameter' responses: '200': @@ -6919,19 +7343,19 @@ paths: content: text/csv: schema: - type: object - format: file + type: string + format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/network/filters': + - Assets + /assets/filters: get: - operationId: AssetOTNetworkActivitiesFilters_List - summary: Get network activity filters for a specific OT/IoT asset - description: Returns the filters that can be used for network activities for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsFilters_List + summary: Assets Filters + description: Returns the filters that can be used for assets. responses: '200': description: OK @@ -6945,36 +7369,27 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/rpc': - get: - operationId: AssetOTRPCActivities_List - summary: List RPC Activities for a specific OT/IoT asset - description: Returns a list of RPC activites for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' + - Assets + /assets/identity-actions/protect: + post: + operationId: AssetsIdentitySegment_Protect + summary: Move assets from to identity segmentation. + description: Returns and empty object. + requestBody: + description: Array of assetIds to move to protection + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsProtectBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/rpcActivitiesList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -6988,28 +7403,26 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/rpc/export': + - Assets + /assets/identity-actions/protect/validate: post: - operationId: AssetOTRPCActivities_Export - summary: Export RPC activities for a specific OT/IoT asset - description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsIdentityProtect_Validate + summary: Validate assets for identity segmentation + description: Returns a number of assets that are valid for identity segmentation. requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: Array of assetIds to move to identity segmentation required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyActivities' + $ref: '#/components/schemas/assetsProtectBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -7023,41 +7436,50 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/rpc/export/csv/{exportId}': - get: - operationId: AssetOTRPCActivitiesExport_Get - summary: Download RPC activities export for a specific OT/IoT asset - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' + - Assets + /assets/identity-actions/queue: + post: + operationId: AssetsIdentity_Queue + summary: Move asset from monitored to Identity learning + description: Returns and empty object. + requestBody: + description: Array of assetIds to move to Identity learning + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsIdentityQueueBody' responses: '200': - description: OK - content: - text/csv: - schema: - type: object - format: file + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/rpc/filters': - get: - operationId: AssetOTRPCActivitiesFilters_List - summary: Get RPC activity filters for a specific OT/IoT asset - description: Returns the filters that can be used for RPC activities for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + - Assets + put: + operationId: AssetsExtendIdentity_Queue + summary: Extend asset Identity learning period + description: Returns an empty object. + requestBody: + description: Array of assetIds to extend Identity learning + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/queueExtendIdentityBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -7071,21 +7493,21 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/rpc/filters/interface-candidates': - get: - operationId: AssetOTRPCActivitiesInterfaceCandidatesFilters_List - summary: Get RPC activity Interface Name filters for a specific OT/IoT asset - description: Returns the interface name filters that can be used for RPC activities for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + - Assets + /assets/identity-actions/unprotect: + post: + operationId: AssetsIdentitySegment_Unprotect + summary: Unprotect assets + description: Returns an empty object. + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsUnprotectBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/rpcFiltersList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -7099,21 +7521,26 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/activities/rpc/filters/op-candidates': - get: - operationId: AssetOTRPCActivitiesOperationFilters_List - summary: Get RPC activity operation filters for a specific OT/IoT asset - description: Returns the operation filters that can be used for RPC activities for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + - Assets + /assets/identity-actions/unprotect/validate: + post: + operationId: AssetsIdentityUnprotect_Validate + summary: Validate assets for removing from identity segmentation + description: Returns a number of assets that are valid to unprotect. + requestBody: + description: Array of assetIds to remove from identity segmentation + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsUnprotectBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcFiltersList' + $ref: '#/components/schemas/validateResponse' '400': $ref: '#/components/responses/400' '401': @@ -7127,26 +7554,26 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/analysis': + - Assets + /assets/identity/protected: get: - operationId: AssetOTAnalysis_Get - summary: Get an OT/IoT asset analysis - description: Returns an object with OT/IoT asset analysis data. + operationId: AssetsIdentitySegmented_List + summary: Identity Segmented Assets + description: Returns a list of assets that are identity segmented. parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/sortParameter' - - $ref: '#/components/parameters/analysisDirectionParameter' - - $ref: '#/components/parameters/connectionStateParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetAnalysis' + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': @@ -7160,21 +7587,19 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/analysis/export': + - Assets + /assets/identity/protected/export: post: - operationId: AssetOTAnalysis_Export - summary: Export OT/IoT asset analysis + operationId: AssetsIdentitySegmented_Export + summary: Export identity protected assets description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/assetIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAnalysis' + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK @@ -7195,15 +7620,14 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/analysis/export/csv/{exportId}': + - Assets + /assets/identity/protected/export/csv/{exportId}: get: - operationId: AssetOTAnalysisExport_Get - summary: Download OT/IoT asset analysis report + operationId: AssetsIdentityProtectedExport_Get + summary: Download identity protected assets export description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/exportIdParameter' - - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK @@ -7212,55 +7636,55 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/ancestors': + - Assets + /assets/identity/protected/filters: get: - operationId: AssetOTMemberOf_Get - summary: Get an asset ancestors - description: Returns a list of groups the asset is a member of. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsIdentitySegmentedFilters_List + summary: List Identity Segmented Assets Filters + description: Returns the filters that can be used for identity segmented assets. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ancestors' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/audit': + - Assets + /assets/identity/queued: get: - operationId: AssetOTAudit_Get - summary: Get a assets audits - description: Returns a list of audits for the asset. + operationId: AssetsIdentityQueued_List + summary: Identity Learning Assets + description: Returns a list of assets that are identity learning. parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/auditList' + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': @@ -7274,21 +7698,19 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/audit/export': + - Assets + /assets/identity/queued/export: post: - operationId: AssetOTAudit_Export - summary: Export assets audits + operationId: AssetsIdentityQueued_Export + summary: Export identity learning assets description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/assetIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBody' + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK @@ -7309,14 +7731,13 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/audit/export/csv/{exportId}': + - Assets + /assets/identity/queued/export/csv/{exportId}: get: - operationId: AssetOTAuditExport_Get - summary: Download assets audit export + operationId: AssetsIdentityQueuedExport_Get + summary: Download identity learning assets export description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/exportIdParameter' responses: '200': @@ -7326,17 +7747,17 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/audit/filters': + - Assets + /assets/identity/queued/filters: get: - operationId: AssetOTAuditsFilters_List - summary: List Audit Filters for a specific OT/IoT asset - description: Returns a list of filters for Audit events for a specific OT/IoT asset. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsIdentityQueuedFilters_List + summary: List Identity learning Assets Filters + description: Returns the filters that can be used for identity learning assets. responses: '200': description: OK @@ -7350,28 +7771,32 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/managers': + - Assets + /assets/inactive: get: - operationId: AssetOTAssetManagers_List - summary: Get managers of asset - description: Get asset managers of asset + operationId: AssetsInactive_List + summary: Inactive Assets + description: Returns a list of assets that are inactive. parameters: - - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/showInactiveParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/managersList' + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': @@ -7385,23 +7810,26 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT + - Assets + /assets/inactive/export: post: - operationId: AssetOTAssetManagers_Add - summary: Add manager of asset - description: Add an asset manager of asset - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsInactive_Export + summary: Export inactive assets + description: Returns an exportId to pass into the download API. requestBody: - description: Array of managers to add + description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/assetManagersBody' + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -7415,144 +7843,119 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/managers/candidates': + - Assets + /assets/inactive/export/csv/{exportId}: get: - operationId: AssetOTAssetManagersCandidates_List - summary: Get manager candidates - description: Get manager candidates for asset managers + operationId: AssetsInactiveExport_Get + summary: Download inactive assets export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/candidatesList' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/managers/{groupOrUserId}': - delete: - operationId: AssetOTAssetManagers_Delete - summary: Remove manager of asset - description: Remove an asset manager of asset - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/groupOrUserIdParameter' + - Assets + /assets/inactive/filters: + get: + operationId: AssetsInactiveFilters_List + summary: List Inactive Assets Filters + description: Returns the filters that can be used for inactive assets. responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules': - get: - operationId: AssetOTIdentityRules_List - summary: OT Asset List Identity Rules - description: Returns a list of identity segmentation rules. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - Assets + /assets/linux: + post: + operationId: AssetsLinux_Create + summary: Create linux asset + description: Returns the assetId of the created Linux asset. + requestBody: + description: Linux asset details + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/linuxBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityRulesList' + $ref: '#/components/schemas/linuxResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - post: - operationId: AssetOTIdentityRules_Create - summary: Asset Create an Identity Rule - description: Returns a the identity segmentation rule. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleBody' - required: true + - Assets + /assets/linux/scripts/add-user: + get: + operationId: AssetsLinuxScript_Get + summary: Get add_znuser.sh script + description: Returns the script as application/octet-stream. responses: '200': description: OK content: - application/json: + application/octet-stream: schema: - $ref: '#/components/schemas/identityRuleItem' + type: string '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/asset-candidates': + - Assets + /assets/linux/scripts/add-user-available: get: - operationId: AssetOTIdentityRulesAssetsCandidates_List - summary: AssetOT List Identity Rules Assets Candidates - description: Returns a list of assets candidates for Identity rules. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: AssetsLinuxScriptAvailable_Get + summary: Check is Linux script is available + description: Check is Linux script is available responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/linuxScriptAvailable' '400': $ref: '#/components/responses/400' '401': @@ -7564,50 +7967,53 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/excluded-asset-candidates': + - Assets + /assets/monitored: get: - operationId: AssetOTIdentityRulesExcludedAssetsCandidates_List - summary: AssetOT List Identity Rules Excluded Assets Candidates - description: Returns a list of excluded assets candidates for Identity rules. + operationId: AssetsMonitored_List + summary: Monitored Assets + description: Returns a list of assets that are monitored. parameters: - - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/export': + - Assets + /assets/monitored/export: post: - operationId: AssetOTIdentityRules_Export - summary: AssetOT Export Identity Rules + operationId: AssetsMonitored_Export + summary: Export monitored assets description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/assetIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyRules' + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK @@ -7621,19 +8027,20 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/export/csv/{exportId}': + - Assets + /assets/monitored/export/csv/{exportId}: get: - operationId: AssetOTIdentityRulesExport_Get - summary: AssetOT Download Identity Rules Export + operationId: AssetsMonitoredExport_Get + summary: Download monitored assets export description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/exportIdParameter' responses: '200': @@ -7643,17 +8050,17 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/filters': + - Assets + /assets/monitored/filters: get: - operationId: AssetOTIdentityRulesFilters_List - summary: AssetOT List Identity Rules Filters - description: Returns a list of filters for Identity rules. - parameters: - - $ref: '#/components/parameters/assetIdParameter' + operationId: AssetsMonitoredFilters_List + summary: List Monitored Assets Filters + description: Returns the filters that can be used for monitored assets. responses: '200': description: OK @@ -7667,31 +8074,33 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/filters/asset-candidates': + - Assets + /assets/ot: get: - operationId: AssetOTIdentityRulesAssetsCandidatesFilters_List - summary: AssetOT List Identity Rules Filters Assets Candidates - description: Returns a list of assets candidates for filters in Identity rules. + operationId: AssetsOT_List + summary: List OT/IoT Assets + description: Returns a list of OT/IoT assets. parameters: - - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' + - $ref: '#/components/parameters/showInactiveParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/assetOtList' '400': $ref: '#/components/responses/400' '401': @@ -7703,24 +8112,25 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/filters/user-candidates': - get: - operationId: AssetOTIdentityRulesUserCandidatesFilters_List - summary: AssetOT List Identity Rules Filters User Candidates - description: Returns a list of user candidates for filters in Identity rules. - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Assets OT/IoT + post: + operationId: AssetsOT_Create + summary: Create an OT/IoT asset + description: Returns an empty object. + requestBody: + description: Array of assetIds to move to protection + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/otAssetBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/createOtAssetResponse' '400': $ref: '#/components/responses/400' '401': @@ -7732,85 +8142,71 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/user-candidates': + - Assets OT/IoT + /assets/ot/{assetId}: get: - operationId: AssetOTIdentityRulesUserCandidates_List - summary: AssetOT List Identity Rules User Candidates - description: Returns a list of user candidates for Identity rules. + operationId: AssetOT_Get + summary: Get an OT asset + description: Returns the properties of an OT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/assetOtResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity-rules/{ruleId}': - get: - operationId: AssetOTIdentityRules_Get - summary: AssetOT Get Identity Rule - description: Returns an identity segmentation rule. + put: + operationId: AssetOT_Update + summary: Edit OT/IoT asset + description: Edit an OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/otAssetEditBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - put: - operationId: AssetOTIdentityRules_Update - summary: AssetOT Update an Identity Rule - description: Returns a the identity segmentation rule. + /assets/ot/{assetId}/actions/protect: + post: + operationId: AssetOTNetworkSegment_Protect + summary: Move specific OT/IoT asset from learning to network segmentation + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleBody' - required: true responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -7825,16 +8221,23 @@ paths: - api_key: [] tags: - Asset OT/IoT - delete: - operationId: AssetOTIdentityRules_Delete - summary: AssetOT Remove Identity Rule - description: Returns an empty object. + /assets/ot/{assetId}/actions/queue: + post: + operationId: AssetOtNetwork_Queue + summary: Add OT Asset to learning + description: Add OT Asset to learning parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + description: Queue days + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/queueAssetBody' responses: '200': - description: OK + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -7849,28 +8252,22 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies': - get: - operationId: AssetOTMFAIdentityPolicies_List - summary: List Identity MFA Policies - description: Returns a list of identity MFA policies. + put: + operationId: AssetOtExtendNetwork_Queue + summary: Extend OT asset learning + description: Extend OT asset learning parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + requestBody: + description: Queue days to extend by + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/queueAssetExtendBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -7884,54 +8281,53 @@ paths: security: - api_key: [] tags: - - Asset OT/IoT + - Asset + /assets/ot/{assetId}/actions/unprotect: post: - operationId: AssetOTMFAIdentityPolicies_Create - summary: Add Identity MFA Policy - description: Returns the properties of the identity MFA policy after creation. + operationId: AssetOTNetworkSegment_Unprotect + summary: Unprotect a specific OT/IoT asset from network segmentation + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: MFA properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyItem' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/{reactivePolicyId}': + /assets/ot/{assetId}/activities/logon: get: - operationId: AssetOTMFAIdentityPolicies_Get - summary: Get Identity MFA Policy - description: Returns a Identity MFA policy object. + operationId: AssetOTLogonActivities_List + summary: List a specific Logon Activities + description: Returns a list of logon activities for a specific OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyResponse' + $ref: '#/components/schemas/logonActivitiesList' '400': $ref: '#/components/responses/400' '401': @@ -7946,27 +8342,27 @@ paths: - api_key: [] tags: - Asset OT/IoT - put: - operationId: AssetOTMFAIdentityPolicies_Update - summary: Update Identity MFA Policy - description: Returns the properties of the Identity MFA policy after updating. + /assets/ot/{assetId}/activities/logon/export: + post: + operationId: AssetOTLogonActivities_Export + summary: Export logon activities for a specific OT/IoT asset + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' requestBody: - description: Rule properties + description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyBody' + $ref: '#/components/schemas/exportBodyActivities' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyItem' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -7981,47 +8377,42 @@ paths: - api_key: [] tags: - Asset OT/IoT - delete: - operationId: AssetOTMFAIdentityPolicies_Delete - summary: Remove Identity MFA Policy - description: Returns an empty object. + /assets/ot/{assetId}/activities/logon/export/csv/{exportId}: + get: + operationId: AssetOTLogonActivitiesExport_Get + summary: Download logon activities for a specific OT/IoT asset export + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK - '400': - $ref: '#/components/responses/400' + content: + text/csv: + schema: + type: object + format: file '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/dst-asset-candidates': + /assets/ot/{assetId}/activities/logon/filters: get: - operationId: AssetOTMFAIdentityPoliciesDestinationCandidates_List - summary: Get destination assets for Identity MFA Policy - description: Returns a list of candidates for the destination of an identity MFA policy. + operationId: AssetOTLogonActivitiesFilters_List + summary: Get logon activity filters for a specific OT/IoT asset + description: Returns the filters that can be used for logon activities for a specific OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -8036,24 +8427,21 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/excluded-src-asset-candidates': + /assets/ot/{assetId}/activities/logon/user-filters: get: - operationId: AssetOTMFAIdentityPoliciesExcludedSourceCandidates_List - summary: Fet excluded source asset candidates for Identity MFA Policy - description: Returns a list of candidates for the excluded sources of an Identity MFA policy. + operationId: AssetOTLogonActivitiesSavedFilters_List + summary: List Saved Filters for Logon Activities + description: Returns a list of saved filters for logon activities. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/savedFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -8068,229 +8456,268 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/filters': - get: - operationId: AssetOTMFAIdentityPoliciesFilters_List - summary: List Identity MFA Policy Filters - description: Returns a list of filters for Identity MFA policies. + post: + operationId: AssetOTLogonActivitiesSavedFilters_Create + summary: Create a Saved Filter for Logon Activities + description: Returns the filter id. parameters: - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/savedFilterId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/filters/dst-asset-candidates': + /assets/ot/{assetId}/activities/logon/user-filters/{filterId}: get: - operationId: AssetOTMFAIdentityPoliciesDestinationCandidatesFilters_List - summary: Get Identity MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates for Identity MFA policies. + operationId: AssetOTLogonActivitiesSavedFilters_Get + summary: Get a Saved Filter for Logon Activities + description: Returns a saved filters for logon activities. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/savedFilterObject' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/filters/src-asset-candidates': - get: - operationId: AssetOTMFAIdentityPoliciesSourceCandidatesFilters_List - summary: List Identity MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates for Identity MFA policies. + put: + operationId: AssetOTLogonActivitiesSavedFilters_Update + summary: update a Saved Filter for Logon Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filterIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/filters/src-users-candidates': - get: - operationId: AssetOTMFAIdentityPoliciesSourceUsersCandidatesFilters_List - summary: Get Identity MFA Policies Source Users Filters - description: Resturns a list of filters for source users on Identity MFA policies. + delete: + operationId: AssetOTLogonActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for Logon Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/mfa-methods': + /assets/ot/{assetId}/activities/network: get: - operationId: AssetOTMFAIdentityPoliciesMFAMethods_List - summary: List Identity MFA Policy Methods - description: Returns a list of MFA methods for Identity MFA policies. + operationId: AssetOTNetworkActivities_List + summary: List Network Activities for a specific OT/IoT asset + description: Returns a list of network activities for a specific OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/activitiesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/src-asset-candidates': - get: - operationId: AssetOTMFAIdentityPoliciesSourceCandidates_List - summary: List Identity MFA Polcies Source Candidates - description: Returns a list of source candidates on Identity MFA policies. + /assets/ot/{assetId}/activities/network/export: + post: + operationId: AssetOTNetworkActivities_Export + summary: Export network activities for a specific OT/IoT asset + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyActivities' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/identity/reactive-policies/src-users-candidates': + /assets/ot/{assetId}/activities/network/export/csv/{exportId}: get: - operationId: AssetOTMFAIdentityPoliciesSourceUserCandidates_List - summary: List Identity MFA Policies Source Users Candidates - description: Returns a list of source user candidates for Identity MFA policies. + operationId: AssetOTNetworkActivitiesExport_Get + summary: Download network activities export for a specific OT/IoT asset + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/srcUserCandidatesList' - '400': - $ref: '#/components/responses/400' + type: object + format: file + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Asset OT/IoT + /assets/ot/{assetId}/activities/network/filters: + get: + operationId: AssetOTNetworkActivitiesFilters_List + summary: Get network activity filters for a specific OT/IoT asset + description: Returns the filters that can be used for network activities for a specific OT/IoT asset. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound': + /assets/ot/{assetId}/activities/network/user-filters: get: - operationId: AssetOTMFAInboundPolicies_List - summary: Asset List Inbound MFA Policies - description: Returns a list of inbound MFA policies. + operationId: AssetOTNetworkActivitiesSavedFilters_List + summary: List Saved Filters for Network Activities + description: Returns a list of saved filters for network activities. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyList' + $ref: '#/components/schemas/savedFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: @@ -8298,54 +8725,54 @@ paths: tags: - Asset OT/IoT post: - operationId: AssetOTMFAInboundPolicies_Create - summary: Asset Add Inbound MFA Policy - description: Returns the properties of the inbound MFA policy after creation. + operationId: AssetOTNetworkActivitiesSavedFilters_Create + summary: Create a Saved Filter for Network Activities + description: Returns the filter id. parameters: - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: MFA properties + description: 'Name, filters, and description for the saved filter' required: true content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyInboundBody' + $ref: '#/components/schemas/savedFilterBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/savedFilterId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/dst-candidates': + /assets/ot/{assetId}/activities/network/user-filters/{filterId}: get: - operationId: AssetOTMFAInboundPoliciesDestinationCandidates_List - summary: Asset Get destination assets for Inbound MFA Policy - description: Returns a list of candidates for the destionation of an inbound MFA policy. + operationId: AssetOTNetworkActivitiesSavedFilters_Get + summary: Get a Saved Filter for Network Activities + description: Returns a saved filters for network activities. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/savedFilterObject' '400': $ref: '#/components/responses/400' '401': @@ -8360,24 +8787,23 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/excluded-src-candidates': - get: - operationId: AssetOTMFAInboundPoliciesExcludedSourceCandidates_List - summary: Asset get excluded source asset candidates for Inbound MFA Policy - description: Returns a list of candidates for the excluded sources of an inbound MFA policy. + put: + operationId: AssetOTNetworkActivitiesSavedFilters_Update + summary: update a Saved Filter for Network Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + - $ref: '#/components/parameters/filterIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -8392,82 +8818,87 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/filters': - get: - operationId: AssetOTMFAInboundPoliciesFilters_List - summary: Asset List Inbound MFA Policy Filters - description: Returns a list of filters for inbound MFA policies. + delete: + operationId: AssetOTNetworkActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for Network Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/filters/dst-candidates': + /assets/ot/{assetId}/activities/rpc: get: - operationId: AssetOTMFAInboundPoliciesDestinationCandidatesFilters_List - summary: Asset Get Inbound MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates for inbound MFA policies. + operationId: AssetOTRPCActivities_List + summary: List RPC Activities for a specific OT/IoT asset + description: Returns a list of RPC activities for a specific OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/rpcActivitiesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/simulate': - get: - operationId: AssetOTMFAInboundPoliciesSimulate_Test - summary: Simulate Inbound MFA access - description: Returns a list of MFA policies that would match the simulaton. + /assets/ot/{assetId}/activities/rpc/export: + post: + operationId: AssetOTRPCActivities_Export + summary: Export RPC activities for a specific OT/IoT asset + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/srcUserId' - - $ref: '#/components/parameters/srcAssetId' - - $ref: '#/components/parameters/srcProcess' - - $ref: '#/components/parameters/dstAssetId' - - $ref: '#/components/parameters/dstProcess' - - $ref: '#/components/parameters/protocolType' - - $ref: '#/components/parameters/port' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyActivities' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/simulationResponse' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -8482,129 +8913,119 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/simulate/dst-candidates': + /assets/ot/{assetId}/activities/rpc/export/csv/{exportId}: get: - operationId: AssetOTMFAInboundPoliciesSimulateDestinationCandidates_List - summary: List Inbound MFA Simulation Destination Candidates - description: Returns a list of destination candidates on inbound MFA simulation. + operationId: AssetOTRPCActivitiesExport_Get + summary: Download RPC activities export for a specific OT/IoT asset + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' + type: object + format: file '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/simulate/resolve': + /assets/ot/{assetId}/activities/rpc/filters: get: - operationId: AssetOTMFAInboundPoliciesSimulateResolve_Get - summary: Resolve simulation parameters - description: Returns resolved simulation parameters. + operationId: AssetOTRPCActivitiesFilters_List + summary: Get RPC activity filters for a specific OT/IoT asset + description: Returns the filters that can be used for RPC activities for a specific OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/simulationParams' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/simulationParams' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/simulate/src-candidates': + /assets/ot/{assetId}/activities/rpc/filters/interface-candidates: get: - operationId: AssetOTMFAInboundPoliciesSimulateSourceCandidates_List - summary: List Inbound MFA Simulation Source Candidates - description: Returns a list of source candidates on inbound MFA simulation. + operationId: AssetOTRPCActivitiesInterfaceCandidatesFilters_List + summary: Get RPC activity Interface Name filters for a specific OT/IoT asset + description: Returns the interface name filters that can be used for RPC activities for a specific OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/rpcFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/simulate/src-users-candidates': + /assets/ot/{assetId}/activities/rpc/filters/op-candidates: get: - operationId: AssetOTMFAInboundPoliciesSimulateSourceUserCandidates_List - summary: List Inbound MFA Simulation Source User Candidates - description: Returns a list of source user candidates on inbound MFA simulation. + operationId: AssetOTRPCActivitiesOperationFilters_List + summary: Get RPC activity operation filters for a specific OT/IoT asset + description: Returns the operation filters that can be used for RPC activities for a specific OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/rpcFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/filters/src-candidates': + /assets/ot/{assetId}/activities/rpc/user-filters: get: - operationId: AssetOTMFAInboundPoliciesSourceCandidatesFilters_List - summary: Asset List Inbound MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates for inbound MFA policies. + operationId: AssetOTRPCActivitiesSavedFilters_List + summary: List Saved Filters for RPC Activities + description: Returns a list of saved filters for RPC activities. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -8612,147 +9033,158 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/savedFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/filters/src-users-candidates': - get: - operationId: AssetOTMFAInboundPoliciesSourceUsersCandidatesFilters_List - summary: Asset Get Inbound MFA Policies Source Users Filters - description: Resturns a list of filters for source users on inbound MFA policies. + post: + operationId: AssetOTRPCActivitiesSavedFilters_Create + summary: Create a Saved Filter for RPC Activities + description: Returns the filter id. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/savedFilterId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/mfa-methods': + /assets/ot/{assetId}/activities/rpc/user-filters/{filterId}: get: - operationId: AssetOTMFAInboundPoliciesMFAMethods_List - summary: Asset List Inbound MFA Policy Methods - description: Returns a list of MFA methods for inbound MFA policies. + operationId: AssetOTRPCActivitiesSavedFilters_Get + summary: Get a Saved Filter for RPC Activities + description: Returns a saved filters for RPC activities. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/savedFilterObject' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/src-candidates': - get: - operationId: AssetOTMFAInboundPoliciesSourceCandidates_List - summary: Asset List Inbound MFA Polcies Source Candidates - description: Returns a list of source candidates on inbound MFA policies. + put: + operationId: AssetOTRPCActivitiesSavedFilters_Update + summary: update a Saved Filter for RPC Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filterIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/src-users-candidates': - get: - operationId: AssetOTMFAInboundPoliciesSourceUserCandidates_List - summary: Asset List Inbound MFA Policies Source Users Candidates - description: Returns a list of source user candidates for inbound MFA policies. + delete: + operationId: AssetOTRPCActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for RPC Activities + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filterIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/inbound/{reactivePolicyId}': + /assets/ot/{assetId}/analysis: get: - operationId: AssetOTMFAInboundPolicies_Get - summary: Asset Get Inbound MFA Policy - description: Returns a inbound MFA policy object. + operationId: AssetOTAnalysis_Get + summary: Get an OT/IoT asset analysis + description: Returns an object with OT/IoT asset analysis data. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/sortParameter' + - $ref: '#/components/parameters/analysisDirectionParameter' + - $ref: '#/components/parameters/connectionStateParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyResponse' + $ref: '#/components/schemas/assetAnalysis' '400': $ref: '#/components/responses/400' '401': @@ -8767,27 +9199,27 @@ paths: - api_key: [] tags: - Asset OT/IoT - put: - operationId: AssetOTMFAInboundPolicies_Update - summary: Asset Update Inbound MFA Policy - description: Returns the properties of the inbound MFA policy after updating. + /assets/ot/{assetId}/analysis/export: + post: + operationId: AssetOTAnalysis_Export + summary: Export OT/IoT asset analysis + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' requestBody: - description: Rule properties + description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyInboundBody' + $ref: '#/components/schemas/exportBodyAnalysis' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -8802,140 +9234,136 @@ paths: - api_key: [] tags: - Asset OT/IoT - delete: - operationId: AssetOTMFAInboundPolicies_Delete - summary: Asset Remove Inbound MFA Policy - description: Returns an empty object. + /assets/ot/{assetId}/analysis/export/csv/{exportId}: + get: + operationId: AssetOTAnalysisExport_Get + summary: Download OT/IoT asset analysis report + description: Returns a csv file to be downloaded. parameters: + - $ref: '#/components/parameters/exportIdParameter' - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK - '400': - $ref: '#/components/responses/400' + content: + text/csv: + schema: + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound': + /assets/ot/{assetId}/ancestors: get: - operationId: AssetOTMFAOutboundPolicies_List - summary: Asset List Outbound MFA Policies - description: Returns a list of outbound MFA policies. + operationId: AssetOTMemberOf_Get + summary: Get an asset ancestors + description: Returns a list of groups the asset is a member of. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyList' + $ref: '#/components/schemas/ancestors' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - post: - operationId: AssetOTMFAOutboundPolicies_Create - summary: Asset Add Outbound MFA Policy - description: Returns a the properties of outbound MFA policy created. + /assets/ot/{assetId}/ancestors/candidates: + get: + operationId: AssetOTMemberOfGroupCandidates_Get + summary: Get candidates for adding the asset to a group + description: Returns a list of groups the asset can be a member of. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyOutboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/idNamePairList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/dst-candidates': + /assets/ot/{assetId}/audit: get: - operationId: AssetOTMFAOutboundPoliciesDestinationCandidates_List - summary: Asset List Outbound MFA Policies Destination Candidates - description: Returns a list of destination candidates on outbound MFA policies. + operationId: AssetOTAudit_Get + summary: Get a assets audits + description: Returns a list of audits for the asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/orderParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/auditList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/excluded-src-candidates': - get: - operationId: AssetOTMFAOutboundPoliciesExcludedSourceCandidates_List - summary: Asset get excluded source asset candidates for Outbound MFA Policy - description: Returns a list of candidates for the excluded sources of an outbound MFA policy. + /assets/ot/{assetId}/audit/export: + post: + operationId: AssetOTAudit_Export + summary: Export assets audits + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -8950,166 +9378,155 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/filters': + /assets/ot/{assetId}/audit/export/csv/{exportId}: get: - operationId: AssetOTMFAOutboundPoliciesFilters_Get - summary: Asset List Outbound MFA Policies Filters - description: Returns a list of filters for outbound MFA policies. + operationId: AssetOTAuditExport_Get + summary: Download assets audit export + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/filtersList' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/filters/dst-candidates': + /assets/ot/{assetId}/audit/filters: get: - operationId: AssetOTMFAOutboundPoliciesDestinationCandidatesFilters_List - summary: Asset List Outbound MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates on outbound MFA policies. + operationId: AssetOTAuditsFilters_List + summary: List Audit Filters for a specific OT/IoT asset + description: Returns a list of filters for Audit events for a specific OT/IoT asset. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' + '404': + $ref: '#/components/responses/404' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/filters/src-candidates': + /assets/ot/{assetId}/managers: get: - operationId: AssetOTMFAOutboundPoliciesSourceCandidatesFilters_List - summary: Asset Get Outbound MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates on outbound MFA policies. + operationId: AssetOTAssetManagers_List + summary: Get managers of asset + description: Get asset managers of asset parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/managersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/filters/src-users-candidates': - get: - operationId: AssetOTMFAOutboundPoliciesSourceUsersCandidatesFilters_List - summary: Asset List Outbound MFA Policies Source Users Candidates Filters - description: Returns a list of filsters for source users candidates on outbound MFA policies. + post: + operationId: AssetOTAssetManagers_Add + summary: Add manager of asset + description: Add an asset manager of asset parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + requestBody: + description: Array of managers to add + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetManagersBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/mfa-methods': - get: - operationId: AssetOTMFAOutboundPoliciesMFAMethods_List - summary: Asset List Outbound MFA Policies Methods - description: Returns a list of MFA methods on outbound MFA policies. + put: + operationId: AssetOTAssetManagers_Update + summary: Update manager of asset + description: Update an asset manager of asset parameters: - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Permission to change + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetManagersUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/simulate': - get: - operationId: AssetOTMFAOutboundPoliciesSimulate_Test - summary: Simulate Outbound MFA access - description: Returns a list of MFA policies that would match the simulaton. + /assets/ot/{assetId}/managers/{groupOrUserId}: + delete: + operationId: AssetOTAssetManagers_Delete + summary: Remove manager of asset + description: Remove an asset manager of asset parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/srcUserId' - - $ref: '#/components/parameters/srcAssetId' - - $ref: '#/components/parameters/srcProcess' - - $ref: '#/components/parameters/dstAssetId' - - $ref: '#/components/parameters/dstProcess' - - $ref: '#/components/parameters/protocolType' - - $ref: '#/components/parameters/port' + - $ref: '#/components/parameters/groupOrUserIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/simulationResponse' '400': $ref: '#/components/responses/400' '401': @@ -9124,11 +9541,11 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/simulate/dst-candidates': + /assets/ot/{assetId}/managers/candidates: get: - operationId: AssetOTMFAOutboundPoliciesSimulateDestinationCandidates_List - summary: List Inbound MFA Simulation Destination Candidates - description: Returns a list of destination candidates on inbound MFA simulation. + operationId: AssetOTAssetManagersCandidates_List + summary: Get manager candidates + description: Get manager candidates for asset managers parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -9141,137 +9558,176 @@ paths: application/json: schema: $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/simulate/resolve': + /assets/ot/{assetId}/protection/identity-rules: get: - operationId: AssetOTMFAOutboundPoliciesSimulateResolve_Get - summary: Resolve simulation parameters - description: Returns resolved simulation parameters. + operationId: AssetOTIdentityRules_List + summary: OT Asset List Identity Rules + description: Returns a list of identity segmentation rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/simulationParams' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/simulationParams' + $ref: '#/components/schemas/identityRulesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/simulate/src-candidates': - get: - operationId: AssetOTMFAOutboundPoliciesSimulateSourceCandidates_List - summary: List Inbound MFA Simulation Source Candidates - description: Returns a list of source candidates on inbound MFA simulation. + post: + operationId: AssetOTIdentityRules_Create + summary: Asset Create an Identity Rule + description: Returns a the identity segmentation rule. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/identityRuleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/simulate/src-users-candidates': + /assets/ot/{assetId}/protection/identity-rules/{ruleId}: get: - operationId: AssetOTMFAOutboundPoliciesSimulateSourceUserCandidates_List - summary: List Inbound MFA Simulation Source User Candidates - description: Returns a list of source user candidates on inbound MFA simulation. + operationId: AssetOTIdentityRules_Get + summary: AssetOT Get Identity Rule + description: Returns an identity segmentation rule. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/identityRuleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/src-candidates': - get: - operationId: AssetOTMFAOutboundPoliciesSourceCandidates_List - summary: Asset List Outbound MFA Policies Source Candidates - description: Returns a list of source candidates on outbound MFA policies. + put: + operationId: AssetOTIdentityRules_Update + summary: AssetOT Update an Identity Rule + description: Returns a the identity segmentation rule. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/identityRuleItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Asset OT/IoT + delete: + operationId: AssetOTIdentityRules_Delete + summary: AssetOT Remove Identity Rule + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/src-users-candidates': + /assets/ot/{assetId}/protection/identity-rules/asset-candidates: get: - operationId: AssetOTMFAOutboundPoliciesSourceUserCandidates_List - summary: Asset Get Outbound MFA Policies Source Users Candidates - description: Returns a list of source users candidates on outbound MFA policies. + operationId: AssetOTIdentityRulesAssetsCandidates_List + summary: AssetOT List Identity Rules Assets Candidates + description: Returns a list of assets candidates for Identity rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -9283,7 +9739,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': @@ -9296,56 +9752,56 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/reactive-policies/outbound/{reactivePolicyId}': + /assets/ot/{assetId}/protection/identity-rules/excluded-asset-candidates: get: - operationId: AssetOTMFAOutboundPolicies_Get - summary: Asset Get Outbound MFA Policy - description: Returns the properties of an outbound MFA policy. + operationId: AssetOTIdentityRulesExcludedAssetsCandidates_List + summary: AssetOT List Identity Rules Excluded Assets Candidates + description: Returns a list of excluded assets candidates for Identity rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyResponse' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - put: - operationId: AssetOTMFAOutboundPolicies_Update - summary: Asset Update Outbound MFA Policy - description: Returns the updated properties of an outbound MFA policy. + /assets/ot/{assetId}/protection/identity-rules/export: + post: + operationId: AssetOTIdentityRules_Export + summary: AssetOT Export Identity Rules + description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' requestBody: - description: Reactive Policy properties + description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyOutboundBody' + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -9358,16 +9814,42 @@ paths: - api_key: [] tags: - Asset OT/IoT - delete: - operationId: AssetOTMFAOutboundPolicies_Delete - summary: Asset Remove Outbound MFA Policy - description: Returns an empty object. + /assets/ot/{assetId}/protection/identity-rules/export/csv/{exportId}: + get: + operationId: AssetOTIdentityRulesExport_Get + summary: AssetOT Download Identity Rules Export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Asset OT/IoT + /assets/ot/{assetId}/protection/identity-rules/filters: + get: + operationId: AssetOTIdentityRulesFilters_List + summary: AssetOT List Identity Rules Filters + description: Returns a list of filters for Identity rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -9382,26 +9864,23 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules': + /assets/ot/{assetId}/protection/identity-rules/filters/asset-candidates: get: - operationId: AssetOTRPCRules_List - summary: Asset List RPC Rules - description: Returns a list of RPC rules. + operationId: AssetOTIdentityRulesAssetsCandidatesFilters_List + summary: AssetOT List Identity Rules Filters Assets Candidates + description: Returns a list of assets candidates for filters in Identity rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRulesList' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': @@ -9414,90 +9893,86 @@ paths: - api_key: [] tags: - Asset OT/IoT - post: - operationId: AssetOTRPCRules_Create - summary: Asset Create RPC Rule - description: Returns the properties of the create RPC rule. + /assets/ot/{assetId}/protection/identity-rules/filters/user-candidates: + get: + operationId: AssetOTIdentityRulesUserCandidatesFilters_List + summary: AssetOT List Identity Rules Filters User Candidates + description: Returns a list of user candidates for filters in Identity rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/rpcRuleBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/{ruleId}': + /assets/ot/{assetId}/protection/identity-rules/user-candidates: get: - operationId: AssetOTRPCRule_Get - summary: Asset Get RPC Rule - description: Returns the properties of an RPC rule. + operationId: AssetOTIdentityRulesUserCandidates_List + summary: AssetOT List Identity Rules User Candidates + description: Returns a list of user candidates for Identity rules. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - put: - operationId: AssetOTRPCRule_Update - summary: Asset Update RPC Rule - description: Returns the properties of the update RPC rule. + /assets/ot/{assetId}/protection/identity/reactive-policies: + get: + operationId: AssetOTMFAIdentityPolicies_List + summary: List Identity MFA Policies + description: Returns a list of identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/rpcRuleBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/identityReactivePolicyList' '400': $ref: '#/components/responses/400' '401': @@ -9512,126 +9987,143 @@ paths: - api_key: [] tags: - Asset OT/IoT - delete: - operationId: AssetOTRPCRule_Delete - summary: Asset Remove RPC Rule - description: Returns an empty object. + post: + operationId: AssetOTMFAIdentityPolicies_Create + summary: Add Identity MFA Policy + description: Returns the properties of the identity MFA policy after creation. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + description: MFA properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyBody' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/excluded-local-candidates': + /assets/ot/{assetId}/protection/identity/reactive-policies/{reactivePolicyId}: get: - operationId: AssetOTRPCRulesExcludedDestinationCandidates_List - summary: Asset Get RPC Rules Excluded Destination Candidates - description: Returns a list of excluded destionation candidates for RPC rules. + operationId: AssetOTMFAIdentityPolicies_Get + summary: Get Identity MFA Policy + description: Returns a Identity MFA policy object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/identityReactivePolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/export': - post: - operationId: AssetOTRPCRules_Export - summary: Asset Export RPC Rules - description: Returns an exportId to pass into the download API. + put: + operationId: AssetOTMFAIdentityPolicies_Update + summary: Update Identity MFA Policy + description: Returns the properties of the Identity MFA policy after updating. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyRules' + $ref: '#/components/schemas/identityReactivePolicyBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/identityReactivePolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/export/csv/{exportId}': - get: - operationId: AssetOTRPCRulesExport_Get - summary: Download assets RPC rules export - description: Returns a csv file to be downloaded. + delete: + operationId: AssetOTMFAIdentityPolicies_Delete + summary: Remove Identity MFA Policy + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK - content: - text/csv: - schema: - type: string - format: binary + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/filters': + /assets/ot/{assetId}/protection/identity/reactive-policies/dst-asset-candidates: get: - operationId: AssetOTRPCRulesFilters_List - summary: Asset List RPC Rules Filters - description: Returns a list of filters for RPC rules. + operationId: AssetOTMFAIdentityPoliciesDestinationCandidates_List + summary: Get destination assets for Identity MFA Policy + description: Returns a list of candidates for the destination of an identity MFA policy. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -9646,37 +10138,43 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/filters/local-candidates': + /assets/ot/{assetId}/protection/identity/reactive-policies/excluded-src-asset-candidates: get: - operationId: AssetOTRPCRulesDesinationCandidatesFilters_List - summary: Asset List RPC Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for RPC rules. + operationId: AssetOTMFAIdentityPoliciesExcludedSourceCandidates_List + summary: Fet excluded source asset candidates for Identity MFA Policy + description: Returns a list of candidates for the excluded sources of an Identity MFA policy. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/filters/remote-candidates': + /assets/ot/{assetId}/protection/identity/reactive-policies/filters: get: - operationId: AssetOTRPCRulesSourceCandidatesFilters_List - summary: Asset Get RPC Rules Source Candidates Filters - description: Returns a list of filters for source candidates for RPC rules. + operationId: AssetOTMFAIdentityPoliciesFilters_List + summary: List Identity MFA Policy Filters + description: Returns a list of filters for Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' responses: @@ -9698,11 +10196,11 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/filters/user-candidates': + /assets/ot/{assetId}/protection/identity/reactive-policies/filters/dst-asset-candidates: get: - operationId: AssetOTRPCRulesUserCandidatesFilters_List - summary: AssetOT List RPC Rules Filters User Candidates - description: Returns a list of user candidates for filters in RPC rules. + operationId: AssetOTMFAIdentityPoliciesDestinationCandidatesFilters_List + summary: Get Identity MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates for Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' @@ -9714,7 +10212,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -9727,15 +10225,15 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/local-candidates': + /assets/ot/{assetId}/protection/identity/reactive-policies/filters/src-asset-candidates: get: - operationId: AssetOTRPCRulesDestinationCandidates_List - summary: Asset List RPC Rules Destination Candidates - description: Returns a list of destionation candidates for RPC rules. + operationId: AssetOTMFAIdentityPoliciesSourceCandidatesFilters_List + summary: List Identity MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates for Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -9743,7 +10241,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -9756,15 +10254,15 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/remote-candidates': + /assets/ot/{assetId}/protection/identity/reactive-policies/filters/src-users-candidates: get: - operationId: AssetOTRPCRulesSourceCandidates_List - summary: Asset List RPC Rules Source Candidates - description: Returns a list of source candidates for RPC rules. + operationId: AssetOTMFAIdentityPoliciesSourceUsersCandidatesFilters_List + summary: Get Identity MFA Policies Source Users Filters + description: Returns a list of filters for source users on Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -9772,7 +10270,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -9785,23 +10283,20 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rpc-rules/user-candidates': + /assets/ot/{assetId}/protection/identity/reactive-policies/mfa-methods: get: - operationId: AssetOTRPCRulesUserCandidates_List - summary: AssetOT List RPC Rules User Candidates - description: Returns a list of user candidates for RPC rules. + operationId: AssetOTMFAIdentityPoliciesMFAMethods_List + summary: List Identity MFA Policy Methods + description: Returns a list of MFA methods for Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': @@ -9814,22 +10309,23 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/distribution/{ruleId}': + /assets/ot/{assetId}/protection/identity/reactive-policies/src-asset-candidates: get: - operationId: AssetOTRulesDistribution_Get - summary: Get distribution of rule hit count for a specific OT/IoT asset - description: Returns an object with rules distribution. + operationId: AssetOTMFAIdentityPoliciesSourceCandidates_List + summary: List Identity MFA Policies Source Candidates + description: Returns a list of source candidates on Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - - $ref: '#/components/parameters/ruleDirectionParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleDistribution' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -9842,22 +10338,23 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/history/{ruleId}': + /assets/ot/{assetId}/protection/identity/reactive-policies/src-users-candidates: get: - operationId: AssetOTRulesHistory_Get - summary: Get a historic version of an rule for a specific OT/IoT asset - description: Returns the properties of the previous version of the rule. + operationId: AssetOTMFAIdentityPoliciesSourceUserCandidates_List + summary: List Identity MFA Policies Source Users Candidates + description: Returns a list of source user candidates for Identity MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - - $ref: '#/components/parameters/updateIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/historyRule' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -9870,28 +10367,26 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound': + /assets/ot/{assetId}/protection/reactive-policies/inbound: get: - operationId: AssetOTInboundRules_List - summary: Asset List Inbound Rules - description: Returns a list of Inbound rules. + operationId: AssetOTMFAInboundPolicies_List + summary: Asset List Inbound MFA Policies + description: Returns a list of inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/entityParams' - - $ref: '#/components/parameters/withCountParameter' - $ref: '#/components/parameters/addBuiltinsParameter' - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/directionParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rulesList' + $ref: '#/components/schemas/reactivePolicyList' '400': $ref: '#/components/responses/400' '401': @@ -9905,135 +10400,142 @@ paths: tags: - Asset OT/IoT post: - operationId: AssetOTInboundRules_Create - summary: Asset Create Inbound Rule - description: Returns the properties of the created Inbound rule. + operationId: AssetOTMFAInboundPolicies_Create + summary: Asset Add Inbound MFA Policy + description: Returns the properties of the inbound MFA policy after creation. parameters: - $ref: '#/components/parameters/assetIdParameter' requestBody: - description: Rule properties + description: MFA properties required: true content: application/json: schema: - $ref: '#/components/schemas/ruleBody' + $ref: '#/components/schemas/reactivePolicyInboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/export': - post: - operationId: AssetOTInboundRules_Export - summary: Asset Export Inbound Rules - description: Returns an exportId to pass into the download API. + /assets/ot/{assetId}/protection/reactive-policies/inbound/{reactivePolicyId}: + get: + operationId: AssetOTMFAInboundPolicies_Get + summary: Asset Get Inbound MFA Policy + description: Returns a inbound MFA policy object. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBodyRules' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/reactivePolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/export/csv/{exportId}': - get: - operationId: AssetOTInboundRulesExport_Get - summary: Download assets inbound rules export - description: Returns a csv file to be downloaded. + put: + operationId: AssetOTMFAInboundPolicies_Update + summary: Asset Update Inbound MFA Policy + description: Returns the properties of the inbound MFA policy after updating. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyInboundBody' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/reactivePolicyItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/excluded-local-candidates': - get: - operationId: AssetOTInboundRulesExcludedDestinationCandidates_List - summary: Asset Get Inbound Rules Excluded Destination Candidates - description: Returns a list of excluded destionation candidates for Inbound rules. + delete: + operationId: AssetOTMFAInboundPolicies_Delete + summary: Asset Remove Inbound MFA Policy + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/filters': + /assets/ot/{assetId}/protection/reactive-policies/inbound/dst-candidates: get: - operationId: AssetOTInboundRulesFilters_List - summary: Asset List Inbound Rules Filters - description: Returns a list of filters for Inbound rules. + operationId: AssetOTMFAInboundPoliciesDestinationCandidates_List + summary: Asset Get destination assets for Inbound MFA Policy + description: Returns a list of candidates for the destination of an inbound MFA policy. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -10048,37 +10550,43 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/filters/local-candidates': + /assets/ot/{assetId}/protection/reactive-policies/inbound/excluded-src-candidates: get: - operationId: AssetOTInboundRulesDesinationCandidatesFilters_List - summary: Asset List Inbound Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for Inbound rules. + operationId: AssetOTMFAInboundPoliciesExcludedSourceCandidates_List + summary: Asset get excluded source asset candidates for Inbound MFA Policy + description: Returns a list of candidates for the excluded sources of an inbound MFA policy. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/filters/remote-candidates': + /assets/ot/{assetId}/protection/reactive-policies/inbound/filters: get: - operationId: AssetOTInboundRulesSourceCandidatesFilters_List - summary: Asset Get Inbound Rules Source Candidates Filters - description: Returns a list of filters for source candidates for Inbound rules. + operationId: AssetOTMFAInboundPoliciesFilters_List + summary: Asset List Inbound MFA Policy Filters + description: Returns a list of filters for inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' responses: @@ -10100,15 +10608,15 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/local-candidates': + /assets/ot/{assetId}/protection/reactive-policies/inbound/filters/dst-candidates: get: - operationId: AssetOTInboundRulesDestinationCandidates_List - summary: Asset List Inbound Rules Destination Candidates - description: Returns a list of destionation candidates for Inbound rules. + operationId: AssetOTMFAInboundPoliciesDestinationCandidatesFilters_List + summary: Asset Get Inbound MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates for inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -10116,7 +10624,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -10129,211 +10637,201 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/remote-candidates': + /assets/ot/{assetId}/protection/reactive-policies/inbound/simulate: get: - operationId: AssetOTInboundRulesSourceCandidates_List - summary: Asset List Inbound Rules Source Candidates - description: Returns a list of source candidates for Inbound rules. - parameters: + operationId: AssetOTMFAInboundPoliciesSimulate_Test + summary: Simulate Inbound MFA access + description: Returns a list of MFA policies that would match the simulation. + parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/ruleTypeParameter' + - $ref: '#/components/parameters/srcUserId' + - $ref: '#/components/parameters/srcAssetId' + - $ref: '#/components/parameters/srcProcess' + - $ref: '#/components/parameters/dstAssetId' + - $ref: '#/components/parameters/dstProcess' + - $ref: '#/components/parameters/protocolType' + - $ref: '#/components/parameters/port' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/simulationResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/review/approve/{ruleId}': - put: - operationId: AssetOTInboundRulesReview_Approve - summary: Asset Approve a "pending review" rule - description: Approve a "pending review" rule without changes - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - responses: - '200': - description: OK - tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/review/approve-with-changes/{ruleId}': - put: - operationId: AssetOTInboundRulesReview_ApproveWithChanges - summary: Asset Update Inbound Rule - description: Approve a "pending review" rule with changes + /assets/ot/{assetId}/protection/reactive-policies/inbound/simulate/dst-candidates: + get: + operationId: AssetOTMFAInboundPoliciesSimulateDestinationCandidates_List + summary: List Inbound MFA Simulation Destination Candidates + description: Returns a list of destination candidates on inbound MFA simulation. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewApproveWithChanges' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/review/reject/{ruleId}': - delete: - operationId: AssetOTInboundRulesReview_Deny - summary: Asset '' - description: Reject a "pending review" rule (deletes rule) + /assets/ot/{assetId}/protection/reactive-policies/inbound/simulate/resolve: + get: + operationId: AssetOTMFAInboundPoliciesSimulateResolve_Get + summary: Resolve simulation parameters + description: Returns resolved simulation parameters. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewReason' + - $ref: '#/components/parameters/simulationParams' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/simulationParams' '400': $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/inbound/{ruleId}': + /assets/ot/{assetId}/protection/reactive-policies/inbound/simulate/src-candidates: get: - operationId: AssetOTInboundRule_Get - summary: Asset Get Inbound Rule - description: Returns the properties of an Inbound rule. + operationId: AssetOTMFAInboundPoliciesSimulateSourceCandidates_List + summary: List Inbound MFA Simulation Source Candidates + description: Returns a list of source candidates on inbound MFA simulation. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleItem' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - put: - operationId: AssetOTInboundRule_Update - summary: Asset Update Inbound Rule - description: Returns the properties of the update Inbound rule. + /assets/ot/{assetId}/protection/reactive-policies/inbound/simulate/src-users-candidates: + get: + operationId: AssetOTMFAInboundPoliciesSimulateSourceUserCandidates_List + summary: List Inbound MFA Simulation Source User Candidates + description: Returns a list of source user candidates on inbound MFA simulation. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - delete: - operationId: AssetOTInboundRule_Delete - summary: Asset Remove Inbound Rule - description: Returns an empty object. + /assets/ot/{assetId}/protection/reactive-policies/inbound/filters/src-candidates: + get: + operationId: AssetOTMFAInboundPoliciesSourceCandidatesFilters_List + summary: Asset List Inbound MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates for inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound': + /assets/ot/{assetId}/protection/reactive-policies/inbound/filters/src-users-candidates: get: - operationId: AssetOTOutboundRules_List - summary: Asset List Outbound Rules - description: Returns a list of Outbound rules. + operationId: AssetOTMFAInboundPoliciesSourceUsersCandidatesFilters_List + summary: Asset Get Inbound MFA Policies Source Users Filters + description: Returns a list of filters for source users on inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/entityParams' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/directionParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rulesList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -10346,61 +10844,49 @@ paths: - api_key: [] tags: - Asset OT/IoT - post: - operationId: AssetOTOutboundRules_Create - summary: Asset Create Outbound Rule - description: Returns the properties of the created Outbound rule. + /assets/ot/{assetId}/protection/reactive-policies/inbound/mfa-methods: + get: + operationId: AssetOTMFAInboundPoliciesMFAMethods_List + summary: Asset List Inbound MFA Policy Methods + description: Returns a list of MFA methods for inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/export': - post: - operationId: AssetOTOutboundRules_Export - summary: Asset Export Outbound Rules - description: Returns an exportId to pass into the download API. + /assets/ot/{assetId}/protection/reactive-policies/inbound/src-candidates: + get: + operationId: AssetOTMFAInboundPoliciesSourceCandidates_List + summary: Asset List Inbound MFA Policies Source Candidates + description: Returns a list of source candidates on inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBodyRules' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -10413,43 +10899,54 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/export/csv/{exportId}': + /assets/ot/{assetId}/protection/reactive-policies/inbound/src-users-candidates: get: - operationId: AssetOTOutboundRulesExport_Get - summary: Download assets outbound rules export - description: Returns a csv file to be downloaded. + operationId: AssetOTMFAInboundPoliciesSourceUserCandidates_List + summary: Asset List Inbound MFA Policies Source Users Candidates + description: Returns a list of source user candidates for inbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/srcUserCandidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/excluded-local-candidates': + /assets/ot/{assetId}/protection/reactive-policies/outbound: get: - operationId: AssetOTOutboundRulesExcludedSourceCandidates_List - summary: Asset List Outbound Rules Excluded Source Candidates - description: Returns a list of excluded source candidates for Outbound rules. + operationId: AssetOTMFAOutboundPolicies_List + summary: Asset List Outbound MFA Policies + description: Returns a list of outbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/reactivePolicyList' '400': $ref: '#/components/responses/400' '401': @@ -10462,20 +10959,26 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/filters': - get: - operationId: AssetOTOutboundRulesFilters_List - summary: Asset List Outbound Rules Filters - description: Returns a list of filters for Outbound rules. + post: + operationId: AssetOTMFAOutboundPolicies_Create + summary: Asset Add Outbound MFA Policy + description: Returns a the properties of outbound MFA policy created. parameters: - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyOutboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -10488,46 +10991,56 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/filters/excluded-local-candidates': + /assets/ot/{assetId}/protection/reactive-policies/outbound/{reactivePolicyId}: get: - operationId: AssetOTOutboundRulesExcludedSourceCandidatesFilters_List - summary: Asset List Outbound Rules Excluded Source Candidates Filters - description: Returns a list of filters for excluded source candidates for Outbound rules. + operationId: AssetOTMFAOutboundPolicies_Get + summary: Asset Get Outbound MFA Policy + description: Returns the properties of an outbound MFA policy. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/reactivePolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/filters/local-candidates': - get: - operationId: AssetOTOutboundRulesSourceCandidatesFilters_List - summary: Asset List Outbound Rules Source Candidates Filters - description: Returns a list of filters for source candidates for Outbound rules. + put: + operationId: AssetOTMFAOutboundPolicies_Update + summary: Asset Update Outbound MFA Policy + description: Returns the updated properties of an outbound MFA policy. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' + requestBody: + description: Reactive Policy properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyOutboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -10540,41 +11053,39 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/filters/remote-candidates': - get: - operationId: AssetOTOutboundRulesDestinationCandidatesFilters_List - summary: Asset List Outbound Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for Outbound rules. + delete: + operationId: AssetOTMFAOutboundPolicies_Delete + summary: Asset Remove Outbound MFA Policy + description: Returns an empty object. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/local-candidates': + /assets/ot/{assetId}/protection/reactive-policies/outbound/dst-candidates: get: - operationId: AssetOTOutboundRulesSourceCandidates_List - summary: Asset List Outbound Rules Source Candidates - description: Returns a list of source candidates for Outbound rules. + operationId: AssetOTMFAOutboundPoliciesDestinationCandidates_List + summary: Asset List Outbound MFA Policies Destination Candidates + description: Returns a list of destination candidates on outbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -10595,17 +11106,17 @@ paths: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/remote-candidates': + /assets/ot/{assetId}/protection/reactive-policies/outbound/excluded-src-candidates: get: - operationId: AssetOTOutboundRulesDestinationCandidates_List - summary: Asset List Outbound Destination Candidates - description: Returns a list of destination candidates for Outbound rules. + operationId: AssetOTMFAOutboundPoliciesExcludedSourceCandidates_List + summary: Asset get excluded source asset candidates for Outbound MFA Policy + description: Returns a list of candidates for the excluded sources of an outbound MFA policy. parameters: - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/ruleTypeParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK @@ -10619,458 +11130,441 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/review/approve/{ruleId}': - put: - operationId: AssetOTOutboundRulesReview_Approve - summary: Asset Approve a "pending review" rule - description: Approve a "pending review" rule without changes - parameters: - - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - responses: - '200': - description: OK - tags: - - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/review/approve-with-changes/{ruleId}': - put: - operationId: AssetOTOutboundRulesReview_ApproveWithChanges - summary: Asset Update Outbound Rule - description: Approve a "pending review" rule with changes + /assets/ot/{assetId}/protection/reactive-policies/outbound/filters: + get: + operationId: AssetOTMFAOutboundPoliciesFilters_Get + summary: Asset List Outbound MFA Policies Filters + description: Returns a list of filters for outbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewApproveWithChanges' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/review/reject/{ruleId}': - delete: - operationId: AssetOTOutboundRulesReview_Deny - summary: Asset '' - description: Reject a "pending review" rule (deletes rule) + /assets/ot/{assetId}/protection/reactive-policies/outbound/filters/dst-candidates: + get: + operationId: AssetOTMFAOutboundPoliciesDestinationCandidatesFilters_List + summary: Asset List Outbound MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates on outbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewReason' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/protection/rules/outbound/{ruleId}': + /assets/ot/{assetId}/protection/reactive-policies/outbound/filters/src-candidates: get: - operationId: AssetOTOutboundRule_Get - summary: Asset Get Outbound Rule - description: Returns the properties of an Outbound rule. + operationId: AssetOTMFAOutboundPoliciesSourceCandidatesFilters_List + summary: Asset Get Outbound MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates on outbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleItem' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - put: - operationId: AssetOTOutboundRule_Update - summary: Asset Update Outbound Rule - description: Returns the properties of the updated Outbound rules. + /assets/ot/{assetId}/protection/reactive-policies/outbound/filters/src-users-candidates: + get: + operationId: AssetOTMFAOutboundPoliciesSourceUsersCandidatesFilters_List + summary: Asset List Outbound MFA Policies Source Users Candidates Filters + description: Returns a list of filters for source users candidates on outbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - delete: - operationId: AssetOTOutboundRule_Delete - summary: Asset Remove Outbound Rule - description: Returns an empty object. + /assets/ot/{assetId}/protection/reactive-policies/outbound/mfa-methods: + get: + operationId: AssetOTMFAOutboundPoliciesMFAMethods_List + summary: Asset List Outbound MFA Policies Methods + description: Returns a list of MFA methods on outbound MFA policies. parameters: - $ref: '#/components/parameters/assetIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - '/assets/ot/{assetId}/tags': + /assets/ot/{assetId}/protection/reactive-policies/outbound/simulate: get: - operationId: AssetOTTags_Get - summary: Get OT asset tags - description: Returns a list of tags for an entity. + operationId: AssetOTMFAOutboundPoliciesSimulate_Test + summary: Simulate Outbound MFA access + description: Returns a list of MFA policies that would match the simulation. parameters: - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/srcUserId' + - $ref: '#/components/parameters/srcAssetId' + - $ref: '#/components/parameters/srcProcess' + - $ref: '#/components/parameters/dstAssetId' + - $ref: '#/components/parameters/dstProcess' + - $ref: '#/components/parameters/protocolType' + - $ref: '#/components/parameters/port' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/tags' + $ref: '#/components/schemas/simulationResponse' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Asset OT/IoT - /assets/protected: + /assets/ot/{assetId}/protection/reactive-policies/outbound/simulate/dst-candidates: get: - operationId: AssetsProtected_List - summary: List Protected Assets - description: Returns a list of Protected assets. + operationId: AssetOTMFAOutboundPoliciesSimulateDestinationCandidates_List + summary: List Inbound MFA Simulation Destination Candidates + description: Returns a list of destination candidates on inbound MFA simulation. parameters: + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchAssetsResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/protected/export: - post: - operationId: AssetsProtected_Export - summary: Export Protected assets - description: Returns an exportId to pass into the download API. - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBodyAssets' + - Asset OT/IoT + /assets/ot/{assetId}/protection/reactive-policies/outbound/simulate/resolve: + get: + operationId: AssetOTMFAOutboundPoliciesSimulateResolve_Get + summary: Resolve simulation parameters + description: Returns resolved simulation parameters. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/simulationParams' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/simulationParams' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - '/assets/protected/export/csv/{exportId}': + - Asset OT/IoT + /assets/ot/{assetId}/protection/reactive-policies/outbound/simulate/src-candidates: get: - operationId: AssetsProtectedExport_Get - summary: Download Protected assets export - description: Returns a csv file to be downloaded. + operationId: AssetOTMFAOutboundPoliciesSimulateSourceCandidates_List + summary: List Inbound MFA Simulation Source Candidates + description: Returns a list of source candidates on inbound MFA simulation. parameters: - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Assets - /assets/protected/filters: - get: - operationId: AssetsProtectedFilters_List - summary: List Assets Protected Filters - description: Returns a list of filters for Protected assets. + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/protected/searchId: + - Asset OT/IoT + /assets/ot/{assetId}/protection/reactive-policies/outbound/simulate/src-users-candidates: get: - operationId: Assets_Protected_Search - tags: - - Assets - summary: Search protected asset by FQDN - description: 'Given fqdn, returns assetId, if asset is found and is protected' + operationId: AssetOTMFAOutboundPoliciesSimulateSourceUserCandidates_List + summary: List Inbound MFA Simulation Source User Candidates + description: Returns a list of source user candidates on inbound MFA simulation. parameters: - - $ref: '#/components/parameters/fqdnParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetIdSearch' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] - /assets/queued: + tags: + - Asset OT/IoT + /assets/ot/{assetId}/protection/reactive-policies/outbound/src-candidates: get: - operationId: AssetsNetworkQueued_List - summary: List Assets in network learning - description: Returns a list of assets in network learning. + operationId: AssetOTMFAOutboundPoliciesSourceCandidates_List + summary: Asset List Outbound MFA Policies Source Candidates + description: Returns a list of source candidates on outbound MFA policies. parameters: + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchAssetsResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/queued/export: - post: - operationId: AssetsNetworkQueued_Export - summary: Export Network Queued assets - description: Returns an exportId to pass into the download API. - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBodyAssets' + - Asset OT/IoT + /assets/ot/{assetId}/protection/reactive-policies/outbound/src-users-candidates: + get: + operationId: AssetOTMFAOutboundPoliciesSourceUserCandidates_List + summary: Asset Get Outbound MFA Policies Source Users Candidates + description: Returns a list of source users candidates on outbound MFA policies. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - '/assets/queued/export/csv/{exportId}': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules: get: - operationId: AssetsNetworkQueuedExport_Get - summary: Download Network Queued assets export - description: Returns a csv file to be downloaded. + operationId: AssetOTRPCRules_List + summary: Asset List RPC Rules + description: Returns a list of RPC rules. parameters: - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/rpcRulesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/queued/filters: - get: - operationId: AssetsNetworkQueuedFilters_List - summary: List Assets in network learning Filters - description: Returns a list of filters for assets in network learning. + - Asset OT/IoT + post: + operationId: AssetOTRPCRules_Create + summary: Asset Create RPC Rule + description: Returns the properties of the create RPC rule. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/rpcRuleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/rpc/monitored: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/{ruleId}: get: - operationId: AssetsRPCMonitored_List - summary: RPC Monitored Assets - description: Returns a list of assets that are RPC monitored. + operationId: AssetOTRPCRule_Get + summary: Asset Get RPC Rule + description: Returns the properties of an RPC rule. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchAssetsResponse' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': @@ -11084,26 +11578,28 @@ paths: security: - api_key: [] tags: - - Assets - /assets/rpc/monitored/export: - post: - operationId: AssetsRPCMonitored_Export - summary: Export RPC Monitored assets - description: Returns an exportId to pass into the download API. + - Asset OT/IoT + put: + operationId: AssetOTRPCRule_Update + summary: Asset Update RPC Rule + description: Returns the properties of the update RPC rule. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAssets' + $ref: '#/components/schemas/rpcRuleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': @@ -11117,95 +11613,74 @@ paths: security: - api_key: [] tags: - - Assets - '/assets/rpc/monitored/export/csv/{exportId}': - get: - operationId: AssetsRPCMonitoredExport_Get - summary: Download RPCMonitored assets export - description: Returns a csv file to be downloaded. + - Asset OT/IoT + delete: + operationId: AssetOTRPCRule_Delete + summary: Asset Remove RPC Rule + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Assets - /assets/rpc/monitored/filters: - get: - operationId: AssetsRPCMonitoredFilters_List - summary: List RPC Monitored Assets Filters - description: Returns the filters that can be used for RPC monitored assets. + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/rpc/protected: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/excluded-local-candidates: get: - operationId: AssetsRPCSegmented_List - summary: List RPC Segmented Assets - description: Returns a list of assets that are RPC Segmented. + operationId: AssetOTRPCRulesExcludedDestinationCandidates_List + summary: Asset Get RPC Rules Excluded Destination Candidates + description: Returns a list of excluded destination candidates for RPC rules. parameters: + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/rpc/protected/export: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/export: post: - operationId: AssetsRPCSegmented_Export - summary: Export RPC Segmented assets + operationId: AssetOTRPCRules_Export + summary: Asset Export RPC Rules description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/assetIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyAssets' + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK @@ -11219,20 +11694,19 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - '/assets/rpc/protected/export/csv/{exportId}': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/export/csv/{exportId}: get: - operationId: AssetsRPCSegmentedExport_Get - summary: Download RPC Segmented assets export + operationId: AssetOTRPCRulesExport_Get + summary: Download assets RPC rules export description: Returns a csv file to be downloaded. parameters: + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/exportIdParameter' responses: '200': @@ -11242,15 +11716,19 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Assets - /assets/rpc/protected/filters: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/filters: get: - operationId: AssetsRPCSegmentedFilters_List - summary: List RPC Protected Assets Filters - description: Returns the filters that can be used for RPC Protected assets. + operationId: AssetOTRPCRulesFilters_List + summary: Asset List RPC Rules Filters + description: Returns a list of filters for RPC rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK @@ -11264,431 +11742,495 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/searchId: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/filters/local-candidates: get: - operationId: Assets_Search - summary: Search Asset by FQDN - description: Returns an assetId. + operationId: AssetOTRPCRulesDestinationCandidatesFilters_List + summary: Asset List RPC Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for RPC rules. parameters: - - $ref: '#/components/parameters/fqdnParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetIdSearch' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/states/statistics: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/filters/remote-candidates: get: - operationId: AssetsStatesStatistics_Get - summary: Get asset state statistics - description: Returns an object with asset state statistics. + operationId: AssetOTRPCRulesSourceCandidatesFilters_List + summary: Asset Get RPC Rules Source Candidates Filters + description: Returns a list of filters for source candidates for RPC rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsStatesStatistics' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /assets/statistics: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/filters/user-candidates: get: - operationId: AssetsStatistics_Get - summary: Get asset statistics - description: Returns an object with asset statistics. + operationId: AssetOTRPCRulesUserCandidatesFilters_List + summary: AssetOT List RPC Rules Filters User Candidates + description: Returns a list of user candidates for filters in RPC rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsStatistics' - examples: - example-1: - value: {} + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - /audit: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/local-candidates: get: - operationId: Audits_List - summary: List Audit Logs - description: Returns a list of audit events. + operationId: AssetOTRPCRulesDestinationCandidates_List + summary: Asset List RPC Rules Destination Candidates + description: Returns a list of destination candidates for RPC rules. parameters: + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/auditList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Audit - /audit/export: - post: - operationId: Audits_Export - summary: Export audit log - description: Returns an exportId to pass into the download API. - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBody' + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/remote-candidates: + get: + operationId: AssetOTRPCRulesSourceCandidates_List + summary: Asset List RPC Rules Source Candidates + description: Returns a list of source candidates for RPC rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Audit - '/audit/export/csv/{exportId}': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rpc-rules/user-candidates: get: - operationId: AuditExport_Get - summary: Download audit export - description: Returns a csv file to be downloaded. + operationId: AssetOTRPCRulesUserCandidates_List + summary: AssetOT List RPC Rules User Candidates + description: Returns a list of user candidates for RPC rules. parameters: - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Audit - /audit/filters: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/distribution/{ruleId}: get: - operationId: AuditsFilters_List - summary: List Audit Filters - description: Returns a list of filters for Audit events. + operationId: AssetOTRulesDistribution_Get + summary: Get distribution of rule hit count for a specific OT/IoT asset + description: Returns an object with rules distribution. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/ruleDirectionParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/ruleDistribution' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Audit - /auth/challenge: - post: - operationId: AuthChallenge_POST - summary: Challenge API to get token - description: Request OTP for login API. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/challengeBody' + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/history/{ruleId}: + get: + operationId: AssetOTRulesHistory_Get + summary: Get a historic version of an rule for a specific OT/IoT asset + description: Returns the properties of the previous version of the rule. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/updateIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/challengeResponse' + $ref: '#/components/schemas/historyRule' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Auth - /auth/login: - post: - operationId: AuthLogin_POST - summary: Login to get token - description: Login API after getting challenge - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/loginBody' + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound: + get: + operationId: AssetOTInboundRules_List + summary: Asset List Inbound Rules + description: Returns a list of Inbound rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityParams' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/directionParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/loginResponse' + $ref: '#/components/schemas/rulesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Auth - /auth/logout: + - Asset OT/IoT post: - operationId: AuthLogout_POST - summary: Logout - description: Logout API + operationId: AssetOTInboundRules_Create + summary: Asset Create Inbound Rule + description: Returns the properties of the created Inbound rule. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Auth - /download/segment/server: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/{ruleId}: get: - operationId: SegmentServer_Download - summary: Download the Segment server - description: Returns a temporary url to the Segment server zip. + operationId: AssetOTInboundRule_Get + summary: Asset Get Inbound Rule + description: Returns the properties of an Inbound rule. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/downloadUrl' + $ref: '#/components/schemas/ruleItem' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - /download/connect/server: - get: - operationId: ConnectServer_Download - summary: Download the Connect server - description: Returns a temporary url to the Connect server zip. + security: + - api_key: [] + tags: + - Asset OT/IoT + put: + operationId: AssetOTInboundRule_Update + summary: Asset Update Inbound Rule + description: Returns the properties of the update Inbound rule. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/downloadUrl' - '401': + $ref: '#/components/schemas/ruleResponse' + '400': + $ref: '#/components/responses/400' + '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - /download/connect/client: - get: - operationId: ConnectClient_Download - summary: Download the Connect client - description: Returns a temporary url to the Connect client zip. + security: + - api_key: [] + tags: + - Asset OT/IoT + delete: + operationId: AssetOTInboundRule_Delete + summary: Asset Remove Inbound Rule + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/connectClientDownloadParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/downloadUrl' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - /download/cloud-connector/installer: + security: + - api_key: [] + tags: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/excluded-local-candidates: get: - operationId: CloudConnectorInstaller_Download - summary: Download the Cloud Connector installer - description: Returns a temporary url to the Cloud Connector installer. + operationId: AssetOTInboundRulesExcludedDestinationCandidates_List + summary: Asset Get Inbound Rules Excluded Destination Candidates + description: Returns a list of excluded destination candidates for Inbound rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/downloadUrl' + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' - /entities/encode-ip: - get: - operationId: Entity_EncodeIP - summary: Encode IP to Asset - description: Returns the assetId after encoding the IP address. + security: + - api_key: [] + tags: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/export: + post: + operationId: AssetOTInboundRules_Export + summary: Asset Export Inbound Rules + description: Returns an exportId to pass into the download API. parameters: - - $ref: '#/components/parameters/ipParameter' + - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/encodedEntity' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Entity - /entities/encode-ip-range: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/export/csv/{exportId}: get: - operationId: Entity_EncodeIPRange - summary: Encode IP range - description: Returns the assetId after encoding the IP range. + operationId: AssetOTInboundRulesExport_Get + summary: Download assets inbound rules export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/ipRangeParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/encodedEntity' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Entity - /entities/encode-subnet: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/filters: get: - operationId: Entity_EncodeSubnet - summary: Encode IP Subnet - description: Returns the assetId after encoding the IP subnet. + operationId: AssetOTInboundRulesFilters_List + summary: Asset List Inbound Rules Filters + description: Returns a list of filters for Inbound rules. parameters: - - $ref: '#/components/parameters/ipSubnetParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/encodedEntity' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -11702,103 +12244,112 @@ paths: security: - api_key: [] tags: - - Entity - /environments/cluster-strategy: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/filters/local-candidates: get: - operationId: SettingsClusterStrategy_Get - summary: Get cluster strategy configurattion - description: Returns cluster strategy configuration. + operationId: AssetOTInboundRulesDestinationCandidatesFilters_List + summary: Asset List Inbound Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for Inbound rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsClusterStrategy' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings - put: - operationId: SettingsClusterStrategy_Update - summary: Set cluster strategy configurattion - description: Returns an empty response. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsClusterStrategyBody' + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/filters/remote-candidates: + get: + operationId: AssetOTInboundRulesSourceCandidatesFilters_List + summary: Asset Get Inbound Rules Source Candidates Filters + description: Returns a list of filters for source candidates for Inbound rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings - /environments/deployments: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/local-candidates: get: - operationId: SegmentServers_List - summary: List segment server deployments - description: Returns a list of segment servers. + operationId: AssetOTInboundRulesDestinationCandidates_List + summary: Asset List Inbound Rules Destination Candidates + description: Returns a list of destination candidates for Inbound rules. + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/deploymentsList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Segement Servers - /groups: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/remote-candidates: get: - operationId: Groups_List - summary: List Groups - description: Returns a list of groups. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + operationId: AssetOTInboundRulesSourceCandidates_List + summary: Asset List Inbound Rules Source Candidates + description: Returns a list of source candidates for Inbound rules. parameters: + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/optionalOffsetParameter' - - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchGroupsResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -11810,109 +12361,99 @@ paths: security: - api_key: [] tags: - - Groups - /groups/ad/export: - post: - operationId: ADGroups_Export - summary: Export AD Groups - description: export list of AD groups. + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/review/approve-with-changes/{ruleId}: + put: + operationId: AssetOTInboundRulesReview_ApproveWithChanges + summary: Asset Update Inbound Rule + description: Approve a "pending review" rule with changes + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' content: application/json: schema: - $ref: '#/components/schemas/exportBody' + $ref: '#/components/schemas/ruleReviewApproveWithChanges' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups Active Directory - '/groups/ad/export/csv/{exportId}': - get: - operationId: ADGroupsExport_Get - summary: Download Ad groups Export - description: Returns a csv file to be downloaded. + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/review/approve/{ruleId}: + put: + operationId: AssetOTInboundRulesReview_Approve + summary: Asset Approve a "pending review" rule + description: Approve a "pending review" rule without changes parameters: - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] + '401': + $ref: '#/components/responses/401' tags: - - Groups Active Directory - /groups/custom: - post: - operationId: CustomGroups_Create - summary: Create Custom Group - description: Returns an empty object. + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/inbound/review/reject/{ruleId}: + delete: + operationId: AssetOTInboundRulesReview_Deny + summary: Asset '' + description: Reject a "pending review" rule (deletes rule) + parameters: + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' requestBody: - required: true content: application/json: schema: - $ref: '#/components/schemas/customGroupBody' + $ref: '#/components/schemas/ruleReviewReason' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/customGroupResponse' '400': $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Groups Custom - '/groups/custom/{groupId}': - put: - operationId: CustomGroups_Update - summary: Update Custom Group - description: Returns an empty object. + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound: + get: + operationId: AssetOTOutboundRules_List + summary: Asset List Outbound Rules + description: Returns a list of Outbound rules. parameters: - - $ref: '#/components/parameters/groupIdParameter' - requestBody: - description: Custom Group properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/customGroupBody' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityParams' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/directionParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/customGroupResponse' + $ref: '#/components/schemas/rulesList' '400': $ref: '#/components/responses/400' '401': @@ -11924,147 +12465,138 @@ paths: security: - api_key: [] tags: - - Groups Custom - delete: - operationId: CustomGroups_Delete - summary: Delete Custom Group - description: Returns an empty object. + - Asset OT/IoT + post: + operationId: AssetOTOutboundRules_Create + summary: Asset Create Outbound Rule + description: Returns the properties of the created Outbound rule. parameters: - - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/assetIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups Custom - /groups/custom/member-candidates: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/{ruleId}: get: - operationId: CustomGroupsCandidates_List - summary: List Custom Groups member candidates - description: Returns a list of candidates for custom group membership. + operationId: AssetOTOutboundRule_Get + summary: Asset Get Outbound Rule + description: Returns the properties of an Outbound rule. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/groupIdQueryParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsList' + $ref: '#/components/schemas/ruleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups Custom - '/groups/custom/{groupId}/members': + - Asset OT/IoT put: - operationId: CustomGroupsMembers_Add - summary: Add Custom Group members - description: Returns an empty object. + operationId: AssetOTOutboundRule_Update + summary: Asset Update Outbound Rule + description: Returns the properties of the updated Outbound rules. parameters: - - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' requestBody: - description: Custom Group Members properties + description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/customGroupMembersBody' + $ref: '#/components/schemas/ruleBody' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups Custom + - Asset OT/IoT delete: - operationId: CustomGroupsMembers_Delete - summary: Delete Custom Group members + operationId: AssetOTOutboundRule_Delete + summary: Asset Remove Outbound Rule description: Returns an empty object. parameters: - - $ref: '#/components/parameters/groupIdParameter' - requestBody: - description: Custom Group Members properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/customGroupMembersBody' - responses: - '200': - description: OK - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Groups Custom - /groups/statistics: - get: - operationId: GroupsStatistics_Get - summary: Get Group statistics - description: Returns an object with group statistics. + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/groupsStatistics' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - /groups/tag/member-candidates: + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/excluded-local-candidates: get: - operationId: TagGroupsCandidates_List - summary: List Tag Groups member candidates - description: Returns a list of candidates for tag group membership. + operationId: AssetOTOutboundRulesExcludedSourceCandidates_List + summary: Asset List Outbound Rules Excluded Source Candidates + description: Returns a list of excluded source candidates for Outbound rules. parameters: + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/groupIdQueryParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -12072,7 +12604,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/groupsList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -12084,88 +12616,76 @@ paths: security: - api_key: [] tags: - - Groups Tag - '/groups/tag/{groupId}/members': - put: - operationId: TagGroupsMembers_Add - summary: Add Tag Group members. - description: Returns an empty object. + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/export: + post: + operationId: AssetOTOutboundRules_Export + summary: Asset Export Outbound Rules + description: Returns an exportId to pass into the download API. parameters: - - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/assetIdParameter' requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/tagGroupBody' + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/emptyResponse' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups Custom - delete: - operationId: TagGroupsMembers_delete - summary: Remove tag group members - description: Remove tag group members by members id. + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/export/csv/{exportId}: + get: + operationId: AssetOTOutboundRulesExport_Get + summary: Download assets outbound rules export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/groupIdParameter' - requestBody: - description: Tag Group Members properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/customGroupMembersBody' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK - '400': - $ref: '#/components/responses/400' + content: + text/csv: + schema: + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups Tag - '/groups/{groupType}': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/filters: get: - operationId: GroupsByType_List - summary: List Groups - description: Returns a list of groups. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + operationId: AssetOTOutboundRulesFilters_List + summary: Asset List Outbound Rules Filters + description: Returns a list of filters for Outbound rules. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchGroupsResponse' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -12177,14 +12697,14 @@ paths: security: - api_key: [] tags: - - Groups - '/groups/{groupType}/filters': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/filters/excluded-local-candidates: get: - operationId: GroupsFilters_Get - summary: List filters for groups - description: Returns a list of filters for Groups. + operationId: AssetOTOutboundRulesExcludedSourceCandidatesFilters_List + summary: Asset List Outbound Rules Excluded Source Candidates Filters + description: Returns a list of filters for excluded source candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK @@ -12203,225 +12723,195 @@ paths: security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/filters/local-candidates: get: - operationId: Group_Get - summary: Get a group - description: Returns the properties of an group. + operationId: AssetOTOutboundRulesSourceCandidatesFilters_List + summary: Asset List Outbound Rules Source Candidates Filters + description: Returns a list of filters for source candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/ancestors': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/filters/remote-candidates: get: - operationId: GroupMemberOf_Get - summary: Get a groups ancestors - description: Returns a list of groups the group is a member of. + operationId: AssetOTOutboundRulesDestinationCandidatesFilters_List + summary: Asset List Outbound Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ancestors' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/audit': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/filters/user-candidates: get: - operationId: GroupAudit_Get - summary: Get a groups audits - description: Returns a list of audits for the group. + operationId: AssetOTOutboundRulesUserCandidatesFilters_List + summary: List Outbound Rules Filters User Candidates for an asset + description: Returns a list of user candidates for filters in Outbound rules. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/orderParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/auditList' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/audit/export': - post: - operationId: groupsAudit_Export - summary: Export groups audits - description: Returns an exportId to pass into the download API. + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/local-candidates: + get: + operationId: AssetOTOutboundRulesSourceCandidates_List + summary: Asset List Outbound Rules Source Candidates + description: Returns a list of source candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBody' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/audit/export/csv/{exportId}': - get: - operationId: GroupsAuditExport_Get - summary: Download groups audit export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Group - '/groups/{groupType}/{groupId}/audit/filters': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/remote-candidates: get: - operationId: GroupsAuditsFilters_List - summary: List Audit Filters for a specific Group - description: Returns a list of filters for Audit events for a specific group. + operationId: AssetOTOutboundRulesDestinationCandidates_List + summary: Asset List Outbound Destination Candidates + description: Returns a list of destination candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/managers': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/user-candidates: get: - operationId: Groups-AssetManagers_List - summary: Get managers of group - description: Get asset managers of group + operationId: AssetOTOutboundRulesUserCandidates_List + summary: List Source Rules User Candidates for an asset + description: Returns a list of users candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/assetIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK - headers: {} content: application/json: schema: - $ref: '#/components/schemas/managersList' + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - post: - operationId: Groups-AssetManagers_Add - summary: Add asset manager of group - description: Add an asset manager of a group + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/review/approve-with-changes/{ruleId}: + put: + operationId: AssetOTOutboundRulesReview_ApproveWithChanges + summary: Asset Update Outbound Rule + description: Approve a "pending review" rule with changes parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' requestBody: - description: Array of managers to add - required: true content: application/json: schema: - $ref: '#/components/schemas/assetManagersBody' + $ref: '#/components/schemas/ruleReviewApproveWithChanges' responses: '200': description: OK @@ -12438,109 +12928,85 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/managers/candidates': - get: - operationId: Groups-AssetManagersCandidates_List - summary: Get manager candidates - description: Get manager candidates for group managers + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/review/approve/{ruleId}: + put: + operationId: AssetOTOutboundRulesReview_Approve + summary: Asset Approve a "pending review" rule + description: Approve a "pending review" rule without changes parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/managers/{groupOrUserId}': + - Asset OT/IoT + /assets/ot/{assetId}/protection/rules/outbound/review/reject/{ruleId}: delete: - operationId: Groups-AssetManagers_Delete - summary: Remove asset manager - description: Remove asset manager of group + operationId: AssetOTOutboundRulesReview_Deny + summary: Asset '' + description: Reject a "pending review" rule (deletes rule) parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupOrUserIdParameter' + - $ref: '#/components/parameters/assetIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ruleReviewReason' responses: '200': description: OK '400': $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/managed-assets': + - Asset OT/IoT + /assets/ot/{assetId}/tags: get: - operationId: Groups-ManagedAssets_List - summary: Get managed assets - description: Get managed assets for group + operationId: AssetOTTags_Get + summary: Get OT asset tags + description: Returns a list of tags for an entity. parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/assetIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/managedAssetsList' + $ref: '#/components/schemas/tags' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group + - Asset OT/IoT + /assets/ot/actions/protect: post: - operationId: Groups-ManagedAssets_Add - summary: Add a managed assets - description: Add a managed assets for group - parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' + operationId: AssetsOTNetworkSegment_Protect + summary: Assets OT/IoT add to network segmentation + description: Returns an empty response. requestBody: - description: Array of assets to add + description: Array of assetIds to move to protection required: true content: application/json: schema: - $ref: '#/components/schemas/managedAssetsBody' + $ref: '#/components/schemas/assetsProtectBody' responses: '200': - description: OK + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': @@ -12552,25 +13018,24 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/managed-assets/candidates': - get: - operationId: Groups-ManagedAssetsCandidates_List - summary: Get asset manager candidates - description: Get asset candidates to be managed by group - parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Assets OT/IoT + /assets/ot/actions/queue: + post: + operationId: AssetsOtNetwork_Queue + summary: Move OT asset from monitored to learning + description: Returns and empty object. + requestBody: + description: Array of assetIds to move to protection + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsQueueBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': @@ -12582,19 +13047,21 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/managed-assets/{groupOrAssetId}': - delete: - operationId: Groups-ManagedAssets_Delete - summary: Remove asset manager - description: Remove managed asset of group - parameters: - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupOrAssetIdParameter' + - Assets + put: + operationId: AssetsOtExtendNetwork_Queue + summary: Extend OT asset learning period + description: Returns an empty object. + requestBody: + description: Array of assetIds to move to protection + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/queueExtendBody' responses: '200': - description: OK + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -12608,29 +13075,21 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules': - get: - operationId: GroupsIdentityRules_List - summary: Groups List Identity Rules - description: Returns a list of identity segmentation rules. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - Assets + /assets/ot/actions/unprotect: + post: + operationId: AssetsOTNetworkSegment_Unprotect + summary: Unprotect OT/IoT Asset from network segmentation + description: Returns and empty body. + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsUnprotectBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityRulesList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -12644,27 +13103,26 @@ paths: security: - api_key: [] tags: - - Group + - Assets OT/IoT + /assets/ot/export: post: - operationId: GroupsIdentityRules_Create - summary: Groups Create an Identity Rule - description: Returns a the identity segmentation rule. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + operationId: AssetsOT_Export + summary: Export ot assets + description: Returns an exportId to pass into the download API. requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true content: application/json: schema: - $ref: '#/components/schemas/identityRuleBody' - required: true + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -12678,25 +13136,40 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/asset-candidates': + - Assets + /assets/ot/export/csv/{exportId}: get: - operationId: GroupsIdentityRulesAssetsCandidates_List - summary: Groups List Identity Rules Assets Candidates - description: Returns a list of assets candidates for Identity rules. + operationId: AssetsOTExport_Get + summary: Download ot assets export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Assets + /assets/ot/filters: + get: + operationId: AssetsOTFilters_List + summary: List OT/IoT Assets Filters + description: Returns a list of filters for OT/IoT assets. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -12708,52 +13181,86 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/excluded-asset-candidates': + - Assets OT/IoT + /assets/preferred-deployment: get: - operationId: GroupsIdentityRulesExcludedAssetsCandidates_List - summary: Groups List Identity Rules Excluded Assets Candidates - description: Returns a list of excluded Assets candidates for Identity rules. + operationId: AssetsPreferredSegmentServer_Get + summary: get the preferred segment server for an asset + description: Returns the preferred segment server id. + requestBody: + description: The assetId + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsPreferredSegmentServerBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsPreferredSegmentServer' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Assets + /assets/protected: + get: + operationId: AssetsNetworkSegmented_List + summary: List Protected Assets + description: Returns a list of Protected assets. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/export': + - Assets + /assets/protected/export: post: - operationId: GroupsIdentityRules_Export - summary: Groups Export Identity Rules + operationId: AssetsNetworkSegmented_Export + summary: Export Protected assets description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyRules' + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK @@ -12767,20 +13274,20 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/export/csv/{exportId}': + - Assets + /assets/protected/export/csv/{exportId}: get: - operationId: GroupsIdentityRulesExport_Get - summary: Groups Download Identity Rules Export + operationId: AssetsProtectedExport_Get + summary: Download Protected assets export description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/exportIdParameter' responses: '200': @@ -12790,18 +13297,17 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/filters': + - Assets + /assets/protected/filters: get: - operationId: GroupsIdentityRulesFilters_List - summary: Groups List Identity Rules Filters - description: Returns a list of filters for Identity rules. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + operationId: AssetsProtectedFilters_List + summary: List Assets Protected Filters + description: Returns a list of filters for Protected assets. responses: '200': description: OK @@ -12822,113 +13328,88 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/filters/asset-candidates': + - Assets + /assets/protected/searchId: get: - operationId: GroupsIdentityRulesAssetsCandidatesFilters_List - summary: Groups List Identity Rules Filters Assets Candidates - description: Returns a list of assets candidates for filters in Identity rules. + operationId: AssetsNetworkSegmented_Search + tags: + - Assets + summary: Search protected asset by FQDN + description: 'Given fqdn, returns assetId, if asset is found and is protected' parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/fqdnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/assetIdSearch' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] - tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/filters/user-candidates': + /assets/queued: get: - operationId: GroupsIdentityRulesUserCandidatesFilters_List - summary: Groups List Identity Rules Filters User Candidates - description: Returns a list of user candidates for filters in Identity rules. + operationId: AssetsNetworkQueued_List + summary: List Assets in network learning + description: Returns a list of assets in network learning. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/user-candidates': - get: - operationId: GroupsIdentityRulesUserCandidates_List - summary: Groups List Identity Rules User Candidates - description: Returns a list of user candidates for Identity rules. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/groupsOrUsersList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity-rules/{ruleId}': - get: - operationId: GroupsIdentityRules_Get - summary: Groups Get Identity Rule - description: Returns an identity segmentation rule. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - Assets + /assets/queued/export: + post: + operationId: AssetsNetworkQueued_Export + summary: Export Network Queued assets + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -12942,53 +13423,40 @@ paths: security: - api_key: [] tags: - - Group - put: - operationId: GroupsIdentityRules_Update - summary: Groups Update an Identity Rule - description: Returns a the identity segmentation rule. + - Assets + /assets/queued/export/csv/{exportId}: + get: + operationId: AssetsNetworkQueuedExport_Get + summary: Download Network Queued assets export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleBody' - required: true + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/identityRuleItem' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - delete: - operationId: GroupsIdentityRules_Delete - summary: Groups Remove Identity Rule - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - Assets + /assets/queued/filters: + get: + operationId: AssetsNetworkQueuedFilters_List + summary: List Assets in network learning Filters + description: Returns a list of filters for assets in network learning. responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -13002,30 +13470,22 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies': - get: - operationId: GroupsMFAIdentityPolicies_List - summary: List Identity MFA Policies - description: Returns a list of identity MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - Assets + /assets/rpc-actions/monitor: + post: + operationId: AssetsRpcMonitoring_Add + summary: Add assets to RPC monitoring + description: Returns and empty object. + requestBody: + description: Array of asset ids to add to RPC monitoring + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsRpcBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -13039,56 +13499,51 @@ paths: security: - api_key: [] tags: - - Groups + - Assets + /assets/rpc-actions/protect: post: - operationId: GroupsMFAIdentityPolicies_Create - summary: Add Identity MFA Policy - description: Returns the properties of the identity MFA policy after creation. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + operationId: AssetsRpcSegment_Protect + summary: Add assets to RPC segmentation + description: Returns and empty object. requestBody: - description: MFA properties + description: Array of asset ids to add to RPC segmentation required: true content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyBody' + $ref: '#/components/schemas/assetsRpcBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyItem' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/{reactivePolicyId}': - get: - operationId: GroupsMFAIdentityPolicies_Get - summary: Get Identity MFA Policy - description: Returns a Identity MFA policy object. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - Assets + /assets/rpc-actions/queue: + post: + operationId: AssetsRPC_Queue + summary: Move asset from monitored to RPC learning + description: Returns and empty object. + requestBody: + description: Array of assetIds to move to RPC learning + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsRPCQueueBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyResponse' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -13102,29 +13557,21 @@ paths: security: - api_key: [] tags: - - Groups + - Assets put: - operationId: GroupsMFAIdentityPolicies_Update - summary: Update Identity MFA Policy - description: Returns the properties of the Identity MFA policy after updating. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + operationId: AssetsExtendRPC_Queue + summary: Extend asset RPC learning period + description: Returns an empty object. requestBody: - description: Rule properties + description: Array of assetIds to extend RPC learning required: true content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyBody' + $ref: '#/components/schemas/queueExtendRPCBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyItem' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -13138,18 +13585,22 @@ paths: security: - api_key: [] tags: - - Groups - delete: - operationId: GroupsMFAIdentityPolicies_Delete - summary: Remove Identity MFA Policy - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - Assets + /assets/rpc-actions/unmonitor: + post: + operationId: AssetsRpcMonitoring_Delete + summary: Remove assets from RPC monitoring + description: Returns and empty object. + requestBody: + description: Array of asset ids to remove from RPC monitoring + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsRpcBody' responses: '200': - description: OK + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -13163,25 +13614,22 @@ paths: security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/dst-asset-candidates': - get: - operationId: GroupsMFAIdentityPoliciesDestinationCandidates_List - summary: Get destination assets for Identity MFA Policy - description: Returns a list of candidates for the destination of an identity MFA policy. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Assets + /assets/rpc-actions/unprotect: + post: + operationId: AssetsRpcSegment_Unprotect + summary: Remove assets from RPC segmentation + description: Returns and empty object. + requestBody: + description: Array of asset ids to remove from RPC segmentation + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetsRpcBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -13195,26 +13643,27 @@ paths: security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/excluded-src-asset-candidates': + - Assets + /assets/rpc/monitored: get: - operationId: GroupsMFAIdentityPoliciesExcludedSourceCandidates_List - summary: Fet excluded source asset candidates for Identity MFA Policy - description: Returns a list of candidates for the excluded sources of an Identity MFA policy. + operationId: AssetsRPCMonitored_List + summary: RPC Monitored Assets + description: Returns a list of assets that are RPC monitored. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': @@ -13228,82 +13677,73 @@ paths: security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/filters': - get: - operationId: GroupsMFAIdentityPoliciesFilters_List - summary: List Identity MFA Policy Filters - description: Returns a list of filters for Identity MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + - Assets + /assets/rpc/monitored/export: + post: + operationId: AssetsRPCMonitored_Export + summary: Export RPC Monitored assets + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/filters/dst-asset-candidates': + - Assets + /assets/rpc/monitored/export/csv/{exportId}: get: - operationId: GroupsMFAIdentityPoliciesDestinationCandidatesFilters_List - summary: Get Identity MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates for Identity MFA policies. + operationId: AssetsRPCMonitoredExport_Get + summary: Download RPCMonitored assets export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/assetsFiltersList' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/filters/src-asset-candidates': + - Assets + /assets/rpc/monitored/filters: get: - operationId: GroupsMFAIdentityPoliciesSourceCandidatesFilters_List - summary: List Identity MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates for Identity MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: AssetsRPCMonitoredFilters_List + summary: List RPC Monitored Assets Filters + description: Returns the filters that can be used for RPC monitored assets. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -13315,112 +13755,107 @@ paths: security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/filters/src-users-candidates': + - Assets + /assets/rpc/protected: get: - operationId: GroupsMFAIdentityPoliciesSourceUsersCandidatesFilters_List - summary: Get Identity MFA Policies Source Users Filters - description: Resturns a list of filters for source users on Identity MFA policies. + operationId: AssetsRPCSegmented_List + summary: List RPC Segmented Assets + description: Returns a list of assets that are RPC Segmented. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/assetList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/mfa-methods': - get: - operationId: GroupsMFAIdentityPoliciesMFAMethods_List - summary: List Identity MFA Policy Methods - description: Returns a list of MFA methods for Identity MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + - Assets + /assets/rpc/protected/export: + post: + operationId: AssetsRPCSegmented_Export + summary: Export RPC Segmented assets + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/src-asset-candidates': + - Assets + /assets/rpc/protected/export/csv/{exportId}: get: - operationId: GroupsMFAIdentityPoliciesSourceCandidates_List - summary: List Identity MFA Polcies Source Candidates - description: Returns a list of source candidates on Identity MFA policies. + operationId: AssetsRPCSegmentedExport_Get + summary: Download RPC Segmented assets export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/identity/reactive-policies/src-users-candidates': + - Assets + /assets/rpc/protected/filters: get: - operationId: GroupsMFAIdentityPoliciesSourceUserCandidates_List - summary: List Identity MFA Policies Source Users Candidates - description: Returns a list of source user candidates for Identity MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: AssetsRPCSegmentedFilters_List + summary: List RPC Protected Assets Filters + description: Returns the filters that can be used for RPC Protected assets. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -13432,124 +13867,107 @@ paths: security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound': + - Assets + /assets/rpc/queued: get: - operationId: GroupsMFAInboundPolicies_List - summary: Groups List Inbound MFA Policies - description: Returns a list of inbound MFA policies. + operationId: AssetsRPCQueued_List + summary: List Assets in RPC learning + description: Returns a list of assets in RPC learning. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyList' + $ref: '#/components/schemas/searchAssetsResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group + - Assets + /assets/rpc/queued/export: post: - operationId: GroupsMFAInboundPolicies_Create - summary: Groups Add Inbound MFA Policy - description: Returns the properties of the inbound MFA policy after creation. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + operationId: AssetsRPCQueued_Export + summary: Export RPC Queued assets + description: Returns an exportId to pass into the download API. requestBody: - description: MFA properties + description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyInboundBody' + $ref: '#/components/schemas/exportBodyAssets' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/dst-candidates': + - Assets + /assets/rpc/queued/export/csv/{exportId}: get: - operationId: GroupsMFAInboundPoliciesDestinationCandidates_List - summary: Groups Get destination assets for Inbound MFA Policy - description: Returns a list of candidates for the destionation of an inbound MFA policy. + operationId: AssetsRPCQueuedExport_Get + summary: Download RPC Queued assets export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/excluded-src-candidates': + - Assets + /assets/rpc/queued/filters: get: - operationId: GroupsMFAInboundPoliciesExcludedSourceCandidates_List - summary: Groups get excluded source asset candidates for Inbound MFA Policy - description: Returns a list of candidates for the excluded sources of an inbound MFA policy. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + operationId: AssetsRPCQueuedFilters_List + summary: List Assets in RPC learning Filters + description: Returns a list of filters for assets in RPC learning. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -13563,22 +13981,19 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/filters': + - Assets + /assets/scripts/fix-wmi: get: - operationId: GroupsMFAInboundPoliciesFilters_List - summary: Groups List Inbound MFA Policy Filters - description: Returns a list of filters for inbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + operationId: AssetsScripts_FixWmi + summary: Get fix-wmi.sh script + description: Returns the script as application/octet-stream. responses: '200': description: OK content: - application/json: + application/octet-stream: schema: - $ref: '#/components/schemas/filtersList' + type: string '400': $ref: '#/components/responses/400' '401': @@ -13590,25 +14005,19 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/filters/dst-candidates': + - Assets + /assets/scripts/test-udp-net-connection/powershell: get: - operationId: GroupsMFAInboundPoliciesDestinationCandidatesFilters_List - summary: Groups Get Inbound MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates for inbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: AssetsScriptsPowerShellTestUdpNetConnection_Get + summary: Get testUdpNetConnection.ps1 script + description: Returns the script as application/octet-stream. responses: '200': description: OK content: - application/json: + application/octet-stream: schema: - $ref: '#/components/schemas/assetsFiltersList' + type: string '400': $ref: '#/components/responses/400' '401': @@ -13620,25 +14029,19 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/filters/src-candidates': + - Assets + /assets/scripts/test-udp-net-connection/python: get: - operationId: GroupsMFAInboundPoliciesSourceCandidatesFilters_List - summary: Groups List Inbound MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates for inbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: AssetsScriptsPythonTestUdpNetConnection_Get + summary: Get testUdpNetConnection.py script + description: Returns the script as application/octet-stream. responses: '200': description: OK content: - application/json: + application/octet-stream: schema: - $ref: '#/components/schemas/assetsFiltersList' + type: string '400': $ref: '#/components/responses/400' '401': @@ -13650,86 +14053,73 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/filters/src-users-candidates': + - Assets + /assets/searchId: get: - operationId: GroupsMFAInboundPoliciesSourceUsersCandidatesFilters_List - summary: Groups Get Inbound MFA Policies Source Users Filters - description: Resturns a list of filters for source users on inbound MFA policies. + operationId: Assets_Search + summary: Search Asset by FQDN + description: Returns an assetId. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/fqdnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/assetIdSearch' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/mfa-methods': + - Assets + /assets/states/statistics: get: - operationId: GroupsMFAInboundPoliciesMFAMethods_List - summary: Groups List Inbound MFA Policy Methods - description: Returns a list of MFA methods for inbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + operationId: AssetsStatesStatistics_Get + summary: Get asset state statistics + description: Returns an object with asset state statistics. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/assetsStatesStatistics' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate': + - Assets + /assets/statistics: get: - operationId: GroupsMFAInboundPoliciesSimulate_Test - summary: Simulate Outbound MFA access - description: Returns a list of MFA policies that would match the simulaton. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/srcUserId' - - $ref: '#/components/parameters/srcAssetId' - - $ref: '#/components/parameters/srcProcess' - - $ref: '#/components/parameters/dstAssetId' - - $ref: '#/components/parameters/dstProcess' - - $ref: '#/components/parameters/protocolType' - - $ref: '#/components/parameters/port' + operationId: AssetsStatistics_Get + summary: Get asset statistics + description: Returns an object with asset statistics. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/simulationResponse' + $ref: '#/components/schemas/assetsStatistics' '400': $ref: '#/components/responses/400' '401': @@ -13743,201 +14133,184 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate/dst-candidates': + - Assets + /assets/switches: get: - operationId: GroupsMFAInboundPoliciesSimulateDestinationCandidates_List - summary: List Inbound MFA Simulation Destination Candidates - description: Returns a list of destination candidates on inbound MFA simulation. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: Switches_Get + summary: Get switches + description: Returns all switches. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/switchArray' + examples: + example-1: + value: { } '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate/resolve': - get: - operationId: GroupsMFAInboundPoliciesSimulateResolve_Get - summary: Resolve simulation parameters - description: Returns resolved simulation parameters. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/simulationParams' + - Switch + put: + operationId: Switches_put + description: create a switch + summary: add new switch + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/switch' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/simulationParams' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate/src-candidates': - get: - operationId: GroupsMFAInboundPoliciesSimulateSourceCandidates_List - summary: List Inbound MFA Simulation Source Candidates - description: Returns a list of source candidates on inbound MFA simulation. + - Switch + /assets/switches/{switchId}: + patch: + operationId: Switches_patch + summary: edit switch + description: update a switch parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/switchIdParameter' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/switch' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate/src-users-candidates': - get: - operationId: GroupsMFAInboundPoliciesSimulateSourceUserCandidates_List - summary: List Inbound MFA Simulation Source User Candidates - description: Returns a list of source user candidates on inbound MFA simulation. + - Switch + delete: + operationId: Switches_delete + summary: delete switch + description: delete a switch parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/switchIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/src-candidates': + - Switch + /assets/switches/{switchId}/interfaces: get: - operationId: GroupsMFAInboundPoliciesSourceCandidates_List - summary: Groups List Inbound MFA Polcies Source Candidates - description: Returns a list of source candidates on inbound MFA policies. + operationId: Switches_get_interfaces + summary: get switches interfaces + description: list switch interfaces parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/switchIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/src-users-candidates': + - Switch + /audit: get: - operationId: GroupsMFAInboundPoliciesSourceUserCandidates_List - summary: Groups List Inbound MFA Policies Source Users Candidates - description: Returns a list of source user candidates for inbound MFA policies. + operationId: Audits_List + summary: List Audit Logs + description: Returns a list of audit events. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/auditList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/inbound/{reactivePolicyId}': - get: - operationId: GroupsMFAInboundPolicies_Get - summary: Groups Get Inbound MFA Policy - description: Returns a inbound MFA policy object. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - Audit + /audit/export: + post: + operationId: Audits_Export + summary: Export audit log + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyResponse' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -13951,54 +14324,40 @@ paths: security: - api_key: [] tags: - - Group - put: - operationId: GroupsMFAInboundPolicies_Update - summary: Groups Update Inbound MFA Policy - description: Returns the properties of the inbound MFA policy after updating. + - Audit + /audit/export/csv/{exportId}: + get: + operationId: AuditExport_Get + summary: Download audit export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyInboundBody' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/reactivePolicyItem' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - delete: - operationId: GroupsMFAInboundPolicies_Delete - summary: Groups Remove Inbound MFA Policy - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - Audit + /audit/filters: + get: + operationId: AuditsFilters_List + summary: List Audit Filters + description: Returns a list of filters for Audit events. responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -14007,219 +14366,179 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound': - get: - operationId: GroupsMFAOutboundPolicies_List - summary: Groups List Outbound MFA Policies - description: Returns a list of outbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - Audit + /auth/challenge: + post: + operationId: AuthChallenge_POST + summary: Challenge API to get token + description: Request OTP for login API. + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/challengeBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyList' + $ref: '#/components/schemas/challengeResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Group + - Auth + /auth/login: post: - operationId: GroupsMFAOutboundPolicies_Create - summary: Groups Add Outbound MFA Policy - description: Returns a the properties of outbound MFA policy created. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + operationId: AuthLogin_POST + summary: Login to get token + description: Login API after getting challenge requestBody: - description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyOutboundBody' + $ref: '#/components/schemas/loginBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/loginResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + tags: + - Auth + /auth/logout: + post: + operationId: AuthLogout_POST + summary: Logout + description: Logout API + responses: + '200': + description: OK '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/dst-candidates': + - Auth + /download/cloud-connector/installer: get: - operationId: GroupsMFAOutboundPoliciesDestinationCandidates_List - summary: Groups List Outbound MFA Policies Destination Candidates - description: Returns a list of destination candidates on outbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: CloudConnectorInstaller_Download + summary: Download the Cloud Connector installer + description: Returns a temporary url to the Cloud Connector installer. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' + $ref: '#/components/schemas/downloadUrl' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/excluded-src-candidates': + /download/connect/client: get: - operationId: GroupsMFAOutboundPoliciesExcludedSourceCandidates_List - summary: Groups get excluded source asset candidates for Outbound MFA Policy - description: Returns a list of candidates for the excluded sources of an outbound MFA policy. + operationId: ConnectClient_Download + summary: Download the Connect client + description: Returns a temporary url to the Connect client zip. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + - $ref: '#/components/parameters/connectClientDownloadParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' + $ref: '#/components/schemas/downloadUrl' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/filters': + /download/connect/server: get: - operationId: GroupsMFAOutboundPoliciesFilters_Get - summary: Groups List Outbound MFA Policies Filters - description: Returns a list of filters for outbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + operationId: ConnectServer_Download + summary: Download the Connect server + description: Returns a temporary url to the Connect server zip. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' - '400': - $ref: '#/components/responses/400' + $ref: '#/components/schemas/downloadUrl' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/filters/dst-candidates': + /download/segment/server: get: - operationId: GroupsMFAOutboundPoliciesDestinationCandidatesFilters_List - summary: Groups List Outbound MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates on outbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: SegmentServer_Download + summary: Download the Segment server + description: Returns a temporary url to the Segment server zip. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' - '400': - $ref: '#/components/responses/400' + $ref: '#/components/schemas/downloadUrl' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate': + /entities/encode-ip: get: - operationId: GroupsMFAOutboundPoliciesSimulate_Test - summary: Simulate Outbound MFA access - description: Returns a list of MFA policies that would match the simulaton. + operationId: Entity_EncodeIP + summary: Encode IP to Asset + description: Returns the assetId after encoding the IP address. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/srcUserId' - - $ref: '#/components/parameters/srcAssetId' - - $ref: '#/components/parameters/srcProcess' - - $ref: '#/components/parameters/dstAssetId' - - $ref: '#/components/parameters/dstProcess' - - $ref: '#/components/parameters/protocolType' - - $ref: '#/components/parameters/port' + - $ref: '#/components/parameters/ipParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/simulationResponse' + $ref: '#/components/schemas/encodedEntity' '400': $ref: '#/components/responses/400' '401': @@ -14233,173 +14552,185 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate/dst-candidates': + - Entity + /entities/encode-ip-range: get: - operationId: GroupsMFAOutboundPoliciesSimulateDestinationCandidates_List - summary: List Inbound MFA Simulation Destination Candidates - description: Returns a list of destination candidates on inbound MFA simulation. + operationId: Entity_EncodeIPRange + summary: Encode IP range + description: Returns the assetId after encoding the IP range. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ipRangeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/encodedEntity' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate/resolve': + - Entity + /entities/encode-subnet: get: - operationId: GroupsMFAOutboundPoliciesSimulateResolve_Get - summary: Resolve simulation parameters - description: Returns resolved simulation parameters. + operationId: Entity_EncodeSubnet + summary: Encode IP Subnet + description: Returns the assetId after encoding the IP subnet. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/simulationParams' + - $ref: '#/components/parameters/ipSubnetParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/simulationParams' + $ref: '#/components/schemas/encodedEntity' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate/src-candidates': + - Entity + /environments/cluster-strategy: get: - operationId: GroupsMFAOutboundPoliciesSimulateSourceCandidates_List - summary: List Inbound MFA Simulation Source Candidates - description: Returns a list of source candidates on inbound MFA simulation. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: SettingsClusterStrategy_Get + summary: Get cluster strategy configuration + description: Returns cluster strategy configuration. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/settingsClusterStrategy' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate/src-users-candidates': + - Settings + put: + operationId: SettingsClusterStrategy_Update + summary: Set cluster strategy configuration + description: Returns an empty response. + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsClusterStrategyBody' + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings + /environments/deployments: get: - operationId: GroupsMFAOutboundPoliciesSimulateSourceUserCandidates_List - summary: List Inbound MFA Simulation Source User Candidates - description: Returns a list of source user candidates on inbound MFA simulation. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: SegmentServers_List + summary: List segment server deployments + description: Returns a list of segment servers. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/deploymentsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/filters/src-candidates': - get: - operationId: GroupsMFAOutboundPoliciesSourceCandidatesFilters_List - summary: Groups Get Outbound MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates on outbound MFA policies. - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Settings Segment Servers + /environments/deployments/access-token: + post: + operationId: SegmentServersInstallToken_Create + summary: Create segment server installation token + description: Returns a an access token. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/accessToken' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/filters/src-users-candidates': + - Settings Segment Servers + /groups: get: - operationId: GroupsMFAOutboundPoliciesSourceUsersCandidatesFilters_List - summary: Groups List Outbound MFA Policies Source Users Candidates Filters - description: Returns a list of filsters for source users candidates on outbound MFA policies. + operationId: Groups_List + summary: List Groups + description: Returns a list of groups. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/entityCursorParameter' - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/searchGroupsResponse' '400': $ref: '#/components/responses/400' '401': @@ -14411,22 +14742,27 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/mfa-methods': + - Groups + /groups/{groupType}: get: - operationId: GroupsMFAOutboundPoliciesMFAMethods_List - summary: Groups List Outbound MFA Policies Methods - description: Returns a list of MFA methods on outbound MFA policies. + operationId: GroupsByType_List + summary: List Groups + description: Returns a list of groups. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. parameters: - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/searchGroupsResponse' '400': $ref: '#/components/responses/400' '401': @@ -14438,25 +14774,22 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/src-candidates': + - Groups + /groups/{groupType}/externalId/{externalId}: get: - operationId: GroupsMFAOutboundPoliciesSourceCandidates_List - summary: Groups List Outbound MFA Policies Source Candidates - description: Returns a list of source candidates on outbound MFA policies. + operationId: GroupsExternalId_Search + summary: Search for a group by external Id + description: Returns a group. parameters: - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/externalIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/groupItem' '400': $ref: '#/components/responses/400' '401': @@ -14468,25 +14801,21 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/src-users-candidates': + - Groups + /groups/{groupType}/filters: get: - operationId: GroupsMFAOutboundPoliciesSourceUserCandidates_List - summary: Groups Get Outbound MFA Policies Source Users Candidates - description: Returns a list of source users candidates on outbound MFA policies. + operationId: GroupsFilters_Get + summary: List filters for groups + description: Returns a list of filters for Groups. parameters: - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -14498,23 +14827,22 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/reactive-policies/outbound/{reactivePolicyId}': + - Groups + /groups/{groupType}/{groupId}: get: - operationId: GroupsMFAOutboundPolicies_Get - summary: Groups Get Outbound MFA Policy - description: Returns the properties of an outbound MFA policy. + operationId: Group_Get + summary: Get a group + description: Returns the properties of an group. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyResponse' + $ref: '#/components/schemas/groupResponse' '400': $ref: '#/components/responses/400' '401': @@ -14529,28 +14857,24 @@ paths: - api_key: [] tags: - Group - put: - operationId: GroupsMFAOutboundPolicies_Update - summary: Groups Update Outbound MFA Policy - description: Returns the updated properties of an outbound MFA policy. + /groups/{groupType}/{groupId}/access-simulation/expand-record: + get: + operationId: GroupsSimulateSegmentationReportRecord_Expand + summary: Expand a Simulate Segmentation Report record for a Group + description: Returns a the details of the record parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' - requestBody: - description: Reactive Policy properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyOutboundBody' + - $ref: '#/components/parameters/port' + - $ref: '#/components/parameters/protocolType' + - $ref: '#/components/parameters/processes' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/groupSimulateSegmentationReportRecord' '400': $ref: '#/components/responses/400' '401': @@ -14563,151 +14887,162 @@ paths: - api_key: [] tags: - Group - delete: - operationId: GroupsMFAOutboundPolicies_Delete - summary: Groups Remove Outbound MFA Policy - description: Returns an empty object. + /groups/{groupType}/{groupId}/access-simulation/export: + post: + operationId: GroupsSimulateSegmentationReport_Export + summary: Export simulate Segmentation Report for a Group + description: export simulate Segmentation Report for a Group parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rpc-rules': + /groups/{groupType}/{groupId}/access-simulation/export/csv/{exportId}: get: - operationId: GroupsRPCRules_List - summary: Groups List RPC Rules - description: Returns a list of RPC rules. + operationId: GroupsSimulateSegmentationReportExport_Get + summary: Download simulate Segmentation Report for a Group + description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/rpcRulesList' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups + - Group + /groups/{groupType}/{groupId}/access-simulation/generate: post: - operationId: GroupsRPCRules_Create - summary: Groups Create RPC Rule - description: Returns the properties of the create RPC rule. + operationId: GroupsSimulateSegmentationReport_Generate + summary: Generate Simulate Segmentation Report for a Group + description: Returns an empty response. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' requestBody: - description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/rpcRuleBody' + $ref: '#/components/schemas/groupSimulateSegmentationReportBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Group + /groups/{groupType}/{groupId}/access-simulation/report: + get: + operationId: GroupsSimulateSegmentationReport_Get + summary: Get Simulate Segmentation Report for a Group + description: Returns a the simulate segmentation report for a group. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/groupSimulateSegmentationReport' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/{ruleId}': + - Group + /groups/{groupType}/{groupId}/access-simulation/state: get: - operationId: GroupsRPCRule_Get - summary: Groups Get RPC Rule - description: Returns the properties of an RPC rule. + operationId: GroupsSimulateSegmentationState_Get + summary: Get Simulate Segmentation State for a Group + description: Returns a the simulate segmentation state for a group. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/groupSimulateSegmentationState' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - put: - operationId: GroupsRPCRule_Update - summary: Groups Update RPC Rule - description: Returns the properties of the update RPC rule. + - Group + /groups/{groupType}/{groupId}/ancestors: + get: + operationId: GroupMemberOf_Get + summary: Get a groups ancestors + description: Returns a list of groups the group is a member of. parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/rpcRuleBody' + - $ref: '#/components/parameters/groupTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/ancestors' '400': $ref: '#/components/responses/400' '401': @@ -14721,18 +15056,22 @@ paths: security: - api_key: [] tags: - - Groups - delete: - operationId: GroupsRPCRule_Delete - summary: Groups Remove RPC Rule - description: Returns an empty object. + - Group + /groups/{groupType}/{groupId}/ancestors/candidates: + get: + operationId: GroupMemberOfGroupCandidates_Get + summary: Get candidates for adding the group to a group + description: Returns a list of groups the asset can be a member of. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/idNamePairList' '400': $ref: '#/components/responses/400' '401': @@ -14746,41 +15085,43 @@ paths: security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/excluded-local-candidates': + - Group + /groups/{groupType}/{groupId}/audit: get: - operationId: GroupsRPCRulesExcludedDestinationCandidates_List - summary: Groups Get RPC Rules Excluded Destination Candidates - description: Returns a list of excluded destionation candidates for RPC rules. + operationId: GroupAudit_Get + summary: Get a groups audits + description: Returns a list of audits for the group. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/orderParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/auditList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/export': + - Group + /groups/{groupType}/{groupId}/audit/export: post: - operationId: GroupsRPCRules_Export - summary: Groups Export RPC Rules + operationId: groupsAudit_Export + summary: Export groups audits description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/groupTypeParameter' @@ -14791,7 +15132,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/exportBodyRules' + $ref: '#/components/schemas/exportBody' responses: '200': description: OK @@ -14805,16 +15146,18 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/export/csv/{exportId}': + - Group + /groups/{groupType}/{groupId}/audit/export/csv/{exportId}: get: - operationId: GroupsRPCRulesExport_Get - summary: Download Groups RPC rules export + operationId: GroupsAuditExport_Get + summary: Download groups audit export description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/groupTypeParameter' @@ -14828,15 +15171,17 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/filters': + - Group + /groups/{groupType}/{groupId}/audit/filters: get: - operationId: GroupsRPCRulesFilters_List - summary: Groups List RPC Rules Filters - description: Returns a list of filters for RPC rules. + operationId: GroupsAuditsFilters_List + summary: List Audit Filters for a specific Group + description: Returns a list of filters for Audit events for a specific group. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' @@ -14855,136 +15200,133 @@ paths: $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/filters/local-candidates': + - Group + /groups/{groupType}/{groupId}/managed-assets: get: - operationId: GroupsRPCRulesDesinationCandidatesFilters_List - summary: Groups List RPC Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for RPC rules. + operationId: Groups-ManagedAssets_List + summary: Get managed assets + description: Get managed assets for group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' - '400': - $ref: '#/components/responses/400' + $ref: '#/components/schemas/managedAssetsList' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/filters/remote-candidates': - get: - operationId: GroupsRPCRulesSourceCandidatesFilters_List - summary: Groups Get RPC Rules Source Candidates Filters - description: Returns a list of filters for source candidates for RPC rules. + - Group + post: + operationId: Groups-ManagedAssets_Add + summary: Add a managed assets + description: Add a managed assets for group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + requestBody: + description: Array of assets to add + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/managedAssetsBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' - '400': - $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/filters/user-candidates': - get: - operationId: GroupsRPCRulesUserCandidatesFilters_List - summary: Groups List RPC Rules Filters User Candidates - description: Returns a list of user candidates for filters in RPC rules. + - Group + put: + operationId: Groups-ManagedAssets_Update + summary: Update a managed assets + description: Update a managed assets for group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + requestBody: + description: managed asset to update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/managedAssetsUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/groupsOrUsersList' - '400': - $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/local-candidates': - get: - operationId: GroupsRPCRulesDestinationCandidates_List - summary: Groups List RPC Rules Destination Candidates - description: Returns a list of destionation candidates for RPC rules. + - Group + /groups/{groupType}/{groupId}/managed-assets/{groupOrAssetId}: + delete: + operationId: Groups-ManagedAssets_Delete + summary: Remove asset manager + description: Remove managed asset of group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupOrAssetIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/remote-candidates': + - Group + /groups/{groupType}/{groupId}/managed-assets/candidates: get: - operationId: GroupsRPCRulesSourceCandidates_List - summary: Groups List RPC Rules Source Candidates - description: Returns a list of source candidates for RPC rules. + operationId: Groups-ManagedAssetsCandidates_List + summary: Get asset manager candidates + description: Get asset candidates to be managed by group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -14993,295 +15335,362 @@ paths: application/json: schema: $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rpc-rules/user-candidates': + - Group + /groups/{groupType}/{groupId}/managers: get: - operationId: GroupsRPCRulesUserCandidates_List - summary: Groups List RPC Rules User Candidates - description: Returns a list of user candidates for RPC rules. + operationId: Groups-AssetManagers_List + summary: Get managers of group + description: Get asset managers of group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' - '400': - $ref: '#/components/responses/400' + $ref: '#/components/schemas/managersList' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Groups - '/groups/{groupType}/{groupId}/protection/rules/distribution/{ruleId}': - get: - operationId: GroupsRulesDistribution_Get - summary: Get distribution of rule hit count - description: Returns an object with rules distribution. + - Group + post: + operationId: GroupsAssetManagers_Add + summary: Add asset manager of group + description: Add an asset manager of a group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - - $ref: '#/components/parameters/ruleDirectionParameter' + - $ref: '#/components/parameters/groupTypeParameter' + requestBody: + description: Array of managers to add + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetManagersBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/ruleDistribution' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/history/{ruleId}': - get: - operationId: GroupsRulesHistory_Get - summary: Get a historic version of an rule - description: Returns the properties of the previous version of the rule. + put: + operationId: GroupsAssetManagers_Update + summary: Update manager of a group + description: Update an asset manager of group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - - $ref: '#/components/parameters/updateIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + requestBody: + description: Permission to change + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/assetManagersUpdateBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/historyRule' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound': - get: - operationId: GroupsInboundRules_List - summary: Groups List Inbound Rules - description: Returns a list of Inbound rules. + /groups/{groupType}/{groupId}/managers/{groupOrUserId}: + delete: + operationId: Groups-AssetManagers_Delete + summary: Remove asset manager + description: Remove asset manager of group parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/entityParams' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/directionParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupOrUserIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/rulesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - post: - operationId: GroupsInboundRules_Create - summary: Groups Create Inbound Rule - description: Returns the properties of the created Inbound rule. + /groups/{groupType}/{groupId}/managers/candidates: + get: + operationId: Groups-AssetManagersCandidates_List + summary: Get manager candidates + description: Get manager candidates for group managers parameters: - - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/candidatesList' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Group + /groups/{groupType}/{groupId}/protection/external-access-policies: + get: + operationId: GroupsExternalAccessPolicy_List + summary: List External Access policies for a group + description: Returns a list of external access policies. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/export': post: - operationId: GroupsInboundRules_Export - summary: Groups Export Inbound Rules - description: Returns an exportId to pass into the download API. + operationId: GroupsExternalAccessPolicy_Create + summary: Create an external access policy for a group + description: Returns a the external access policy parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyRules' + $ref: '#/components/schemas/externalAccessPolicyBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/externalAccessPolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/export/csv/{exportId}': + /groups/{groupType}/{groupId}/protection/external-access-policies/{policyId}: get: - operationId: GroupsInboundRulesExport_Get - summary: Download groups Inbound rules export - description: Returns a csv file to be downloaded. + operationId: GroupsExternalAccessPolicy_Get + summary: Get an External Access policy for a group + description: Returns an external access policy. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/externalAccessPolicyResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/excluded-local-candidates': - get: - operationId: GroupsInboundRulesExcludedDestinationCandidates_List - summary: Groups Get Inbound Rules Excluded Destination Candidates - description: Returns a list of excluded destionation candidates for Inbound rules. + put: + operationId: GroupsExternalAccessPolicy_Update + summary: Update an External Access policy for a group + description: Returns an external access policy. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/externalAccessPolicyItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Group + delete: + operationId: GroupsExternalAccessPolicy_Delete + summary: Delete an External Access policy for a group + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' + responses: + '200': + description: OK '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/filters': + /groups/{groupType}/{groupId}/protection/external-access-policies/dst-asset-candidates: get: - operationId: GroupsInboundRulesFilters_List - summary: Groups List Inbound Rules Filters - description: Returns a list of filters for Inbound rules. + operationId: GroupsExternalAccessPolicyDestinationAssetsCandidates_List + summary: List External Access Policy Destinations Assets Candidates for a group + description: Returns a list of destunation assets candidates for an external access policy. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/filters/remote-candidates': + /groups/{groupType}/{groupId}/protection/external-access-policies/filters: get: - operationId: GroupsInboundRulesSourceCandidatesFilters_List - summary: Groups Get Inbound Rules Source Candidates Filters - description: Returns a list of filters for source candidates for Inbound rules. + operationId: GroupsExternalAccessPolicyFilters_List + summary: List External Access Policy Filters for a group + description: Returns a list of filters for external access policies. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' @@ -15298,20 +15707,25 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/filters/local-candidates': + /groups/{groupType}/{groupId}/protection/external-access-policies/filters/dst-asset-candidates: get: - operationId: GroupsInboundRulesDesinationCandidatesFilters_List - summary: Groups List Inbound Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for Inbound rules. + operationId: GroupsExternalAccessPolicyDestinationAssetsCandidatesFilters_List + summary: List External Access Policy Destination Assets Candidates Filters for a group + description: Returns a list of filters for destination asset candidates in external access policies. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK @@ -15331,16 +15745,16 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/local-candidates': + /groups/{groupType}/{groupId}/protection/external-access-policies/filters/src-users-candidates: get: - operationId: GroupsInboundRulesDestinationCandidates_List - summary: Groups List Inbound Rules Destination Candidates - description: Returns a list of destionation candidates for Inbound rules. + operationId: GroupsExternalAccessPolicySourceUserCandidatesFilters_List + summary: List External Access Policy Source User Candidates Filters for a group + description: Returns a list of filters for source user candidates in external access policies. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -15348,7 +15762,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -15361,25 +15775,24 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/remote-candidates': + /groups/{groupType}/{groupId}/protection/external-access-policies/src-users-candidates: get: - operationId: GroupsInboundRulesSourceCandidates_List - summary: Groups List Inbound Rules Source Candidates - description: Returns a list of source candidates for Inbound rules. + operationId: GroupsExternalAccessPolicySourceUserCandidates_List + summary: List External Access Policy Source User Candidates for a group + description: Returns a list of source user candidates for external access policies. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -15392,37 +15805,57 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/review/approve/{ruleId}': - put: - operationId: GroupsInboundRulesReview_Approve - summary: Groups Approve a "pending review" rule - description: Approve a "pending review" rule without changes + /groups/{groupType}/{groupId}/protection/external-access-policies/statistics: + get: + operationId: GroupsExternalAccessPolicyStatistics_Get + summary: Get External Access policies statistics for a group + description: Returns statistics for an external access policy. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyStatistics' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/review/approve-with-changes/{ruleId}': - put: - operationId: GroupsInboundRulesReview_ApproveWithChanges - summary: Groups Update Inbound Rule - description: Approve a "pending review" rule with changes + - Groups + /groups/{groupType}/{groupId}/protection/identity-rules: + get: + operationId: GroupsIdentityRules_List + summary: Groups List Identity Rules + description: Returns a list of identity segmentation rules. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewApproveWithChanges' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRulesList' '400': $ref: '#/components/responses/400' '401': @@ -15437,34 +15870,45 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/review/reject/{ruleId}': - delete: - operationId: GroupsInboundRulesReview_Deny - summary: Groups '' - description: Reject a "pending review" rule (deletes rule) + post: + operationId: GroupsIdentityRules_Create + summary: Groups Create an Identity Rule + description: Returns a the identity segmentation rule. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' requestBody: content: application/json: schema: - $ref: '#/components/schemas/ruleReviewReason' + $ref: '#/components/schemas/identityRuleBody' + required: true responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleItem' '400': $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/inbound/{ruleId}': + /groups/{groupType}/{groupId}/protection/identity-rules/{ruleId}: get: - operationId: GroupsInboundRule_Get - summary: Groups Get Inbound Rule - description: Returns the properties of an Inbound rule. + operationId: GroupsIdentityRules_Get + summary: Groups Get Identity Rule + description: Returns an identity segmentation rule. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' @@ -15475,7 +15919,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ruleItem' + $ref: '#/components/schemas/identityRuleItem' '400': $ref: '#/components/responses/400' '401': @@ -15491,27 +15935,26 @@ paths: tags: - Group put: - operationId: GroupsInboundRule_Update - summary: Groups Update Inbound Rule - description: Returns the properties of the update Inbound rule. + operationId: GroupsIdentityRules_Update + summary: Groups Update an Identity Rule + description: Returns a the identity segmentation rule. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/ruleIdParameter' requestBody: - description: Rule properties - required: true content: application/json: schema: - $ref: '#/components/schemas/ruleBody' + $ref: '#/components/schemas/identityRuleBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/identityRuleItem' '400': $ref: '#/components/responses/400' '401': @@ -15527,8 +15970,8 @@ paths: tags: - Group delete: - operationId: GroupsInboundRule_Delete - summary: Groups Remove Inbound Rule + operationId: GroupsIdentityRules_Delete + summary: Groups Remove Identity Rule description: Returns an empty object. parameters: - $ref: '#/components/parameters/groupTypeParameter' @@ -15551,29 +15994,24 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound': + /groups/{groupType}/{groupId}/protection/identity-rules/asset-candidates: get: - operationId: GroupsOutboundRules_List - summary: Groups List Outbound Rules - description: Returns a list of Outbound rules. + operationId: GroupsIdentityRulesAssetsCandidates_List + summary: Groups List Identity Rules Assets Candidates + description: Returns a list of assets candidates for Identity rules. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/entityParams' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/directionParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rulesList' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': @@ -15586,45 +16024,40 @@ paths: - api_key: [] tags: - Group - post: - operationId: GroupsOutboundRules_Create - summary: Groups Create Outbound Rule - description: Returns the properties of the created Outbound rule. + /groups/{groupType}/{groupId}/protection/identity-rules/excluded-asset-candidates: + get: + operationId: GroupsIdentityRulesExcludedAssetsCandidates_List + summary: Groups List Identity Rules Excluded Assets Candidates + description: Returns a list of excluded Assets candidates for Identity rules. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/export': + /groups/{groupType}/{groupId}/protection/identity-rules/export: post: - operationId: GroupsOutboundRules_Export - summary: Groups Export Outbound Rules + operationId: GroupsIdentityRules_Export + summary: Groups Export Identity Rules description: Returns an exportId to pass into the download API. parameters: - $ref: '#/components/parameters/groupTypeParameter' @@ -15655,10 +16088,10 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/export/csv/{exportId}': + /groups/{groupType}/{groupId}/protection/identity-rules/export/csv/{exportId}: get: - operationId: GroupsOutboundRulesExport_Get - summary: Download groups Outbound rules export + operationId: GroupsIdentityRulesExport_Get + summary: Groups Download Identity Rules Export description: Returns a csv file to be downloaded. parameters: - $ref: '#/components/parameters/groupTypeParameter' @@ -15672,55 +16105,59 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/excluded-local-candidates': + /groups/{groupType}/{groupId}/protection/identity-rules/filters: get: - operationId: GroupsOutboundRulesExcludedSourceCandidates_List - summary: Groups List Outbound Rules Excluded Source Candidates - description: Returns a list of excluded source candidates for Outbound rules. + operationId: GroupsIdentityRulesFilters_List + summary: Groups List Identity Rules Filters + description: Returns a list of filters for Identity rules. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/filters': + /groups/{groupType}/{groupId}/protection/identity-rules/filters/asset-candidates: get: - operationId: GroupsOutboundRulesFilters_List - summary: Groups List Outbound Rules Filters - description: Returns a list of filters for Outbound rules. + operationId: GroupsIdentityRulesAssetsCandidatesFilters_List + summary: Groups List Identity Rules Filters Assets Candidates + description: Returns a list of assets candidates for filters in Identity rules. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': @@ -15733,21 +16170,24 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/filters/excluded-local-candidates': + /groups/{groupType}/{groupId}/protection/identity-rules/filters/user-candidates: get: - operationId: GroupsOutboundRulesExcludedSourceCandidatesFilters_List - summary: Groups List Outbound Rules Excluded Source Candidates Filters - description: Returns a list of filters for excluded source candidates for Outbound rules. + operationId: GroupsIdentityRulesUserCandidatesFilters_List + summary: Groups List Identity Rules Filters User Candidates + description: Returns a list of user candidates for filters in Identity rules. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -15760,21 +16200,24 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/filters/local-candidates': + /groups/{groupType}/{groupId}/protection/identity-rules/user-candidates: get: - operationId: GroupsOutboundRulesSourceCandidatesFilters_List - summary: Groups List Outbound Rules Source Candidates Filters - description: Returns a list of filters for source candidates for Outbound rules. + operationId: GroupsIdentityRulesUserCandidates_List + summary: Groups List Identity Rules User Candidates + description: Returns a list of user candidates for Identity rules. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -15787,51 +16230,64 @@ paths: - api_key: [] tags: - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/filters/remote-candidates': + /groups/{groupType}/{groupId}/protection/identity/reactive-policies: get: - operationId: GroupsOutboundRulesDestinationCandidatesFilters_List - summary: Groups List Outbound Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for Outbound rules. + operationId: GroupsMFAIdentityPolicies_List + summary: List Identity MFA Policies + description: Returns a list of identity MFA policies. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/identityReactivePolicyList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/local-candidates': - get: - operationId: GroupsOutboundRulesSourceCandidates_List - summary: Groups List Outbound Rules Source Candidates - description: Returns a list of source candidates for Outbound rules. + - Groups + post: + operationId: GroupsMFAIdentityPolicies_Create + summary: Add Identity MFA Policy + description: Returns the properties of the identity MFA policy after creation. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + requestBody: + description: MFA properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/identityReactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -15843,69 +16299,59 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/remote-candidates': + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/{reactivePolicyId}: get: - operationId: GroupsOutboundRulesDestinationCandidates_List - summary: Groups List Outbound Destination Candidates - description: Returns a list of destination candidates for Outbound rules. + operationId: GroupsMFAIdentityPolicies_Get + summary: Get Identity MFA Policy + description: Returns a Identity MFA policy object. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/ruleTypeParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/identityReactivePolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/review/approve/{ruleId}': - put: - operationId: GroupsOutboundRulesReview_Approve - summary: Groups Approve a "pending review" rule - description: Approve a "pending review" rule without changes - parameters: - - $ref: '#/components/parameters/groupTypeParameter' - - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - responses: - '200': - description: OK - tags: - - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/review/approve-with-changes/{ruleId}': + - Groups put: - operationId: GroupsOutboundRulesReview_ApproveWithChanges - summary: Groups Update Outbound Rule - description: Approve a "pending review" rule with changes + operationId: GroupsMFAIdentityPolicies_Update + summary: Update Identity MFA Policy + description: Returns the properties of the Identity MFA policy after updating. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' requestBody: + description: Rule properties + required: true content: application/json: schema: - $ref: '#/components/schemas/ruleReviewApproveWithChanges' + $ref: '#/components/schemas/identityReactivePolicyBody' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -15919,46 +16365,50 @@ paths: security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/review/reject/{ruleId}': + - Groups delete: - operationId: GroupsOutboundRulesReview_Deny - summary: Groups '' - description: Reject a "pending review" rule (deletes rule) + operationId: GroupsMFAIdentityPolicies_Delete + summary: Remove Identity MFA Policy + description: Returns an empty object. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewReason' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK '400': $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/protection/rules/outbound/{ruleId}': + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/dst-asset-candidates: get: - operationId: GroupsOutboundRule_Get - summary: Groups Get Outbound Rule - description: Returns the properties of an Outbound rule. + operationId: GroupsMFAIdentityPoliciesDestinationCandidates_List + summary: Get destination assets for Identity MFA Policy + description: Returns a list of candidates for the destination of an identity MFA policy. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleItem' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -15972,29 +16422,26 @@ paths: security: - api_key: [] tags: - - Group - put: - operationId: GroupsOutboundRule_Update - summary: Groups Update Outbound Rule - description: Returns the properties of the updated Outbound rules. + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/excluded-src-asset-candidates: + get: + operationId: GroupsMFAIdentityPoliciesExcludedSourceCandidates_List + summary: Fet excluded source asset candidates for Identity MFA Policy + description: Returns a list of candidates for the excluded sources of an Identity MFA policy. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -16008,79 +16455,82 @@ paths: security: - api_key: [] tags: - - Group - delete: - operationId: GroupsOutboundRule_Delete - summary: Groups Remove Outbound Rule - description: Returns an empty object. + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/filters: + get: + operationId: GroupsMFAIdentityPoliciesFilters_List + summary: List Identity MFA Policy Filters + description: Returns a list of filters for Identity MFA policies. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/successors': + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/filters/dst-asset-candidates: get: - operationId: GroupsMembers_List - summary: List Group members - description: Returns a list of potential members for a group. + operationId: GroupsMFAIdentityPoliciesDestinationCandidatesFilters_List + summary: Get Identity MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates for Identity MFA policies. parameters: - $ref: '#/components/parameters/groupTypeParameter' - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/includeNestedMembersQueryParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/entitiesList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Group - '/groups/{groupType}/{groupId}/successors/filters': + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/filters/src-asset-candidates: get: - operationId: GroupSuccessorsFilters_List - summary: Get groups successors filters - description: Returns a list of filters for Group members. + operationId: GroupsMFAIdentityPoliciesSourceCandidatesFilters_List + summary: List Identity MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates for Identity MFA policies. parameters: - - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -16092,134 +16542,102 @@ paths: security: - api_key: [] tags: - - Group - /profile: + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/filters/src-users-candidates: get: - operationId: Profile_Get - description: Get user profile + operationId: GroupsMFAIdentityPoliciesSourceUsersCandidatesFilters_List + summary: Get Identity MFA Policies Source Users Filters + description: Returns a list of filters for source users on Identity MFA policies. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/profileResponse' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Profile - /profile/environments: + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/mfa-methods: get: - description: Get Environment Profile - operationId: Profile_GetEnvironments - tags: - - Profile - summary: Get all environments + operationId: GroupsMFAIdentityPoliciesMFAMethods_List + summary: List Identity MFA Policy Methods + description: Returns a list of MFA methods for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': - description: Successful response + description: OK content: application/json: schema: - type: object - properties: - environments: - type: array - items: - type: object + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] - /protection/identity-rules: + tags: + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/src-asset-candidates: get: - operationId: IdentityRules_List - summary: List Identity Rules - description: Returns a list of identity segmentation rules. + operationId: GroupsMFAIdentityPoliciesSourceCandidates_List + summary: List Identity MFA Policies Source Candidates + description: Returns a list of source candidates on Identity MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityRulesList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Rules Identity - post: - operationId: IdentityRules_Create - summary: Create an Identity Rule - description: Returns a the identity segmentation rule. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleBody' - required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Identity - /protection/identity-rules/asset-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/identity/reactive-policies/src-users-candidates: get: - operationId: IdentityRulesAssetsCandidates_List - summary: List Identity Rules Assets Candidates - description: Returns a list of assets candidates for Identity rules. + operationId: GroupsMFAIdentityPoliciesSourceUserCandidates_List + summary: List Identity MFA Policies Source Users Candidates + description: Returns a list of source user candidates for Identity MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -16229,7 +16647,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -16241,23 +16659,28 @@ paths: security: - api_key: [] tags: - - Rules Identity - /protection/identity-rules/excluded-asset-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound: get: - operationId: IdentityRulesExcludedAssetsCandidates_List - summary: List Identity Rules Excluded Assets Candidates - description: Returns a list of excluded assets candidates for Identity rules. + operationId: GroupsMFAInboundPolicies_List + summary: Groups List Inbound MFA Policies + description: Returns a list of inbound MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/reactivePolicyList' '400': $ref: '#/components/responses/400' '401': @@ -16269,26 +16692,28 @@ paths: security: - api_key: [] tags: - - Rules Identity - /protection/identity-rules/export: + - Group post: - operationId: IdentityRules_Export - summary: Export Identity Rules - description: Returns an exportId to pass into the download API. + operationId: GroupsMFAInboundPolicies_Create + summary: Groups Add Inbound MFA Policy + description: Returns the properties of the inbound MFA policy after creation. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' + description: MFA properties required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyRules' + $ref: '#/components/schemas/reactivePolicyInboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -16300,38 +16725,59 @@ paths: security: - api_key: [] tags: - - Rules Identity - '/protection/identity-rules/export/csv/{exportId}': + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/{reactivePolicyId}: get: - operationId: IdentityRulesExport_Get - summary: Download Identity Rules Export - description: Returns a csv file to be downloaded. + operationId: GroupsMFAInboundPolicies_Get + summary: Groups Get Inbound MFA Policy + description: Returns a inbound MFA policy object. parameters: - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/reactivePolicyResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Identity - /protection/identity-rules/filters: - get: - operationId: IdentityRulesFilters_List - summary: List Identity Rules Filters - description: Returns a list of filters for Identity rules. + - Group + put: + operationId: GroupsMFAInboundPolicies_Update + summary: Groups Update Inbound MFA Policy + description: Returns the properties of the inbound MFA policy after updating. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyInboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -16345,41 +16791,40 @@ paths: security: - api_key: [] tags: - - Rules Identity - /protection/identity-rules/filters/asset-candidates: - get: - operationId: IdentityRulesAssetsCandidatesFilters_List - summary: List Identity Rules Filters Assets Candidates - description: Returns a list of assets candidates for filters in Identity rules. + - Group + delete: + operationId: GroupsMFAInboundPolicies_Delete + summary: Groups Remove Inbound MFA Policy + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Identity - /protection/identity-rules/filters/user-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/dst-candidates: get: - operationId: IdentityRulesUserCandidatesFilters_List - summary: List Identity Rules Filters User Candidates - description: Returns a list of user candidates for filters in Identity rules. + operationId: GroupsMFAInboundPoliciesDestinationCandidates_List + summary: Groups Get destination assets for Inbound MFA Policy + description: Returns a list of candidates for the destination of an inbound MFA policy. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -16389,184 +16834,186 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Identity - /protection/identity-rules/user-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/excluded-src-candidates: get: - operationId: IdentityRulesUserCandidates_List - summary: List Identity Rules User Candidates - description: Returns a list of user candidates for Identity rules. + operationId: GroupsMFAInboundPoliciesExcludedSourceCandidates_List + summary: Groups get excluded source asset candidates for Inbound MFA Policy + description: Returns a list of candidates for the excluded sources of an inbound MFA policy. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Identity - '/protection/identity-rules/{ruleId}': + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/filters: get: - operationId: IdentityRules_Get - summary: Get Identity Rule - description: Returns an identity segmentation rule. + operationId: GroupsMFAInboundPoliciesFilters_List + summary: Groups List Inbound MFA Policy Filters + description: Returns a list of filters for inbound MFA policies. parameters: - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Identity - put: - operationId: IdentityRules_Update - summary: Update an Identity Rule - description: Returns a the identity segmentation rule. + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/filters/dst-candidates: + get: + operationId: GroupsMFAInboundPoliciesDestinationCandidatesFilters_List + summary: Groups Get Inbound MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates for inbound MFA policies. parameters: - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleBody' - required: true + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Identity - delete: - operationId: IdentityRules_Delete - summary: Remove Identity Rule - description: Returns an empty object. + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/filters/src-candidates: + get: + operationId: GroupsMFAInboundPoliciesSourceCandidatesFilters_List + summary: Groups List Inbound MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates for inbound MFA policies. parameters: - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Identity - /protection/identity/reactive-policies: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/filters/src-users-candidates: get: - operationId: MFAIdentityPolicies_List - summary: List Identity MFA Policies - description: Returns a list of identity MFA policies. + operationId: GroupsMFAInboundPoliciesSourceUsersCandidatesFilters_List + summary: Groups Get Inbound MFA Policies Source Users Filters + description: Returns a list of filters for source users on inbound MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Identity - post: - operationId: MFAIdentityPolicies_Create - summary: Add Identity MFA Policy - description: Returns the properties of the identity MFA policy after creation. - requestBody: - description: MFA properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyBody' + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/mfa-methods: + get: + operationId: GroupsMFAInboundPoliciesMFAMethods_List + summary: Groups List Inbound MFA Policy Methods + description: Returns a list of MFA methods for inbound MFA policies. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyItem' + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': @@ -16578,21 +17025,29 @@ paths: security: - api_key: [] tags: - - MFA Identity - '/protection/identity/reactive-policies/{reactivePolicyId}': + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate: get: - operationId: MFAIdentityPolicies_Get - summary: Get Identity MFA Policy - description: Returns a Identity MFA policy object. + operationId: GroupsMFAInboundPoliciesSimulate_Test + summary: Simulate Outbound MFA access + description: Returns a list of MFA policies that would match the simulation. parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/srcUserId' + - $ref: '#/components/parameters/srcAssetId' + - $ref: '#/components/parameters/srcProcess' + - $ref: '#/components/parameters/dstAssetId' + - $ref: '#/components/parameters/dstProcess' + - $ref: '#/components/parameters/protocolType' + - $ref: '#/components/parameters/port' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyResponse' + $ref: '#/components/schemas/simulationResponse' '400': $ref: '#/components/responses/400' '401': @@ -16606,70 +17061,73 @@ paths: security: - api_key: [] tags: - - MFA Identity - put: - operationId: MFAIdentityPolicies_Update - summary: Update Identity MFA Policy - description: Returns the properties of the Identity MFA policy after updating. + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate/dst-candidates: + get: + operationId: GroupsMFAInboundPoliciesSimulateDestinationCandidates_List + summary: List Inbound MFA Simulation Destination Candidates + description: Returns a list of destination candidates on inbound MFA simulation. parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyBody' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyItem' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Identity - delete: - operationId: MFAIdentityPolicies_Delete - summary: Remove Identity MFA Policy - description: Returns an empty object. + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate/resolve: + get: + operationId: GroupsMFAInboundPoliciesSimulateResolve_Get + summary: Resolve simulation parameters + description: Returns resolved simulation parameters. parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/simulationParams' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/simulationParams' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/dst-asset-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate/src-candidates: get: - operationId: MFAIdentityPoliciesDestinationCandidates_List - summary: Get destination assets for Identity MFA Policy - description: Returns a list of candidates for the destination of an identity MFA policy. + operationId: GroupsMFAInboundPoliciesSimulateSourceCandidates_List + summary: List Inbound MFA Simulation Source Candidates + description: Returns a list of source candidates on inbound MFA simulation. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -16686,57 +17144,60 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/excluded-src-asset-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/simulate/src-users-candidates: get: - operationId: MFAIdentityPoliciesExcludedSourceCandidates_List - summary: Fet excluded source asset candidates for Identity MFA Policy - description: Returns a list of candidates for the excluded sources of an Identity MFA policy. + operationId: GroupsMFAInboundPoliciesSimulateSourceUserCandidates_List + summary: List Inbound MFA Simulation Source User Candidates + description: Returns a list of source user candidates on inbound MFA simulation. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/filters: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/src-candidates: get: - operationId: MFAIdentityPoliciesFilters_List - summary: List Identity MFA Policy Filters - description: Returns a list of filters for Identity MFA policies. + operationId: GroupsMFAInboundPoliciesSourceCandidates_List + summary: Groups List Inbound MFA Policies Source Candidates + description: Returns a list of source candidates on inbound MFA policies. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -16748,13 +17209,15 @@ paths: security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/filters/dst-asset-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/inbound/src-users-candidates: get: - operationId: MFAIdentityPoliciesDestinationCandidatesFilters_List - summary: Get Identity MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates for Identity MFA policies. + operationId: GroupsMFAInboundPoliciesSourceUserCandidates_List + summary: Groups List Inbound MFA Policies Source Users Candidates + description: Returns a list of source user candidates for inbound MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -16764,7 +17227,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -16776,23 +17239,27 @@ paths: security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/filters/src-asset-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound: get: - operationId: MFAIdentityPoliciesSourceCandidatesFilters_List - summary: List Identity MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates for Identity MFA policies. + operationId: GroupsMFAOutboundPolicies_List + summary: Groups List Outbound MFA Policies + description: Returns a list of outbound MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/reactivePolicyList' '400': $ref: '#/components/responses/400' '401': @@ -16804,23 +17271,28 @@ paths: security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/filters/src-users-candidates: - get: - operationId: MFAIdentityPoliciesSourceUsersCandidatesFilters_List - summary: Get Identity MFA Policies Source Users Filters - description: Resturns a list of filters for source users on Identity MFA policies. - parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Group + post: + operationId: GroupsMFAOutboundPolicies_Create + summary: Groups Add Outbound MFA Policy + description: Returns a the properties of outbound MFA policy created. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyOutboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -16832,47 +17304,59 @@ paths: security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/mfa-methods: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/{reactivePolicyId}: get: - operationId: MFAIdentityPoliciesMFAMethods_List - summary: List Identity MFA Policy Methods - description: Returns a list of MFA methods for Identity MFA policies. + operationId: GroupsMFAOutboundPolicies_Get + summary: Groups Get Outbound MFA Policy + description: Returns the properties of an outbound MFA policy. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/reactivePolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/src-asset-candidates: - get: - operationId: MFAIdentityPoliciesSourceCandidates_List - summary: List Identity MFA Polcies Source Candidates - description: Returns a list of source candidates on Identity MFA policies. + - Group + put: + operationId: GroupsMFAOutboundPolicies_Update + summary: Groups Update Outbound MFA Policy + description: Returns the updated properties of an outbound MFA policy. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' + requestBody: + description: Reactive Policy properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyOutboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -16884,47 +17368,50 @@ paths: security: - api_key: [] tags: - - MFA Identity - /protection/identity/reactive-policies/src-users-candidates: - get: - operationId: MFAIdentityPoliciesSourceUserCandidates_List - summary: List Identity MFA Policies Source Users Candidates - description: Returns a list of source user candidates for Identity MFA policies. + - Group + delete: + operationId: GroupsMFAOutboundPolicies_Delete + summary: Groups Remove Outbound MFA Policy + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Identity - /protection/reactive-policies/distribution: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/dst-candidates: get: - operationId: MFAPoliciesDistribution_List - summary: MFA distribution - description: Returns and object with MFA distrubiton. + operationId: GroupsMFAOutboundPoliciesDestinationCandidates_List + summary: Groups List Outbound MFA Policies Destination Candidates + description: Returns a list of destination candidates on outbound MFA policies. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyDistribution' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -16936,56 +17423,55 @@ paths: security: - api_key: [] tags: - - MFA - /protection/reactive-policies/inbound: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/excluded-src-candidates: get: - operationId: MFAInboundPolicies_List - summary: List Inbound MFA Policies - description: Returns a list of inbound MFA policies. + operationId: GroupsMFAOutboundPoliciesExcludedSourceCandidates_List + summary: Groups get excluded source asset candidates for Outbound MFA Policy + description: Returns a list of candidates for the excluded sources of an outbound MFA policy. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Inbound - post: - operationId: MFAInboundPolicies_Create - summary: Add Inbound MFA Policy - description: Returns the properties of the inbound MFA policy after creation. - requestBody: - description: MFA properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyInboundBody' + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/filters: + get: + operationId: GroupsMFAOutboundPoliciesFilters_Get + summary: Groups List Outbound MFA Policies Filters + description: Returns a list of filters for outbound MFA policies. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -16997,13 +17483,15 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/dst-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/filters/dst-candidates: get: - operationId: MFAInboundPoliciesDestinationCandidates_List - summary: Get destination assets for Inbound MFA Policy - description: Returns a list of candidates for the destination of an inbound MFA policy. + operationId: GroupsMFAOutboundPoliciesDestinationCandidatesFilters_List + summary: Groups List Outbound MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates on outbound MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -17013,38 +17501,41 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/excluded-src-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate: get: - operationId: MFAInboundPoliciesExcludedSourceCandidates_List - summary: Fet excluded source asset candidates for Inbound MFA Policy - description: Returns a list of candidates for the excluded sources of an inbound MFA policy. + operationId: GroupsMFAOutboundPoliciesSimulate_Test + summary: Simulate Outbound MFA access + description: Returns a list of MFA policies that would match the simulation. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/srcUserId' + - $ref: '#/components/parameters/srcAssetId' + - $ref: '#/components/parameters/srcProcess' + - $ref: '#/components/parameters/dstAssetId' + - $ref: '#/components/parameters/dstProcess' + - $ref: '#/components/parameters/protocolType' + - $ref: '#/components/parameters/port' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/simulationResponse' '400': $ref: '#/components/responses/400' '401': @@ -17058,37 +17549,15 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/filters: - get: - operationId: MFAInboundPoliciesFilters_List - summary: List Inbound MFA Policy Filters - description: Returns a list of filters for inbound MFA policies. - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Inbound - /protection/reactive-policies/inbound/filters/dst-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate/dst-candidates: get: - operationId: MFAInboundPoliciesDestinationCandidatesFilters_List - summary: Get Inbound MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates for inbound MFA policies. + operationId: GroupsMFAOutboundPoliciesSimulateDestinationCandidates_List + summary: List Inbound MFA Simulation Destination Candidates + description: Returns a list of destination candidates on inbound MFA simulation. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -17098,7 +17567,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -17110,23 +17579,23 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/filters/src-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate/resolve: get: - operationId: MFAInboundPoliciesSourceCandidatesFilters_List - summary: List Inbound MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates for inbound MFA policies. + operationId: GroupsMFAOutboundPoliciesSimulateResolve_Get + summary: Resolve simulation parameters + description: Returns resolved simulation parameters. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/simulationParams' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/simulationParams' '400': $ref: '#/components/responses/400' '401': @@ -17138,13 +17607,15 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/filters/src-users-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate/src-candidates: get: - operationId: MFAInboundPoliciesSourceUsersCandidatesFilters_List - summary: Get Inbound MFA Policies Source Users Filters - description: Resturns a list of filters for source users on inbound MFA policies. + operationId: GroupsMFAOutboundPoliciesSimulateSourceCandidates_List + summary: List Inbound MFA Simulation Source Candidates + description: Returns a list of source candidates on inbound MFA simulation. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -17154,7 +17625,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -17166,19 +17637,25 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/mfa-methods: + - Groups + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/simulate/src-users-candidates: get: - operationId: MFAInboundPoliciesMFAMethods_List - summary: List Inbound MFA Policy Methods - description: Returns a list of MFA methods for inbound MFA policies. + operationId: GroupsMFAOutboundPoliciesSimulateSourceUserCandidates_List + summary: List Inbound MFA Simulation Source User Candidates + description: Returns a list of source user candidates on inbound MFA simulation. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -17190,13 +17667,15 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/src-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/filters/src-candidates: get: - operationId: MFAInboundPoliciesSourceCandidates_List - summary: List Inbound MFA Polcies Source Candidates - description: Returns a list of source candidates on inbound MFA policies. + operationId: GroupsMFAOutboundPoliciesSourceCandidatesFilters_List + summary: Groups Get Outbound MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates on outbound MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -17206,7 +17685,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -17218,13 +17697,15 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/src-users-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/filters/src-users-candidates: get: - operationId: MFAInboundPoliciesSourceUserCandidates_List - summary: List Inbound MFA Policies Source Users Candidates - description: Returns a list of source user candidates for inbound MFA policies. + operationId: GroupsMFAOutboundPoliciesSourceUsersCandidatesFilters_List + summary: Groups List Outbound MFA Policies Source Users Candidates Filters + description: Returns a list of filters for source users candidates on outbound MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -17234,7 +17715,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -17246,47 +17727,42 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/simulate: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/mfa-methods: get: - operationId: MFAInboundPoliciesSimulate_Test - summary: Simulate Inbound MFA access - description: Returns a list of MFA policies that would match the simulaton. + operationId: GroupsMFAOutboundPoliciesMFAMethods_List + summary: Groups List Outbound MFA Policies Methods + description: Returns a list of MFA methods on outbound MFA policies. parameters: - - $ref: '#/components/parameters/srcUserId' - - $ref: '#/components/parameters/srcAssetId' - - $ref: '#/components/parameters/srcProcess' - - $ref: '#/components/parameters/dstAssetId' - - $ref: '#/components/parameters/dstProcess' - - $ref: '#/components/parameters/protocolType' - - $ref: '#/components/parameters/port' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/simulationResponse' + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/simulate/dst-candidates: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/src-candidates: get: - operationId: MFAInboundPoliciesSimulateDestinationCandidates_List - summary: List Inbound MFA Simulation Destination Candidates - description: Returns a list of destination candidates on inbound MFA simulation. + operationId: GroupsMFAOutboundPoliciesSourceCandidates_List + summary: Groups List Outbound MFA Policies Source Candidates + description: Returns a list of source candidates on outbound MFA policies. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -17308,21 +17784,25 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/simulate/resolve: + - Group + /groups/{groupType}/{groupId}/protection/reactive-policies/outbound/src-users-candidates: get: - operationId: MFAInboundPoliciesSimulateResolve_Get - summary: Resolve simulation parameters - description: Returns resolved simulation parameters. + operationId: GroupsMFAOutboundPoliciesSourceUserCandidates_List + summary: Groups Get Outbound MFA Policies Source Users Candidates + description: Returns a list of source users candidates on outbound MFA policies. parameters: - - $ref: '#/components/parameters/simulationParams' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/simulationParams' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -17334,23 +17814,28 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/simulate/src-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rpc-rules: get: - operationId: MFAInboundPoliciesSimulateSourceCandidates_List - summary: List Inbound MFA Simulation Source Candidates - description: Returns a list of source candidates on inbound MFA simulation. + operationId: GroupsRPCRules_List + summary: Groups List RPC Rules + description: Returns a list of RPC rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/rpcRulesList' '400': $ref: '#/components/responses/400' '401': @@ -17362,49 +17847,58 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/inbound/simulate/src-users-candidates: - get: - operationId: MFAInboundPoliciesSimulateSourceUserCandidates_List - summary: List Inbound MFA Simulation Source User Candidates - description: Returns a list of source user candidates on inbound MFA simulation. + - Groups + post: + operationId: GroupsRPCRules_Create + summary: Groups Create RPC Rule + description: Returns the properties of the create RPC rule. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/rpcRuleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Inbound - '/protection/reactive-policies/inbound/{reactivePolicyId}': + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/{ruleId}: get: - operationId: MFAInboundPolicies_Get - summary: Get Inbound MFA Policy - description: Returns a inbound MFA policy object. + operationId: GroupsRPCRule_Get + summary: Groups Get RPC Rule + description: Returns the properties of an RPC rule. parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyResponse' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': @@ -17418,27 +17912,29 @@ paths: security: - api_key: [] tags: - - MFA Inbound + - Groups put: - operationId: MFAInboundPolicies_Update - summary: Update Inbound MFA Policy - description: Returns the properties of the inbound MFA policy after updating. + operationId: GroupsRPCRule_Update + summary: Groups Update RPC Rule + description: Returns the properties of the update RPC rule. parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' requestBody: description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyInboundBody' + $ref: '#/components/schemas/rpcRuleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': @@ -17452,13 +17948,15 @@ paths: security: - api_key: [] tags: - - MFA Inbound + - Groups delete: - operationId: MFAInboundPolicies_Delete - summary: Remove Inbound MFA Policy + operationId: GroupsRPCRule_Delete + summary: Groups Remove RPC Rule description: Returns an empty object. parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK @@ -17475,25 +17973,25 @@ paths: security: - api_key: [] tags: - - MFA Inbound - /protection/reactive-policies/outbound: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/excluded-local-candidates: get: - operationId: MFAOutboundPolicies_List - summary: List Outbound MFA Policies - description: Returns a list of outbound MFA policies. + operationId: GroupsRPCRulesExcludedDestinationCandidates_List + summary: Groups Get RPC Rules Excluded Destination Candidates + description: Returns a list of excluded destination candidates for RPC rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -17505,25 +18003,29 @@ paths: security: - api_key: [] tags: - - MFA Outbound + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/export: post: - operationId: MFAOutboundPolicies_Create - summary: Add Outbound MFA Policy - description: Returns a the properties of outbound MFA policy created. + operationId: GroupsRPCRules_Export + summary: Groups Export RPC Rules + description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' requestBody: - description: Rule properties + description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyOutboundBody' + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyItem' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -17535,52 +18037,45 @@ paths: security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/dst-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/export/csv/{exportId}: get: - operationId: MFAOutboundPoliciesDestinationCandidates_List - summary: List Outbound MFA Policies Destination Candidates - description: Returns a list of destination candidates on outbound MFA policies. + operationId: GroupsRPCRulesExport_Get + summary: Download Groups RPC rules export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/excluded-src-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/filters: get: - operationId: MFAOutboundPoliciesExcludedSourceCandidates_List - summary: Fet excluded source asset candidates for Outbound MFA Policy - description: Returns a list of candidates for the excluded sources of an outbound MFA policy. + operationId: GroupsRPCRulesFilters_List + summary: Groups List RPC Rules Filters + description: Returns a list of filters for RPC rules. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -17594,12 +18089,15 @@ paths: security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/filters: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/filters/local-candidates: get: - operationId: MFAOutboundPoliciesFilters_Get - summary: List Outbound MFA Policies Filters - description: Returns a list of filters for outbound MFA policies. + operationId: GroupsRPCRulesDestinationCandidatesFilters_List + summary: Groups List RPC Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for RPC rules. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK @@ -17618,51 +18116,22 @@ paths: security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/filters/dst-candidates: - get: - operationId: MFAOutboundPoliciesDestinationCandidatesFilters_List - summary: List Outbound MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates on outbound MFA policies. - parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetsFiltersList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Outbound - /protection/reactive-policies/outbound/filters/src-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/filters/remote-candidates: get: - operationId: MFAOutboundPoliciesSourceCandidatesFilters_List - summary: Get Outbound MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates on outbound MFA policies. + operationId: GroupsRPCRulesSourceCandidatesFilters_List + summary: Groups Get RPC Rules Source Candidates Filters + description: Returns a list of filters for source candidates for RPC rules. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -17674,13 +18143,15 @@ paths: security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/filters/src-users-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/filters/user-candidates: get: - operationId: MFAOutboundPoliciesSourceUsersCandidatesFilters_List - summary: List Outbound MFA Policies Source Users Candidates Filters - description: Returns a list of filsters for source users candidates on outbound MFA policies. + operationId: GroupsRPCRulesUserCandidatesFilters_List + summary: Groups List RPC Rules Filters User Candidates + description: Returns a list of user candidates for filters in RPC rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -17690,31 +18161,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Outbound - /protection/reactive-policies/outbound/mfa-methods: - get: - operationId: MFAOutboundPoliciesMFAMethods_List - summary: List Outbound MFA Policies Methods - description: Returns a list of MFA methods on outbound MFA policies. - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -17726,15 +18173,17 @@ paths: security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/src-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/local-candidates: get: - operationId: MFAOutboundPoliciesSourceCandidates_List - summary: List Outbound MFA Policies Source Candidates - description: Returns a list of source candidates on outbound MFA policies. + operationId: GroupsRPCRulesDestinationCandidates_List + summary: Groups List RPC Rules Destination Candidates + description: Returns a list of destination candidates for RPC rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -17754,75 +18203,17 @@ paths: security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/src-users-candidates: - get: - operationId: MFAOutboundPoliciesSourceUserCandidates_List - summary: Get Outbound MFA Policies Source Users Candidates - description: Returns a list of source users candidates on outbound MFA policies. - parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/srcUserCandidatesList' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Outbound - /protection/reactive-policies/outbound/simulate: - get: - operationId: MFAOutboundPoliciesSimulate_Test - summary: Simulate Outbound MFA access - description: Returns a list of outbound MFA policies that would match the simulation. - parameters: - - $ref: '#/components/parameters/srcUserId' - - $ref: '#/components/parameters/srcAssetId' - - $ref: '#/components/parameters/srcProcess' - - $ref: '#/components/parameters/dstAssetId' - - $ref: '#/components/parameters/dstProcess' - - $ref: '#/components/parameters/protocolType' - - $ref: '#/components/parameters/port' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/simulationResponse' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Outbound - /protection/reactive-policies/outbound/simulate/dst-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/remote-candidates: get: - operationId: MFAOutboundPoliciesSimulateDesinationCandidates_List - summary: Get Outbound MFA Simulation Destination Candidates - description: Returns a list of destination candidates on outbound MFA simulation. + operationId: GroupsRPCRulesSourceCandidates_List + summary: Groups List RPC Rules Source Candidates + description: Returns a list of source candidates for RPC rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -17842,39 +18233,15 @@ paths: security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/simulate/resolve: - get: - operationId: MFAOutboundPoliciesSimulateResolve_Get - summary: Resolve simulation parameters - description: Returns resolved simulation parameters. - parameters: - - $ref: '#/components/parameters/simulationParams' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/simulationParams' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Outbound - /protection/reactive-policies/outbound/simulate/src-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/rpc-rules/user-candidates: get: - operationId: MFAOutboundPoliciesSimulateSourceCandidates_List - summary: List Outbound MFA Simulation Source Candidates - description: Returns a list of source candidates on outbound MFA simulation. + operationId: GroupsRPCRulesUserCandidates_List + summary: Groups List RPC Rules User Candidates + description: Returns a list of user candidates for RPC rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' @@ -17884,7 +18251,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -17896,23 +18263,24 @@ paths: security: - api_key: [] tags: - - MFA Outbound - /protection/reactive-policies/outbound/simulate/src-users-candidates: + - Groups + /groups/{groupType}/{groupId}/protection/rules/distribution/{ruleId}: get: - operationId: MFAOutboundPoliciesSimulateSourceUserCandidates_List - summary: Get Outbound MFA Simulation Source Users Candidates - description: Returns a list of source users candidates on outbound MFA simulation. + operationId: GroupsRulesDistribution_Get + summary: Get distribution of rule hit count + description: Returns an object with rules distribution. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/ruleDirectionParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/ruleDistribution' '400': $ref: '#/components/responses/400' '401': @@ -17924,102 +18292,24 @@ paths: security: - api_key: [] tags: - - MFA Outbound - '/protection/reactive-policies/outbound/{reactivePolicyId}': + - Group + /groups/{groupType}/{groupId}/protection/rules/history/{ruleId}: get: - operationId: MFAOutboundPolicies_Get - summary: Get Outbound MFA Policy - description: Returns the properties of an outbound MFA policy. - parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyResponse' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Outbound - put: - operationId: MFAOutboundPolicies_Update - summary: Update Outbound MFA Policy - description: Returns the updated properties of an outbound MFA policy. - parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' - requestBody: - description: Reactive Policy properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyOutboundBody' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/reactivePolicyItem' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Outbound - delete: - operationId: MFAOutboundPolicies_Delete - summary: Remove Outbound MFA Policy - description: Returns an empty object. + operationId: GroupsRulesHistory_Get + summary: Get a historic version of an rule + description: Returns the properties of the previous version of the rule. parameters: - - $ref: '#/components/parameters/reactivePolicyIdParameter' - responses: - '200': - description: OK - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - MFA Outbound - /protection/reactive-policies/statistics: - get: - operationId: MFAPoliciesStatistics_List - summary: Get MFA statistics - description: Returns an object with MFA statistics. + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/updateIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePoliciesStatistics' + $ref: '#/components/schemas/historyRule' '400': $ref: '#/components/responses/400' '401': @@ -18031,26 +18321,33 @@ paths: security: - api_key: [] tags: - - MFA - /protection/rpc-rules: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound: get: - operationId: RPCRules_List - summary: List RPC Rules - description: Returns a list of RPC rules. + operationId: GroupsInboundRules_List + summary: Groups List Inbound Rules + description: Returns a list of Inbound rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityParams' - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/directionParameter' - $ref: '#/components/parameters/addBuiltinsParameter' - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRulesList' + $ref: '#/components/schemas/rulesList' '400': $ref: '#/components/responses/400' '401': @@ -18062,25 +18359,28 @@ paths: security: - api_key: [] tags: - - Rules RPC + - Group post: - operationId: RPCRules_Create - summary: Create RPC Rule - description: Returns the properties of the create RPC rule. + operationId: GroupsInboundRules_Create + summary: Groups Create Inbound Rule + description: Returns the properties of the created Inbound rule. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' requestBody: description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/rpcRuleBody' + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': @@ -18094,13 +18394,15 @@ paths: security: - api_key: [] tags: - - Rules RPC - '/protection/rpc-rules/{ruleId}': + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/{ruleId}: get: - operationId: RPCRule_Get - summary: Get RPC Rule - description: Returns the properties of an RPC rule. + operationId: GroupsInboundRule_Get + summary: Groups Get Inbound Rule + description: Returns the properties of an Inbound rule. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/ruleIdParameter' responses: '200': @@ -18108,7 +18410,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/ruleItem' '400': $ref: '#/components/responses/400' '401': @@ -18122,12 +18424,14 @@ paths: security: - api_key: [] tags: - - Rules RPC + - Group put: - operationId: RPCRule_Update - summary: Update RPC Rule - description: Returns the properties of the update RPC rule. + operationId: GroupsInboundRule_Update + summary: Groups Update Inbound Rule + description: Returns the properties of the update Inbound rule. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/ruleIdParameter' requestBody: description: Rule properties @@ -18135,14 +18439,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/rpcRuleBody' + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rpcRuleResponse' + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': @@ -18156,12 +18460,14 @@ paths: security: - api_key: [] tags: - - Rules RPC + - Group delete: - operationId: RPCRule_Delete - summary: Remove RPC Rule + operationId: GroupsInboundRule_Delete + summary: Groups Remove Inbound Rule description: Returns an empty object. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/ruleIdParameter' responses: '200': @@ -18179,13 +18485,15 @@ paths: security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/excluded-local-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/excluded-local-candidates: get: - operationId: RPCRulesExcludedDestinationCandidates_List - summary: Get RPC Rules Excluded Destination Candidates - description: Returns a list of excluded destionation candidates for RPC rules. + operationId: GroupsInboundRulesExcludedDestinationCandidates_List + summary: Groups Get Inbound Rules Excluded Destination Candidates + description: Returns a list of excluded destination candidates for Inbound rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' @@ -18207,12 +18515,15 @@ paths: security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/export: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/export: post: - operationId: RPCRules_Export - summary: Export RPC Rules + operationId: GroupsInboundRules_Export + summary: Groups Export Inbound Rules description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true @@ -18238,13 +18549,15 @@ paths: security: - api_key: [] tags: - - Rules RPC - '/protection/rpc-rules/export/csv/{exportId}': + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/export/csv/{exportId}: get: - operationId: RPCRulesExport_Get - summary: Download RPC rules export + operationId: GroupsInboundRulesExport_Get + summary: Download groups Inbound rules export description: Returns a csv file to be downloaded. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/exportIdParameter' responses: '200': @@ -18254,15 +18567,20 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/filters: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/filters: get: - operationId: RPCRulesFilters_List - summary: List RPC Rules Filters - description: Returns a list of filters for RPC rules. + operationId: GroupsInboundRulesFilters_List + summary: Groups List Inbound Rules Filters + description: Returns a list of filters for Inbound rules. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK @@ -18283,19 +18601,25 @@ paths: security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/filters/local-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/filters/remote-candidates: get: - operationId: RPCRulesDesinationCandidatesFilters_List - summary: List RPC Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for RPC rules. + operationId: GroupsInboundRulesSourceCandidatesFilters_List + summary: Groups Get Inbound Rules Source Candidates Filters + description: Returns a list of filters for source candidates for Inbound rules. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -18307,19 +18631,25 @@ paths: security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/filters/remote-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/filters/local-candidates: get: - operationId: RPCRulesSourceCandidatesFilters_List - summary: Get RPC Rules Source Candidates Filters - description: Returns a list of filters for source candidates for RPC rules. + operationId: GroupsInboundRulesDestinationCandidatesFilters_List + summary: Groups List Inbound Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for Inbound rules. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -18331,15 +18661,17 @@ paths: security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/filters/user-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/local-candidates: get: - operationId: RPCRulesUserCandidatesFilters_List - summary: List RPC Rules Filters User Candidates - description: Returns a list of user candidates for filters in RPC rules. + operationId: GroupsInboundRulesDestinationCandidates_List + summary: Groups List Inbound Rules Destination Candidates + description: Returns a list of destination candidates for Inbound rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -18347,7 +18679,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -18359,16 +18691,19 @@ paths: security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/local-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/remote-candidates: get: - operationId: RPCRulesDestinationCandidates_List - summary: List RPC Rules Destination Candidates - description: Returns a list of destionation candidates for RPC rules. + operationId: GroupsInboundRulesSourceCandidates_List + summary: Groups List Inbound Rules Source Candidates + description: Returns a list of source candidates for Inbound rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK @@ -18387,51 +18722,103 @@ paths: security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/remote-candidates: - get: - operationId: RPCRulesSourceCandidates_List - summary: List RPC Rules Source Candidates - description: Returns a list of source candidates for RPC rules. + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/review/approve-with-changes/{ruleId}: + put: + operationId: GroupsInboundRulesReview_ApproveWithChanges + summary: Groups Update Inbound Rule + description: Approve a "pending review" rule with changes parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ruleReviewApproveWithChanges' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules RPC - /protection/rpc-rules/user-candidates: - get: - operationId: RPCRulesUserCandidates_List - summary: List RPC Rules User Candidates - description: Returns a list of user candidates for RPC rules. + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/review/approve/{ruleId}: + put: + operationId: GroupsInboundRulesReview_Approve + summary: Groups Approve a "pending review" rule + description: Approve a "pending review" rule without changes + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + '401': + $ref: '#/components/responses/401' + tags: + - Group + /groups/{groupType}/{groupId}/protection/rules/inbound/review/reject/{ruleId}: + delete: + operationId: GroupsInboundRulesReview_Deny + summary: Groups '' + description: Reject a "pending review" rule (deletes rule) + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ruleReviewReason' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '500': + $ref: '#/components/responses/500' + tags: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound: + get: + operationId: GroupsOutboundRules_List + summary: Groups List Outbound Rules + description: Returns a list of Outbound rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityParams' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/directionParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/rulesList' '400': $ref: '#/components/responses/400' '401': @@ -18443,130 +18830,171 @@ paths: security: - api_key: [] tags: - - Rules RPC - '/protection/rules/distribution/{ruleId}': - get: - operationId: RulesDistribution_Get - summary: Get distribution of rule hit count - description: Returns an object with rules distribution. + - Group + post: + operationId: GroupsOutboundRules_Create + summary: Groups Create Outbound Rule + description: Returns the properties of the created Outbound rule. parameters: - - $ref: '#/components/parameters/ruleIdParameter' - - $ref: '#/components/parameters/ruleDirectionParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleDistribution' + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules - '/protection/rules/history/{ruleId}': + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/{ruleId}: get: - operationId: RulesHistory_Get - summary: Get a historic version of an inbound rule - description: Returns the properties of the previous version of the rule. + operationId: GroupsOutboundRule_Get + summary: Groups Get Outbound Rule + description: Returns the properties of an Outbound rule. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/ruleIdParameter' - - $ref: '#/components/parameters/updateIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/historyRule' + $ref: '#/components/schemas/ruleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules - /protection/rules/inbound: - get: - operationId: InboundRules_List - summary: List Inbound Rules - description: Returns a list of Inbound rules. + - Group + put: + operationId: GroupsOutboundRule_Update + summary: Groups Update Outbound Rule + description: Returns the properties of the updated Outbound rules. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/entityParams' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rulesList' + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Inbound - post: - operationId: InboundRules_Create - summary: Create Inbound Rule - description: Returns the properties of the created Inbound rule. - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' + - Group + delete: + operationId: GroupsOutboundRule_Delete + summary: Groups Remove Outbound Rule + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/excluded-local-candidates: + get: + operationId: GroupsOutboundRulesExcludedSourceCandidates_List + summary: Groups List Outbound Rules Excluded Source Candidates + description: Returns a list of excluded source candidates for Outbound rules. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Inbound - /protection/rules/inbound/export: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/export: post: - operationId: InboundRules_Export - summary: Export Inbound Rules + operationId: GroupsOutboundRules_Export + summary: Groups Export Outbound Rules description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' requestBody: description: 'EntityId, from, to, search, filter or date time format for export' required: true @@ -18592,13 +19020,15 @@ paths: security: - api_key: [] tags: - - Rules Inbound - '/protection/rules/inbound/export/csv/{exportId}': + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/export/csv/{exportId}: get: - operationId: InboundRulesExport_Get - summary: Download Inbound Rules Export + operationId: GroupsOutboundRulesExport_Get + summary: Download groups Outbound rules export description: Returns a csv file to be downloaded. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/exportIdParameter' responses: '200': @@ -18608,26 +19038,27 @@ paths: schema: type: string format: binary + '401': + $ref: '#/components/responses/401' security: - api_key: [] tags: - - Rules Inbound - /protection/rules/inbound/excluded-local-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/filters: get: - operationId: InboundRulesExcludedDestinationCandidates_List - summary: Get Inbound Rules Excluded Destination Candidates - description: Returns a list of excluded destionation candidates for Inbound rules. + operationId: GroupsOutboundRulesFilters_List + summary: Groups List Outbound Rules Filters + description: Returns a list of filters for Outbound rules. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -18639,12 +19070,15 @@ paths: security: - api_key: [] tags: - - Rules Inbound - /protection/rules/inbound/filters: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/filters/excluded-local-candidates: get: - operationId: InboundRulesFilters_List - summary: List Inbound Rules Filters - description: Returns a list of filters for Inbound rules. + operationId: GroupsOutboundRulesExcludedSourceCandidatesFilters_List + summary: Groups List Outbound Rules Excluded Source Candidates Filters + description: Returns a list of filters for excluded source candidates for Outbound rules. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK @@ -18658,26 +19092,30 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Inbound - /protection/rules/inbound/filters/local-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/filters/local-candidates: get: - operationId: InboundRulesDesinationCandidatesFilters_List - summary: List Inbound Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for Inbound rules. + operationId: GroupsOutboundRulesSourceCandidatesFilters_List + summary: Groups List Outbound Rules Source Candidates Filters + description: Returns a list of filters for source candidates for Outbound rules. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -18689,19 +19127,25 @@ paths: security: - api_key: [] tags: - - Rules Inbound - /protection/rules/inbound/filters/remote-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/filters/remote-candidates: get: - operationId: InboundRulesSourceCandidatesFilters_List - summary: Get Inbound Rules Source Candidates Filters - description: Returns a list of filters for source candidates for Inbound rules. + operationId: GroupsOutboundRulesDestinationCandidatesFilters_List + summary: Groups List Outbound Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for Outbound rules. + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -18713,15 +19157,17 @@ paths: security: - api_key: [] tags: - - Rules Inbound - /protection/rules/inbound/local-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/filters/user-candidates: get: - operationId: InboundRulesDestinationCandidates_List - summary: List Inbound Rules Destination Candidates - description: Returns a list of destionation candidates for Inbound rules. + operationId: GroupsOutboundRulesUserCandidatesFilters_List + summary: List Outbound Rules Filters User Candidates for a group + description: Returns a list of user candidates for filters in Outbound rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -18729,7 +19175,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -18741,17 +19187,18 @@ paths: security: - api_key: [] tags: - - Rules Inbound - /protection/rules/inbound/remote-candidates: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/local-candidates: get: - operationId: InboundRulesSourceCandidates_List - summary: List Inbound Rules Source Candidates - description: Returns a list of source candidates for Inbound rules. + operationId: GroupsOutboundRulesSourceCandidates_List + summary: Groups List Outbound Rules Source Candidates + description: Returns a list of source candidates for Outbound rules. parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK @@ -18770,35 +19217,46 @@ paths: security: - api_key: [] tags: - - Rules Inbound - '/protection/rules/inbound/review/approve/{ruleId}': - put: - operationId: InboundRulesReview_Approve - summary: Approve a "pending review" rule - description: Approve a "pending review" rule without changes + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/remote-candidates: + get: + operationId: GroupsOutboundRulesDestinationCandidates_List + summary: Groups List Outbound Destination Candidates + description: Returns a list of destination candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Rules - '/protection/rules/inbound/review/approve-with-changes/{ruleId}': + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/review/approve-with-changes/{ruleId}: put: - operationId: InboundRulesReview_ApproveWithChanges - summary: Update Inbound Rule + operationId: GroupsOutboundRulesReview_ApproveWithChanges + summary: Groups Update Outbound Rule description: Approve a "pending review" rule with changes parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/ruleIdParameter' requestBody: content: @@ -18821,13 +19279,31 @@ paths: security: - api_key: [] tags: - - Rules Inbound - '/protection/rules/inbound/review/reject/{ruleId}': + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/review/approve/{ruleId}: + put: + operationId: GroupsOutboundRulesReview_Approve + summary: Groups Approve a "pending review" rule + description: Approve a "pending review" rule without changes + parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + '401': + $ref: '#/components/responses/401' + tags: + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/review/reject/{ruleId}: delete: - operationId: InboundRulesReview_Deny - summary: '' + operationId: GroupsOutboundRulesReview_Deny + summary: Groups '' description: Reject a "pending review" rule (deletes rule) parameters: + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' - $ref: '#/components/parameters/ruleIdParameter' requestBody: content: @@ -18839,87 +19315,58 @@ paths: description: OK '400': $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' tags: - - Rules - '/protection/rules/inbound/{ruleId}': + - Group + /groups/{groupType}/{groupId}/protection/rules/outbound/user-candidates: get: - operationId: InboundRule_Get - summary: Get Inbound Rule - description: Returns the properties of an Inbound rule. + operationId: GroupsOutboundRulesUserCandidates_List + summary: List Source Rules User Candidates for a group + description: Returns a list of users candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleItem' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Inbound - put: - operationId: InboundRule_Update - summary: Update Inbound Rule - description: Returns the properties of the update Inbound rule. + - Group + /groups/{groupType}/{groupId}/successors: + get: + operationId: GroupsMembers_List + summary: List Group members + description: Returns a list of potential members for a group. parameters: - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' + - $ref: '#/components/parameters/groupTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/includeNestedMembersQueryParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Rules Inbound - delete: - operationId: InboundRule_Delete - summary: Remove Inbound Rule - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/ruleIdParameter' - responses: - '200': - description: OK + $ref: '#/components/schemas/entitiesList' '400': $ref: '#/components/responses/400' '401': @@ -18933,27 +19380,22 @@ paths: security: - api_key: [] tags: - - Rules Inbound - /protection/rules/outbound: + - Group + /groups/{groupType}/{groupId}/successors/filters: get: - operationId: OutboundRules_List - summary: List Outbound Rules - description: Returns a list of Outbound rules. + operationId: GroupSuccessorsFilters_List + summary: Get groups successors filters + description: Returns a list of filters for Group members. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/entityParams' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/groupIdParameter' + - $ref: '#/components/parameters/groupTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/rulesList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -18965,129 +19407,132 @@ paths: security: - api_key: [] tags: - - Rules Outbound + - Group + /groups/ad/export: post: - operationId: OutboundRules_Create - summary: Create Outbound Rule - description: Returns the properties of the created Outbound rule. + operationId: ADGroups_Export + summary: Export AD Groups + description: export list of AD groups. requestBody: - description: Rule properties - required: true + description: 'EntityId, from, to, search, filter or date time format for export' content: application/json: schema: - $ref: '#/components/schemas/ruleBody' + $ref: '#/components/schemas/exportBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Outbound - /protection/rules/outbound/excluded-local-candidates: + - Groups Active Directory + /groups/ad/export/csv/{exportId}: get: - operationId: OutboundRulesExcludedSourceCandidates_List - summary: List Outbound Rules Excluded Source Candidates - description: Returns a list of excluded source candidates for Outbound rules. + operationId: ADGroupsExport_Get + summary: Download Ad groups Export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/candidatesList' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Outbound - /protection/rules/outbound/export: + - Groups Active Directory + /groups/custom: post: - operationId: OutboundRules_Export - summary: Export Outbound Rules - description: Returns an exportId to pass into the download API. + operationId: CustomGroups_Create + summary: Create Custom Group + description: Returns an empty object. requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyRules' + $ref: '#/components/schemas/customGroupBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/customGroupResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Outbound - '/protection/rules/outbound/export/csv/{exportId}': - get: - operationId: OutboundRulesExport_Get - summary: Download Outbound Rules Export - description: Returns a csv file to be downloaded. + - Groups Custom + /groups/custom/{groupId}: + put: + operationId: CustomGroups_Update + summary: Update Custom Group + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/groupIdParameter' + requestBody: + description: Custom Group properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/customGroupBody' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/customGroupResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Outbound - /protection/rules/outbound/filters: - get: - operationId: OutboundRulesFilters_List - summary: List Outbound Rules Filters - description: Returns a list of filters for Outbound rules. + - Groups Custom + delete: + operationId: CustomGroups_Delete + summary: Delete Custom Group + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/groupIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -19099,19 +19544,24 @@ paths: security: - api_key: [] tags: - - Rules Outbound - /protection/rules/outbound/filters/excluded-local-candidates: + - Groups Custom + /groups/custom/member-candidates: get: - operationId: OutboundRulesExcludedSourceCandidatesFilters_List - summary: List Outbound Rules Excluded Source Candidates Filters - description: Returns a list of filters for excluded source candidates for Outbound rules. + operationId: CustomGroupsCandidates_List + summary: List Custom Groups member candidates + description: Returns a list of candidates for custom group membership. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/groupIdQueryParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/groupsList' '400': $ref: '#/components/responses/400' '401': @@ -19123,19 +19573,24 @@ paths: security: - api_key: [] tags: - - Rules Outbound - /protection/rules/outbound/filters/local-candidates: - get: - operationId: OutboundRulesSourceCandidatesFilters_List - summary: List Outbound Rules Source Candidates Filters - description: Returns a list of filters for source candidates for Outbound rules. + - Groups Custom + /groups/custom/{groupId}/members: + put: + operationId: CustomGroupsMembers_Add + summary: Add Custom Group members + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/groupIdParameter' + requestBody: + description: Custom Group Members properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/customGroupMembersBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -19147,19 +19602,23 @@ paths: security: - api_key: [] tags: - - Rules Outbound - /protection/rules/outbound/filters/remote-candidates: - get: - operationId: OutboundRulesDestinationCandidatesFilters_List - summary: List Outbound Rules Destination Candidates Filters - description: Returns a list of filters for destination candidates for Outbound rules. + - Groups Custom + delete: + operationId: CustomGroupsMembers_Delete + summary: Delete Custom Group members + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/groupIdParameter' + requestBody: + description: Custom Group Members properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/customGroupMembersBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -19171,23 +19630,19 @@ paths: security: - api_key: [] tags: - - Rules Outbound - /protection/rules/outbound/local-candidates: + - Groups Custom + /groups/statistics: get: - operationId: OutboundRulesSourceCandidates_List - summary: List Outbound Rules Source Candidates - description: Returns a list of source candidates for Outbound rules. - parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: GroupsStatistics_Get + summary: Get Group statistics + description: Returns an object with group statistics. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/groupsStatistics' '400': $ref: '#/components/responses/400' '401': @@ -19199,43 +19654,54 @@ paths: security: - api_key: [] tags: - - Rules Outbound - /protection/rules/outbound/remote-candidates: - get: - operationId: OutboundRulesDestinationCandidates_List - summary: List Outbound Destination Candidates - description: Returns a list of destination candidates for Outbound rules. + - Groups + /groups/tag/{groupId}/members: + put: + operationId: TagGroupsMembers_Add + summary: Add Tag Group members. + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/ruleTypeParameter' + - $ref: '#/components/parameters/groupIdParameter' + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/tagGroupBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/emptyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Outbound - '/protection/rules/outbound/review/approve/{ruleId}': - put: - operationId: OutboundRulesReview_Approve - summary: Approve a "pending review" rule - description: Approve a "pending review" rule without changes + - Groups Custom + delete: + operationId: TagGroupsMembers_delete + summary: Remove tag group members + description: Remove tag group members by members id. parameters: - - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/groupIdParameter' + requestBody: + description: Tag Group Members properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/customGroupMembersBody' responses: '200': description: OK @@ -19245,56 +19711,53 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Rules - '/protection/rules/outbound/review/approve-with-changes/{ruleId}': - put: - operationId: OutboundRulesReview_ApproveWithChanges - summary: Update Outbound Rule - description: Approve a "pending review" rule with changes + - Groups Tag + /groups/tag/member-candidates: + get: + operationId: TagGroupsCandidates_List + summary: List Tag Groups member candidates + description: Returns a list of candidates for tag group membership. parameters: - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewApproveWithChanges' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/groupIdQueryParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Outbound - '/protection/rules/outbound/review/reject/{ruleId}': - delete: - operationId: OutboundRulesReview_Deny - summary: '' - description: Reject a "pending review" rule (deletes rule) - parameters: - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ruleReviewReason' + - Groups Tag + /profile: + get: + operationId: Profile_Get + description: Returns user profile + summary: Get user provilde responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/profileResponse' '400': $ref: '#/components/responses/400' '401': @@ -19305,22 +19768,29 @@ paths: $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Rules - '/protection/rules/outbound/{ruleId}': + - Profile + /profile/environments: get: - operationId: OutboundRule_Get - summary: Get Outbound Rule - description: Returns the properties of an Outbound rule. - parameters: - - $ref: '#/components/parameters/ruleIdParameter' + description: Get Environment Profile + operationId: Profile_GetEnvironments + tags: + - Profile + summary: Get all environments responses: '200': - description: OK + description: Successful response content: application/json: schema: - $ref: '#/components/schemas/ruleItem' + type: object + properties: + environments: + type: array + items: + type: object '400': $ref: '#/components/responses/400' '401': @@ -19333,45 +19803,44 @@ paths: $ref: '#/components/responses/500' security: - api_key: [] - tags: - - Rules Outbound - put: - operationId: OutboundRule_Update - summary: Update Outbound Rule - description: Returns the properties of the updated Outbound rules. + /protection/ae-exclusions/inbound: + get: + operationId: AEExclusionsInbound_List + summary: List Automation Engine Inbound exclusions + description: Returns a list of AE exclusions. parameters: - - $ref: '#/components/parameters/ruleIdParameter' - requestBody: - description: Rule properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ruleBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleResponse' + $ref: '#/components/schemas/aeExclusionList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Rules Outbound + - AE Exclusions + /protection/ae-exclusions/inbound/{ruleId}: delete: - operationId: OutboundRule_Delete - summary: Remove Outbound Rule + operationId: AEExclusionsInbound_Delete + summary: Delete Automation Engine Inbound exclusions description: Returns an empty object. parameters: - $ref: '#/components/parameters/ruleIdParameter' @@ -19391,19 +19860,26 @@ paths: security: - api_key: [] tags: - - Rules Outbound - /protection/rules/statistics: - get: - operationId: RulesStatistics_Get - summary: Get rules statistics - description: Returns an object with rule statistics. + - AE Exclusions + /protection/ae-exclusions/inbound/export: + post: + operationId: AEExclusionsInbound_Export + summary: Export Automation Engine Inbound exclusions + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleStatistics' + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -19415,47 +19891,70 @@ paths: security: - api_key: [] tags: - - Rules - /sessions: + - AE Exclusions + /protection/ae-exclusions/inbound/export/csv/{exportId}: get: - operationId: Sessions_List - summary: List Connect sessions - description: Returns a list of Connect sessions. + operationId: AEExclusionsInboundExport_Get + summary: Download Automation Engine Exclusions Inbound Export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - AE Exclusions + /protection/ae-exclusions/inbound/filters: + get: + operationId: AEExclusionsInboundFilters_List + summary: List Automation Engine Exclusions Inbound Filters + description: Returns a list of filters for AE exclusions. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/sessionsList' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Sessions - /sessions/filters: + - AE Exclusions + /protection/ae-exclusions/inbound/filters/local-candidates: get: - operationId: SessionsFilters_List - summary: List Sessions Filters - description: Returns a list of filters for sessions. + operationId: AEExclusionsInboundDestinationCandidatesFilters_List + summary: List Automation Engine Exclusions Inbound Destination Candidates Filters + description: Returns a list of filters for destination candidates for AE exclusions. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -19467,17 +19966,23 @@ paths: security: - api_key: [] tags: - - Sessions - '/sessions/{sessionId}/revoke': - post: - operationId: Session_Revoke - summary: Revoke a Connect session - description: Revoke a Connect session. + - AE Exclusions + /protection/ae-exclusions/inbound/filters/remote-candidates: + get: + operationId: AEExclusionsInboundSourceCandidatesFilters_List + summary: Get Automation Engine Exclusions Inbound Source Candidates Filters + description: Returns a list of filters for source candidates AE exclusions. parameters: - - $ref: '#/components/parameters/sessionIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -19489,57 +19994,31 @@ paths: security: - api_key: [] tags: - - Sessions - /settings/access-tokens: + - AE Exclusions + /protection/ae-exclusions/outbound: get: - operationId: AccessTokens_List - summary: Get all machine access tokens - description: Get all machine access tokens + operationId: AEExclusionsOutbound_List + summary: List Automation Engine Outbound exclusions + description: Returns a list of AE exclusions. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - type: object - properties: - items: - type: array - items: - $ref: '#/components/schemas/accessTokenInfo' - x-examples: - example-1: - items: - - clientId: 'm:695d7d50e8c0c2864c985e72de1a2fdef7dfdc6e' - accessType: 2 - name: asd - expiry: '2024-06-27T08:21:21.000Z' - issuedAt: '2022-06-27T08:21:21.000Z' - createdAt: '2022-06-27T08:21:21.000Z' - - clientId: 'm:89879dabe83936376121296e74123c9e3d2ec92f' - accessType: 2 - name: test - expiry: '2024-06-26T15:49:10.000Z' - issuedAt: '2022-06-26T15:49:10.000Z' - createdAt: '2022-06-26T15:49:10.000Z' - - clientId: 'm:8ee92624445d106a06e346d0c0a41bbfa77e1446' - accessType: 2 - name: TEST - expiry: '2024-06-26T15:49:05.000Z' - issuedAt: '2022-06-26T15:49:05.000Z' - createdAt: '2022-06-26T13:28:24.000Z' - - clientId: 'm:6a73f5b14aa8557c527a99ae601e648a9c56b504' - accessType: 2 - name: asdf - expiry: '2024-06-26T12:13:08.000Z' - issuedAt: '2022-06-26T12:13:08.000Z' - createdAt: '2022-06-26T12:08:25.000Z' - - clientId: 'm:4a21e3d73c58bc0040cff93b508d361bef81a83f' - accessType: 2 - name: fasdf - expiry: '2022-07-26T12:08:14.000Z' - issuedAt: '2022-06-26T12:08:14.000Z' - createdAt: '2022-06-23T16:53:01.000Z' + $ref: '#/components/schemas/aeExclusionList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': @@ -19549,49 +20028,17 @@ paths: security: - api_key: [] tags: - - Settings Access Tokens - post: - operationId: AccessTokens_Create - summary: Create machine access token - description: Create machine access token - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - expiry: - $ref: '#/components/schemas/epochMillis' - accessType: - $ref: '#/components/schemas/accessTypeEnum' - x-examples: - example-1: - name: read only example - expiry: '2024-06-27T08:45:01.623Z' - accessType: 2 + - AE Exclusions + /protection/ae-exclusions/outbound/{ruleId}: + delete: + operationId: AEExclusionsOutbound_Delete + summary: Delete Automation Engine Outbound exclusions + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - application/json: - schema: - type: object - properties: - name: - type: string - expiry: - type: string - accessType: - $ref: '#/components/schemas/accessTypeEnum' - x-examples: - example-1: - name: Read only access token - expiry: '2024-06-27T08:45:14.129Z' - accessType: 2 - '201': - description: Created '400': $ref: '#/components/responses/400' '401': @@ -19605,104 +20052,101 @@ paths: security: - api_key: [] tags: - - Settings Access Tokens - '/settings/access-tokens/{clientId}': - put: - operationId: AccessTokens_Regenerate - summary: Regenerate machine access token - description: Regenerate machine access token - parameters: - - $ref: '#/components/parameters/clientIdParameter' + - AE Exclusions + /protection/ae-exclusions/outbound/export: + post: + operationId: AEExclusionsOutbound_Export + summary: Export Automation Engine Outbound exclusions + description: Returns an exportId to pass into the download API. requestBody: - description: '' + description: 'EntityId, from, to, search, filter or date time format for export' + required: true content: application/json: schema: - type: object - properties: - expiry: - $ref: '#/components/schemas/epochMillis' - x-examples: - example-1: - expiry: 1719477497062 + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Access Tokens - delete: - operationId: AccessTokens_Delete - summary: Delete access token - description: Remove machine access token + - AE Exclusions + /protection/ae-exclusions/outbound/export/csv/{exportId}: + get: + operationId: AEExclusionsOutboundExport_Get + summary: Download Automation Engine Exclusions Outbound Export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/clientIdParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: - '204': + '200': description: OK - '400': - $ref: '#/components/responses/400' + content: + text/csv: + schema: + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Access Tokens - /settings/ai/exclusion/network/both: + - AE Exclusions + /protection/ae-exclusions/outbound/filters: get: - operationId: AIExclusionNetworkBoth_Get - summary: Your GET endpoint - description: 'Get AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' + operationId: AEExclusionsOutboundFilters_List + summary: List Automation Engine Exclusions Outbound Filters + description: Returns a list of filters for AE exclusions. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/aiExclusionInfo' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Settings AI - put: - operationId: AIExclusionNetworkBoth_Update - summary: '' - description: 'Set AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/aiExclusionInfo' + - AE Exclusions + /protection/ae-exclusions/outbound/filters/local-candidates: + get: + operationId: AEExclusionsOutboundDestinationCandidatesFilters_List + summary: List Automation Engine Exclusions Outbound Destination Candidates Filters + description: Returns a list of filters for destination candidates for AE exclusions. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/aiExclusionInfo' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -19711,20 +20155,22 @@ paths: $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Settings AI - /settings/ai/exclusion/network/client: + - AE Exclusions + /protection/ae-exclusions/outbound/filters/remote-candidates: get: - operationId: AIExclusionNetworkClient_Get - summary: Your GET endpoint - description: 'Get AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' + operationId: AEExclusionsOutboundSourceCandidatesFilters_List + summary: Get Automation Engine Exclusions Outbound Source Candidates Filters + description: Returns a list of filters for source candidates AE exclusions. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/aiExclusionInfo' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -19733,127 +20179,177 @@ paths: $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Settings AI - put: - operationId: AIExclusionNetworkClient_Update - summary: '' - description: 'Set AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' + - AE Exclusions + /protection/external-access-policies: + get: + operationId: ExternalAccessPolicy_List + summary: List External Access policies + description: Returns a list of external access policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - External Access Policy + post: + operationId: ExternalAccessPolicy_Create + summary: Create an external access policy + description: Returns a the external access policy requestBody: content: application/json: schema: - $ref: '#/components/schemas/aiExclusionInfo' + $ref: '#/components/schemas/externalAccessPolicyBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/aiExclusionInfo' + $ref: '#/components/schemas/externalAccessPolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Settings AI - /settings/ai/exclusion/network/server: + - External Access Policy + /protection/external-access-policies/{policyId}: get: - operationId: AIExclusionNetworkServer_Get - summary: Your GET endpoint - description: 'Get AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' + operationId: ExternalAccessPolicy_Get + summary: Get an External Access policy + description: Returns an external access policy. + parameters: + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/aiExclusionInfo' + $ref: '#/components/schemas/externalAccessPolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Settings AI + - External Access Policy put: - operationId: AIExclusionNetworkServer_Update - summary: '' - description: 'Set AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' + operationId: ExternalAccessPolicy_Update + summary: Update an External Access policy + description: Returns an external access policy. + parameters: + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' requestBody: content: application/json: schema: - $ref: '#/components/schemas/aiExclusionInfo' + $ref: '#/components/schemas/externalAccessPolicyBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/aiExclusionInfo' + $ref: '#/components/schemas/externalAccessPolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Settings AI - /settings/ai/exclusion/src-candidates: - get: - operationId: AIExclusionSourceCandidates_Get - summary: Get AI excluded source entity candidates. - description: Get AI source candidates to ignore during learning. + - External Access Policy + delete: + operationId: ExternalAccessPolicy_Delete + summary: Delete an External Access policy + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetCandidateList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings AI - /settings/ai/exclusion/src-entities: + - External Access Policy + /protection/external-access-policies/dst-asset-candidates: get: - operationId: AIExclusionSourceEntities_Get - summary: Get AI excluded source entity settings. - description: Get AI source entities to ignore during learning. + operationId: ExternalAccessPolicyDestinationAssetsCandidates_List + summary: List External Access Policy Destinations Assets Candidates + description: Returns a list of destunation assets candidates for an external access policy. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - type: object - properties: - items: - type: array - items: - $ref: '#/components/schemas/assetBasicInfo' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': @@ -19865,67 +20361,77 @@ paths: security: - api_key: [] tags: - - Settings AI - put: - operationId: AIExclusionSourceEntities_Update - summary: '' - description: Set AI source entities to ignore during learning. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/aiExclusionSourceEntitiesBody' + - External Access Policy + /protection/external-access-policies/filters: + get: + operationId: ExternalAccessPolicyFilters_List + summary: List External Access Policy Filters + description: Returns a list of filters for external access policies. responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings AI - /settings/ai/rule-review: + - External Access Policy + /protection/external-access-policies/filters/dst-asset-candidates: get: - operationId: SettingsAiRuleReview_Get - summary: Get Rules Review under AI Settings - description: Get AI rules review settings + operationId: ExternalAccessPolicyDestinationAssetsCandidatesFilters_List + summary: List External Access Policy Destination Assets Candidates Filters + description: Returns a list of filters for destination asset candidates in external access policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAiRuleReview' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings AI Rules Review - put: - operationId: SettingsAiRuleReview_Update - summary: Set Rule Review under AI Settings - description: Update AI rule review settings - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsAiRuleReview' + - External Access Policy + /protection/external-access-policies/filters/src-users-candidates: + get: + operationId: ExternalAccessPolicySourceUserCandidatesFilters_List + summary: List External Access Policy Source User Candidates Filters + description: Returns a list of filters for source user candidates in external access policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAiRuleReview' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -19937,19 +20443,23 @@ paths: security: - api_key: [] tags: - - Settings AI Rules Review - /settings/asset-management/active-directory: + - External Access Policy + /protection/external-access-policies/src-users-candidates: get: - operationId: SettingsAD_Get - summary: Get AD settings in Asset Management - description: Get the AD settings in Asset Managment + operationId: ExternalAccessPolicySourceUserCandidates_List + summary: List External Access Policy Source User Candidates + description: Returns a list of source user candidates for external access policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAdInfoResponse' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -19961,315 +20471,332 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - post: - operationId: SettingsAD_Create - summary: Add AD settings in Asset Managment - description: Set the AD settings in Asset Managment - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsAdInfoBody' + - External Access Policy + /protection/external-access-policies/statistics: + get: + operationId: ExternalAccessPolicyStatistics_Get + summary: Get External Access policies statistics + description: Returns statistics for an external access policy. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAdInfoBody' + $ref: '#/components/schemas/externalAccessPolicyStatistics' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-management/active-directory/candidates/monitored: + - External Access Policy + /protection/identity-rules: get: - operationId: SettingsADMonitoredCandidates_Get - summary: List candidates for monitoring for an AD forest - description: Returns a list of monitoring candidates for an AD forest. + operationId: IdentityRules_List + summary: List Identity Rules + description: Returns a list of identity segmentation rules. parameters: - - $ref: '#/components/parameters/forestIdQueryParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/identityRulesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-management/active-directory/candidates/protected: - get: - operationId: SettingsADProtectedCandidates_Get - summary: List candidates for protection for an AD forest - description: Returns a list of protection candidates for an AD forest. - parameters: - - $ref: '#/components/parameters/forestIdQueryParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' + - Rules Identity + post: + operationId: IdentityRules_Create + summary: Create an Identity Rule + description: Returns a the identity segmentation rule. + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleBody' + required: true responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/identityRuleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-management/active-directory/rediscover: - put: - operationId: AD_Rediscover - summary: Rediscover monitored assets - description: Rediscover monitored assets + - Rules Identity + /protection/identity-rules/{ruleId}: + get: + operationId: IdentityRules_Get + summary: Get Identity Rule + description: Returns an identity segmentation rule. + parameters: + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - '/settings/asset-management/active-directory/{forestId}': + - Rules Identity put: - operationId: SettingsAD_Update - summary: Update AD Settings in Asset Managment - description: Update AD forest settings. + operationId: IdentityRules_Update + summary: Update an Identity Rule + description: Returns a the identity segmentation rule. parameters: - - $ref: '#/components/parameters/forestIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' requestBody: content: application/json: schema: - $ref: '#/components/schemas/settingsAdInfoBody' + $ref: '#/components/schemas/identityRuleBody' + required: true responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management + - Rules Identity delete: - operationId: SettingsAD_Delete - summary: Delete forest from AD Settings in Asset Managment - description: Delete AD forest settings. + operationId: IdentityRules_Delete + summary: Remove Identity Rule + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/forestIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - '/settings/asset-management/active-directory/{forestId}/groups': - put: - operationId: SettingsADAutomationGroups_Update - summary: Update Automation Groups for a Forest in Asset Managment - description: Update Automation Groups for an AD forest setting. + - Rules Identity + /protection/identity-rules/asset-candidates: + get: + operationId: IdentityRulesAssetsCandidates_List + summary: List Identity Rules Assets Candidates + description: Returns a list of assets candidates for Identity rules. parameters: - - $ref: '#/components/parameters/forestIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsAdAutomationGroupsBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - '/settings/asset-management/active-directory/{forestId}/secondary': - post: - operationId: SettingsAdSecondary_Create - summary: Add a secondary AD settings in Asset Managment - description: Add a secondary AD settings in Asset Managment + - Rules Identity + /protection/identity-rules/excluded-asset-candidates: + get: + operationId: IdentityRulesExcludedAssetsCandidates_List + summary: List Identity Rules Excluded Assets Candidates + description: Returns a list of excluded assets candidates for Identity rules. parameters: - - $ref: '#/components/parameters/forestIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsAdSecondaryBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - '/settings/asset-management/active-directory/{forestId}/secondary/{domainId}': - delete: - operationId: SettingsAdSecondary_Delete - summary: Remove Secondary Active Directory Settings - description: Returns an empty reponse. - parameters: - - $ref: '#/components/parameters/forestIdParameter' - - $ref: '#/components/parameters/domainIdParameter' + - Rules Identity + /protection/identity-rules/export: + post: + operationId: IdentityRules_Export + summary: Export Identity Rules + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - put: - operationId: SettingsAdSecondary_Update - summary: Update a secondary AD settings in Asset Managment - description: Update a secondary AD settings in Asset Managment + - Rules Identity + /protection/identity-rules/export/csv/{exportId}: + get: + operationId: IdentityRulesExport_Get + summary: Download Identity Rules Export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/forestIdParameter' - - $ref: '#/components/parameters/domainIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsAdSecondaryBody' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': - $ref: '#/components/responses/200_empty' - '400': - $ref: '#/components/responses/400' + description: OK + content: + text/csv: + schema: + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-management/active-directory/sync-info: + - Rules Identity + /protection/identity-rules/filters: get: - operationId: SettingsADSyncInfo_Get - summary: Get AD sync info in Asset Management - description: Get the AD sync info in Asset Managment + operationId: IdentityRulesFilters_List + summary: List Identity Rules Filters + description: Returns a list of filters for Identity rules. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAdSyncInfoResponse' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-management/ansible: + - Rules Identity + /protection/identity-rules/filters/asset-candidates: get: - operationId: SettingsAnsible_Get - summary: Get Ansible settings in Asset Managment - description: Get the Ansible settings in Asset Managment + operationId: IdentityRulesAssetsCandidatesFilters_List + summary: List Identity Rules Filters Assets Candidates + description: Returns a list of assets candidates for filters in Identity rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAnsible' + $ref: '#/components/schemas/assetsOrGroupsList' '400': $ref: '#/components/responses/400' '401': @@ -20281,23 +20808,23 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - put: - operationId: SettingsAnsible_Update - summary: Set Ansible settings in Asset Managment - description: Get the Ansible settings in Asset Managment - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsAnsibleBody' + - Rules Identity + /protection/identity-rules/filters/user-candidates: + get: + operationId: IdentityRulesUserCandidatesFilters_List + summary: List Identity Rules Filters User Candidates + description: Returns a list of user candidates for filters in Identity rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAnsible' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -20309,15 +20836,23 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-management/linux/rediscover: - put: - operationId: Linux_Rediscover - summary: Rediscover monitored assets from Linux - description: Rediscover monitored assets from Ansible + - Rules Identity + /protection/identity-rules/user-candidates: + get: + operationId: IdentityRulesUserCandidates_List + summary: List Identity Rules User Candidates + description: Returns a list of user candidates for Identity rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -20329,47 +20864,60 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-management/linux/setup: + - Rules Identity + /protection/identity/reactive-policies: get: - operationId: SettingsLinuxSetup_Get - summary: Get linux setup settings in Asset Managment - description: Get the linux setup settings in Asset Managment + operationId: MFAIdentityPolicies_List + summary: List Identity MFA Policies + description: Returns a list of identity MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsLinuxSetup' + $ref: '#/components/schemas/identityReactivePolicyList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - put: - operationId: SettingsLinuxSetup_Update - summary: Set linux setup settings in Asset Managment - description: Update the linux setup settings in Asset Managment + - MFA Identity + post: + operationId: MFAIdentityPolicies_Create + summary: Add Identity MFA Policy + description: Returns the properties of the identity MFA policy after creation. requestBody: + description: MFA properties + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsLinuxSetupBody' + $ref: '#/components/schemas/identityReactivePolicyBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsLinuxSetup' + $ref: '#/components/schemas/identityReactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -20381,74 +20929,80 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-management/linux/user: + - MFA Identity + /protection/identity/reactive-policies/{reactivePolicyId}: get: - operationId: SettingsLinuxUser_Get - summary: Get linux user settings in Asset Managment - description: Get the linux user settings in Asset Managment + operationId: MFAIdentityPolicies_Get + summary: Get Identity MFA Policy + description: Returns a Identity MFA policy object. + parameters: + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsLinuxUser' + $ref: '#/components/schemas/identityReactivePolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management + - MFA Identity put: - operationId: SettingsLinuxUser_Update - summary: Set linux user settings in Asset Managment - description: Update the linux user settings in Asset Managment + operationId: MFAIdentityPolicies_Update + summary: Update Identity MFA Policy + description: Returns the properties of the Identity MFA policy after updating. + parameters: + - $ref: '#/components/parameters/reactivePolicyIdParameter' requestBody: + description: Rule properties + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsLinuxUserBody' + $ref: '#/components/schemas/identityReactivePolicyBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsLinuxUser' + $ref: '#/components/schemas/identityReactivePolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - /settings/asset-managers: - get: - operationId: Settings-AssetManagers_List - summary: Get asset managers summary - description: List asset managers - parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - MFA Identity + delete: + operationId: MFAIdentityPolicies_Delete + summary: Remove Identity MFA Policy + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetManagersList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': @@ -20460,25 +21014,25 @@ paths: security: - api_key: [] tags: - - Settings Asset Managers - post: - operationId: Settings-AssetManagers_Add - summary: Add asset managers - description: Add asset manager to entity. - requestBody: - description: Array of assets to add - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/settingsAssetsManagersBody' + - MFA Identity + /protection/identity/reactive-policies/dst-asset-candidates: + get: + operationId: MFAIdentityPoliciesDestinationCandidates_List + summary: Get destination assets for Identity MFA Policy + description: Returns a list of candidates for the destination of an identity MFA policy. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetManagersList' + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': @@ -20490,28 +21044,26 @@ paths: security: - api_key: [] tags: - - Settings Asset Managers - delete: - operationId: Settings-AssetManagers_Delete - summary: Delete asset managers - description: Remove asset managers - requestBody: - content: - application/json: - schema: - type: object - properties: - entityIds: - type: array - items: - $ref: '#/components/schemas/groupIdOrAssetId' - managerIds: - type: array - items: - $ref: '#/components/schemas/groupIdOrUserId' + - MFA Identity + /protection/identity/reactive-policies/excluded-src-asset-candidates: + get: + operationId: MFAIdentityPoliciesExcludedSourceCandidates_List + summary: Fet excluded source asset candidates for Identity MFA Policy + description: Returns a list of candidates for the excluded sources of an Identity MFA policy. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': @@ -20523,19 +21075,19 @@ paths: security: - api_key: [] tags: - - Settings Asset Managers - /settings/auth: + - MFA Identity + /protection/identity/reactive-policies/filters: get: - operationId: SettingsAuth_Get - summary: Get portal session timeout setting - description: Get the portal security settings + operationId: MFAIdentityPoliciesFilters_List + summary: List Identity MFA Policy Filters + description: Returns a list of filters for Identity MFA policies. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAuth' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -20547,19 +21099,23 @@ paths: security: - api_key: [] tags: - - Settings Portal Security - put: - operationId: SettingsAuth_Update - summary: Set portal session timeout setting - description: Set the portal security settings - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsAuthBody' + - MFA Identity + /protection/identity/reactive-policies/filters/dst-asset-candidates: + get: + operationId: MFAIdentityPoliciesDestinationCandidatesFilters_List + summary: Get Identity MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -20571,19 +21127,23 @@ paths: security: - api_key: [] tags: - - Settings Portal Security - /settings/azure-ad/credentials: + - MFA Identity + /protection/identity/reactive-policies/filters/src-asset-candidates: get: - operationId: SettingsAAD_Get - summary: Get Azure AD Settings - description: Get Azure AD Settings + operationId: MFAIdentityPoliciesSourceCandidatesFilters_List + summary: List Identity MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAzureAd' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -20595,18 +21155,23 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - put: - operationId: SettingsAAD_Update - summary: Set Azure AD Settings - description: Get Azure AD Settings + - MFA Identity + /protection/identity/reactive-policies/filters/src-users-candidates: + get: + operationId: MFAIdentityPoliciesSourceUsersCandidatesFilters_List + summary: Get Identity MFA Policies Source Users Filters + description: Returns a list of filters for source users on Identity MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsAzureAdBody' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -20618,14 +21183,19 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - delete: - operationId: SettingsAAD_Delete - summary: Remove Azure AD Settings - description: Remove Azure AD Settings + - MFA Identity + /protection/identity/reactive-policies/mfa-methods: + get: + operationId: MFAIdentityPoliciesMFAMethods_List + summary: List Identity MFA Policy Methods + description: Returns a list of MFA methods for Identity MFA policies. responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': @@ -20637,15 +21207,23 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - /settings/azure-ad/resync: - post: - operationId: AzureAD_Resync - summary: Resync Azure AD - description: Resync Azure AD + - MFA Identity + /protection/identity/reactive-policies/src-asset-candidates: + get: + operationId: MFAIdentityPoliciesSourceCandidates_List + summary: List Identity MFA Policies Source Candidates + description: Returns a list of source candidates on Identity MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: - '204': - $ref: '#/components/responses/204' + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -20657,20 +21235,23 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - /settings/break-glass: + - MFA Identity + /protection/identity/reactive-policies/src-users-candidates: get: - operationId: SettingsBreakGlass_Get - summary: Get break glass settings - description: Get break glass settings + operationId: MFAIdentityPoliciesSourceUserCandidates_List + summary: List Identity MFA Policies Source Users Candidates + description: Returns a list of source user candidates for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK - headers: {} content: application/json: schema: - $ref: '#/components/schemas/settingsBreakGlass' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -20682,16 +21263,37 @@ paths: security: - api_key: [] tags: - - Settings Break Glass - put: - operationId: SettingsBreakGlass_Update - summary: Update break glass settings - description: Update break glass settings + - MFA Identity + /protection/ot-rules: + get: + operationId: OtRules_get + summary: List switch rules Filters + description: Returns a list of switch rules. + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Rules + post: + operationId: OtRule_post + summary: Add switch rule + description: Add switch rule requestBody: + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsBreakGlassBody' + $ref: '#/components/schemas/otRuleBody' responses: '200': description: OK @@ -20706,25 +21308,17 @@ paths: security: - api_key: [] tags: - - Settings Break Glass - /settings/cloud-connector/access-tokens: - get: - operationId: CloudConnectorAccessTokens_List - summary: Get all cloud connector provisioning access tokens - description: Get all cloud connector provisioning access tokens + - Rules + /protection/ot-rules/{ruleId}: + delete: + operationId: OtRules_delete + summary: delete rule + description: delete rule + parameters: + - $ref: '#/components/parameters/otRuleIdParameter' responses: '200': description: OK - headers: {} - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - $ref: '#/components/schemas/accessTokenInfo' '400': $ref: '#/components/responses/400' '401': @@ -20736,36 +21330,22 @@ paths: security: - api_key: [] tags: - - Settings Cloud Connector - post: - operationId: CloudConnectorAccessTokens_Create - summary: Create cloud connector provisioning access token - description: Create cloud connector provisioning access token + - Rules + put: + operationId: OtRule_update + summary: Add switch rule + description: Add switch rule + parameters: + - $ref: '#/components/parameters/otRuleIdParameter' requestBody: - description: '' + required: true content: application/json: schema: - type: object - properties: - name: - type: string - expiry: - $ref: '#/components/schemas/epochMillis' - accessType: - type: integer - x-examples: - example-1: - name: Cloud Connector test - expiry: '2024-06-27T13:33:09.076Z' - accessType: 3 + $ref: '#/components/schemas/otRuleBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/accessToken' '400': $ref: '#/components/responses/400' '401': @@ -20777,83 +21357,74 @@ paths: security: - api_key: [] tags: - - Settings Cloud Connector - '/settings/cloud-connector/access-tokens/{clientId}': - put: - operationId: CloudConnectorAccessTokens_Regenerate - summary: Regenerate cloud connector provisioning access token - description: Regenerate cloud connector provisioning access token - parameters: - - $ref: '#/components/parameters/clientIdParameter' - requestBody: - content: - application/json: - schema: - type: object - properties: - expiry: - $ref: '#/components/schemas/epochMillis' - x-examples: - example-1: - expiry: 1719477497062 + - Rules + /protection/ot-rules/filters: + get: + operationId: SwitchFilters_List + summary: List Switch Filters + description: Returns a list of filters for Switches. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/accessToken' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Cloud Connector - delete: - operationId: CloudConnectorAccessTokens_Delete - summary: Delete cloud connector provisioning access token - description: Delete cloud connector provisioning access token - parameters: - - $ref: '#/components/parameters/clientIdParameter' + - Rules + /protection/reactive-policies/distribution: + get: + operationId: MFAPoliciesDistribution_List + summary: MFA distribution + description: Returns and object with MFA distribution. responses: - '201': - description: Created - '204': + '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyDistribution' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Cloud Connector - /settings/connect/client/auto-update: + - MFA + /protection/reactive-policies/inbound: get: - operationId: SettingsConnectClientAutoUpdate_Get - summary: Get Connect client auto update settings - description: Get Connect client auto update in Settings + operationId: MFAInboundPolicies_List + summary: List Inbound MFA Policies + description: Returns a list of inbound MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsConnectClientAutoUpdate' + $ref: '#/components/schemas/reactivePolicyList' '400': $ref: '#/components/responses/400' '401': @@ -20865,19 +21436,25 @@ paths: security: - api_key: [] tags: - - Settings Connect - put: - operationId: SettingsConnectClientAutoUpdate_Update - summary: Set Connect client auto update settings - description: Set Connect client auto update settings + - MFA Inbound + post: + operationId: MFAInboundPolicies_Create + summary: Add Inbound MFA Policy + description: Returns the properties of the inbound MFA policy after creation. requestBody: + description: MFA properties + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsConnectClientAutoUpdateBody' + $ref: '#/components/schemas/reactivePolicyInboundBody' responses: '200': - description: Ok + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -20889,145 +21466,158 @@ paths: security: - api_key: [] tags: - - Settings Connect - /settings/connect/regions: + - MFA Inbound + /protection/reactive-policies/inbound/{reactivePolicyId}: get: - operationId: SettingsConnectRegions_List - summary: List Connect Regions - description: List Connect Regions in Settings + operationId: MFAInboundPolicies_Get + summary: Get Inbound MFA Policy + description: Returns a inbound MFA policy object. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/connectRegionsList' + $ref: '#/components/schemas/reactivePolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Connect - post: - operationId: SettingsConnectRegions_Create - summary: Create a Connect region - description: Create a Connect region in Settings + - MFA Inbound + put: + operationId: MFAInboundPolicies_Update + summary: Update Inbound MFA Policy + description: Returns the properties of the inbound MFA policy after updating. + parameters: + - $ref: '#/components/parameters/reactivePolicyIdParameter' requestBody: + description: Rule properties + required: true content: application/json: schema: - $ref: '#/components/schemas/connectRegionBody' + $ref: '#/components/schemas/reactivePolicyInboundBody' responses: '200': - description: Ok + description: OK content: application/json: schema: - type: string + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Connect - '/settings/connect/regions/{regionId}': - put: - operationId: SettingsConnectRegion_Update - summary: Update a Connect Region in Settings - description: Update a Connect Region in Settings + - MFA Inbound + delete: + operationId: MFAInboundPolicies_Delete + summary: Remove Inbound MFA Policy + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/connectRegionIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/connectRegionBody' + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': - description: Ok + description: OK '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Connect - delete: - operationId: SettingsConnectRegion_Delete - summary: Delete a Connect Region - description: Delete a Connect Region in Settings + - MFA Inbound + /protection/reactive-policies/inbound/dst-candidates: + get: + operationId: MFAInboundPoliciesDestinationCandidates_List + summary: Get destination assets for Inbound MFA Policy + description: Returns a list of candidates for the destination of an inbound MFA policy. parameters: - - $ref: '#/components/parameters/connectRegionIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - description: Ok + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Connect - /settings/connect/servers: + - MFA Inbound + /protection/reactive-policies/inbound/excluded-src-candidates: get: - operationId: SettingsConnectServers_List - summary: List Connect Servers - description: List Connect Servers in Settings + operationId: MFAInboundPoliciesExcludedSourceCandidates_List + summary: Fet excluded source asset candidates for Inbound MFA Policy + description: Returns a list of candidates for the excluded sources of an inbound MFA policy. parameters: - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/connectServersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Connect - /settings/connect/servers/filters: + - MFA Inbound + /protection/reactive-policies/inbound/filters: get: - operationId: SettingsConnectServersFilters_List - summary: List Connect Server filters - description: List Connect Server filters + operationId: MFAInboundPoliciesFilters_List + summary: List Inbound MFA Policy Filters + description: Returns a list of filters for inbound MFA policies. responses: '200': description: OK @@ -21046,22 +21636,23 @@ paths: security: - api_key: [] tags: - - Settings Connect - '/settings/connect/servers/{connectServerId}': - put: - operationId: SettingsConnectServers_Update - summary: Update Connect Server - description: Update Connect Server in Settings + - MFA Inbound + /protection/reactive-policies/inbound/filters/dst-candidates: + get: + operationId: MFAInboundPoliciesDestinationCandidatesFilters_List + summary: Get Inbound MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates for inbound MFA policies. parameters: - - $ref: '#/components/parameters/connectServerIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/connectServerBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -21073,22 +21664,23 @@ paths: security: - api_key: [] tags: - - Settings Connect - /settings/connect/user-access-config: + - MFA Inbound + /protection/reactive-policies/inbound/filters/src-candidates: get: - operationId: SettingsConnectUserAccessConfig_List - summary: List Connect User Access Configurations - description: List Connect User Access Configurations in Settings + operationId: MFAInboundPoliciesSourceCandidatesFilters_List + summary: List Inbound MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates for inbound MFA policies. parameters: - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/connectUserAccessConfigList' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -21100,47 +21692,47 @@ paths: security: - api_key: [] tags: - - Settings Connect - post: - operationId: SettingsConnectUserAccessConfig_Create - summary: Create a Connect User Access Configuration - description: Create a Connect User Access Configuration in Settings - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/connectUserAccessConfigBody' + - MFA Inbound + /protection/reactive-policies/inbound/filters/src-users-candidates: + get: + operationId: MFAInboundPoliciesSourceUsersCandidatesFilters_List + summary: Get Inbound MFA Policies Source Users Filters + description: Returns a list of filters for source users on inbound MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - description: Ok + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' + security: + - api_key: [] tags: - - Settings Connect - /settings/connect/user-access-config/assets-candidates: + - MFA Inbound + /protection/reactive-policies/inbound/mfa-methods: get: - operationId: SettingsConnectUserAccessConfigAssetsCandidates_List - summary: Get user access configuration excluded assets candidates Candidates - description: Returns a list of candidates for user access config excluded assets. - parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/offsetParameter' + operationId: MFAInboundPoliciesMFAMethods_List + summary: List Inbound MFA Policy Methods + description: Returns a list of MFA methods for inbound MFA policies. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': @@ -21152,51 +21744,57 @@ paths: security: - api_key: [] tags: - - Settings Connect - /settings/connect/user-access-config/destinations-candidates: + - MFA Inbound + /protection/reactive-policies/inbound/simulate: get: - operationId: SettingsConnectUserAccessConfigDestinationsCandidates_List - summary: Get user access configuration excluded destinations candidates Candidates - description: Returns a list of candidates for user access config excluded destinations. + operationId: MFAInboundPoliciesSimulate_Test + summary: Simulate Inbound MFA access + description: Returns a list of MFA policies that would match the simulation. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/srcUserId' + - $ref: '#/components/parameters/srcAssetId' + - $ref: '#/components/parameters/srcProcess' + - $ref: '#/components/parameters/dstAssetId' + - $ref: '#/components/parameters/dstProcess' + - $ref: '#/components/parameters/protocolType' + - $ref: '#/components/parameters/port' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/simulationResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Connect - /settings/connect/user-access-config/excluded-assets-candidates: + - MFA Inbound + /protection/reactive-policies/inbound/simulate/dst-candidates: get: - operationId: SettingsConnectUserAccessConfigExcludedAssetsCandidates_List - summary: Get user access configuration excluded assets candidates - description: Returns a list of candidates for user access config excluded assets. + operationId: MFAInboundPoliciesSimulateDestinationCandidates_List + summary: List Inbound MFA Simulation Destination Candidates + description: Returns a list of destination candidates on inbound MFA simulation. parameters: - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/searchParameter' - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21208,23 +21806,21 @@ paths: security: - api_key: [] tags: - - Settings Connect - /settings/connect/user-access-config/excluded-users-candidates: + - MFA Inbound + /protection/reactive-policies/inbound/simulate/resolve: get: - operationId: SettingsConnectUserAccessConfigExcludedSourceUsersCandidates_List - summary: Get user access configuration xxcluded source users candidates Candidates - description: Returns a list of candidates for user access config excluded source users. + operationId: MFAInboundPoliciesSimulateResolve_Get + summary: Resolve simulation parameters + description: Returns resolved simulation parameters. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/simulationParams' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/simulationParams' '400': $ref: '#/components/responses/400' '401': @@ -21236,23 +21832,23 @@ paths: security: - api_key: [] tags: - - Settings Connect - /settings/connect/user-access-config/regions-candidates: + - MFA Inbound + /protection/reactive-policies/inbound/simulate/src-candidates: get: - operationId: SettingsConnectUserAccessConfigAllowedRegionsCandidates_List - summary: Get user access configuration allowed regions Candidates - description: Returns a list of candidates for user access config allowed regions. + operationId: MFAInboundPoliciesSimulateSourceCandidates_List + summary: List Inbound MFA Simulation Source Candidates + description: Returns a list of source candidates on inbound MFA simulation. parameters: - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/searchParameter' - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/connectUserAccessConfigList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21264,23 +21860,23 @@ paths: security: - api_key: [] tags: - - Settings Connect - /settings/connect/user-access-config/users-candidates: + - MFA Inbound + /protection/reactive-policies/inbound/simulate/src-users-candidates: get: - operationId: SettingsConnectUserAccessConfigSourceUsersCandidates_List - summary: Get user access configuration source users candidates Candidates - description: Returns a list of candidates for user access config source users. + operationId: MFAInboundPoliciesSimulateSourceUserCandidates_List + summary: List Inbound MFA Simulation Source User Candidates + description: Returns a list of source user candidates on inbound MFA simulation. parameters: - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/searchParameter' - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21292,22 +21888,23 @@ paths: security: - api_key: [] tags: - - Settings Connect - '/settings/connect/user-access-config/{userAccessConfigId}': - put: - operationId: SettingsConnectUserAccessConfig_Update - summary: Update a Connect User Access Configuration - description: Update a Connect User Access Configuration in Settings + - MFA Inbound + /protection/reactive-policies/inbound/src-candidates: + get: + operationId: MFAInboundPoliciesSourceCandidates_List + summary: List Inbound MFA Policies Source Candidates + description: Returns a list of source candidates on inbound MFA policies. parameters: - - $ref: '#/components/parameters/userAccessConfigParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/connectUserAccessConfigBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - description: Ok + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21319,16 +21916,23 @@ paths: security: - api_key: [] tags: - - Settings Connect - delete: - operationId: SettingsConnectUserAccessConfig_Delete - summary: Delete a Connect User Access Configuration - description: Delete a Connect User Access Configuration in Settings + - MFA Inbound + /protection/reactive-policies/inbound/src-users-candidates: + get: + operationId: MFAInboundPoliciesSourceUserCandidates_List + summary: List Inbound MFA Policies Source Users Candidates + description: Returns a list of source user candidates for inbound MFA policies. parameters: - - $ref: '#/components/parameters/userAccessConfigParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': - description: Ok + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21340,19 +21944,25 @@ paths: security: - api_key: [] tags: - - Settings Connect - /settings/data-collection/activities: + - MFA Inbound + /protection/reactive-policies/outbound: get: - operationId: SettingsActivities_Get - summary: Get Activities settings in Data Collection - description: Get Activities settings in Data Collection + operationId: MFAOutboundPolicies_List + summary: List Outbound MFA Policies + description: Returns a list of outbound MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsActivities' + $ref: '#/components/schemas/reactivePolicyList' '400': $ref: '#/components/responses/400' '401': @@ -21364,19 +21974,25 @@ paths: security: - api_key: [] tags: - - Settings Activities - put: - operationId: SettingsActivities_Update - summary: Set Activities settings in Data Collection - description: Update the Activities settings in Data Collection + - MFA Outbound + post: + operationId: MFAOutboundPolicies_Create + summary: Add Outbound MFA Policy + description: Returns a the properties of outbound MFA policy created. requestBody: + description: Rule properties + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsActivitiesBody' + $ref: '#/components/schemas/reactivePolicyOutboundBody' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -21388,47 +22004,55 @@ paths: security: - api_key: [] tags: - - Settings Activities - /settings/entities-config: + - MFA Outbound + /protection/reactive-policies/outbound/{reactivePolicyId}: get: - operationId: SettingsInactiveAssets_List - summary: Get Inactive Assets Settings Configuration - description: Get inactive assets settings configuration + operationId: MFAOutboundPolicies_Get + summary: Get Outbound MFA Policy + description: Returns the properties of an outbound MFA policy. + parameters: + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/inactiveAssetsConfig' + $ref: '#/components/schemas/reactivePolicyResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Inactive Assets + - MFA Outbound put: - operationId: SettingsInactiveAssets_Update - summary: Update Inactive Assets Settings Configuration - description: Update inactive assets settings configuration + operationId: MFAOutboundPolicies_Update + summary: Update Outbound MFA Policy + description: Returns the updated properties of an outbound MFA policy. + parameters: + - $ref: '#/components/parameters/reactivePolicyIdParameter' requestBody: + description: Reactive Policy properties + required: true content: application/json: schema: - $ref: '#/components/schemas/inactiveAssetsConfigBody' + $ref: '#/components/schemas/reactivePolicyOutboundBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/inactiveAssetsConfig' + $ref: '#/components/schemas/reactivePolicyItem' '400': $ref: '#/components/responses/400' '401': @@ -21440,50 +22064,46 @@ paths: security: - api_key: [] tags: - - Settings Inactive Assets - /settings/ext-auth: - get: - operationId: SettingsPushNotifications_Get - summary: Get Push Notificaitons Settings - description: Get Push Notifications Settings + - MFA Outbound + delete: + operationId: MFAOutboundPolicies_Delete + summary: Remove Outbound MFA Policy + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/reactivePolicyIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/settingsPushNotificaitionsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Push Notifications - '/settings/ext-auth/{pushIdentityProviderId}': - post: - operationId: SettingsPushNotifications_Create - summary: Create Push Notificiation in Settings. - description: Create an push notifications settings + - MFA Outbound + /protection/reactive-policies/outbound/dst-candidates: + get: + operationId: MFAOutboundPoliciesDestinationCandidates_List + summary: List Outbound MFA Policies Destination Candidates + description: Returns a list of destination candidates on outbound MFA policies. parameters: - - $ref: '#/components/parameters/pushIdentityProviderIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsPushNotificaitionsBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsPushNotificaitions' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21495,50 +22115,30 @@ paths: security: - api_key: [] tags: - - Settings Push Notifications - put: - operationId: SettingsPushNotifications_Update - summary: Update Push Notificiation in Settings. - description: Update a push notifications settings + - MFA Outbound + /protection/reactive-policies/outbound/excluded-src-candidates: + get: + operationId: MFAOutboundPoliciesExcludedSourceCandidates_List + summary: Fet excluded source asset candidates for Outbound MFA Policy + description: Returns a list of candidates for the excluded sources of an outbound MFA policy. parameters: - - $ref: '#/components/parameters/pushIdentityProviderIdParameter' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsPushNotificaitionsBody' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsPushNotificaitions' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Settings Push Notifications - delete: - operationId: SettingsPushNotifications_Delete - summary: Remove Push Notifications Settings - description: Returns an empty reponse. - parameters: - - $ref: '#/components/parameters/pushIdentityProviderIdParameter' - responses: - '204': - description: OK - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '500': @@ -21546,19 +22146,19 @@ paths: security: - api_key: [] tags: - - Settings Push Notifications - /settings/external-vpn: + - MFA Outbound + /protection/reactive-policies/outbound/filters: get: - operationId: SettingsZpa_Get - summary: Get ZPA settings in Integrations - description: Get ZPA settings in Integrations + operationId: MFAOutboundPoliciesFilters_Get + summary: List Outbound MFA Policies Filters + description: Returns a list of filters for outbound MFA policies. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsZpa' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -21570,19 +22170,23 @@ paths: security: - api_key: [] tags: - - Settings ZPA - put: - operationId: SettingsZpa_Update - summary: Set ZPA settings in Integrations - description: Set ZPA settings in Integrations - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsZpaBody' + - MFA Outbound + /protection/reactive-policies/outbound/filters/dst-candidates: + get: + operationId: MFAOutboundPoliciesDestinationCandidatesFilters_List + summary: List Outbound MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates on outbound MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -21594,19 +22198,23 @@ paths: security: - api_key: [] tags: - - Settings ZPA - /settings/firewall: + - MFA Outbound + /protection/reactive-policies/outbound/filters/src-candidates: get: - operationId: SettingsFirewall_Get - summary: List Firewall Settings - description: Returns the properties of Firewall settings. + operationId: MFAOutboundPoliciesSourceCandidatesFilters_List + summary: Get Outbound MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates on outbound MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsFirewall' + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -21618,19 +22226,23 @@ paths: security: - api_key: [] tags: - - Settings Firewall - put: - operationId: SettingsFirewall_Update - summary: Update Firewall Settings - description: Returns the properties of the updated Firewall settings. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsFirewallBody' + - MFA Outbound + /protection/reactive-policies/outbound/filters/src-users-candidates: + get: + operationId: MFAOutboundPoliciesSourceUsersCandidatesFilters_List + summary: List Outbound MFA Policies Source Users Candidates Filters + description: Returns a list of filters for source users candidates on outbound MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -21642,19 +22254,19 @@ paths: security: - api_key: [] tags: - - Settings Firewall - /settings/firewall/ignored-gpo-rules: + - MFA Outbound + /protection/reactive-policies/outbound/mfa-methods: get: - operationId: SettingsFirewallIgnoredGPO_Get - summary: List rules ignored for asset health from GPO in Firewall Settings - description: Returns the properties of ignored GPO rules Firewall settings. + operationId: MFAOutboundPoliciesMFAMethods_List + summary: List Outbound MFA Policies Methods + description: Returns a list of MFA methods on outbound MFA policies. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsFirewallIgnoredGPO' + $ref: '#/components/schemas/reactivePolicyMethods' '400': $ref: '#/components/responses/400' '401': @@ -21666,23 +22278,27 @@ paths: security: - api_key: [] tags: - - Settings Firewall - put: - operationId: SettingsFirewallIgnoredGPO_Update - summary: Update rules ignored for asset health from GPO in Firewall Settings - description: Returns the properties of ignored GPO rules Firewall settings. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsFirewallIgnoredGPOBody' + - MFA Outbound + /protection/reactive-policies/outbound/simulate: + get: + operationId: MFAOutboundPoliciesSimulate_Test + summary: Simulate Outbound MFA access + description: Returns a list of outbound MFA policies that would match the simulation. + parameters: + - $ref: '#/components/parameters/srcUserId' + - $ref: '#/components/parameters/srcAssetId' + - $ref: '#/components/parameters/srcProcess' + - $ref: '#/components/parameters/dstAssetId' + - $ref: '#/components/parameters/dstProcess' + - $ref: '#/components/parameters/protocolType' + - $ref: '#/components/parameters/port' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsFirewallIgnoredGPO' + $ref: '#/components/schemas/simulationResponse' '400': $ref: '#/components/responses/400' '401': @@ -21694,19 +22310,23 @@ paths: security: - api_key: [] tags: - - Settings Firewall - /settings/firewall/windowsFirewallProfiles: + - MFA Outbound + /protection/reactive-policies/outbound/simulate/dst-candidates: get: - operationId: SettingsFirewallProfiles_Get - summary: List firewall profiles in Firewall Settings - description: Returns the properties of firewall profiles in Firewall settings. + operationId: MFAOutboundPoliciesSimulateDestinationCandidates_List + summary: Get Outbound MFA Simulation Destination Candidates + description: Returns a list of destination candidates on outbound MFA simulation. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsFirewallProfiles' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21718,23 +22338,21 @@ paths: security: - api_key: [] tags: - - Settings Firewall - put: - operationId: SettingsFirewallProfiles_Update - summary: Update firewall profiles in Firewall Settings - description: Returns the properties of firewall profiles in Firewall settings. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsFirewallProfilesBody' + - MFA Outbound + /protection/reactive-policies/outbound/simulate/resolve: + get: + operationId: MFAOutboundPoliciesSimulateResolve_Get + summary: Resolve simulation parameters + description: Returns resolved simulation parameters. + parameters: + - $ref: '#/components/parameters/simulationParams' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsFirewallProfiles' + $ref: '#/components/schemas/simulationParams' '400': $ref: '#/components/responses/400' '401': @@ -21746,19 +22364,23 @@ paths: security: - api_key: [] tags: - - Settings Firewall - /settings/firewall/windowsIgnoredRules: + - MFA Outbound + /protection/reactive-policies/outbound/simulate/src-candidates: get: - operationId: SettingsFirewallIgnoredRules_Get - summary: List rules ignored for anti-tampering in Firewall Settings - description: Returns the properties of ignored rules for anti-tampering Firewall settings. + operationId: MFAOutboundPoliciesSimulateSourceCandidates_List + summary: List Outbound MFA Simulation Source Candidates + description: Returns a list of source candidates on outbound MFA simulation. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsFirewallIgnoredRules' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21770,23 +22392,23 @@ paths: security: - api_key: [] tags: - - Settings Firewall - put: - operationId: SettingsFirewallIgnoredRules_Update - summary: Update rules ignored for anti-tampering in Firewall Settings - description: Returns he properties of ignored rules for anti-tampering Firewall settings. - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsFirewallIgnoredRulesBody' + - MFA Outbound + /protection/reactive-policies/outbound/simulate/src-users-candidates: + get: + operationId: MFAOutboundPoliciesSimulateSourceUserCandidates_List + summary: Get Outbound MFA Simulation Source Users Candidates + description: Returns a list of source users candidates on outbound MFA simulation. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsFirewallIgnoredRules' + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21798,19 +22420,23 @@ paths: security: - api_key: [] tags: - - Settings Firewall - /settings/learning-config: + - MFA Outbound + /protection/reactive-policies/outbound/src-candidates: get: - operationId: SettingsLearningConfig_Get - summary: Get Learning Config settings in Network Segmentation - description: Get Learning Config settings in Network Segmentation + operationId: MFAOutboundPoliciesSourceCandidates_List + summary: List Outbound MFA Policies Source Candidates + description: Returns a list of source candidates on outbound MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsLearningConfig' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21822,19 +22448,23 @@ paths: security: - api_key: [] tags: - - Settings Learning - put: - operationId: SettingsLearningConfig_Update - summary: Set Learning Config settings in Network Segmentation - description: Update Learning Config settings in Network Segmentation - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsLearningConfigBody' + - MFA Outbound + /protection/reactive-policies/outbound/src-users-candidates: + get: + operationId: MFAOutboundPoliciesSourceUserCandidates_List + summary: Get Outbound MFA Policies Source Users Candidates + description: Returns a list of source users candidates on outbound MFA policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/srcUserCandidatesList' '400': $ref: '#/components/responses/400' '401': @@ -21846,19 +22476,19 @@ paths: security: - api_key: [] tags: - - Settings Learning - /settings/identity-providers/default-application: + - MFA Outbound + /protection/reactive-policies/statistics: get: - operationId: SettingsDefaultApplication_Get - summary: Get Default SSO Application settings in Identity Providers - description: Get Default SSO Application settings in Identity Providers + operationId: MFAPoliciesStatistics_List + summary: Get MFA statistics + description: Returns an object with MFA statistics. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsIdpDefaultApplication' + $ref: '#/components/schemas/reactivePoliciesStatistics' '400': $ref: '#/components/responses/400' '401': @@ -21870,19 +22500,26 @@ paths: security: - api_key: [] tags: - - Settings Identity Providers - put: - operationId: SettingsDefaultApplication_Update - summary: Set Default SSO Application settings in Identity Providers - description: Update the Default SSO Application settings in Identity Providers - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsIdpDefaultApplicationBody' + - MFA + /protection/rpc-rules: + get: + operationId: RPCRules_List + summary: List RPC Rules + description: Returns a list of RPC rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/rpcRulesList' '400': $ref: '#/components/responses/400' '401': @@ -21894,78 +22531,87 @@ paths: security: - api_key: [] tags: - - Settings Identity Providers - /settings/identity-providers/saml: - get: - operationId: SettingsIdp_Get - summary: List identity providers settings in Identity Providers - description: Get identity provider settings in Identity Providers + - Rules RPC + post: + operationId: RPCRules_Create + summary: Create RPC Rule + description: Returns the properties of the create RPC rule. + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/rpcRuleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsIdpList' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Identity Providers - post: - operationId: SettingsIdp_Create - summary: Create identity provider settings in Identity Providers - description: Create an identity provider settings in Identity Providers - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsIdpBody' + - Rules RPC + /protection/rpc-rules/{ruleId}: + get: + operationId: RPCRule_Get + summary: Get RPC Rule + description: Returns the properties of an RPC rule. + parameters: + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsIdp' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Identity Providers - '/settings/identity-providers/saml/{identityProviderId}': + - Rules RPC put: - operationId: SettingsIdp_Update - summary: Update identity provider settings in Identity Providers - description: Update identity provider settings in Identity Providers + operationId: RPCRule_Update + summary: Update RPC Rule + description: Returns the properties of the update RPC rule. parameters: - - $ref: '#/components/parameters/identityProviderIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' requestBody: + description: Rule properties + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsIdpBody' + $ref: '#/components/schemas/rpcRuleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsIdp' + $ref: '#/components/schemas/rpcRuleResponse' '400': $ref: '#/components/responses/400' '401': @@ -21979,16 +22625,18 @@ paths: security: - api_key: [] tags: - - Settings Identity Providers + - Rules RPC delete: - operationId: SettingsIdp_Delete - summary: Remove Identity Provider Settings - description: Returns an empty reponse. + operationId: RPCRule_Delete + summary: Remove RPC Rule + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/identityProviderIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: - '204': + '200': description: OK + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': @@ -22000,19 +22648,23 @@ paths: security: - api_key: [] tags: - - Settings Identity Providers - /settings/inbound/privileged-ports: + - Rules RPC + /protection/rpc-rules/excluded-local-candidates: get: - operationId: SettingsPrivilegedPorts_Get - summary: Get Privileged Ports settings in Network segmentation - description: Get Privileged Ports settings in Network segmentation + operationId: RPCRulesExcludedDestinationCandidates_List + summary: Get RPC Rules Excluded Destination Candidates + description: Returns a list of excluded destination candidates for RPC rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsPrivilegedPorts' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -22024,19 +22676,26 @@ paths: security: - api_key: [] tags: - - Settings Privileged Ports - put: - operationId: SettingsPrivilegedPorts_Update - summary: Set Privileged Ports settings in Network segmentation - description: Set Privileged Ports settings in Network segmentation + - Rules RPC + /protection/rpc-rules/export: + post: + operationId: RPCRules_Export + summary: Export RPC Rules + description: Returns an exportId to pass into the download API. requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsPrivilegedPortsBody' + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -22048,68 +22707,66 @@ paths: security: - api_key: [] tags: - - Settings Trusted Internet - /settings/jamf/credentials: + - Rules RPC + /protection/rpc-rules/export/csv/{exportId}: get: - operationId: SettingsJamfCredentials_Get - summary: Get JAMF Credentials Settings - description: Returns the properties for JAMF Credentials Settings. + operationId: RPCRulesExport_Get + summary: Download RPC rules export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/settingsJamfCredentials' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - put: - operationId: SettingsJamfCredentials_Update - summary: Update JAMF credentials Settings - description: Returns the upddated properties of JAMF Credentials settings. - requestBody: - description: JAMF credentials property - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/settingsJamfCredentialsBody' + - Rules RPC + /protection/rpc-rules/filters: + get: + operationId: RPCRulesFilters_List + summary: List RPC Rules Filters + description: Returns a list of filters for RPC rules. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsJamfCredentials' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Asset Management - delete: - operationId: SettingsJamfCredentials_Delete - summary: Remove JAMF Credentials Settings - description: Returns an empty object. + - Rules RPC + /protection/rpc-rules/filters/local-candidates: + get: + operationId: RPCRulesDestinationCandidatesFilters_List + summary: List RPC Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for RPC rules. responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -22121,19 +22778,19 @@ paths: security: - api_key: [] tags: - - Settings Asset Management - /settings/notification: + - Rules RPC + /protection/rpc-rules/filters/remote-candidates: get: - operationId: SettingsNotification_Get - summary: Get Mail Notification Settings - description: Returns the properties of the Mail Notification settings. + operationId: RPCRulesSourceCandidatesFilters_List + summary: Get RPC Rules Source Candidates Filters + description: Returns a list of filters for source candidates for RPC rules. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsNotification' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -22145,25 +22802,23 @@ paths: security: - api_key: [] tags: - - Settings Mail Notifications - put: - operationId: SettingsNotification_Update - summary: Update Mail Notification Settings - description: Returns the properties of the updated Mail Notifications settings. - requestBody: - description: Mail notification properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/settingsNotificationBody' + - Rules RPC + /protection/rpc-rules/filters/user-candidates: + get: + operationId: RPCRulesUserCandidatesFilters_List + summary: List RPC Rules Filters User Candidates + description: Returns a list of user candidates for filters in RPC rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsNotification' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -22175,73 +22830,68 @@ paths: security: - api_key: [] tags: - - Settings Mail Notifications - /settings/protection-policies: + - Rules RPC + /protection/rpc-rules/local-candidates: get: - operationId: ProtectionPolicies_List - summary: List protection policies - description: Returns a list of protection policies. + operationId: RPCRulesDestinationCandidates_List + summary: List RPC Rules Destination Candidates + description: Returns a list of destination candidates for RPC rules. parameters: - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/protectionPoliciesList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Protection Policies - post: - operationId: ProtectionPolicies_Create - summary: Add protection policy - description: Returns the protection policy that was created. - requestBody: - description: Protection Policy properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/protectionPolicyBody' + - Rules RPC + /protection/rpc-rules/remote-candidates: + get: + operationId: RPCRulesSourceCandidates_List + summary: List RPC Rules Source Candidates + description: Returns a list of source candidates for RPC rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/protectionPolicyResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Protection Policies - /settings/protection-policies/group-candidates: + - Rules RPC + /protection/rpc-rules/user-candidates: get: - operationId: ProtectionPoliciesGroupCandidates_List - summary: Get groups for protection policy - description: Returns a list of candidates for protection policies. + operationId: RPCRulesUserCandidates_List + summary: List RPC Rules User Candidates + description: Returns a list of user candidates for RPC rules. parameters: - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' @@ -22252,91 +22902,96 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/groupCandidatesList' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Protection Policies - '/settings/protection-policies/{protectionPolicyId}': - delete: - operationId: ProtectionPolicies_Delete - summary: Remove protection policy - description: Returns and empty object. + - Rules RPC + /protection/rules/distribution/{ruleId}: + get: + operationId: RulesDistribution_Get + summary: Get distribution of rule hit count + description: Returns an object with rules distribution. parameters: - - $ref: '#/components/parameters/protectionPolicyIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/ruleDirectionParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ruleDistribution' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Protection Policies - put: - operationId: ProtectionPolicies_Update - summary: Update protection policy - description: Returns the updated settings for the protection policy. + - Rules + /protection/rules/history/{ruleId}: + get: + operationId: RulesHistory_Get + summary: Get a historic version of an inbound rule + description: Returns the properties of the previous version of the rule. parameters: - - $ref: '#/components/parameters/protectionPolicyIdParameter' - requestBody: - description: Protection Policy properties - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/protectionPolicyUpdateBody' + - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/updateIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/protectionPolicyResponse' + $ref: '#/components/schemas/historyRule' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Protection Policies - /settings/reactive-policy: + - Rules + /protection/rules/inbound: get: - operationId: SettingsMFADetection_Get - summary: Get MFA Detection Settings - description: Returns the properties of MFA detection settings. + operationId: InboundRules_List + summary: List Inbound Rules + description: Returns a list of Inbound rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityParams' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsMfaDetectionResponse' + $ref: '#/components/schemas/rulesList' '400': $ref: '#/components/responses/400' '401': @@ -22348,131 +23003,140 @@ paths: security: - api_key: [] tags: - - Settings MFA - put: - operationId: SettingsMFADetection_Update - summary: Update MFA Detection Settings - description: Returns the properties of the updated MFA detection settings. + - Rules Inbound + post: + operationId: InboundRules_Create + summary: Create Inbound Rule + description: Returns the properties of the created Inbound rule. requestBody: - description: MFA detection properties + description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/settingsMfaDetectionBody' + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsMfaDetectionResponse' + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings MFA - /settings/reactive-policy/auth: + - Rules Inbound + /protection/rules/inbound/{ruleId}: get: - operationId: SettingsMFAAuthentication_Get - summary: Get MFA authentication settings - description: Returns the properties of MFA authentication settings. + operationId: InboundRule_Get + summary: Get Inbound Rule + description: Returns the properties of an Inbound rule. + parameters: + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsMfaAuthenticationResponse' + $ref: '#/components/schemas/ruleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings MFA + - Rules Inbound put: - operationId: SettingsMFAAuthentication_Update - summary: Update MFA Authentication Settings - description: Returns an empty object. + operationId: InboundRule_Update + summary: Update Inbound Rule + description: Returns the properties of the update Inbound rule. + parameters: + - $ref: '#/components/parameters/ruleIdParameter' requestBody: - description: MFA authentication properties + description: Rule properties required: true content: application/json: schema: - $ref: '#/components/schemas/settingsMfaAuthenticationBody' + $ref: '#/components/schemas/ruleBody' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings MFA - /settings/roles: - get: - operationId: Roles_List - summary: List Roles - description: Returns list of Roles. + - Rules Inbound + delete: + operationId: InboundRule_Delete + summary: Remove Inbound Rule + description: Returns an empty object. parameters: - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/rolesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Roles - /settings/roles/candidates: + - Rules Inbound + /protection/rules/inbound/excluded-local-candidates: get: - operationId: RolesCandidates_List - summary: List Roles Candidates - description: Returns list of candidates for Roles. + operationId: InboundRulesExcludedDestinationCandidates_List + summary: Get Inbound Rules Excluded Destination Candidates + description: Returns a list of excluded destination candidates for Inbound rules. parameters: - - $ref: '#/components/parameters/searchParameter' - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/roleCandidatesList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -22484,120 +23148,101 @@ paths: security: - api_key: [] tags: - - Settings Roles - '/settings/roles/{roleEntityId}': + - Rules Inbound + /protection/rules/inbound/export: post: - operationId: Roles_Create - summary: Create Role - description: Returns the properties of the added Role. - parameters: - - $ref: '#/components/parameters/roleEntityIdParameter' + operationId: InboundRules_Export + summary: Export Inbound Rules + description: Returns an exportId to pass into the download API. requestBody: - description: Role properties + description: 'EntityId, from, to, search, filter or date time format for export' required: true content: application/json: schema: - $ref: '#/components/schemas/roleBody' + $ref: '#/components/schemas/exportBodyRules' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '409': - $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Roles - delete: - operationId: Roles_Delete - summary: Remove Role - description: Returns an empty object. + - Rules Inbound + /protection/rules/inbound/export/csv/{exportId}: + get: + operationId: InboundRulesExport_Get + summary: Download Inbound Rules Export + description: Returns a csv file to be downloaded. parameters: - - $ref: '#/components/parameters/roleEntityIdParameter' + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK - '400': - $ref: '#/components/responses/400' + content: + text/csv: + schema: + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Roles - /settings/snow/access-tokens: + - Rules Inbound + /protection/rules/inbound/filters: get: - operationId: ServiceNowAccessTokens_List - summary: Get all ServiceNow access tokens - description: Get all ServiceNow access tokens + operationId: InboundRulesFilters_List + summary: List Inbound Rules Filters + description: Returns a list of filters for Inbound rules. responses: '200': description: OK - headers: {} content: application/json: schema: - type: object - properties: - items: - type: array - items: - $ref: '#/components/schemas/accessTokenInfo' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings ServiceNow - post: - operationId: ServiceNowAccessTokens_Create - summary: Create ServiceNow access token - description: Create ServiceNow access token - requestBody: - description: '' - content: - application/json: - schema: - type: object - properties: - name: - type: string - expiry: - $ref: '#/components/schemas/epochMillis' - accessType: - type: integer - x-examples: - example-1: - name: ServiceNow test - expiry: '2024-06-27T13:33:09.076Z' - accessType: 3 + - Rules Inbound + /protection/rules/inbound/filters/local-candidates: + get: + operationId: InboundRulesDestinationCandidatesFilters_List + summary: List Inbound Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for Inbound rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/accessToken' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -22609,85 +23254,51 @@ paths: security: - api_key: [] tags: - - Settings ServiceNow - '/settings/snow/access-tokens/{clientId}': - put: - operationId: ServiceNowAccessTokens_Regenerate - summary: Regenerate ServiceNow access token - description: Regenerate ServiceNow access token + - Rules Inbound + /protection/rules/inbound/filters/remote-candidates: + get: + operationId: InboundRulesSourceCandidatesFilters_List + summary: Get Inbound Rules Source Candidates Filters + description: Returns a list of filters for source candidates for Inbound rules. parameters: - - $ref: '#/components/parameters/clientIdParameter' - requestBody: - content: - application/json: - schema: - type: object - properties: - expiry: - $ref: '#/components/schemas/epochMillis' - x-examples: - example-1: - expiry: 1719477497062 + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/accessToken' - '400': - $ref: '#/components/responses/400' - '401': - $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - Settings ServiceNow - delete: - operationId: ServiceNowAccessTokens_Delete - summary: Delete ServiceNow access token - description: Delete ServiceNow access token - parameters: - - $ref: '#/components/parameters/clientIdParameter' - responses: - '201': - description: Created - '204': - description: OK + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings ServiceNow - '/settings/subscriptions/licenses/{protectionType}': + - Rules Inbound + /protection/rules/inbound/local-candidates: get: - operationId: SettingsLicenses_Get - summary: Get Subscription Licenses - description: Get Subscription Licenses + operationId: InboundRulesDestinationCandidates_List + summary: List Inbound Rules Destination Candidates + description: Returns a list of destination candidates for Inbound rules. parameters: - - $ref: '#/components/parameters/protectionTypeParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/licensesConfig' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -22699,19 +23310,24 @@ paths: security: - api_key: [] tags: - - Settings Licenses - /settings/system/internal-subnets: + - Rules Inbound + /protection/rules/inbound/remote-candidates: get: - operationId: SettingsInternalSubnets_Get - summary: Get Internal Subnets settings in System - description: Get Internal Subnets settings in System + operationId: InboundRulesSourceCandidates_List + summary: List Inbound Rules Source Candidates + description: Returns a list of source candidates for Inbound rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsInternalSubnets' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -22723,16 +23339,19 @@ paths: security: - api_key: [] tags: - - Settings Internal Subnets + - Rules Inbound + /protection/rules/inbound/review/approve-with-changes/{ruleId}: put: - operationId: SettingsInternalSubnets_Update - summary: Set Internal Subnets settings in System - description: Update the Internal Subnets settings in System + operationId: InboundRulesReview_ApproveWithChanges + summary: Update Inbound Rule + description: Approve a "pending review" rule with changes + parameters: + - $ref: '#/components/parameters/ruleIdParameter' requestBody: content: application/json: schema: - $ref: '#/components/schemas/settingsInternalSubnetsBody' + $ref: '#/components/schemas/ruleReviewApproveWithChanges' responses: '200': description: OK @@ -22742,45 +23361,48 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Internal Subnets - /settings/system/internal-subnets/client-subnets: - get: - operationId: SettingsClientSubnets_Get - summary: Get Client Subnets settings in System - description: Get Client Subnets settings in System + - Rules Inbound + /protection/rules/inbound/review/approve/{ruleId}: + put: + operationId: InboundRulesReview_Approve + summary: Approve a "pending review" rule + description: Approve a "pending review" rule without changes + parameters: + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/settingsClientSubnets' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Settings Internal Subnets - put: - operationId: SettingsClientSubnets_Update - summary: Set Client Subnets settings in System - description: Update the Client Subnets settings in System + - Rules + /protection/rules/inbound/review/reject/{ruleId}: + delete: + operationId: InboundRulesReview_Deny + summary: Returns an empty response + description: Reject a "pending review" rule (deletes rule) + parameters: + - $ref: '#/components/parameters/ruleIdParameter' requestBody: content: application/json: schema: - $ref: '#/components/schemas/settingsClientSubnetsBody' + $ref: '#/components/schemas/ruleReviewReason' responses: '200': description: OK @@ -22790,24 +23412,35 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Settings Internal Subnets - /settings/system/trusted-external: + - Rules + /protection/rules/outbound: get: - operationId: SettingsTrustedInternetAddress_Get - summary: Get Trusted Internet addresses settings in System - description: Get Trusted Internet addresses settings in System + operationId: OutboundRules_List + summary: List Outbound Rules + description: Returns a list of Outbound rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/entityParams' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/enrichRemoteIPsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsTrustedInternetAddresses' + $ref: '#/components/schemas/rulesList' '400': $ref: '#/components/responses/400' '401': @@ -22819,91 +23452,140 @@ paths: security: - api_key: [] tags: - - Settings Trusted Internet - put: - operationId: SettingsTrustedInternetAddress_Update - summary: Set Trusted Internet addresses settings in System - description: Set Trusted Internet addresses settings in System + - Rules Outbound + post: + operationId: OutboundRules_Create + summary: Create Outbound Rule + description: Returns the properties of the created Outbound rule. requestBody: + description: Rule properties + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsTrustedInternetAddressesBody' + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Trusted Internet - /settings/system/restricted/clients/trusted-external: + - Rules Outbound + /protection/rules/outbound/{ruleId}: get: - operationId: SettingsClientsTrustedInternet_Get - summary: Get Clients Trusted Internet settings in System - description: Get Clients Trusted Internet settings in System + operationId: OutboundRule_Get + summary: Get Outbound Rule + description: Returns the properties of an Outbound rule. + parameters: + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsTrustedInternet' + $ref: '#/components/schemas/ruleItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Trusted Internet + - Rules Outbound put: - operationId: SettingsClientsTrustedInternet_Update - summary: Set Clients Trusted Internet settings in System - description: Set Clients Trusted Internet settings in System + operationId: OutboundRule_Update + summary: Update Outbound Rule + description: Returns the properties of the updated Outbound rules. + parameters: + - $ref: '#/components/parameters/ruleIdParameter' requestBody: + description: Rule properties + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsTrustedInternetBody' + $ref: '#/components/schemas/ruleBody' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ruleResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Trusted Internet - /settings/system/restricted/clients/untrusted-external: + - Rules Outbound + delete: + operationId: OutboundRule_Delete + summary: Remove Outbound Rule + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Rules Outbound + /protection/rules/outbound/excluded-local-candidates: get: - operationId: SettingsClientsUntrustedInternet_Get - summary: Get Clients Untrusted Internet settings in System - description: Get Clients Untrusted Internet settings in System + operationId: OutboundRulesExcludedSourceCandidates_List + summary: List Outbound Rules Excluded Source Candidates + description: Returns a list of excluded source candidates for Outbound rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsUntrustedInternet' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -22915,19 +23597,26 @@ paths: security: - api_key: [] tags: - - Settings Trusted Internet - put: - operationId: SettingsClientsUntrustedInternet_Update - summary: Set Clients Untrusted Internet settings in System - description: Set Clients Untrusted Internet settings in System + - Rules Outbound + /protection/rules/outbound/export: + post: + operationId: OutboundRules_Export + summary: Export Outbound Rules + description: Returns an exportId to pass into the download API. requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true content: application/json: schema: - $ref: '#/components/schemas/settingsUntrustedInternetBody' + $ref: '#/components/schemas/exportBodyRules' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -22939,43 +23628,40 @@ paths: security: - api_key: [] tags: - - Settings Trusted Internet - /settings/system/restricted/servers/trusted-external: + - Rules Outbound + /protection/rules/outbound/export/csv/{exportId}: get: - operationId: SettingsServersTrustedInternet_Get - summary: Get Servers Trusted Internet settings in System - description: Get Servers Trusted Internet settings in System + operationId: OutboundRulesExport_Get + summary: Download Outbound Rules Export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/exportIdParameter' responses: '200': description: OK content: - application/json: + text/csv: schema: - $ref: '#/components/schemas/settingsTrustedInternet' - '400': - $ref: '#/components/responses/400' + type: string + format: binary '401': $ref: '#/components/responses/401' - '403': - $ref: '#/components/responses/403' - '500': - $ref: '#/components/responses/500' security: - api_key: [] tags: - - Settings Trusted Internet - put: - operationId: SettingsServersTrustedInternet_Update - summary: Set Servers Trusted Internet settings in System - description: Set Servers Trusted Internet settings in System - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsTrustedInternetBody' + - Rules Outbound + /protection/rules/outbound/filters: + get: + operationId: OutboundRulesFilters_List + summary: List Outbound Rules Filters + description: Returns a list of filters for Outbound rules. responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -22987,19 +23673,19 @@ paths: security: - api_key: [] tags: - - Settings Trusted Internet - /settings/system/restricted/servers/untrusted-external: + - Rules Outbound + /protection/rules/outbound/filters/excluded-local-candidates: get: - operationId: SettingsServersUntrustedInternet_Get - summary: Get Servers Untrusted Internet settings in System - description: Get Servers Untrusted Internet settings in System + operationId: OutboundRulesExcludedSourceCandidatesFilters_List + summary: List Outbound Rules Excluded Source Candidates Filters + description: Returns a list of filters for excluded source candidates for Outbound rules. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/settingsUntrustedInternet' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -23011,19 +23697,23 @@ paths: security: - api_key: [] tags: - - Settings Trusted Internet - put: - operationId: SettingsServersUntrustedInternet_Update - summary: Set Servers Untrusted Internet settings in System - description: Set Servers Untrusted Internet settings in System - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/settingsUntrustedInternetBody' + - Rules Outbound + /protection/rules/outbound/filters/local-candidates: + get: + operationId: OutboundRulesSourceCandidatesFilters_List + summary: List Outbound Rules Source Candidates Filters + description: Returns a list of filters for source candidates for Outbound rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -23035,28 +23725,23 @@ paths: security: - api_key: [] tags: - - Settings Trusted Internet - /users: + - Rules Outbound + /protection/rules/outbound/filters/remote-candidates: get: - operationId: Users_List - summary: List Users - description: Returns a list of Users. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + operationId: OutboundRulesDestinationCandidatesFilters_List + summary: List Outbound Rules Destination Candidates Filters + description: Returns a list of filters for destination candidates for Outbound rules. parameters: - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityCursorParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/optionalOrderParameter' - - $ref: '#/components/parameters/optionalOrderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchUsersResponse' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -23068,26 +23753,23 @@ paths: security: - api_key: [] tags: - - Users - /users/export: - post: - operationId: Users_Export - summary: Export users - description: Returns an exportId to pass into the download API. - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBody' + - Rules Outbound + /protection/rules/outbound/filters/user-candidates: + get: + operationId: OutboundRulesUserCandidatesFilters_List + summary: List Outbound Rules Filters User Candidates + description: Returns a list of user candidates for filters in Outbound rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': @@ -23099,38 +23781,52 @@ paths: security: - api_key: [] tags: - - Users - '/users/export/csv/{exportId}': + - Rules Outbound + /protection/rules/outbound/local-candidates: get: - operationId: UsersExport_Get - summary: Download users export - description: Returns a csv file to be downloaded. + operationId: OutboundRulesSourceCandidates_List + summary: List Outbound Rules Source Candidates + description: Returns a list of source candidates for Outbound rules. parameters: - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: - text/csv: + application/json: schema: - type: string - format: binary + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - Users - /users/filters: + - Rules Outbound + /protection/rules/outbound/remote-candidates: get: - operationId: UsersFilters_List - summary: List Users Filters - description: Returns a list of filters for Users. + operationId: OutboundRulesDestinationCandidates_List + summary: List Outbound Destination Candidates + description: Returns a list of destination candidates for Outbound rules. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/ruleTypeParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -23142,60 +23838,50 @@ paths: security: - api_key: [] tags: - - Users - /users/queued: + - Rules Outbound + /protection/rules/outbound/user-candidates: get: - operationId: UsersIdentityQueued_List - summary: List Users in learning - description: Returns a list of users in Learning. + operationId: OutboundRulesUserCandidates_List + summary: List Source Rules User Candidates + description: Returns a list of users candidates for Outbound rules. parameters: - $ref: '#/components/parameters/limitParameter' - $ref: '#/components/parameters/offsetParameter' - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/searchUsersResponse' + $ref: '#/components/schemas/groupsOrUsersList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Users - /users/queued/export: - post: - operationId: UsersIdentityQueued_Export - summary: Export users in learning - description: Returns an exportId to pass into the download API. + - Rules Outbound + /protection/rules/outbound/review/approve-with-changes/{ruleId}: + put: + operationId: OutboundRulesReview_ApproveWithChanges + summary: Update Outbound Rule + description: Approve a "pending review" rule with changes + parameters: + - $ref: '#/components/parameters/ruleIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true content: application/json: schema: - $ref: '#/components/schemas/exportBody' + $ref: '#/components/schemas/ruleReviewApproveWithChanges' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': @@ -23209,38 +23895,17 @@ paths: security: - api_key: [] tags: - - Users - '/users/queued/export/csv/{exportId}': - get: - operationId: UsersIdentityQueuedExport_Get - summary: Download users export - description: Returns a csv file to be downloaded. + - Rules Outbound + /protection/rules/outbound/review/approve/{ruleId}: + put: + operationId: OutboundRulesReview_Approve + summary: Approve a "pending review" rule + description: Approve a "pending review" rule without changes parameters: - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Users - /users/queued/filters: - get: - operationId: UsersIdentityQueuedFilters_List - summary: List Users in Learning Filters - description: Returns a list of filters for users in Learning. + - $ref: '#/components/parameters/ruleIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -23251,30 +23916,23 @@ paths: $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Users - /users/segmented: - get: - operationId: UsersIdentitySegmented_List - summary: List Identity Segmented Users - description: Returns a list of Identity segmented users. + - Rules + /protection/rules/outbound/review/reject/{ruleId}: + delete: + operationId: OutboundRulesReview_Deny + summary: Returns an empty response + description: Reject a "pending review" rule (deletes rule) parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderColumnParameter' - - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ruleReviewReason' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/searchUsersResponse' '400': $ref: '#/components/responses/400' '401': @@ -23285,29 +23943,20 @@ paths: $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Users - /users/segmented/export: - post: - operationId: UsersSegmented_Export - summary: Export Segmented Users - description: Returns an exportId to pass into the download API. - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBodyRules' + - Rules + /protection/rules/statistics: + get: + operationId: RulesStatistics_Get + summary: Get rules statistics + description: Returns an object with rule statistics. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/ruleStatistics' '400': $ref: '#/components/responses/400' '401': @@ -23319,72 +23968,45 @@ paths: security: - api_key: [] tags: - - Users - '/users/segmented/export/csv/{exportId}': + - Rules + /sessions: get: - operationId: UsersSegmentedExport_Get - summary: Download Segmented Users Export - description: Returns a csv file to be downloaded. + operationId: Sessions_List + summary: List Connect sessions + description: Returns a list of Connect sessions. parameters: - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Users - /users/segmented/filters: - get: - operationId: UsersSegmentedFilters_List - summary: List Segmented Users Filters - description: Returns a list of filters for segmented users. + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/sessionsList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Users - /users/service-account: - get: - operationId: UsersServiceAccount_List - summary: List ServiceAccount Users - description: Returns a list of ServiceAccount Users. + - Sessions + /sessions/{sessionId}/revoke: + post: + operationId: Session_Revoke + summary: Revoke a Connect session + description: Revoke a Connect session. parameters: - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/orderColumnParameter' - - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/sessionIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/searchUsersResponse' '400': $ref: '#/components/responses/400' '401': @@ -23396,26 +24018,19 @@ paths: security: - api_key: [] tags: - - Users - /users/service-account/export: - post: - operationId: UsersServiceAccount_Export - summary: Export ServiceAccount users - description: Returns an exportId to pass into the download API. - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBody' + - Sessions + /sessions/filters: + get: + operationId: SessionsFilters_List + summary: List Sessions Filters + description: Returns a list of filters for sessions. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/filtersList' '400': $ref: '#/components/responses/400' '401': @@ -23427,40 +24042,57 @@ paths: security: - api_key: [] tags: - - Users - '/users/service-account/export/csv/{exportId}': - get: - operationId: UsersServiceAccountExport_Get - summary: Download ServiceAccount users export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - Users - /users/service-account/filters: + - Sessions + /settings/access-tokens: get: - operationId: UsersServiceAccountFilters_List - summary: List ServiceAccount Users Filters - description: Returns a list of filters for ServiceAccount Users. + operationId: AccessTokens_List + summary: Get all machine access tokens + description: Get all machine access tokens responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' - '400': - $ref: '#/components/responses/400' + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/accessTokenInfo' + x-examples: + example-1: + items: + - clientId: 'm:695d7d50e8c0c2864c985e72de1a2fdef7dfdc6e' + accessType: 2 + name: asd + expiry: '2024-06-27T08:21:21.000Z' + issuedAt: '2022-06-27T08:21:21.000Z' + createdAt: '2022-06-27T08:21:21.000Z' + - clientId: 'm:89879dabe83936376121296e74123c9e3d2ec92f' + accessType: 2 + name: test + expiry: '2024-06-26T15:49:10.000Z' + issuedAt: '2022-06-26T15:49:10.000Z' + createdAt: '2022-06-26T15:49:10.000Z' + - clientId: 'm:8ee92624445d106a06e346d0c0a41bbfa77e1446' + accessType: 2 + name: TEST + expiry: '2024-06-26T15:49:05.000Z' + issuedAt: '2022-06-26T15:49:05.000Z' + createdAt: '2022-06-26T13:28:24.000Z' + - clientId: 'm:6a73f5b14aa8557c527a99ae601e648a9c56b504' + accessType: 2 + name: asdf + expiry: '2024-06-26T12:13:08.000Z' + issuedAt: '2022-06-26T12:13:08.000Z' + createdAt: '2022-06-26T12:08:25.000Z' + - clientId: 'm:4a21e3d73c58bc0040cff93b508d361bef81a83f' + accessType: 2 + name: fasdf + expiry: '2022-07-26T12:08:14.000Z' + issuedAt: '2022-06-26T12:08:14.000Z' + createdAt: '2022-06-23T16:53:01.000Z' '401': $ref: '#/components/responses/401' '403': @@ -23470,22 +24102,37 @@ paths: security: - api_key: [] tags: - - Users - /users/service-account/protect: + - Settings Access Tokens post: - operationId: UsersIdentity_Protect - summary: Move users to identity segmentation. - description: Returns and empty object. + operationId: AccessTokens_Create + summary: Create machine access token + description: Create machine access token requestBody: - description: Array of userIds to move to protection - required: true content: application/json: schema: - $ref: '#/components/schemas/usersProtectBody' + type: object + properties: + name: + type: string + expiry: + $ref: '#/components/schemas/iso8601DateTimeUTC' + accessType: + $ref: '#/components/schemas/accessTypeEnum' + x-examples: + example-1: + name: read only example + expiry: '2024-06-27T08:45:01.623Z' + accessType: 2 responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/accessToken' + '201': + description: Created '400': $ref: '#/components/responses/400' '401': @@ -23499,21 +24146,29 @@ paths: security: - api_key: [] tags: - - Users - /users/service-account/queue: - post: - operationId: UsersIdentity_Queue - summary: Queue users - description: Returns an empty object. + - Settings Access Tokens + /settings/access-tokens/{clientId}: + put: + operationId: AccessTokens_Regenerate + summary: Regenerate machine access token + description: Regenerate machine access token + parameters: + - $ref: '#/components/parameters/clientIdParameter' requestBody: - required: true + description: '' content: application/json: schema: - $ref: '#/components/schemas/usersQueueBody' + type: object + properties: + expiry: + $ref: '#/components/schemas/epochMillis' + x-examples: + example-1: + expiry: 1719477497062 responses: '200': - $ref: '#/components/responses/200_empty' + description: OK '400': $ref: '#/components/responses/400' '401': @@ -23527,21 +24182,16 @@ paths: security: - api_key: [] tags: - - Users - /users/service-account/unprotect: - post: - operationId: UsersIdentity_Unprotect - summary: Unprotect users - description: Returns an empty object. - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/usersProtectBody' + - Settings Access Tokens + delete: + operationId: AccessTokens_Delete + summary: Delete access token + description: Remove machine access token + parameters: + - $ref: '#/components/parameters/clientIdParameter' responses: - '200': - $ref: '#/components/responses/200_empty' + '204': + description: OK '400': $ref: '#/components/responses/400' '401': @@ -23555,86 +24205,67 @@ paths: security: - api_key: [] tags: - - Users - /users/searchIdByPrincipalName: - get: - operationId: UsersByPrincipalName_Search - tags: - - Users - summary: Search user entity id by Principal Name - description: Provided user SID - returns user entity id - parameters: - - $ref: '#/components/parameters/principalNameParameter' - responses: - '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/userIdResponse' - '500': - $ref: '#/components/responses/500' - security: - - api_key: [] - /users/searchIdBySid: + - Settings Access Tokens + /settings/ai/exclusion/network/both: get: - operationId: UsersBySid_Search - tags: - - Users - summary: Search user entity id by SID - description: Provided user SID - returns user entity id - parameters: - - $ref: '#/components/parameters/sidParameter' + operationId: AIExclusionNetworkBoth_Get + summary: Your GET endpoint + description: 'Get AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/userIdResponse' + $ref: '#/components/schemas/aiExclusionInfo' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' - security: - - api_key: [] - /users/set-users-type: - post: - description: Set users type - operationId: UsersType_Update tags: - - Users - summary: Set users type + - Settings AI + put: + operationId: AIExclusionNetworkBoth_Update + summary: Returns an empty response + description: 'Set AI network exclusion for clients and servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' requestBody: - description: settign user type content: application/json: schema: - $ref: '#/components/schemas/setUsersTypeBody' - required: true + $ref: '#/components/schemas/aiExclusionInfo' responses: '200': - $ref: '#/components/responses/200_empty' + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/aiExclusionInfo' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' - security: - - api_key: [] - /users/statistics: + '500': + $ref: '#/components/responses/500' + tags: + - Settings AI + /settings/ai/exclusion/network/client: get: - operationId: UserStatistics_Get - summary: User statistics - description: Get Users statistics + operationId: AIExclusionNetworkClient_Get + summary: Your GET endpoint + description: 'Get AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/userStatistics' + $ref: '#/components/schemas/aiExclusionInfo' '400': $ref: '#/components/responses/400' '401': @@ -23643,434 +24274,359 @@ paths: $ref: '#/components/responses/403' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - Users - '/users/{userId}': - get: - operationId: User_Get - summary: Get a user - description: Returns the properties of an user. - parameters: - - $ref: '#/components/parameters/userIdParameter' + - Settings AI + put: + operationId: AIExclusionNetworkClient_Update + summary: Returns an empty response + description: 'Set AI network exclusion for clients: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/aiExclusionInfo' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/userResponse' + $ref: '#/components/schemas/aiExclusionInfo' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - User - '/users/{userId}/activities/logon': + - Settings AI + /settings/ai/exclusion/network/server: get: - operationId: UsersLogonActivities_List - summary: List a specific Logon Activities - description: Returns a list of logon activites for a specific user. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' + operationId: AIExclusionNetworkServer_Get + summary: Your GET endpoint + description: 'Get AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/logonActivitiesList' + $ref: '#/components/schemas/aiExclusionInfo' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] tags: - - User - '/users/{userId}/activities/logon/export': - post: - operationId: UsersLogonActivities_Export - summary: Export logon activities for a specific user - description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/userIdParameter' + - Settings AI + put: + operationId: AIExclusionNetworkServer_Update + summary: Returns an empty response + description: 'Set AI network exclusion for servers: lists of tcp/udp ports / ports ranges + boolean for icmp protocol, and a list of processes to ignore during learning.' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyActivities' + $ref: '#/components/schemas/aiExclusionInfo' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/schemas/aiExclusionInfo' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' - security: - - api_key: [] - tags: - - User - '/users/{userId}/activities/logon/export/csv/{exportId}': - get: - operationId: UsersLogonActivitiesExport_Get - summary: Download logon activities for a specific user export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: object - format: file - security: - - api_key: [] tags: - - User - '/users/{userId}/activities/logon/filters': + - Settings AI + /settings/ai/exclusion/src-candidates: get: - operationId: UsersLogonActivitiesFilters_List - summary: Get logon activity filters for a specific user - description: Returns the filters that can be used for logon activities for a specific user. + operationId: AIExclusionSourceCandidates_Get + summary: Get AI excluded source entity candidates. + description: Get AI source candidates to ignore during learning. parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/assetCandidateList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/activities/network': + - Settings AI + /settings/ai/exclusion/src-entities: get: - operationId: UsersNetworkActivities_List - summary: List Network Activities for a specific user - description: Returns a list of network activites for a specific user. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/entityIdQueryParameter' - - $ref: '#/components/parameters/fromParameter' - - $ref: '#/components/parameters/toParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' + operationId: AIExclusionSourceEntities_Get + summary: Get AI excluded source entity settings. + description: Get AI source entities to ignore during learning. responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/activitiesList' + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/assetBasicInfo' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/activities/network/export': - post: - operationId: UsersNetworkActivities_Export - summary: Export network activities for a specific user - description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/userIdParameter' + - Settings AI + put: + operationId: AIExclusionSourceEntities_Update + summary: Returns an empty response + description: Set AI source entities to ignore during learning. requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true content: application/json: schema: - $ref: '#/components/schemas/exportBodyActivities' + $ref: '#/components/schemas/aiExclusionSourceEntitiesBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/activities/network/export/csv/{exportId}': + - Settings AI + /settings/ai/rule-review: get: - operationId: UsersNetworkActivitiesExport_Get - summary: Download network activities export for a specific user - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/exportIdParameter' + operationId: SettingsAiRuleReview_Get + summary: Get Rules Review under AI Settings + description: Get AI rules review settings responses: '200': description: OK content: - text/csv: + application/json: schema: - type: object - format: file + $ref: '#/components/schemas/settingsAiRuleReview' + '400': + $ref: '#/components/responses/400' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/activities/network/filters': - get: - operationId: UsersNetworkActivitiesFilters_List - summary: Get network activity filters for a specific user - description: Returns the filters that can be used for network activities for a specific user. - parameters: - - $ref: '#/components/parameters/userIdParameter' + - Settings AI Rules Review + put: + operationId: SettingsAiRuleReview_Update + summary: Set Rule Review under AI Settings + description: Update AI rule review settings + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsAiRuleReview' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/settingsAiRuleReview' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/ancestors': + - Settings AI Rules Review + /settings/asset-management/active-directory: get: - operationId: UserMemberOf_Get - summary: Get a users ancestors - description: Returns a list of groups the user is a member of. - parameters: - - $ref: '#/components/parameters/userIdParameter' + operationId: SettingsAD_Get + summary: Get AD settings in Asset Management + description: Get the AD settings in Asset Management responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ancestors' + $ref: '#/components/schemas/settingsAdInfoResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/audit': - get: - operationId: UserAudit_Get - summary: Get a users audits - description: Returns a list of audits for the user. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/filtersParameter' + - Settings Asset Management + post: + operationId: SettingsAD_Create + summary: Add AD settings in Asset Management + description: Set the AD settings in Asset Management + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsAdInfoBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/auditList' + $ref: '#/components/schemas/settingsAdInfoBody' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/audit/export': - post: - operationId: UsersAudit_Export - summary: Export users audits - description: Returns an exportId to pass into the download API. + - Settings Asset Management + /settings/asset-management/active-directory/{forestId}: + put: + operationId: SettingsAD_Update + summary: Update AD Settings in Asset Management + description: Update AD forest settings. parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/forestIdParameter' requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true content: application/json: schema: - $ref: '#/components/schemas/exportBody' + $ref: '#/components/schemas/settingsAdInfoBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/audit/filters': - get: - operationId: UsersAuditsFilters_List - summary: List Audit Filters for a specific user - description: Returns a list of filters for Audit events for a specific user. + - Settings Asset Management + delete: + operationId: SettingsAD_Delete + summary: Delete forest from AD Settings in Asset Management + description: Delete AD forest settings. parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/forestIdParameter' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/audit/export/csv/{exportId}': - get: - operationId: UsersAuditExport_Get - summary: Download users audit export - description: Returns a csv file to be downloaded. + - Settings Asset Management + /settings/asset-management/active-directory/{forestId}/{domainId}/linux-config: + put: + operationId: SettingsAdLinux_Update + summary: Create or Update Active Directory Linux Settings + description: Adds or updates linux config for a domain. parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/exportIdParameter' + - $ref: '#/components/parameters/forestIdParameter' + - $ref: '#/components/parameters/domainIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsAdLinuxBody' responses: '200': description: OK - content: - text/csv: - schema: - type: string - format: binary + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/managed-assets': - get: - operationId: Users-ManagedAssets_List - summary: Get managed assets - description: get managed assets for user + - Settings Asset Management + delete: + operationId: SettingsAdLinux_Delete + summary: Remove Active Directory Linux Settings + description: Returns an empty response. parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/forestIdParameter' + - $ref: '#/components/parameters/domainIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/managedAssetsList' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': @@ -24082,43 +24638,48 @@ paths: security: - api_key: [] tags: - - User - post: - operationId: Users-ManagedAssets_Add - summary: Add a managed assets - description: Add a managed assets for user + - Settings Asset Management + /settings/asset-management/active-directory/{forestId}/groups/linux: + put: + operationId: SettingsADLinuxAutomationGroups_Update + summary: Update Linux Automation Groups for a Forest in Asset Management + description: Update Linux_Rediscover Automation Groups for an AD forest setting. parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/forestIdParameter' requestBody: - description: Array of assets to add - required: true content: application/json: schema: - $ref: '#/components/schemas/managedAssetsBody' + $ref: '#/components/schemas/settingsAdLinuxAutomationGroupsBody' responses: '200': description: OK + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/managed-assets/{groupOrAssetId}': - delete: - operationId: Users-ManagedAssets_Delete - summary: Remove managed asset - description: Remove managed asset of user + - Settings Asset Management + /settings/asset-management/active-directory/{forestId}/groups/windows: + put: + operationId: SettingsADWindowsAutomationGroups_Update + summary: Update Windows Automation Groups for a Forest in Asset Management + description: Update Windows Automation Groups for an AD forest setting. parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/groupOrAssetIdParameter' + - $ref: '#/components/parameters/forestIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsAdWindowsAutomationGroupsBody' responses: '200': description: OK @@ -24128,64 +24689,54 @@ paths: $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - Assets - '/users/{userId}/managed-assets/candidates': - get: - operationId: Users-ManagedAssetsCandidates_List - summary: Get asset candidates - description: Get asset candidates to be managed by asset managers + - Settings Asset Management + /settings/asset-management/active-directory/{forestId}/secondary: + post: + operationId: SettingsAdSecondary_Create + summary: Add a secondary AD settings in Asset Management + description: Add a secondary AD settings in Asset Management parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/forestIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsAdSecondaryBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules': - get: - operationId: UserIdentityRules_List - summary: User List Identity Rules - description: Returns a list of identity segmentation rules. + - Settings Asset Management + /settings/asset-management/active-directory/{forestId}/secondary/{domainId}: + delete: + operationId: SettingsAdSecondary_Delete + summary: Remove Secondary Active Directory Settings + description: Returns an empty response. parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/cursorParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/forestIdParameter' + - $ref: '#/components/parameters/domainIdParameter' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityRulesList' '400': $ref: '#/components/responses/400' '401': @@ -24199,26 +24750,22 @@ paths: security: - api_key: [] tags: - - User - post: - operationId: UserIdentityRules_Create - summary: User Create an Identity Rule - description: Returns a the identity segmentation rule. + - Settings Asset Management + put: + operationId: SettingsAdSecondary_Update + summary: Update a secondary AD settings in Asset Management + description: Update a secondary AD settings in Asset Management parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/forestIdParameter' + - $ref: '#/components/parameters/domainIdParameter' requestBody: content: application/json: schema: - $ref: '#/components/schemas/identityRuleBody' - required: true + $ref: '#/components/schemas/settingsAdSecondaryBody' responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -24232,16 +24779,16 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules/asset-candidates': + - Settings Asset Management + /settings/asset-management/active-directory/candidates/monitored: get: - operationId: UserIdentityRulesAssetsCandidates_List - summary: User List Identity Rules Assets Candidates - description: Returns a list of assets candidates for Identity rules. + operationId: SettingsADMonitoredCandidates_Get + summary: List candidates for monitoring for an AD forest + description: Returns a list of monitoring candidates for an AD forest. parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/forestIdQueryParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -24249,7 +24796,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -24261,16 +24808,16 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules/excluded-asset-candidates': + - Settings Asset Management + /settings/asset-management/active-directory/candidates/protected: get: - operationId: UserIdentityRulesExcludedAssetsCandidates_List - summary: User List Identity Rules Excluded Assets Candidates - description: Returns a list of excluded assets candidates for Identity rules. + operationId: SettingsADProtectedCandidates_Get + summary: List candidates for protection for an AD forest + description: Returns a list of protection candidates for an AD forest. parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/forestIdQueryParameter' - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' - $ref: '#/components/parameters/searchParameter' responses: '200': @@ -24278,7 +24825,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': @@ -24290,28 +24837,15 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules/export': - post: - operationId: UserIdentityRules_Export - summary: User Export Identity Rules - description: Returns an exportId to pass into the download API. - parameters: - - $ref: '#/components/parameters/userIdParameter' - requestBody: - description: 'EntityId, from, to, search, filter or date time format for export' - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/exportBodyRules' + - Settings Asset Management + /settings/asset-management/active-directory/rediscover: + put: + operationId: AD_Rediscover + summary: Rediscover monitored assets + description: Rediscover monitored assets responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/exportId' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -24323,72 +24857,43 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules/export/csv/{exportId}': - get: - operationId: UserIdentityRulesExport_Get - summary: User Download Identity Rules Export - description: Returns a csv file to be downloaded. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/exportIdParameter' - responses: - '200': - description: OK - content: - text/csv: - schema: - type: string - format: binary - security: - - api_key: [] - tags: - - User - '/users/{userId}/protection/identity-rules/filters': + - Settings Asset Management + /settings/asset-management/active-directory/sync-info: get: - operationId: UserIdentityRulesFilters_List - summary: User List Identity Rules Filters - description: Returns a list of filters for Identity rules. - parameters: - - $ref: '#/components/parameters/userIdParameter' + operationId: SettingsADSyncInfo_Get + summary: Get AD sync info in Asset Management + description: Get the AD sync info in Asset Management responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/settingsAdSyncInfoResponse' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules/filters/asset-candidates': + - Settings Asset Management + /settings/asset-management/ansible: get: - operationId: UserIdentityRulesAssetsCandidatesFilters_List - summary: User List Identity Rules Filters Asset Candidates - description: Returns a list of asset candidates for filters in Identity rules. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: SettingsAnsible_Get + summary: Get Ansible settings in Asset Management + description: Get the Ansible settings in Asset Management responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsOrGroupsList' + $ref: '#/components/schemas/settingsAnsible' '400': $ref: '#/components/responses/400' '401': @@ -24400,24 +24905,23 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules/filters/user-candidates': - get: - operationId: UserIdentityRulesUserCandidatesFilters_List - summary: User List Identity Rules Filters User Candidates - description: Returns a list of users candidates for filters in Identity rules. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Settings Asset Management + put: + operationId: SettingsAnsible_Update + summary: Set Ansible settings in Asset Management + description: Get the Ansible settings in Asset Management + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsAnsibleBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/schemas/settingsAnsible' '400': $ref: '#/components/responses/400' '401': @@ -24429,24 +24933,15 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules/user-candidates': - get: - operationId: UserIdentityRulesUserCandidates_List - summary: User List Identity Rules User Candidates - description: Returns a list of user candidates for Identity rules. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Settings Asset Management + /settings/asset-management/linux/rediscover: + put: + operationId: Linux_Rediscover + summary: Rediscover monitored assets from Linux + description: Rediscover monitored assets from Ansible responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/groupsOrUsersList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': @@ -24458,122 +24953,130 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity-rules/{ruleId}': + - Settings Asset Management + /settings/asset-management/linux/setup: get: - operationId: UserIdentityRules_Get - summary: User Get Identity Rule - description: Returns an identity segmentation rule. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + operationId: SettingsLinuxSetup_Get + summary: Get linux setup settings in Asset Management + description: Get the linux setup settings in Asset Management responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/schemas/settingsLinuxSetup' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User + - Settings Asset Management put: - operationId: UserIdentityRules_Update - summary: User Update an Identity Rule - description: Returns a the identity segmentation rule. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + operationId: SettingsLinuxSetup_Update + summary: Set linux setup settings in Asset Management + description: Update the linux setup settings in Asset Management requestBody: content: application/json: schema: - $ref: '#/components/schemas/identityRuleBody' - required: true + $ref: '#/components/schemas/settingsLinuxSetupBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityRuleItem' + $ref: '#/components/schemas/settingsLinuxSetup' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - delete: - operationId: UserIdentityRules_Delete - summary: User Remove Identity Rule - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' + - Settings Asset Management + /settings/asset-management/linux/user: + get: + operationId: SettingsLinuxUser_Get + summary: Get linux user settings in Asset Management + description: Get the linux user settings in Asset Management responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsLinuxUser' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity/reactive-policies': - get: - operationId: UserMFAIdentityPolicies_List - summary: List Identity MFA Policies - description: Returns a list of identity MFA policies. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/filtersParameter' - - $ref: '#/components/parameters/withCountParameter' - - $ref: '#/components/parameters/addBuiltinsParameter' - - $ref: '#/components/parameters/addAncestorsParameter' - - $ref: '#/components/parameters/orderParameter' - - $ref: '#/components/parameters/orderColumnParameter' + - Settings Asset Management + put: + operationId: SettingsLinuxUser_Update + summary: Set linux user settings in Asset Management + description: Update the linux user settings in Asset Management + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsLinuxUserBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyList' + $ref: '#/components/schemas/settingsLinuxUser' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Asset Management + /settings/asset-managers: + get: + operationId: Settings-AssetManagers_List + summary: Get asset managers summary + description: List asset managers + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetManagersList' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' '404': $ref: '#/components/responses/404' '500': @@ -24581,218 +25084,216 @@ paths: security: - api_key: [] tags: - - User - x-stoplight: - id: 7qlah2l240cbc + - Settings Asset Managers post: - operationId: UserMFAIdentityPolicies_Create - summary: Add Identity MFA Policy - description: Returns the properties of the identity MFA policy after creation. - parameters: - - $ref: '#/components/parameters/userIdParameter' + operationId: Settings-AssetManagers_Add + summary: Add asset managers + description: Add asset manager to entity. requestBody: - description: MFA properties + description: Array of assets to add required: true content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyBody' + $ref: '#/components/schemas/settingsAssetsManagersBody' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyItem' - '400': - $ref: '#/components/responses/400' + $ref: '#/components/schemas/assetManagersList' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - x-stoplight: - id: is999gepe9xq5 - '/users/{userId}/protection/identity/reactive-policies/{reactivePolicyId}': + - Settings Asset Managers + delete: + operationId: Settings-AssetManagers_Delete + summary: Delete asset managers + description: Remove asset managers + requestBody: + content: + application/json: + schema: + type: object + properties: + entityIds: + type: array + items: + $ref: '#/components/schemas/groupIdOrAssetId' + managerIds: + type: array + items: + $ref: '#/components/schemas/groupIdOrUserId' + responses: + '200': + description: OK + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Asset Managers + /settings/auth: get: - operationId: UserMFAIdentityPolicies_Get - summary: Get Identity MFA Policy - description: Returns a Identity MFA policy object. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + operationId: SettingsAuth_Get + summary: Get portal session timeout setting + description: Get the portal security settings responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyResponse' + $ref: '#/components/schemas/settingsAuth' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - x-stoplight: - id: dd6l4td748lat + - Settings Portal Security put: - operationId: UserMFAIdentityPolicies_Update - summary: Update Identity MFA Policy - description: Returns the properties of the Identity MFA policy after updating. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + operationId: SettingsAuth_Update + summary: Set portal session timeout setting + description: Set the portal security settings requestBody: - description: Rule properties - required: true content: application/json: schema: - $ref: '#/components/schemas/identityReactivePolicyBody' + $ref: '#/components/schemas/settingsAuthBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/identityReactivePolicyItem' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - x-stoplight: - id: rlo2obrak77ym - delete: - operationId: UserMFAIdentityPolicies_Delete - summary: Remove Identity MFA Policy - description: Returns an empty object. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/reactivePolicyIdParameter' + - Settings Portal Security + /settings/azure-ad/credentials: + get: + operationId: SettingsAAD_Get + summary: Get Azure AD Settings + description: Get Azure AD Settings responses: '200': description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsAzureAd' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - x-stoplight: - id: 2wlrq7frmxa8r - '/users/{userId}/protection/identity/reactive-policies/dst-asset-candidates': - get: - operationId: UserMFAIdentityPoliciesDestinationCandidates_List - summary: Get destination assets for Identity MFA Policy - description: Returns a list of candidates for the destination of an identity MFA policy. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Settings Asset Management + put: + operationId: SettingsAAD_Update + summary: Set Azure AD Settings + description: Get Azure AD Settings responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/schemas/settingsAzureAdBody' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - x-stoplight: - id: 0a3j1uza9ez0s - '/users/{userId}/protection/identity/reactive-policies/excluded-src-asset-candidates': - get: - operationId: UserMFAIdentityPoliciesExcludedSourceCandidates_List - summary: Fet excluded source asset candidates for Identity MFA Policy - description: Returns a list of candidates for the excluded sources of an Identity MFA policy. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' - - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + - Settings Asset Management + delete: + operationId: SettingsAAD_Delete + summary: Remove Azure AD Settings + description: Remove Azure AD Settings responses: '200': - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' + $ref: '#/components/responses/200_empty' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - x-stoplight: - id: 6s4s62ndfiwej - '/users/{userId}/protection/identity/reactive-policies/filters': + - Settings Asset Management + /settings/azure-ad/resync: + post: + operationId: AzureAD_Resync + summary: Resync Azure AD + description: Resync Azure AD + responses: + '204': + $ref: '#/components/responses/204' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Asset Management + /settings/break-glass: get: - operationId: UserMFAIdentityPoliciesFilters_List - summary: List Identity MFA Policy Filters - description: Returns a list of filters for Identity MFA policies. - parameters: - - $ref: '#/components/parameters/userIdParameter' + operationId: SettingsBreakGlass_Get + summary: Get break glass settings + description: Get break glass settings responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/filtersList' + $ref: '#/components/schemas/settingsBreakGlass' '400': $ref: '#/components/responses/400' '401': @@ -24804,26 +25305,19 @@ paths: security: - api_key: [] tags: - - User - x-stoplight: - id: 4fz0amhp7zpum - '/users/{userId}/protection/identity/reactive-policies/filters/dst-asset-candidates': - get: - operationId: UserMFAIdentityPoliciesDestinationCandidatesFilters_List - summary: Get Identity MFA Policies Destination Candidates Filters - description: Returns a list of filters for destination candidates for Identity MFA policies. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Settings Break Glass + put: + operationId: SettingsBreakGlass_Update + summary: Update break glass settings + description: Update break glass settings + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsBreakGlassBody' responses: '200': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/assetsFiltersList' '400': $ref: '#/components/responses/400' '401': @@ -24835,24 +25329,24 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/identity/reactive-policies/filters/src-asset-candidates': + - Settings Break Glass + /settings/cloud-connector/access-tokens: get: - operationId: UserMFAIdentityPoliciesSourceCandidatesFilters_List - summary: List Identity MFA Policies Source Candidates Filters - description: Returns a list of filters for source candidates for Identity MFA policies. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: CloudConnectorAccessTokens_List + summary: Get all cloud connector provisioning access tokens + description: Get all cloud connector provisioning access tokens responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/accessTokenInfo' '400': $ref: '#/components/responses/400' '401': @@ -24864,26 +25358,36 @@ paths: security: - api_key: [] tags: - - User - x-stoplight: - id: mo0b2wfx0vsyz - '/users/{userId}/protection/identity/reactive-policies/filters/src-users-candidates': - get: - operationId: UserMFAIdentityPoliciesSourceUsersCandidatesFilters_List - summary: Get Identity MFA Policies Source Users Filters - description: Resturns a list of filters for source users on Identity MFA policies. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - Settings Cloud Connector + post: + operationId: CloudConnectorAccessTokens_Create + summary: Create cloud connector provisioning access token + description: Create cloud connector provisioning access token + requestBody: + description: '' + content: + application/json: + schema: + type: object + properties: + name: + type: string + expiry: + $ref: '#/components/schemas/iso8601DateTimeUTC' + accessType: + type: integer + x-examples: + example-1: + name: Cloud Connector test + expiry: '2024-06-27T13:33:09.076Z' + accessType: 3 responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/assetsFiltersList' + $ref: '#/components/schemas/accessToken' '400': $ref: '#/components/responses/400' '401': @@ -24895,85 +25399,83 @@ paths: security: - api_key: [] tags: - - User - x-stoplight: - id: gnmjoc4u2u8d0 - '/users/{userId}/protection/identity/reactive-policies/mfa-methods': - get: - operationId: UserMFAIdentityPoliciesMFAMethods_List - summary: List Identity MFA Policy Methods - description: Returns a list of MFA methods for Identity MFA policies. + - Settings Cloud Connector + /settings/cloud-connector/access-tokens/{clientId}: + put: + operationId: CloudConnectorAccessTokens_Regenerate + summary: Regenerate cloud connector provisioning access token + description: Regenerate cloud connector provisioning access token parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/clientIdParameter' + requestBody: + content: + application/json: + schema: + type: object + properties: + expiry: + $ref: '#/components/schemas/epochMillis' + x-examples: + example-1: + expiry: 1719477497062 responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/reactivePolicyMethods' + $ref: '#/components/schemas/accessToken' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - x-stoplight: - id: 0z4uy7w5vg3xs - '/users/{userId}/protection/identity/reactive-policies/src-asset-candidates': - get: - operationId: UserMFAIdentityPoliciesSourceCandidates_List - summary: List Identity MFA Polcies Source Candidates - description: Returns a list of source candidates on Identity MFA policies. + - Settings Cloud Connector + delete: + operationId: CloudConnectorAccessTokens_Delete + summary: Delete cloud connector provisioning access token + description: Delete cloud connector provisioning access token parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/clientIdParameter' responses: - '200': + '201': + description: Created + '204': description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/candidatesList' '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - x-stoplight: - id: 65azufwr5jnu2 - '/users/{userId}/protection/identity/reactive-policies/src-users-candidates': + - Settings Cloud Connector + /settings/connect/client/auto-update: get: - operationId: UserMFAIdentityPoliciesSourceUserCandidates_List - summary: List Identity MFA Policies Source Users Candidates - description: Returns a list of source user candidates for Identity MFA policies. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/limitParameter' - - $ref: '#/components/parameters/offsetParameter' - - $ref: '#/components/parameters/searchParameter' + operationId: SettingsConnectClientAutoUpdate_Get + summary: Get Connect client auto update settings + description: Get Connect client auto update in Settings responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/srcUserCandidatesList' + $ref: '#/components/schemas/settingsConnectClientAutoUpdate' '400': $ref: '#/components/responses/400' '401': @@ -24985,25 +25487,46 @@ paths: security: - api_key: [] tags: - - User - x-stoplight: - id: vq4vx6zk82sco - '/users/{userId}/protection/rules/distribution/{ruleId}': + - Settings Connect + put: + operationId: SettingsConnectClientAutoUpdate_Update + summary: Set Connect client auto update settings + description: Set Connect client auto update settings + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsConnectClientAutoUpdateBody' + responses: + '200': + description: Ok + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/regions: get: - operationId: UserRulesDistribution_Get - summary: Get distribution of rule hit count for a specific user - description: Returns an object with rules distribution. + operationId: SettingsConnectRegions_List + summary: List Connect Regions + description: List Connect Regions in Settings parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - - $ref: '#/components/parameters/ruleDirectionParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/ruleDistribution' + $ref: '#/components/schemas/connectRegionsList' '400': $ref: '#/components/responses/400' '401': @@ -25015,95 +25538,5595 @@ paths: security: - api_key: [] tags: - - User - '/users/{userId}/protection/rules/history/{ruleId}': - get: - operationId: UserRulesHistory_Get - summary: Get a historic version of an rule for a specific user - description: Returns the properties of the previous version of the rule. - parameters: - - $ref: '#/components/parameters/userIdParameter' - - $ref: '#/components/parameters/ruleIdParameter' - - $ref: '#/components/parameters/updateIdParameter' + - Settings Connect + post: + operationId: SettingsConnectRegions_Create + summary: Create a Connect region + description: Create a Connect region in Settings + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/connectRegionBody' responses: '200': - description: OK + description: Ok content: application/json: schema: - $ref: '#/components/schemas/historyRule' + type: string '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' '500': $ref: '#/components/responses/500' security: - api_key: [] tags: - - User - '/users/{userId}/type': + - Settings Connect + /settings/connect/regions/{regionId}: put: - description: Set user type - operationId: UserType_Update - tags: - - User - summary: Set user type + operationId: SettingsConnectRegion_Update + summary: Update a Connect Region in Settings + description: Update a Connect Region in Settings parameters: - - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/connectRegionIdParameter' requestBody: - description: settign user type content: application/json: schema: - $ref: '#/components/schemas/setUserTypeBody' - required: true + $ref: '#/components/schemas/connectRegionBody' responses: '200': - $ref: '#/components/responses/200_empty' + description: Ok '400': $ref: '#/components/responses/400' '401': $ref: '#/components/responses/401' '403': $ref: '#/components/responses/403' - '404': - $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' security: - api_key: [] -components: - parameters: - addAncestorsParameter: - name: _add_ancestors - in: query - description: show rules where the asset is part of a group - schema: - type: boolean - default: true - addBuiltinsParameter: - name: _add_builtins - in: query - description: show global rules - schema: - type: boolean - default: false - analysisDirectionParameter: - name: direction - in: query - description: 'direction for the query, incoming or outgoing' - required: true - schema: - type: string - example: incoming - assetIdParameter: - name: assetId - in: path - description: assetId to filter on - required: true - schema: - type: string + tags: + - Settings Connect + delete: + operationId: SettingsConnectRegion_Delete + summary: Delete a Connect Region + description: Delete a Connect Region in Settings + parameters: + - $ref: '#/components/parameters/connectRegionIdParameter' + responses: + '200': + description: Ok + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/servers: + get: + operationId: SettingsConnectServers_List + summary: List Connect Servers + description: List Connect Servers in Settings + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/connectServersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/servers/{connectServerId}: + put: + operationId: SettingsConnectServers_Update + summary: Update Connect Server + description: Update Connect Server in Settings + parameters: + - $ref: '#/components/parameters/connectServerIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/connectServerBody' + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + delete: + operationId: SettingsConnectServers_Delete + summary: Delete Connect Server + description: Delete Connect Server in Settings + parameters: + - $ref: '#/components/parameters/connectServerIdParameter' + responses: + '200': + description: Ok + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/servers/filters: + get: + operationId: SettingsConnectServersFilters_List + summary: List Connect Server filters + description: List Connect Server filters + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/user-access-config: + get: + operationId: SettingsConnectUserAccessConfig_List + summary: List Connect User Access Configurations + description: List Connect User Access Configurations in Settings + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/connectUserAccessConfigList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + post: + operationId: SettingsConnectUserAccessConfig_Create + summary: Create a Connect User Access Configuration + description: Create a Connect User Access Configuration in Settings + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/connectUserAccessConfigBody' + responses: + '200': + description: Ok + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' + '500': + $ref: '#/components/responses/500' + tags: + - Settings Connect + /settings/connect/user-access-config/{userAccessConfigId}: + put: + operationId: SettingsConnectUserAccessConfig_Update + summary: Update a Connect User Access Configuration + description: Update a Connect User Access Configuration in Settings + parameters: + - $ref: '#/components/parameters/userAccessConfigParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/connectUserAccessConfigBody' + responses: + '200': + description: Ok + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + delete: + operationId: SettingsConnectUserAccessConfig_Delete + summary: Delete a Connect User Access Configuration + description: Delete a Connect User Access Configuration in Settings + parameters: + - $ref: '#/components/parameters/userAccessConfigParameter' + responses: + '200': + description: Ok + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/user-access-config/assets-candidates: + get: + operationId: SettingsConnectUserAccessConfigAssetsCandidates_List + summary: Get user access configuration excluded assets candidates Candidates + description: Returns a list of candidates for user access config excluded assets. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/user-access-config/destinations-candidates: + get: + operationId: SettingsConnectUserAccessConfigDestinationsCandidates_List + summary: Get user access configuration excluded destinations candidates Candidates + description: Returns a list of candidates for user access config excluded destinations. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/user-access-config/excluded-assets-candidates: + get: + operationId: SettingsConnectUserAccessConfigExcludedAssetsCandidates_List + summary: Get user access configuration excluded assets candidates + description: Returns a list of candidates for user access config excluded assets. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/user-access-config/excluded-users-candidates: + get: + operationId: SettingsConnectUserAccessConfigExcludedSourceUsersCandidates_List + summary: Get user access configuration xxcluded source users candidates Candidates + description: Returns a list of candidates for user access config excluded source users. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/user-access-config/regions-candidates: + get: + operationId: SettingsConnectUserAccessConfigAllowedRegionsCandidates_List + summary: Get user access configuration allowed regions Candidates + description: Returns a list of candidates for user access config allowed regions. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/connectUserAccessConfigList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/connect/user-access-config/users-candidates: + get: + operationId: SettingsConnectUserAccessConfigSourceUsersCandidates_List + summary: Get user access configuration source users candidates Candidates + description: Returns a list of candidates for user access config source users. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Connect + /settings/data-collection/activities: + get: + operationId: SettingsActivities_Get + summary: Get Activities settings in Data Collection + description: Get Activities settings in Data Collection + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsActivities' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Activities + put: + operationId: SettingsActivities_Update + summary: Set Activities settings in Data Collection + description: Update the Activities settings in Data Collection + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsActivitiesBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Activities + /settings/entities-config: + get: + operationId: SettingsInactiveAssets_List + summary: Get Inactive Assets Settings Configuration + description: Get inactive assets settings configuration + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/inactiveAssetsConfig' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Inactive Assets + put: + operationId: SettingsInactiveAssets_Update + summary: Update Inactive Assets Settings Configuration + description: Update inactive assets settings configuration + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/inactiveAssetsConfigBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/inactiveAssetsConfig' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Inactive Assets + /settings/ext-auth: + get: + operationId: SettingsPushNotifications_Get + summary: Get Push Notifications Settings + description: Get Push Notifications Settings + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsPushNotificationsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Push Notifications + /settings/ext-auth/{pushIdentityProviderId}: + post: + operationId: SettingsPushNotifications_Create + summary: Create Push Notification in Settings. + description: Create an push notifications settings + parameters: + - $ref: '#/components/parameters/pushIdentityProviderIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsPushNotificationsBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsPushNotifications' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Push Notifications + put: + operationId: SettingsPushNotifications_Update + summary: Update Push Notification in Settings. + description: Update a push notifications settings + parameters: + - $ref: '#/components/parameters/pushIdentityProviderIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsPushNotificationsBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsPushNotifications' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Push Notifications + delete: + operationId: SettingsPushNotifications_Delete + summary: Remove Push Notifications Settings + description: Returns an empty response. + parameters: + - $ref: '#/components/parameters/pushIdentityProviderIdParameter' + responses: + '204': + description: OK + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Push Notifications + /settings/external-vpn: + get: + operationId: SettingsZpa_Get + summary: Get ZPA settings in Integrations + description: Get ZPA settings in Integrations + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsZpa' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings ZPA + put: + operationId: SettingsZpa_Update + summary: Set ZPA settings in Integrations + description: Set ZPA settings in Integrations + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsZpaBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings ZPA + /settings/firewall: + get: + operationId: SettingsFirewall_Get + summary: List Firewall Settings + description: Returns the properties of Firewall settings. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewall' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Firewall + put: + operationId: SettingsFirewall_Update + summary: Update Firewall Settings + description: Returns the properties of the updated Firewall settings. + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Firewall + /settings/firewall/ignored-gpo-rules: + get: + operationId: SettingsFirewallIgnoredGPO_Get + summary: List rules ignored for asset health from GPO in Firewall Settings + description: Returns the properties of ignored GPO rules Firewall settings. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallIgnoredGPO' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Firewall + put: + operationId: SettingsFirewallIgnoredGPO_Update + summary: Update rules ignored for asset health from GPO in Firewall Settings + description: Returns the properties of ignored GPO rules Firewall settings. + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallIgnoredGPOBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallIgnoredGPO' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Firewall + /settings/firewall/windowsFirewallProfiles: + get: + operationId: SettingsFirewallProfiles_Get + summary: List firewall profiles in Firewall Settings + description: Returns the properties of firewall profiles in Firewall settings. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallProfiles' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Firewall + put: + operationId: SettingsFirewallProfiles_Update + summary: Update firewall profiles in Firewall Settings + description: Returns the properties of firewall profiles in Firewall settings. + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallProfilesBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallProfiles' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Firewall + /settings/firewall/windowsIgnoredRules: + get: + operationId: SettingsFirewallIgnoredRules_Get + summary: List rules ignored for anti-tampering in Firewall Settings + description: Returns the properties of ignored rules for anti-tampering Firewall settings. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallIgnoredRules' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Firewall + put: + operationId: SettingsFirewallIgnoredRules_Update + summary: Update rules ignored for anti-tampering in Firewall Settings + description: Returns he properties of ignored rules for anti-tampering Firewall settings. + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallIgnoredRulesBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsFirewallIgnoredRules' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Firewall + /settings/identity-providers/default-application: + get: + operationId: SettingsDefaultApplication_Get + summary: Get Default SSO Application settings in Identity Providers + description: Get Default SSO Application settings in Identity Providers + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsIdpDefaultApplication' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Identity Providers + put: + operationId: SettingsDefaultApplication_Update + summary: Set Default SSO Application settings in Identity Providers + description: Update the Default SSO Application settings in Identity Providers + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsIdpDefaultApplicationBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Identity Providers + /settings/identity-providers/saml: + get: + operationId: SettingsIdp_Get + summary: List identity providers settings in Identity Providers + description: Get identity provider settings in Identity Providers + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsIdpList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Identity Providers + post: + operationId: SettingsIdp_Create + summary: Create identity provider settings in Identity Providers + description: Create an identity provider settings in Identity Providers + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsIdpBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsIdp' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Identity Providers + /settings/identity-providers/saml/{identityProviderId}: + put: + operationId: SettingsIdp_Update + summary: Update identity provider settings in Identity Providers + description: Update identity provider settings in Identity Providers + parameters: + - $ref: '#/components/parameters/identityProviderIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsIdpBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsIdp' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Identity Providers + delete: + operationId: SettingsIdp_Delete + summary: Remove Identity Provider Settings + description: Returns an empty response. + parameters: + - $ref: '#/components/parameters/identityProviderIdParameter' + responses: + '204': + description: OK + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Identity Providers + /settings/inbound/privileged-ports: + get: + operationId: SettingsPrivilegedPorts_Get + summary: Get Privileged Ports settings in Network segmentation + description: Get Privileged Ports settings in Network segmentation + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsPrivilegedPorts' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Privileged Ports + put: + operationId: SettingsPrivilegedPorts_Update + summary: Set Privileged Ports settings in Network segmentation + description: Set Privileged Ports settings in Network segmentation + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsPrivilegedPortsBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + /settings/jamf/credentials: + get: + operationId: SettingsJamfCredentials_Get + summary: Get JAMF Credentials Settings + description: Returns the properties for JAMF Credentials Settings. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsJamfCredentials' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Asset Management + put: + operationId: SettingsJamfCredentials_Update + summary: Update JAMF credentials Settings + description: Returns the updated properties of JAMF Credentials settings. + requestBody: + description: JAMF credentials property + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/settingsJamfCredentialsBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsJamfCredentials' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Asset Management + delete: + operationId: SettingsJamfCredentials_Delete + summary: Remove JAMF Credentials Settings + description: Returns an empty object. + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Asset Management + /settings/learning-config: + get: + operationId: SettingsLearningConfig_Get + summary: Get Learning Config settings in Network Segmentation + description: Get Learning Config settings in Network Segmentation + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsLearningConfig' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Learning + put: + operationId: SettingsLearningConfig_Update + summary: Set Learning Config settings in Network Segmentation + description: Update Learning Config settings in Network Segmentation + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsLearningConfigBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Learning + /settings/maintenance-window: + get: + operationId: SettingsMaintenanceWindow_List + summary: List maintenance windows + description: Returns the maintenance windows + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/maintenanceWindowList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Maintenance Window + post: + operationId: SettingsMaintenanceWindow_Create + summary: Create a maintenance window + description: Returns the maintenance window properties + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/maintenanceWindowBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/maintenanceWindowItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Maintenance Window + /settings/maintenance-window/{maintenanceWindowId}: + get: + operationId: SettingsMaintenanceWindow_Get + summary: Get a maintenance window + description: Returns the maintenance window properties + parameters: + - $ref: '#/components/parameters/maintenanceWindowIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/maintenanceWindowItems' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Maintenance Window + put: + operationId: SettingsMaintenanceWindow_Update + summary: Update a maintenance window + description: Returns the maintenance window properties + parameters: + - $ref: '#/components/parameters/maintenanceWindowIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/maintenanceWindowBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/maintenanceWindowItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Maintenance Window + delete: + operationId: SettingsMaintenanceWindow_Delete + summary: Delete a maintenance window + description: Returns an empty object + parameters: + - $ref: '#/components/parameters/maintenanceWindowIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Maintenance Window + /settings/notification: + get: + operationId: SettingsNotification_Get + summary: Get Mail Notification Settings + description: Returns the properties of the Mail Notification settings. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsNotification' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Mail Notifications + put: + operationId: SettingsNotification_Update + summary: Update Mail Notification Settings + description: Returns the properties of the updated Mail Notifications settings. + requestBody: + description: Mail notification properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/settingsNotificationBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsNotification' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Mail Notifications + /settings/occasional-mfa: + get: + operationId: SettingsMFACache_List + summary: List MFA Cache Policies + description: Returns a list of MFA Cache Policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/withCountParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaCacheList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA Cache + post: + operationId: SettingsMFACache_Create + summary: Create MFA Cache Policy + description: Creates a MFA Cache Policy. + requestBody: + description: MFA Cache Policy properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaCacheBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaCacheItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA Cache + /settings/occasional-mfa/{entityId}: + put: + operationId: SettingsMFACache_Update + summary: Update MFA Cache Policy + description: Returns an MFA Cache Policy. + parameters: + - $ref: '#/components/parameters/entityIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaCacheItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA Cache + delete: + operationId: SettingsMFACache_Delete + summary: Deleted MFA Cache Policy + description: deletes a MFA Cache Policy. + parameters: + - $ref: '#/components/parameters/entityIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA Cache + /settings/occasional-mfa/candidates: + get: + operationId: SettingsMFACacheCandidates_List + summary: Get candidates for MFA Cache policy. + description: Returns a list of candidates for MFA Cache Policy. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA Cache + /settings/portal/users: + get: + operationId: SettingsCustomUsers_List + summary: List custom users + description: Returns the custom users list + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/customUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Custom Users + /settings/portal/users/{customUserId}: + delete: + operationId: SettingsCustomUsers_Delete + summary: Delete a custom user + description: Returns empoty object + parameters: + - $ref: '#/components/parameters/customUserIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Custom Users + x-stoplight: + id: 9ip489dgishvk + /settings/protection-policies/identity: + get: + operationId: IdentityOnboardingPolicies_List + summary: List identity onboarding policies + description: Returns a list of identity onboarding policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPoliciesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + post: + operationId: IdentityOnboardingPolicies_Create + summary: Add identity onboarding policy + description: Returns the identity onboarding policy that was created. + requestBody: + description: Identity onboarding Policy properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPolicyBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPolicyResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + /settings/protection-policies/identity/{onboardingPolicyId}: + delete: + operationId: IdentityOnboardingPolicies_Delete + summary: Remove identity onboarding policy + description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/onboardingPolicyIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + put: + operationId: IdentityOnboardingPolicies_Update + summary: Update identity onboarding policy + description: Returns the updated settings for the identity onboarding policy. + parameters: + - $ref: '#/components/parameters/onboardingPolicyIdParameter' + requestBody: + description: Identity onboarding Policy properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPolicyUpdateBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPolicyResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + /settings/protection-policies/identity/group-candidates: + get: + operationId: IdentityOnboardingPoliciesGroupCandidates_List + summary: Get groups for identity onboarding policy + description: Returns a list of candidates for identity onboarding policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupCandidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + /settings/protection-policies/network: + get: + operationId: NetworkOnboardingPolicies_List + summary: List network onboarding policies + description: Returns a list of network onboarding policies. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPoliciesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + post: + operationId: NetworkOnboardingPolicies_Create + summary: Add network onboarding policy + description: Returns the network onboarding policy that was created. + requestBody: + description: Network onboarding Policy properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPolicyBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPolicyResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + /settings/protection-policies/network/{onboardingPolicyId}: + delete: + operationId: NetworkOnboardingPolicies_Delete + summary: Remove network onboarding policy + description: Returns and empty object. + parameters: + - $ref: '#/components/parameters/onboardingPolicyIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + put: + operationId: NetworkOnboardingPolicies_Update + summary: Update network onboarding policy + description: Returns the updated settings for the network onboarding policy. + parameters: + - $ref: '#/components/parameters/onboardingPolicyIdParameter' + requestBody: + description: Network onboarding Policy properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPolicyUpdateBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/protectionPolicyResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + /settings/protection-policies/network/group-candidates: + get: + operationId: NetworkOnboardingPoliciesGroupCandidates_List + summary: Get candidates for Network onboarding Policies. + description: Returns a list of candidates for a network onboarding policy. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupCandidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Onboarding Policies + /settings/reactive-policy: + get: + operationId: SettingsMFADetection_Get + summary: Get MFA Detection Settings + description: Returns the properties of MFA detection settings. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaDetectionResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA + put: + operationId: SettingsMFADetection_Update + summary: Update MFA Detection Settings + description: Returns the properties of the updated MFA detection settings. + requestBody: + description: MFA detection properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaDetectionBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaDetectionResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA + /settings/reactive-policy/auth: + get: + operationId: SettingsMFAAuthentication_Get + summary: Get MFA authentication settings + description: Returns the properties of MFA authentication settings. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaAuthenticationResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA + put: + operationId: SettingsMFAAuthentication_Update + summary: Update MFA Authentication Settings + description: Returns an empty object. + requestBody: + description: MFA authentication properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/settingsMfaAuthenticationBody' + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings MFA + /settings/roles: + get: + operationId: Roles_List + summary: List Roles + description: Returns list of Roles. + parameters: + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/rolesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Roles + /settings/roles/{roleEntityId}: + post: + operationId: Roles_Create + summary: Create Role + description: Returns the properties of the added Role. + parameters: + - $ref: '#/components/parameters/roleEntityIdParameter' + requestBody: + description: Role properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/roleBody' + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '409': + $ref: '#/components/responses/409' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Roles + delete: + operationId: Roles_Delete + summary: Remove Role + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/roleEntityIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Roles + /settings/roles/candidates: + get: + operationId: RolesCandidates_List + summary: List Roles Candidates + description: Returns list of candidates for Roles. + parameters: + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/roleCandidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Roles + /settings/snow/access-tokens: + get: + operationId: ServiceNowAccessTokens_List + summary: Get all ServiceNow access tokens + description: Get all ServiceNow access tokens + responses: + '200': + description: OK + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/accessTokenInfo' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings ServiceNow + post: + operationId: ServiceNowAccessTokens_Create + summary: Create ServiceNow access token + description: Create ServiceNow access token + requestBody: + description: '' + content: + application/json: + schema: + type: object + properties: + name: + type: string + expiry: + $ref: '#/components/schemas/epochMillis' + accessType: + type: integer + x-examples: + example-1: + name: ServiceNow test + expiry: '2024-06-27T13:33:09.076Z' + accessType: 3 + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/accessToken' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings ServiceNow + /settings/snow/access-tokens/{clientId}: + put: + operationId: ServiceNowAccessTokens_Regenerate + summary: Regenerate ServiceNow access token + description: Regenerate ServiceNow access token + parameters: + - $ref: '#/components/parameters/clientIdParameter' + requestBody: + content: + application/json: + schema: + type: object + properties: + expiry: + $ref: '#/components/schemas/epochMillis' + x-examples: + example-1: + expiry: 1719477497062 + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/accessToken' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings ServiceNow + delete: + operationId: ServiceNowAccessTokens_Delete + summary: Delete ServiceNow access token + description: Delete ServiceNow access token + parameters: + - $ref: '#/components/parameters/clientIdParameter' + responses: + '201': + description: Created + '204': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings ServiceNow + /settings/subscriptions/licenses/{licenseType}: + get: + operationId: SettingsLicenses_Get + summary: Get Subscription Licenses + description: Get Subscription Licenses + parameters: + - $ref: '#/components/parameters/licenseTypeParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/licensesConfig' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Licenses + /settings/system/internal-subnets: + get: + operationId: SettingsInternalSubnets_Get + summary: Get Internal Subnets settings in System + description: Get Internal Subnets settings in System + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsInternalSubnets' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Internal Subnets + put: + operationId: SettingsInternalSubnets_Update + summary: Set Internal Subnets settings in System + description: Update the Internal Subnets settings in System + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsInternalSubnetsBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Internal Subnets + /settings/system/internal-subnets/client-subnets: + get: + operationId: SettingsClientSubnets_Get + summary: Get Client Subnets settings in System + description: Get Client Subnets settings in System + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsClientSubnets' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Internal Subnets + put: + operationId: SettingsClientSubnets_Update + summary: Set Client Subnets settings in System + description: Update the Client Subnets settings in System + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsClientSubnetsBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Internal Subnets + /settings/system/restricted/clients/trusted-external: + get: + operationId: SettingsClientsTrustedInternet_Get + summary: Get Clients Trusted Internet settings in System + description: Get Clients Trusted Internet settings in System + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsTrustedInternet' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + put: + operationId: SettingsClientsTrustedInternet_Update + summary: Set Clients Trusted Internet settings in System + description: Set Clients Trusted Internet settings in System + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsTrustedInternetBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + /settings/system/restricted/clients/untrusted-external: + get: + operationId: SettingsClientsUntrustedInternet_Get + summary: Get Clients Untrusted Internet settings in System + description: Get Clients Untrusted Internet settings in System + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsUntrustedInternet' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + put: + operationId: SettingsClientsUntrustedInternet_Update + summary: Set Clients Untrusted Internet settings in System + description: Set Clients Untrusted Internet settings in System + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsUntrustedInternetBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + /settings/system/restricted/servers/trusted-external: + get: + operationId: SettingsServersTrustedInternet_Get + summary: Get Servers Trusted Internet settings in System + description: Get Servers Trusted Internet settings in System + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsTrustedInternet' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + put: + operationId: SettingsServersTrustedInternet_Update + summary: Set Servers Trusted Internet settings in System + description: Set Servers Trusted Internet settings in System + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsTrustedInternetBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + /settings/system/restricted/servers/untrusted-external: + get: + operationId: SettingsServersUntrustedInternet_Get + summary: Get Servers Untrusted Internet settings in System + description: Get Servers Untrusted Internet settings in System + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsUntrustedInternet' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + put: + operationId: SettingsServersUntrustedInternet_Update + summary: Set Servers Untrusted Internet settings in System + description: Set Servers Untrusted Internet settings in System + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsUntrustedInternetBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + /settings/system/trusted-external: + get: + operationId: SettingsTrustedInternetAddress_Get + summary: Get Trusted Internet addresses settings in System + description: Get Trusted Internet addresses settings in System + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/settingsTrustedInternetAddresses' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + put: + operationId: SettingsTrustedInternetAddress_Update + summary: Set Trusted Internet addresses settings in System + description: Set Trusted Internet addresses settings in System + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/settingsTrustedInternetAddressesBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Settings Trusted Internet + /users: + get: + operationId: Users_List + summary: List Users + description: Returns a list of Users. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/searchUsersResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/{userId}: + get: + operationId: User_Get + summary: Get a user + description: Returns the properties of an user. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/userResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/logon: + get: + operationId: UsersLogonActivities_List + summary: List a specific Logon Activities + description: Returns a list of logon activities for a specific user. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/logonActivitiesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/logon/export: + post: + operationId: UsersLogonActivities_Export + summary: Export logon activities for a specific user + description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyActivities' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/logon/export/csv/{exportId}: + get: + operationId: UsersLogonActivitiesExport_Get + summary: Download logon activities for a specific user export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: object + format: file + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/logon/filters: + get: + operationId: UsersLogonActivitiesFilters_List + summary: Get logon activity filters for a specific user + description: Returns the filters that can be used for logon activities for a specific user. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/logon/user-filters: + get: + operationId: UserLogonActivitiesSavedFilters_List + summary: List Saved Filters for Logon Activities + description: Returns a list of saved filters for logon activities. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFiltersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + post: + operationId: UserLogonActivitiesSavedFilters_Create + summary: Create a Saved Filter for Logon Activities + description: Returns the filter id. + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/logon/user-filters/{filterId}: + get: + operationId: UserLogonActivitiesSavedFilters_Get + summary: Get a Saved Filter for Logon Activities + description: Returns a saved filters for logon activities. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/filterIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterObject' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + put: + operationId: UserLogonActivitiesSavedFilters_Update + summary: update a Saved Filter for Logon Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/filterIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterUpdateBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + delete: + operationId: UserLogonActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for Logon Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/filterIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/network: + get: + operationId: UsersNetworkActivities_List + summary: List Network Activities for a specific user + description: Returns a list of network activities for a specific user. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityIdQueryParameter' + - $ref: '#/components/parameters/fromParameter' + - $ref: '#/components/parameters/toParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/activitiesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/network/export: + post: + operationId: UsersNetworkActivities_Export + summary: Export network activities for a specific user + description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyActivities' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/network/export/csv/{exportId}: + get: + operationId: UsersNetworkActivitiesExport_Get + summary: Download network activities export for a specific user + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: object + format: file + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/network/filters: + get: + operationId: UsersNetworkActivitiesFilters_List + summary: Get network activity filters for a specific user + description: Returns the filters that can be used for network activities for a specific user. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/network/user-filters: + get: + operationId: UserNetworkActivitiesSavedFilters_List + summary: List Saved Filters for Network Activities + description: Returns a list of saved filters for network activities. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFiltersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + post: + operationId: UserNetworkActivitiesSavedFilters_Create + summary: Create a Saved Filter for Network Activities + description: Returns the filter id. + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/activities/network/user-filters/{filterId}: + get: + operationId: UserNetworkActivitiesSavedFilters_Get + summary: Get a Saved Filter for Network Activities + description: Returns a saved filters for network activities. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/filterIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterObject' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + put: + operationId: UserNetworkActivitiesSavedFilters_Update + summary: update a Saved Filter for Network Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/filterIdParameter' + requestBody: + description: 'Name, filters, and description for the saved filter' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/savedFilterUpdateBody' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + delete: + operationId: UserNetworkActivitiesSavedFilters_Delete + summary: Delete a Saved Filter for Network Activities + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/filterIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/ancestors: + get: + operationId: UserMemberOf_Get + summary: Get a users ancestors + description: Returns a list of groups the user is a member of. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ancestors' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/ancestors/candidates: + get: + operationId: UserMemberOfGroupCandidates_Get + summary: Get candidates for adding the user to a group + description: Returns a list of groups the user can be a member of. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/idNamePairList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/audit: + get: + operationId: UserAudit_Get + summary: Get a users audits + description: Returns a list of audits for the user. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/filtersParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/auditList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/audit/export: + post: + operationId: UsersAudit_Export + summary: Export users audits + description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/audit/filters: + get: + operationId: UsersAuditsFilters_List + summary: List Audit Filters for a specific user + description: Returns a list of filters for Audit events for a specific user. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + security: + - api_key: [] + tags: + - User + /users/{userId}/audit/export/csv/{exportId}: + get: + operationId: UsersAuditExport_Get + summary: Download users audit export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - User + /users/{userId}/managed-assets: + get: + operationId: Users-ManagedAssets_List + summary: Get managed assets + description: get managed assets for user + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/managedAssetsList' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + post: + operationId: Users-ManagedAssets_Add + summary: Add a managed assets + description: Add a managed assets for user + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: Array of assets to add + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/managedAssetsBody' + responses: + '200': + description: OK + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + put: + operationId: Users-ManagedAssets_Update + summary: Update managed assets + description: Update a managed asset for user + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: Managed asset to update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/managedAssetsUpdateBody' + responses: + '200': + description: OK + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/managed-assets/{groupOrAssetId}: + delete: + operationId: Users-ManagedAssets_Delete + summary: Remove managed asset + description: Remove managed asset of user + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/groupOrAssetIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Assets + /users/{userId}/managed-assets/candidates: + get: + operationId: Users-ManagedAssetsCandidates_List + summary: Get asset candidates + description: Get asset candidates to be managed by asset managers + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/external-access-policies: + get: + operationId: UserExternalAccessPolicy_List + summary: List External Access policies for a user + description: Returns a list of external access policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + post: + operationId: UserExternalAccessPolicy_Create + summary: Create an external access policy for a user + description: Returns a the external access policy + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyBody' + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/external-access-policies/{policyId}: + get: + operationId: UserExternalAccessPolicy_Get + summary: Get an External Access policy for a user + description: Returns an external access policy. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + put: + operationId: UserExternalAccessPolicy_Update + summary: Update an External Access policy for a user + description: Returns an external access policy. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyBody' + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + delete: + operationId: UserExternalAccessPolicy_Delete + summary: Delete an External Access policy for a user + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/externalAccessPolicyIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/external-access-policies/dst-asset-candidates: + get: + operationId: UserExternalAccessPolicyDestinationAssetsCandidates_List + summary: List External Access Policy Destinations Assets Candidates for a user + description: Returns a list of destunation assets candidates for an external access policy. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/external-access-policies/filters: + get: + operationId: UserExternalAccessPolicyFilters_List + summary: List External Access Policy Filters for a user + description: Returns a list of filters for external access policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/external-access-policies/filters/dst-asset-candidates: + get: + operationId: UserExternalAccessPolicyDestinationAssetsCandidatesFilters_List + summary: List External Access Policy Destination Assets Candidates Filters for a user + description: Returns a list of filters for destination asset candidates in external access policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/external-access-policies/filters/src-users-candidates: + get: + operationId: UserExternalAccessPolicySourceUserCandidatesFilters_List + summary: List External Access Policy Source User Candidates Filters for a user + description: Returns a list of filters for source user candidates in external access policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/external-access-policies/src-users-candidates: + get: + operationId: UserExternalAccessPolicySourceUserCandidates_List + summary: List External Access Policy Source User Candidates for a user + description: Returns a list of source user candidates for external access policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/external-access-policies/statistics: + get: + operationId: UserExternalAccessPolicyStatistics_Get + summary: Get External Access policies statistics for a user + description: Returns statistics for an external access policy. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/externalAccessPolicyStatistics' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules: + get: + operationId: UserIdentityRules_List + summary: User List Identity Rules + description: Returns a list of identity segmentation rules. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/cursorParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRulesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + post: + operationId: UserIdentityRules_Create + summary: User Create an Identity Rule + description: Returns a the identity segmentation rule. + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleBody' + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/{ruleId}: + get: + operationId: UserIdentityRules_Get + summary: User Get Identity Rule + description: Returns an identity segmentation rule. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + put: + operationId: UserIdentityRules_Update + summary: User Update an Identity Rule + description: Returns a the identity segmentation rule. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleBody' + required: true + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityRuleItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + delete: + operationId: UserIdentityRules_Delete + summary: User Remove Identity Rule + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/asset-candidates: + get: + operationId: UserIdentityRulesAssetsCandidates_List + summary: User List Identity Rules Assets Candidates + description: Returns a list of assets candidates for Identity rules. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/excluded-asset-candidates: + get: + operationId: UserIdentityRulesExcludedAssetsCandidates_List + summary: User List Identity Rules Excluded Assets Candidates + description: Returns a list of excluded assets candidates for Identity rules. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/export: + post: + operationId: UserIdentityRules_Export + summary: User Export Identity Rules + description: Returns an exportId to pass into the download API. + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyRules' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/export/csv/{exportId}: + get: + operationId: UserIdentityRulesExport_Get + summary: User Download Identity Rules Export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/filters: + get: + operationId: UserIdentityRulesFilters_List + summary: User List Identity Rules Filters + description: Returns a list of filters for Identity rules. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/filters/asset-candidates: + get: + operationId: UserIdentityRulesAssetsCandidatesFilters_List + summary: User List Identity Rules Filters Asset Candidates + description: Returns a list of asset candidates for filters in Identity rules. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsOrGroupsList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/filters/user-candidates: + get: + operationId: UserIdentityRulesUserCandidatesFilters_List + summary: User List Identity Rules Filters User Candidates + description: Returns a list of users candidates for filters in Identity rules. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity-rules/user-candidates: + get: + operationId: UserIdentityRulesUserCandidates_List + summary: User List Identity Rules User Candidates + description: Returns a list of user candidates for Identity rules. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/groupsOrUsersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity/reactive-policies: + get: + operationId: UserMFAIdentityPolicies_List + summary: List Identity MFA Policies + description: Returns a list of identity MFA policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/addBuiltinsParameter' + - $ref: '#/components/parameters/addAncestorsParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: 7qlah2l240cbc + post: + operationId: UserMFAIdentityPolicies_Create + summary: Add Identity MFA Policy + description: Returns the properties of the identity MFA policy after creation. + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: MFA properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: is999gepe9xq5 + /users/{userId}/protection/identity/reactive-policies/{reactivePolicyId}: + get: + operationId: UserMFAIdentityPolicies_Get + summary: Get Identity MFA Policy + description: Returns a Identity MFA policy object. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: dd6l4td748lat + put: + operationId: UserMFAIdentityPolicies_Update + summary: Update Identity MFA Policy + description: Returns the properties of the Identity MFA policy after updating. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' + requestBody: + description: Rule properties + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/identityReactivePolicyItem' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: rlo2obrak77ym + delete: + operationId: UserMFAIdentityPolicies_Delete + summary: Remove Identity MFA Policy + description: Returns an empty object. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/reactivePolicyIdParameter' + responses: + '200': + description: OK + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: 2wlrq7frmxa8r + /users/{userId}/protection/identity/reactive-policies/dst-asset-candidates: + get: + operationId: UserMFAIdentityPoliciesDestinationCandidates_List + summary: Get destination assets for Identity MFA Policy + description: Returns a list of candidates for the destination of an identity MFA policy. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: 0a3j1uza9ez0s + /users/{userId}/protection/identity/reactive-policies/excluded-src-asset-candidates: + get: + operationId: UserMFAIdentityPoliciesExcludedSourceCandidates_List + summary: Fet excluded source asset candidates for Identity MFA Policy + description: Returns a list of candidates for the excluded sources of an Identity MFA policy. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/isSrcAssetUnmonitoredParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: 6s4s62ndfiwej + /users/{userId}/protection/identity/reactive-policies/filters: + get: + operationId: UserMFAIdentityPoliciesFilters_List + summary: List Identity MFA Policy Filters + description: Returns a list of filters for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: 4fz0amhp7zpum + /users/{userId}/protection/identity/reactive-policies/filters/dst-asset-candidates: + get: + operationId: UserMFAIdentityPoliciesDestinationCandidatesFilters_List + summary: Get Identity MFA Policies Destination Candidates Filters + description: Returns a list of filters for destination candidates for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/identity/reactive-policies/filters/src-asset-candidates: + get: + operationId: UserMFAIdentityPoliciesSourceCandidatesFilters_List + summary: List Identity MFA Policies Source Candidates Filters + description: Returns a list of filters for source candidates for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: mo0b2wfx0vsyz + /users/{userId}/protection/identity/reactive-policies/filters/src-users-candidates: + get: + operationId: UserMFAIdentityPoliciesSourceUsersCandidatesFilters_List + summary: Get Identity MFA Policies Source Users Filters + description: Returns a list of filters for source users on Identity MFA policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/assetsFiltersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: gnmjoc4u2u8d0 + /users/{userId}/protection/identity/reactive-policies/mfa-methods: + get: + operationId: UserMFAIdentityPoliciesMFAMethods_List + summary: List Identity MFA Policy Methods + description: Returns a list of MFA methods for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/reactivePolicyMethods' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: 0z4uy7w5vg3xs + /users/{userId}/protection/identity/reactive-policies/src-asset-candidates: + get: + operationId: UserMFAIdentityPoliciesSourceCandidates_List + summary: List Identity MFA Policies Source Candidates + description: Returns a list of source candidates on Identity MFA policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/candidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: 65azufwr5jnu2 + /users/{userId}/protection/identity/reactive-policies/src-users-candidates: + get: + operationId: UserMFAIdentityPoliciesSourceUserCandidates_List + summary: List Identity MFA Policies Source Users Candidates + description: Returns a list of source user candidates for Identity MFA policies. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/srcUserCandidatesList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + x-stoplight: + id: vq4vx6zk82sco + /users/{userId}/protection/rules/distribution/{ruleId}: + get: + operationId: UserRulesDistribution_Get + summary: Get distribution of rule hit count for a specific user + description: Returns an object with rules distribution. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/ruleDirectionParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ruleDistribution' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/protection/rules/history/{ruleId}: + get: + operationId: UserRulesHistory_Get + summary: Get a historic version of an rule for a specific user + description: Returns the properties of the previous version of the rule. + parameters: + - $ref: '#/components/parameters/userIdParameter' + - $ref: '#/components/parameters/ruleIdParameter' + - $ref: '#/components/parameters/updateIdParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/historyRule' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - User + /users/{userId}/type: + put: + description: Set user type + operationId: UserType_Update + tags: + - User + summary: Set user type + parameters: + - $ref: '#/components/parameters/userIdParameter' + requestBody: + description: settings user type + content: + application/json: + schema: + $ref: '#/components/schemas/setUserTypeBody' + required: true + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + security: + - api_key: [] + /users/export: + post: + operationId: Users_Export + summary: Export users + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/export/csv/{exportId}: + get: + operationId: UsersExport_Get + summary: Download users export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Users + /users/filters: + get: + operationId: UsersFilters_List + summary: List Users Filters + description: Returns a list of filters for Users. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/inactive: + get: + operationId: UsersInactive_List + summary: List Inactive Users + description: Returns a list of Users. Pass the returned 'nextCursor' as the '_cursor' query param of the next request for batches, when the '_offset' param is not used. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/optionalOffsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/entityCursorParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/optionalOrderParameter' + - $ref: '#/components/parameters/optionalOrderColumnParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/searchUsersResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/inactive/export: + post: + operationId: UsersInactive_Export + summary: Export inactive users + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/inactive/export/csv/{exportId}: + get: + operationId: UsersInactiveExport_Get + summary: Download inactive users export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Users + /users/inactive/filters: + get: + operationId: UsersInactiveFilters_List + summary: List Inactive Users Filters + description: Returns a list of filters for Users. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/privileged: + get: + operationId: UsersPrivileged_List + summary: List Privileged Users + description: Returns a list of Privileged Users. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/orderParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/searchUsersResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/privileged/export: + post: + operationId: UsersPrivileged_Export + summary: Export Privileged users + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/privileged/export/csv/{exportId}: + get: + operationId: UsersPrivilegedExport_Get + summary: Download Privileged users export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Users + /users/privileged/filters: + get: + operationId: UsersPrivilegedFilters_List + summary: List Privileged Users Filters + description: Returns a list of filters for Privileged Users. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/queued: + get: + operationId: UsersIdentityQueued_List + summary: List Users in learning + description: Returns a list of users in Learning. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/orderParameter' + - $ref: '#/components/parameters/orderColumnParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/searchUsersResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/queued/export: + post: + operationId: UsersIdentityQueued_Export + summary: Export users in learning + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/queued/export/csv/{exportId}: + get: + operationId: UsersIdentityQueuedExport_Get + summary: Download users export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Users + /users/queued/filters: + get: + operationId: UsersIdentityQueuedFilters_List + summary: List Users in Learning Filters + description: Returns a list of filters for users in Learning. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/searchIdByPrincipalName: + get: + operationId: UsersByPrincipalName_Search + tags: + - Users + summary: Search user entity id by Principal Name + description: Provided user SID - returns user entity id + parameters: + - $ref: '#/components/parameters/principalNameParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/userIdResponse' + '401': + $ref: '#/components/responses/401' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + /users/searchIdBySid: + get: + operationId: UsersBySid_Search + tags: + - Users + summary: Search user entity id by SID + description: Provided user SID - returns user entity id + parameters: + - $ref: '#/components/parameters/sidParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/userIdResponse' + '401': + $ref: '#/components/responses/401' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + /users/segmented: + get: + operationId: UsersIdentityIdentitySegmented_List + summary: List Identity Segmented Users + description: Returns a list of Identity segmented users. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/orderParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/searchUsersResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/segmented/export: + post: + operationId: UsersIdentitySegmented_Export + summary: Export Segmented Users + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBodyRules' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/segmented/export/csv/{exportId}: + get: + operationId: UsersIdentitySegmentedExport_Get + summary: Download Segmented Users Export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Users + /users/segmented/filters: + get: + operationId: UsersIdentitySegmentedFilters_List + summary: List Segmented Users Filters + description: Returns a list of filters for segmented users. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/service-account: + get: + operationId: UsersServiceAccount_List + summary: List ServiceAccount Users + description: Returns a list of ServiceAccount Users. + parameters: + - $ref: '#/components/parameters/limitParameter' + - $ref: '#/components/parameters/offsetParameter' + - $ref: '#/components/parameters/searchParameter' + - $ref: '#/components/parameters/filtersParameter' + - $ref: '#/components/parameters/withCountParameter' + - $ref: '#/components/parameters/orderColumnParameter' + - $ref: '#/components/parameters/orderParameter' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/searchUsersResponse' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/service-account/export: + post: + operationId: UsersServiceAccount_Export + summary: Export ServiceAccount users + description: Returns an exportId to pass into the download API. + requestBody: + description: 'EntityId, from, to, search, filter or date time format for export' + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/exportBody' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/exportId' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/service-account/export/csv/{exportId}: + get: + operationId: UsersServiceAccountExport_Get + summary: Download ServiceAccount users export + description: Returns a csv file to be downloaded. + parameters: + - $ref: '#/components/parameters/exportIdParameter' + responses: + '200': + description: OK + content: + text/csv: + schema: + type: string + format: binary + '401': + $ref: '#/components/responses/401' + security: + - api_key: [] + tags: + - Users + /users/service-account/filters: + get: + operationId: UsersServiceAccountFilters_List + summary: List ServiceAccount Users Filters + description: Returns a list of filters for ServiceAccount Users. + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/filtersList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/service-account/protect: + post: + operationId: UsersIdentitySegment_Protect + summary: Move users to identity segmentation. + description: Returns and empty object. + requestBody: + description: Array of userIds to move to protection + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/usersProtectBody' + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/service-account/queue: + post: + operationId: UsersIdentity_Queue + summary: Queue users + description: Returns an empty object. + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/usersQueueBody' + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/service-account/unprotect: + post: + operationId: UsersIdentitySegment_Unprotect + summary: Unprotect users + description: Returns an empty object. + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/usersProtectBody' + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users + /users/set-users-type: + post: + description: Set users type + operationId: UsersType_Update + tags: + - Users + summary: Set users type + requestBody: + description: settings user type + content: + application/json: + schema: + $ref: '#/components/schemas/setUsersTypeBody' + required: true + responses: + '200': + $ref: '#/components/responses/200_empty' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + security: + - api_key: [] + /users/statistics: + get: + operationId: UserStatistics_Get + summary: User statistics + description: Get Users statistics + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/userStatistics' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '500': + $ref: '#/components/responses/500' + security: + - api_key: [] + tags: + - Users +components: + parameters: + addAncestorsParameter: + name: _add_ancestors + in: query + description: show rules where the asset is part of a group + schema: + type: boolean + default: true + addBuiltinsParameter: + name: _add_builtins + in: query + description: show global rules + schema: + type: boolean + default: false + analysisDirectionParameter: + name: direction + in: query + description: 'direction for the query, incoming or outgoing' + required: true + schema: + type: string + example: incoming + assetIdParameter: + name: assetId + in: path + description: assetId to filter on + required: true + schema: + type: string pattern: '^a:[ault]:[a-zA-Z0-9]{8}$' example: 'a:a:8ErCHXe8' clientIdParameter: @@ -25116,7 +31139,7 @@ components: connectionStateParameter: name: connectionstate in: query - description: connnection state for the query + description: connection state for the query schema: type: integer example: 1 @@ -25156,6 +31179,15 @@ components: format: int64 pattern: '^\d{13}$' example: 1647305854366 + customUserIdParameter: + name: customUserId + in: path + description: id of the customer user + required: true + schema: + type: string + format: uuid + example: ab803afb-83bd-4bfe-9e0e-a5db211d134b directionParameter: name: direction in: query @@ -25185,6 +31217,26 @@ components: description: Dest process schema: type: string + enrichRemoteIPsParameter: + name: _enrich_remote_ips + in: query + description: enrich remote IPs + schema: + type: boolean + default: true + entityCursorParameter: + name: _cursor + in: query + description: Used to page through results + schema: + type: string + entityIdParameter: + name: entityId + in: path + description: The id of the user or group + required: true + schema: + type: string entityIdQueryParameter: name: _entityId in: query @@ -25205,10 +31257,33 @@ components: required: true schema: type: string + externalAccessPolicyIdParameter: + name: policyId + in: path + description: id of the external acess policy + required: true + schema: + type: string + example: 'p:e:8199d54b' + externalIdParameter: + name: externalId + in: path + description: The external id of the group + required: true + schema: + type: string + filterIdParameter: + name: filterId + in: path + description: The saved filter id + required: true + schema: + type: string + example: 'e:f:VGL7nXce' filtersParameter: name: _filters in: query - description: JSON string URI encoded set of fiters + description: JSON string URI encoded set of filters schema: type: string forestIdParameter: @@ -25230,7 +31305,7 @@ components: fqdnParameter: name: fqdn in: query - description: fully qualifed domain name + description: fully qualified domain name schema: type: string example: server.domain.local @@ -25281,7 +31356,7 @@ components: required: true schema: type: string - pattern: ^ad$|^custom$|^ot$|^snow$|^system$|^tag$ + pattern: ^ad$|^custom$|^ot$|^snow$|^system$|^tag$|^inactive$ identityProviderIdParameter: name: identityProviderId in: path @@ -25345,8 +31420,17 @@ components: default: 30 maximum: 400 minimum: 1 + maintenanceWindowIdParameter: + name: maintenanceWindowId + in: path + required: true + description: id of the maintence window + schema: + type: string + pattern: '^[e]:[m]:[a-zA-Z0-9]{8}$' offsetParameter: name: _offset + required: true in: query description: Used to page through results schema: @@ -25354,6 +31438,14 @@ components: default: 0 maximum: 1000000000 minimum: 0 + onboardingPolicyIdParameter: + name: onboardingPolicyId + in: path + description: The id of the onboarding policy + required: true + schema: + type: string + format: uuid optionalOffsetParameter: name: _offset in: query @@ -25362,49 +31454,51 @@ components: schema: type: integer maximum: 1000000000 - minimum: 0 - entityCursorParameter: - name: _cursor - in: query - description: Used to page through results - schema: - type: string - orderParameter: + minimum: 0 + optionalOrderParameter: name: order in: query description: What order to sort the results + required: false schema: type: string - default: desc enum: - asc - desc - orderColumnParameter: + optionalOrderColumnParameter: name: 'orderColumns[]' in: query description: what column to order on + required: false schema: type: string - default: name example: name - optionalOrderParameter: + orderParameter: name: order in: query description: What order to sort the results - required: false schema: type: string + default: desc enum: - asc - desc - optionalOrderColumnParameter: + orderColumnParameter: name: 'orderColumns[]' in: query description: what column to order on - required: false schema: type: string + default: name example: name + otRuleIdParameter: + name: ruleId + in: path + description: The id of the rule + required: true + schema: + type: string + example: r:s:f52f491fd5b8 port: name: port in: query @@ -25419,18 +31513,17 @@ components: description: sid to query for schema: type: string - protectionPolicyIdParameter: - name: protectionPolicyId - in: path - description: The id of the protection policy - required: true + processes: + name: 'processes[]' + in: query + description: process schema: type: string - format: uuid - protectionTypeParameter: - name: protectionType + example: c:\windows\system32\lsass.exe + licenseTypeParameter: + name: licenseType in: path - description: protection type + description: The license required: true schema: type: string @@ -25466,7 +31559,7 @@ components: roleEntityIdParameter: name: roleEntityId in: path - description: The id of the user + description: The id of the user or group required: true schema: type: string @@ -25559,6 +31652,13 @@ components: required: true schema: type: string + switchIdParameter: + name: switchId + in: path + description: switch to delete + required: true + schema: + type: string toParameter: name: to in: query @@ -25598,7 +31698,149 @@ components: schema: type: boolean default: false + responses: + 200_empty: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/emptyResponse' + '204': + description: No Content + '400': + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/error' + '401': + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/error' + '403': + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/error' + '404': + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/error' + '409': + description: Already exists + content: + application/json: + schema: + $ref: '#/components/schemas/error' + '500': + description: Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/error' schemas: + accessInfo: + type: object + properties: + hasAccess: + type: boolean + ruleFilters: + type: array + items: + $ref: '#/components/schemas/ruleFilter' + accessToken: + description: Access Token + type: object + properties: + clientId: + type: string + accessType: + $ref: '#/components/schemas/accessTypeEnum' + name: + type: string + expiry: + type: string + issuedAt: + type: string + createdAt: + type: string + token: + type: string + x-examples: + example-1: + clientId: 'm:195d7d50e8c0c2864c985e72de1a2fdef7dfdc6e' + accessType: 2 + name: example + expiry: '2024-06-27T08:38:17.000Z' + issuedAt: '2022-06-27T08:38:17.000Z' + createdAt: '2022-06-27T08:21:21.000Z' + token: eyJhbGciOiJSUzI1NiIsIna5cCI6IkpXVCJ9.eyJzdWIiOiJtOjY5NWQ3ZDUwZThjMGMyODY0Yzk4NWU3MmRlMWEyZmRlZjdkZmRjNmUiLCJuYW1lIjoiYXNkIiwiZWlkIjoiMTc2MjRhNTctNzI5ZS00ODA1LTk3MDMtNjc5NDdkM2RiMDFlIiwic2NvcGUiOjUsImVfbmFtZSI6ImxhYjgiLCJ2IjoxLCJpYXQiOjE2NTYzMTkwOTcsImV4cCI6MTcxOTQ3NzQ5NywiYXVkIjoicG9ydGFsLWxhYjguemVyb25ldHdvcmtzLmNvbSIsImlzcyI6Inplcm9uZXR3b3Jrcy5jb20vYXBpL3YxL2FjY2Vzcy10b2tlbiJ9.S0P3tyeU7BOPd0P27GKyFeWidoFSKEMiKhHbRLikyy4_34FafcpykiLO1vKBH6iB0utnEO4BwohlWeRWCi6LWkm5R2GxSLVo9GEuuTLPfqUkMzwpMpUkc-MniERH508z7LsxKrPA9VGCmMDKUh87PasooHfWaPgYtWTygV_uAtu1ppIde4V86WsqEmvbZt2gNGBLxwLgIgUgGuOExHu5MOM9fttiNKtuceJxP-RXFAFluXlfJwmjeY-WWHTU6AdvhB0HeJKAA7Pb8A60OkYxQsLxZKLS0K9WKFekYflh-nZBOQRfU3aUygmRyxtknvE0yZ7aK290y2Vb-lnqtl3k5Q + accessTokenInfo: + type: object + properties: + clientId: + type: string + readOnly: true + name: + type: string + expiry: + type: string + issuedAt: + type: string + readOnly: true + createdAt: + type: string + readOnly: true + accessType: + $ref: '#/components/schemas/accessTypeEnum' + title: '' + x-examples: + example-1: + clientId: 'm:81a8735b5fed82c9c497163477c98fd835b58f83' + accessType: 3 + name: access token - cloud connector provisioning + expiry: '2022-07-26T15:49:49.000Z' + issuedAt: '2022-06-26T15:49:49.000Z' + createdAt: '2022-06-26T12:12:56.000Z' + example-2: + clientId: string + accessType: 1 + name: string + expiry: string + issuedAt: string + createdAt: string + accessTypeEnum: + description: '1=Full Access, 2=Read Only, 3=Cloud Connector Provisioning' + type: integer + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + title: accessTypeEnum + actionType: + description: | + * '1' - Allow + * '2' - Block + type: integer + format: int32 + enum: + - 1 + - 2 activitiesList: type: object properties: @@ -25713,101 +31955,25 @@ components: timestamp: $ref: '#/components/schemas/epochMillis' trafficType: - description: | - * '1' - Internal - * '2' - External - * '3' - Both - type: integer - format: int32 - enum: - - 1 - - 2 - - 3 - accessInfo: + $ref: '#/components/schemas/trafficType' + aeExclusion: + allOf: + - $ref: "#/components/schemas/rule" + - type: object + properties: + deletedAt: + $ref: '#/components/schemas/epochMillis' + deltedBy: + $ref: '#/components/schemas/idNamePair' + aeExclusionList: type: object properties: - hasAccess: - type: boolean - ruleFilters: + count: + type: integer + items: type: array items: - $ref: '#/components/schemas/ruleFilter' - accessToken: - description: Access Token - type: object - properties: - clientId: - type: string - accessType: - $ref: '#/components/schemas/accessTypeEnum' - name: - type: string - expiry: - type: string - issuedAt: - type: string - createdAt: - type: string - token: - type: string - x-examples: - example-1: - clientId: 'm:195d7d50e8c0c2864c985e72de1a2fdef7dfdc6e' - accessType: 2 - name: example - expiry: '2024-06-27T08:38:17.000Z' - issuedAt: '2022-06-27T08:38:17.000Z' - createdAt: '2022-06-27T08:21:21.000Z' - token: eyJhbGciOiJSUzI1NiIsIna5cCI6IkpXVCJ9.eyJzdWIiOiJtOjY5NWQ3ZDUwZThjMGMyODY0Yzk4NWU3MmRlMWEyZmRlZjdkZmRjNmUiLCJuYW1lIjoiYXNkIiwiZWlkIjoiMTc2MjRhNTctNzI5ZS00ODA1LTk3MDMtNjc5NDdkM2RiMDFlIiwic2NvcGUiOjUsImVfbmFtZSI6ImxhYjgiLCJ2IjoxLCJpYXQiOjE2NTYzMTkwOTcsImV4cCI6MTcxOTQ3NzQ5NywiYXVkIjoicG9ydGFsLWxhYjguemVyb25ldHdvcmtzLmNvbSIsImlzcyI6Inplcm9uZXR3b3Jrcy5jb20vYXBpL3YxL2FjY2Vzcy10b2tlbiJ9.S0P3tyeU7BOPd0P27GKyFeWidoFSKEMiKhHbRLikyy4_34FafcpykiLO1vKBH6iB0utnEO4BwohlWeRWCi6LWkm5R2GxSLVo9GEuuTLPfqUkMzwpMpUkc-MniERH508z7LsxKrPA9VGCmMDKUh87PasooHfWaPgYtWTygV_uAtu1ppIde4V86WsqEmvbZt2gNGBLxwLgIgUgGuOExHu5MOM9fttiNKtuceJxP-RXFAFluXlfJwmjeY-WWHTU6AdvhB0HeJKAA7Pb8A60OkYxQsLxZKLS0K9WKFekYflh-nZBOQRfU3aUygmRyxtknvE0yZ7aK290y2Vb-lnqtl3k5Q - accessTokenInfo: - type: object - properties: - clientId: - type: string - readOnly: true - name: - type: string - expiry: - type: string - issuedAt: - type: string - readOnly: true - createdAt: - type: string - readOnly: true - accessType: - $ref: '#/components/schemas/accessTypeEnum' - title: '' - x-examples: - example-1: - clientId: 'm:81a8735b5fed82c9c497163477c98fd835b58f83' - accessType: 3 - name: access token - cloud connector provisioning - expiry: '2022-07-26T15:49:49.000Z' - issuedAt: '2022-06-26T15:49:49.000Z' - createdAt: '2022-06-26T12:12:56.000Z' - example-2: - clientId: string - accessType: 1 - name: string - expiry: string - issuedAt: string - createdAt: string - accessTypeEnum: - description: '1=Full Access, 2=Read Only, 3=Cloud Connector Provisioning' - type: integer - enum: - - 1 - - 2 - - 3 - title: accessTypeEnum - aiExclusionSourceEntitiesBody: - type: array - items: - type: string - example: - - assetid1 - - assetid2 + $ref: '#/components/schemas/aeExclusion' aiExclusionInfo: type: object properties: @@ -25834,6 +32000,13 @@ components: udpPorts: '10-30,50-100,150,200' icmp: false processesList: [] + aiExclusionSourceEntitiesBody: + type: array + items: + type: string + example: + - assetid1 + - assetid2 ancestors: type: object properties: @@ -25878,9 +32051,7 @@ components: type: array items: type: string - lastLogon: - $ref: '#/components/schemas/epochMillis' - lastLogonTimestamp: + lastLogonReplicated: $ref: '#/components/schemas/epochMillis' name: type: string @@ -25906,6 +32077,44 @@ components: $ref: '#/components/schemas/source' state: $ref: '#/components/schemas/state' + sid: + type: string + guid: + type: string + userAccountControl: + type: integer + servicePrincipleNames: + type: array + items: + type: string + distinguishedName: + type: string + addedAt: + $ref: '#/components/schemas/epochMillis' + addedBy: + type: object + properties: + id: + type: string + name: + type: string + example: User Name + protectedAt: + $ref: '#/components/schemas/epochMillis' + identityProtectAt: + $ref: '#/components/schemas/epochMillis' + rpcProtectAt: + $ref: '#/components/schemas/epochMillis' + rpcProtectedAt: + $ref: '#/components/schemas/epochMillis' + assignedDeployment: + $ref: '#/components/schemas/idNamePair' + preferredDeployment: + $ref: '#/components/schemas/idNamePair' + inactiveSince: + $ref: '#/components/schemas/epochMillis' + environmentGroup: + $ref: '#/components/schemas/idNamePair' assetActivateBody: type: object properties: @@ -25997,53 +32206,6 @@ components: $ref: '#/components/schemas/assetCandidate' scrollCursor: type: string - setAssetType: - type: object - properties: - type: - $ref: "#/components/schemas/nonOtAssetType" - required: - - type - assetOt: - type: object - properties: - assetStatus: - $ref: '#/components/schemas/assetStatus' - assetType: - $ref: '#/components/schemas/assetType' - domain: - type: string - example: domain.local - fqdn: - type: string - example: laptoppc.domain.local - healthState: - $ref: '#/components/schemas/healthState' - id: - type: string - example: 'a:a:6d020055' - ipV4Addresses: - type: array - items: - type: string - example: 1.1.1.1 - ipV6Addresses: - type: array - items: - type: string - name: - type: string - example: router - principalName: - type: string - operatingSystem: - type: string - protectionState: - $ref: '#/components/schemas/protectionState' - source: - $ref: '#/components/schemas/source' - state: - $ref: '#/components/schemas/state' assetFilter: type: object properties: @@ -26056,17 +32218,6 @@ components: properties: assetId: type: string - searchAssetsResponse: - type: object - properties: - items: - type: array - items: - $ref: '#/components/schemas/asset' - count: - type: integer - nextCursor: - type: string assetList: type: object properties: @@ -26079,20 +32230,24 @@ components: assetManager: type: object properties: - amountManagedEntities: - type: integer - format: int32 - managerInfo: + manager: type: object anyOf: - $ref: '#/components/schemas/user' - $ref: '#/components/schemas/group' managerId: type: string + permission: + type: integer + format: int32 + relation: + type: integer + format: int32 assetManagersBody: type: object required: - managerIds + - permission properties: managerIds: description: managers id @@ -26103,6 +32258,12 @@ components: example: - 'g:c:ab124as2' - 'u:a:ab124as2' + permission: + description: 2 - Viewer, 3 - Manager + type: integer + enum: + - 2 + - 3 assetManagersList: type: object properties: @@ -26110,6 +32271,64 @@ components: type: array items: $ref: '#/components/schemas/assetManager' + assetManagersUpdateBody: + type: object + required: + - managerId + - permission + properties: + managerId: + type: string + pattern: '^[ug]:[a-z]:[a-zA-Z0-9]{8}$' + example: + - g:c:ab124as2 + - u:a:ab124as2 + permission: + description: 2 - Viewer, 3 - Manager + type: integer + enum: + - 2 + - 3 + assetOt: + type: object + properties: + assetStatus: + $ref: '#/components/schemas/assetStatus' + assetType: + $ref: '#/components/schemas/assetType' + domain: + type: string + example: domain.local + fqdn: + type: string + example: laptoppc.domain.local + healthState: + $ref: '#/components/schemas/healthState' + id: + type: string + example: 'a:a:6d020055' + ipV4Addresses: + type: array + items: + type: string + example: 1.1.1.1 + ipV6Addresses: + type: array + items: + type: string + name: + type: string + example: router + principalName: + type: string + operatingSystem: + type: string + protectionState: + $ref: '#/components/schemas/protectionState' + source: + $ref: '#/components/schemas/source' + state: + $ref: '#/components/schemas/state' assetOtList: type: object properties: @@ -26127,114 +32346,6 @@ components: properties: entity: $ref: '#/components/schemas/asset' - assetStatus: - description: | - Possible asset status: - * `1`' - Not monitored - * `2' - Segment server - * `4' - Can't be monitored (unsupported OS) - * `5' - Can't be monitored (unmonitorable) - * `6' - Can't be monitored (unmonitorable) - * `7' - Cloud connector - * `8' - Not monitored (ansible unreachable) - * `9' - Not monitored (cloud connector uninstalled) - * `10' - Not monitored (cloud connector required) - * `12' - Can't be monitored (inactive entity) - type: integer - enum: - - 1 - - 2 - - 4 - - 5 - - 6 - - 7 - - 8 - - 9 - - 10 - - 12 - assetType: - description: | - Possible asset status: - * `1' - Client - * `2' - Server - * `3' - Virtual cluster - * `4' - IP camera - * `5' - Smart TV - * `6' - Factory controller - * `7' - Medical device - * `8' - Printer - * `9' - Scanner - * `10' - Smart card reader - * `11' - Router - * `12' - Hypervisor - * `13' - PLC - * `14' - HMI - * `15' - Switch - * `16' - Terminal station - * `17' - RTU - * `18' - Wireless access point - * `19' - Historian - * `20' - Game console - * `21' - Fire alarm - * `22' - UPS - * `23' - Storage appliance - * `24' - Virtualization appliance - * `25' - Firewall appliance - * `26' - Security scanner - * `27' - Security controller - * `28 ' - Door lock - * `29' - Biometric entry system - * `30' - HVAC - * `31' - Room scheduler - * `32' - Load Balancer Appliance - * `33' - WAN Concentrator - * `34' - IPAM Appliance - type: integer - format: int32 - enum: - - 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 - - 29 - - 30 - - 31 - - 32 - - 33 - - 34 - nonOtAssetType: - description: | - Possible asset status: - * `1' - Client - * `2' - Server - type: integer - format: int32 - enum: - - 1 - - 2 assetsActivateBody: type: object required: @@ -26262,6 +32373,34 @@ components: type: array items: $ref: '#/components/schemas/assetFilter' + assetsIdentityQueueBody: + type: object + properties: + items: + type: array + items: + type: string + queueDays: + description: number of days + type: integer + enum: + - 14 + - 30 + - 60 + - 90 + required: + - items + - queueDays + assetsMirrorBody: + type: object + properties: + originalAssetId: + type: string + targetAssetId: + type: string + required: + - originalAssetId + - targetAssetId assetsOrGroupsList: type: object properties: @@ -26271,6 +32410,28 @@ components: anyOf: - $ref: '#/components/schemas/asset' - $ref: '#/components/schemas/group' + assetsPreferredSegmentServer: + type: object + properties: + preferredDeployment: + type: string + assetsPreferredSegmentServerSetBody: + type: object + properties: + assetId: + type: string + preferredDeploymentId: + type: string + description: If not provided sets the asset back to no preferred segment server + required: + - assetId + assetsPreferredSegmentServerBody: + type: object + properties: + assetId: + type: string + required: + - assetId assetsProtectBody: type: object properties: @@ -26293,6 +32454,8 @@ components: enum: - 14 - 30 + - 60 + - 90 required: - items - queueDays @@ -26305,6 +32468,24 @@ components: type: string required: - items + assetsRPCQueueBody: + type: object + properties: + items: + type: array + items: + type: string + queueDays: + description: number of days + type: integer + enum: + - 14 + - 30 + - 60 + - 90 + required: + - items + - queueDays assetsStatesStatistics: type: object properties: @@ -26374,6 +32555,31 @@ components: - id: status excludeValues: - '3' + assetStatus: + description: | + Possible asset status: + * `1`' - Not monitored + * `2' - Segment server + * `4' - Can't be monitored (unsupported OS) + * `5' - Can't be monitored (unmonitorable) + * `6' - Can't be monitored (unmonitorable) + * `7' - Cloud connector + * `8' - Not monitored (ansible unreachable) + * `9' - Not monitored (cloud connector uninstalled) + * `10' - Not monitored (cloud connector required) + * `12' - Can't be monitored (inactive entity) + type: integer + enum: + - 1 + - 2 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 12 assetSummary: type: object properties: @@ -26392,10 +32598,85 @@ components: type: string required: - items + assetType: + description: | + Possible asset status: + * `0' - Unknown + * `1' - Client + * `2' - Server + * `3' - Virtual cluster + * `4' - IP camera + * `5' - Smart TV + * `6' - Factory controller + * `7' - Medical device + * `8' - Printer + * `9' - Scanner + * `10' - Smart card reader + * `11' - Router + * `12' - Hypervisor + * `13' - PLC + * `14' - HMI + * `15' - Switch + * `16' - Terminal station + * `17' - RTU + * `18' - Wireless access point + * `19' - Historian + * `20' - Game console + * `21' - Fire alarm + * `22' - UPS + * `23' - Storage appliance + * `24' - Virtualization appliance + * `25' - Firewall appliance + * `26' - Security scanner + * `27' - Security controller + * `28 ' - Door lock + * `29' - Biometric entry system + * `30' - HVAC + * `31' - Room scheduler + * `32' - Load Balancer Appliance + * `33' - WAN Concentrator + * `34' - IPAM Appliance + type: integer + format: int32 + enum: + - 0 + - 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 + - 29 + - 30 + - 31 + - 32 + - 33 + - 34 audienceType: description: | dictionary: - * `0` PORTAL_AUDIENCE + * `0` PORTAL_AUDIENCE * `1` SSP_AUDIENCE * `2` RP_AUDIENCE type: integer @@ -26749,7 +33030,7 @@ components: $ref: '#/components/schemas/assetSummary' connectionState: type: integer - byProcess: + byPort: type: object properties: occurred: @@ -26761,16 +33042,17 @@ components: properties: count: type: integer - name: - type: string + port: + type: object + properties: + protocol: + $ref: '#/components/schemas/protocol' + port: + type: integer assets: type: array items: $ref: '#/components/schemas/assetSummary' - ports: - type: array - items: - $ref: '#/components/schemas/portSummary' users: type: array items: @@ -26779,9 +33061,13 @@ components: type: array items: $ref: '#/components/schemas/processSummary' + ports: + type: array + items: + $ref: '#/components/schemas/portSummary' connectionState: type: integer - byPort: + byProcess: type: object properties: occurred: @@ -26793,17 +33079,16 @@ components: properties: count: type: integer - port: - type: object - properties: - protocol: - $ref: '#/components/schemas/protocol' - port: - type: integer + name: + type: string assets: type: array items: $ref: '#/components/schemas/assetSummary' + ports: + type: array + items: + $ref: '#/components/schemas/portSummary' users: type: array items: @@ -26812,10 +33097,6 @@ components: type: array items: $ref: '#/components/schemas/processSummary' - ports: - type: array - items: - $ref: '#/components/schemas/portSummary' connectionState: type: integer byUser: @@ -26857,12 +33138,18 @@ components: properties: domain: type: string - hasProtectionPolicy: + guid: + type: string + hasIdentityProtectionPolicy: + type: boolean + hasNetworkProtectionPolicy: type: boolean id: type: string name: type: string + sid: + type: string candidatesList: type: object properties: @@ -26886,6 +33173,18 @@ components: type: string isPhoneChallengeSupported: type: boolean + clusterInfo: + type: object + properties: + clusterInfo: + type: object + properties: + clusterName: + type: string + clusterMembersList: + type: array + items: + type: string connectivityStateAfterReboot: type: integer enum: @@ -26895,7 +33194,7 @@ components: - 4 description: | dictionary: - * `1` Previous connectivity state + * `1` Previous connectivity state * `2` Connected (Always-on) * `3` Disconnected * `4` Signed out @@ -26998,6 +33297,68 @@ components: type: array items: $ref: '#/components/schemas/connectServer' + connectUserAccessConfig: + type: object + properties: + allowedAssetIds: + type: array + items: + $ref: '#/components/schemas/idNamePair' + allowedAssetSources: + type: array + items: + $ref: '#/components/schemas/idNamePair' + allowedDestinations: + type: array + items: + type: object + properties: + guid: + type: string + id: + type: string + name: + type: string + domain: + type: string + hasProtectionPolicy: + type: boolean + allowedRegions: + type: array + items: + $ref: '#/components/schemas/idNamePair' + allowedUserIds: + type: array + items: + $ref: '#/components/schemas/userSimple' + connectivityStateAfterReboot: + type: integer + createdAt: + $ref: '#/components/schemas/epochMillis' + createdBy: + $ref: '#/components/schemas/userSimple' + description: + type: string + excludedAssetIds: + type: array + items: + $ref: '#/components/schemas/idNamePair' + excludedUserIds: + type: array + items: + $ref: '#/components/schemas/userSimple' + forceSsoAuthentication: + type: boolean + id: + type: string + name: + type: string + sessionTtlHours: + type: integer + updatedAt: + $ref: '#/components/schemas/epochMillis' + updatedBy: + $ref: '#/components/schemas/userSimple' connectUserAccessConfigBody: type: object required: @@ -27061,68 +33422,6 @@ components: type: array items: $ref: '#/components/schemas/connectUserAccessConfig' - connectUserAccessConfig: - type: object - properties: - allowedAssetIds: - type: array - items: - $ref: '#/components/schemas/idNamePair' - allowedAssetSources: - type: array - items: - $ref: '#/components/schemas/idNamePair' - allowedDestinations: - type: array - items: - type: object - properties: - guid: - type: string - id: - type: string - name: - type: string - domain: - type: string - hasProtectionPolicy: - type: boolean - allowedRegions: - type: array - items: - $ref: '#/components/schemas/idNamePair' - allowedUserIds: - type: array - items: - $ref: '#/components/schemas/userSimple' - connectivityStateAfterReboot: - type: integer - createdAt: - $ref: '#/components/schemas/epochMillis' - createdBy: - $ref: '#/components/schemas/userSimple' - description: - type: string - excludedAssetIds: - type: array - items: - $ref: '#/components/schemas/idNamePair' - excludedUserIds: - type: array - items: - $ref: '#/components/schemas/userSimple' - forceSsoAuthentication: - type: boolean - id: - type: string - name: - type: string - sessionTtlHours: - type: integer - updatedAt: - $ref: '#/components/schemas/epochMillis' - updatedBy: - $ref: '#/components/schemas/userSimple' createdBy: type: object properties: @@ -27139,6 +33438,44 @@ components: properties: assetId: type: string + customGroup: + type: object + properties: + createdAt: + $ref: '#/components/schemas/epochMillis' + description: + type: string + directMembersCount: + type: integer + domain: + type: string + guid: + type: string + format: uuid + hasProtectionPolicy: + type: boolean + id: + type: string + name: + type: string + principalName: + type: string + role: + type: integer + sid: + type: string + updatedAt: + $ref: '#/components/schemas/epochMillis' + addedAt: + $ref: '#/components/schemas/epochMillis' + addedBy: + type: object + properties: + id: + type: string + name: + type: string + example: User Name customGroupBody: type: object properties: @@ -27174,49 +33511,32 @@ components: properties: entity: $ref: '#/components/schemas/customGroup' - customGroup: + customUser: type: object properties: - createdAt: - $ref: '#/components/schemas/epochMillis' - description: + activeEnvironmentId: type: string - directMembersCount: - type: integer - domain: + format: uuid + email: type: string - guid: + fullName: type: string - format: uuid - hasProtectionPolicy: - type: boolean id: type: string - name: + format: uuid + phone: type: string - principalName: + portalUserType: type: string role: - type: integer - sid: - type: string - updatedAt: - $ref: '#/components/schemas/epochMillis' - tagGroupBody: + $ref: '#/components/schemas/userRole' + customUsersList: type: object properties: - membersId: - description: members id + items: type: array items: - type: string - pattern: '^a:[ault]:[a-zA-Z0-9]{8}$' - example: - - 'a:a:8ErCHXe8' - comment: - type: string - required: - - membersId + $ref: '#/components/schemas/customUser' deployment: type: object properties: @@ -27268,7 +33588,7 @@ components: type: string enforcementSource: description: | - * '1' - ReacticePolicy + * '1' - ReactivePolicy * '2' - Automated * '3' - AccessPortal * '4' - AdminPortal @@ -27288,7 +33608,7 @@ components: entitiesList: type: object properties: - entities: + items: type: array items: $ref: '#/components/schemas/entity' @@ -27297,9 +33617,18 @@ components: entity: type: object anyOf: - - $ref: '#/components/schemas/group' - - $ref: '#/components/schemas/user' - $ref: '#/components/schemas/asset' + - $ref: '#/components/schemas/user' + - $ref: '#/components/schemas/group' + envConfig: + type: object + properties: + isTrial: + type: boolean + example: false + periodicallyCheckDeployments: + type: boolean + example: true epochMillis: description: Epoch Millis type: integer @@ -27399,6 +33728,107 @@ components: properties: exportId: type: string + externalAccessPolicy: + type: object + properties: + createdAt: + $ref: '#/components/schemas/epochMillis' + createdBy: + $ref: '#/components/schemas/createdBy' + description: + type: string + dstAssetId: + type: string + dstAssetInfo: + $ref: '#/components/schemas/asset' + dstPortsList: + $ref: '#/components/schemas/portsList' + dstProcessNamesList: + type: array + items: + type: string + id: + type: string + name: + type: string + ruleDuration: + $ref: '#/components/schemas/ruleDuration' + srcUserInfos: + type: array + items: + $ref: '#/components/schemas/idNamePair' + srcUserIdsList: + type: array + items: + type: string + state: + $ref: '#/components/schemas/ruleState' + updatedAt: + $ref: '#/components/schemas/epochMillis' + updatedBy: + $ref: '#/components/schemas/idNamePair' + url: + type: string + externalAccessPolicyBody: + type: object + properties: + description: + type: string + dstAssetId: + type: string + dstPortsList: + $ref: '#/components/schemas/portsList' + dstProcessNamesList: + type: array + items: + type: string + name: + type: string + ruleDuration: + $ref: '#/components/schemas/ruleDuration' + srcUserIdsList: + type: array + items: + type: string + state: + $ref: '#/components/schemas/ruleState' + url: + type: string + required: + - dstAssetId + - dstPortsList + - dstProcessNamesList + - name + - ruleDuration + - srcUserIdsList + - strategy + externalAccessPolicyItem: + type: object + properties: + item: + $ref: '#/components/schemas/externalAccessPolicy' + externalAccessPolicyList: + type: object + properties: + count: + type: integer + items: + type: array + items: + $ref: '#/components/schemas/externalAccessPolicy' + externalAccessPolicyResponse: + type: object + properties: + items: + $ref: '#/components/schemas/externalAccessPolicy' + externalAccessPolicyStatistics: + type: object + properties: + policiesStatistics: + type: object + properties: + totalCount: + type: integer externalIpsList: description: Collection of Internet IPs that are trusted type: array @@ -27440,10 +33870,15 @@ components: type: array items: $ref: '#/components/schemas/filter' - resolvedFilters: - type: object hasActiveFiltersChanged: type: boolean + resolvedFilters: + type: object + userFilter: + type: object + properties: + resolvedFilters: + type: object group: type: object properties: @@ -27455,6 +33890,8 @@ components: type: integer domain: type: string + externalId: + type: string guid: type: string hasProtectionPolicy: @@ -27472,6 +33909,16 @@ components: type: string updatedAt: $ref: '#/components/schemas/epochMillis' + addedAt: + $ref: '#/components/schemas/epochMillis' + addedBy: + type: object + properties: + id: + type: string + name: + type: string + example: User Name groupCandidate: type: object properties: @@ -27503,17 +33950,88 @@ components: properties: entity: $ref: '#/components/schemas/group' - searchGroupsResponse: + groupItem: type: object properties: items: + $ref: '#/components/schemas/group' + groupSimulateSegmentationEntity: + type: object + properties: + count: + type: integer + id: + type: string + name: + type: string + groupSimulateSegmentationItem: + type: object + properties: + coveredEntities: type: array items: - $ref: '#/components/schemas/group' - count: + $ref: '#/components/schemas/groupSimulateSegmentationEntity' + lastTimeSeen: + $ref: '#/components/schemas/iso8601DateTimeUTC' + localProcessesList: + type: array + items: + type: string + memberAssets: + type: array + items: + $ref: '#/components/schemas/idNamePair' + occurred: type: integer - nextCursor: + port: + type: integer + protocolType: + $ref: '#/components/schemas/protocol' + uncoveredEntities: + type: array + items: + $ref: '#/components/schemas/groupSimulateSegmentationEntity' + groupSimulateSegmentationReport: + type: object + properties: + from: + type: string + items: + type: array + items: + $ref: '#/components/schemas/groupSimulateSegmentationItem' + ruleStates: + type: array + items: + $ref: '#/components/schemas/ruleState' + to: + type: string + trafficType: + $ref: '#/components/schemas/trafficType' + groupSimulateSegmentationReportBody: + type: object + properties: + from: + $ref: '#/components/schemas/epochMillis' + ruleStates: + type: array + items: + $ref: '#/components/schemas/ruleState' + to: + $ref: '#/components/schemas/epochMillis' + trafficType: + $ref: '#/components/schemas/trafficType' + groupSimulateSegmentationReportRecord: + type: array + items: + $ref: '#/components/schemas/groupSimulateSegmentationItem' + groupSimulateSegmentationState: + type: object + properties: + generationState: type: string + hasReport: + type: boolean groupsList: type: object properties: @@ -27567,6 +34085,7 @@ components: properties: healthStatus: description: | + * '0' - Unspecified * '1' - Healthy * '2' - Error * '3' - Warning @@ -27575,6 +34094,7 @@ components: type: integer format: int32 enum: + - 0 - 1 - 2 - 3 @@ -27617,14 +34137,34 @@ components: identityProtectionState: description: | Possible asset status: + * '0' - Unspecified * '1' - Unsegmented - * '2' - Segmented - * '3' - In learning + * '2' - Unspecified + * '3' - Segmented + * '4' - Unsegmented + * '5' - In learning + * '6' - Forced Unprotected + * '7' - Forced Removing Protection + * '8' - Protected Due To Policy + * '9' - Applying Protection Due To Policy + * '10' - In learning Due To Policy + * '11' - Learning Done + * '12' - In learning Due To Policy Done type: integer enum: + - 0 - 1 - 2 - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 identityReactivePolicy: type: object properties: @@ -27673,6 +34213,8 @@ components: $ref: '#/components/schemas/mfaMethods' overrideBuiltins: type: boolean + restrictLoginToOriginatingUser: + type: boolean ruleDuration: $ref: '#/components/schemas/ruleDuration' srcAssetIdsList: @@ -27737,6 +34279,8 @@ components: $ref: '#/components/schemas/mfaMethods' overrideBuiltins: type: boolean + restrictLoginToOriginatingUser: + type: boolean ruleDuration: $ref: '#/components/schemas/ruleDuration' srcAssetIdsList: @@ -27928,12 +34472,131 @@ components: name: description: Entity Name type: string + idNamePairList: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/idNamePair' + inactiveAssetsConfig: + type: object + required: + - lastActiveDurationInMonths + properties: + lastActiveDurationInMonths: + type: integer + format: int32 + enum: + - 0 + - 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 + inactiveAssetsConfigBody: + type: object + properties: + lastActiveDurationInMonths: + type: integer + format: int32 + enum: + - 0 + - 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 inactiveReason: description: | * '1' - Deleted in asset repository * '2' - Manually set as inactive * '3' - None * '4' - Disabled in asset repository + * '5' - Inactive in asset repository + type: integer + format: int32 + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + interfaceUuidsList: + type: array + items: + type: string + format: uuid or string + description: | + one of the following: + * "rpcAnyInterface" for any interface + * List of interface uuids for explicit interfaces + ipSecOpt: + description: | + * For allow rule only. + * '1' - Off + * '2' - Null encapsulation connections + * '3' - Authenticated and integrity-protected connections + * '4' - Encrypted connections and dynamically negotiate encryption (inbound rule only) + * '5' - Encrypted connections type: integer format: int32 enum: @@ -27941,6 +34604,7 @@ components: - 2 - 3 - 4 + - 5 ipSubnet: type: string example: 192.168.1.0/24 @@ -27987,63 +34651,318 @@ components: type: string example: linuxserver.domain.local required: - - displayName - - fqdn - linuxResponse: + - displayName + - fqdn + linuxResponse: + type: object + properties: + items: + type: array + items: + type: string + linuxScriptAvailable: + type: object + properties: + userScriptAvailable: + type: boolean + listeningAddress: + type: object + properties: + ipAddress: + type: string + tcpPorts: + type: string + udpPorts: + type: string + listeningPort: + type: object + properties: + processName: + type: string + processId: + type: integer + username: + type: string + listeningAddressList: + type: array + items: + $ref: '#/components/schemas/listeningAddress' + listeningPortsList: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/listeningPort' + loginBody: + type: object + properties: + email: + type: string + otp: + type: string + loginResponse: + type: object + properties: + user: + $ref: '#/components/schemas/user' + token: + type: string + logonActivitiesList: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/logonActivity' + scrollCursor: + type: string + logonActivity: + type: object + properties: + src: + type: object + properties: + assetId: + type: string + assetProtectionState: + type: integer + assetSrc: + type: integer + assetType: + $ref: '#/components/schemas/assetType' + fqdn: + type: string + ip: + type: string + port: + type: integer + dst: + type: object + properties: + assetId: + type: string + assetProtectionState: + type: integer + assetSrc: + type: integer + assetType: + $ref: '#/components/schemas/assetType' + fqdn: + type: string + eventType: + type: integer + logonType: + type: integer + processName: + type: string + processId: + type: string + authenticationPackageName: + type: string + logonProvider: + type: string + subjectUserName: + type: string + subjectUserSid: + type: string + targetUserName: + type: string + targetUserSid: + type: string + targetLogonId: + type: integer + format: int64 + timestamp: + $ref: '#/components/schemas/epochMillis' + recordId: + type: integer + format: int64 + impersonationLevel: + type: integer + maintenanceWindow: + type: object + properties: + createdAt: + $ref: '#/components/schemas/epochMillis' + createdBy: + $ref: '#/components/schemas/idNamePair' + id: + type: string + isDefault: + type: boolean + name: + type: string + startTime: + type: integer + description: '0-24 in UTC. 1 would be 01:00-02:00UTC' + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + updatedAt: + $ref: '#/components/schemas/epochMillis' + updatedBy: + $ref: '#/components/schemas/idNamePair' + weekday: + type: integer + description: 'Sunday is 1, Saturday is 7' + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + maintenanceWindowBody: + type: object + properties: + isDefault: + type: boolean + name: + type: string + startTime: + type: integer + description: '0-24 in UTC. 1 would be 01:00-02:00UTC' + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + weekday: + type: integer + description: 'Sunday is 1, Saturday is 7' + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + required: + - isDefault + - name + - startTime + - weekday + maintenanceWindowItem: type: object properties: - items: - type: array - items: - type: string - linuxScriptAvailable: + item: + $ref: '#/components/schemas/maintenanceWindow' + maintenanceWindowItems: type: object properties: - userScriptAvailable: - type: boolean - listeningAddress: + items: + $ref: '#/components/schemas/maintenanceWindow' + maintenanceWindowList: type: object properties: - ipAddress: - type: string - tcpPorts: - type: string - udpPorts: - type: string - listeningPort: + items: + type: array + items: + $ref: '#/components/schemas/maintenanceWindow' + manageableOSType: + description: | + Possible osType: + * `1' - Windows + * `2' - Linux + * `3' - Mac + type: integer + format: int32 + enum: + - 1 + - 2 + - 3 + managedAsset: type: object properties: - processName: + entity: + type: object + anyOf: + - $ref: '#/components/schemas/asset' + - $ref: '#/components/schemas/group' + entityId: type: string - processId: + permission: type: integer - username: - type: string - listeningAddressList: - type: array - items: - $ref: '#/components/schemas/listeningAddress' - listeningPortsList: + format: int32 + relation: + type: integer + format: int32 + managedAssetsBody: type: object properties: - items: + entityIds: + description: managed asset ids type: array items: - $ref: '#/components/schemas/listeningPort' - loginBody: - type: object - properties: - email: - type: string - otp: - type: string - loginResponse: + type: string + pattern: '^[ag]:[acdjlngt]:[a-zA-Z0-9]{8}$' + example: + - 'g:c:ab124as2' + - 'a:a:ab124as2' + permission: + type: integer + format: int32 + managedAssetsUpdateBody: type: object properties: - user: - $ref: '#/components/schemas/user' - token: + entityId: + description: managed asset id type: string + pattern: '^[ag]:[a-z]:[a-zA-Z0-9]{8}$' + example: + - g:c:ab124as2 + - a:a:ab124as2 + permission: + type: integer + format: int32 + required: + - entityId + - permissions managedAssetsList: type: object properties: @@ -28061,6 +34980,9 @@ components: - $ref: '#/components/schemas/group' managerId: type: string + permission: + type: integer + format: int32 relation: type: integer format: int32 @@ -28088,118 +35010,202 @@ components: - 4 - 5 - 6 - logonActivitiesList: + nextBatch: type: object properties: - items: - type: array - items: - $ref: '#/components/schemas/logonActivity' - scrollCursor: - type: string - logonActivity: + nextBatchTime: + type: integer + format: int64 + nonOtAssetType: + description: | + Possible asset status: + * `1' - Client + * `2' - Server + type: integer + format: int32 + enum: + - 1 + - 2 + orderedReactivePolicies: + type: array + items: + $ref: '#/components/schemas/reactivePolicy' + otAssetBody: type: object properties: - src: - type: object - properties: - assetId: - type: string - assetProtectionState: - type: integer - assetSrc: - type: integer - assetType: - $ref: '#/components/schemas/assetType' - fqdn: - type: string - ip: - type: string - port: - type: integer - dst: - type: object - properties: - assetId: - type: string - assetProtectionState: - type: integer - assetSrc: - type: integer - assetType: - $ref: '#/components/schemas/assetType' - fqdn: - type: string - eventType: - type: integer - logonType: - type: integer - processName: - type: string - processId: - type: string - authenticationPackageName: - type: string - logonProvider: + ipv4: type: string - subjectUserName: + format: ipv4 + type: + type: number + enum: + - 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 + displayName: type: string - subjectUserSid: + fqdn: type: string - targetUserName: + switchId: type: string - targetUserSid: + interfaceName: type: string - targetLogonId: - type: integer - format: int64 - timestamp: - $ref: '#/components/schemas/epochMillis' - recordId: - type: integer - format: int64 - impersonationLevel: - type: integer - managedAsset: + required: + - ipv4 + - type + - displayName + - fqdn + title: otAssetBody + x-examples: + example-1: + value: + ipv4: 192.168.0.1 + type: 4 + displayName: string + otAssetEditBody: type: object properties: - entity: - $ref: '#/components/schemas/asset' - entityId: + type: + type: number + enum: + - 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 + displayName: type: string - relation: - type: integer - format: int32 - managedAssetsBody: + fqdn: + type: string + required: + - type + - displayName + - fqdn + title: otAssetEditBody + otRuleBody: type: object properties: - entityIds: - description: managed asset ids + description: + type: string + excludedLocalIdsList: type: array items: type: string - pattern: '^[ag]:[acdjlngt]:[a-zA-Z0-9]{8}$' - example: - - 'g:c:ab124as2' - - 'a:a:ab124as2' - envConfig: + localEntityId: + type: string + protocolsList: + $ref: '#/components/schemas/switchProtocolsList' + remoteEntitiesList: + type: array + items: + type: string + action: + description: | + * '1' - Allow + * '2' - Block + type: integer + format: int32 + enum: + - 1 + - 2 + state: + $ref: '#/components/schemas/ruleState' + required: + - localEntityId + - localProcessesList + - portsList + - remoteEntityIdsList + - state + - action + portsList: + type: array + items: + type: object + properties: + ports: + type: string + protocolType: + $ref: '#/components/schemas/protocol' + portSummary: type: object properties: - activitiesConfig: + count: + type: integer + port: type: object properties: - networkActivitiesDays: - type: integer - rpcActivitiesDays: - type: integer - logonActivitiesDays: + protocol: + $ref: '#/components/schemas/protocol' + port: type: integer - isTrial: - type: boolean - example: false - periodicallyCheckDeployments: - type: boolean - example: true + privateIpv4NetworksList: + description: Collection of IPv4 subnets that are internal + type: array + items: + type: string + example: 192.168.0.0/24 + privateIpv6NetworksList: + description: Collection of IPv6 subnets that are internal + type: array + items: + type: string + example: fd12:3456:789a:1::/64 + PrivilegedPorts: + type: string + x-example: '1,3,4,5-8' + processSummary: + type: object + properties: + count: + type: integer + name: + type: string profileResponse: type: object properties: @@ -28210,7 +35216,7 @@ components: features: type: array items: - type: integer + type: string profileUser: type: object properties: @@ -28248,6 +35254,194 @@ components: isInternalUser: type: boolean example: false + protectionPoliciesList: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/protectionPolicy' + protectionPolicy: + type: object + properties: + createdAt: + $ref: '#/components/schemas/epochMillis' + createdBy: + $ref: '#/components/schemas/createdBy' + description: + type: string + enabled: + type: boolean + enforceBlocks: + type: boolean + existingMembersLearningDays: + type: integer + enum: + - -1 + - 0 + - 14 + - 30 + - 60 + - 90 + groupId: + type: string + groupInfo: + type: object + properties: + domain: + type: string + guid: + type: string + hasIdentityProtectionPolicy: + type: boolean + hasNetworkProtectionPolicy: + type: boolean + id: + type: string + name: + type: string + id: + type: string + initialProtectAt: + $ref: '#/components/schemas/epochMillis' + newMembersLearningDays: + type: integer + enum: + - -1 + - 0 + - 14 + - 30 + - 60 + - 90 + policyType: + type: integer + updatedAt: + $ref: '#/components/schemas/epochMillis' + protectionPolicyBody: + type: object + properties: + description: + type: string + enabled: + type: boolean + enforceBlocks: + type: boolean + existingMembersLearningDays: + type: integer + default: 30 + enum: + - -1 + - 0 + - 14 + - 30 + - 60 + - 90 + groupId: + type: string + maintenanceWindowId: + type: string + newMembersLearningDays: + type: integer + default: 30 + enum: + - -1 + - 0 + - 14 + - 30 + - 60 + - 90 + required: + - groupId + - existingMembersLearningDays + - newMembersLearningDays + protectionPolicyResponse: + type: object + properties: + items: + $ref: '#/components/schemas/protectionPolicy' + protectionPolicyUpdateBody: + type: object + properties: + description: + type: string + enabled: + type: boolean + existingMembersLearningDays: + type: integer + default: 30 + enum: + - -1 + - 0 + - 14 + - 30 + - 60 + - 90 + id: + type: string + newMembersLearningDays: + type: integer + default: 30 + enum: + - -1 + - 0 + - 14 + - 30 + - 60 + - 90 + policyType: + type: integer + default: 1 + enum: + - 0 + - 1 + - 2 + required: + - existingMembersLearningDays + - newMembersLearningDays + - policyType + protectionState: + description: | + * '0' - Unspecified + * '1' - Unsegmented + * '2' - Unsegmenting + * '3' - Segmented + * '4' - Segmenting + * '5' - Learning until + * '6' - forced_unprotected + * '7' - Unsegmenting' - Due to Policy + * '8' - Segmented' - Due to Policy + * '9' - Segmenting- Due to Policy + * '10' - Learning until' - Due to Policy + * '11' - Learning done + * '12' - Learning done- Due to Policy + * '13' - APPLYING_QUEUE_WITH_BLOCKS + * '14' - APPLYING_QUEUE_WITH_BLOCKS_DUE_TO_POLICY + * '15' - QUEUED_WITH_BLOCKS + * '16' - QUEUED_WITH_BLOCKS_DUE_TO_POLICY + * '17' - QUEUED_WITH_BLOCKS_DONE + * '18' - QUEUED_WITH_BLOCKS_DUE_TO_POLICY_DONE + type: integer + format: int32 + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 protocol: description: | * '0' - HOPOPT @@ -28349,7 +35543,7 @@ components: * '96' - SCC-SP * '97' - ETHERIP * '98' - ENCAP - * '99' - private-incription + * '99' - private-encryption * '100' - GMTP * '101' - IFMP * '102' - PNNI @@ -28776,6 +35970,8 @@ components: enum: - 14 - 30 + - 60 + - 90 required: - queueDays queueAssetExtendBody: @@ -28787,10 +35983,100 @@ components: enum: - 14 - 30 + - 60 + - 90 relearnReason: type: string required: - extendByDays + queueAssetIdentityBody: + type: object + properties: + queueDays: + description: number of days + type: integer + enum: + - 14 + - 30 + - 60 + - 90 + required: + - queueDays + queueAssetIdentityExtendBody: + type: object + properties: + extendByDays: + description: number of days + type: integer + enum: + - 14 + - 30 + - 60 + - 90 + relearnReason: + type: string + required: + - extendByDays + queueExtendBody: + type: object + properties: + items: + type: array + items: + type: string + extendByDays: + description: number of days + type: integer + enum: + - 14 + - 30 + - 60 + - 90 + relearnReason: + type: string + required: + - items + - extendByDays + queueExtendIdentityBody: + type: object + properties: + items: + type: array + items: + type: string + extendByDays: + description: number of days + type: integer + enum: + - 14 + - 30 + - 60 + - 90 + relearnReason: + type: string + required: + - items + - extendByDays + queueExtendRPCBody: + type: object + properties: + items: + type: array + items: + type: string + extendByDays: + description: number of days + type: integer + enum: + - 14 + - 30 + - 60 + - 90 + relearnReason: + type: string + required: + - items + - extendByDays reactivePoliciesStatistics: type: object properties: @@ -28851,6 +36137,8 @@ components: enum: - 6 - 17 + restrictLoginToOriginatingUser: + type: boolean ruleDuration: $ref: '#/components/schemas/ruleDuration' srcEntityInfos: @@ -29033,6 +36321,8 @@ components: type: boolean protocolType: type: integer + restrictLoginToOriginatingUser: + type: boolean ruleDuration: $ref: '#/components/schemas/ruleDuration' srcEntityInfos: @@ -29073,6 +36363,7 @@ components: - mfaMethods - overrideBuiltins - protocolType + - restrictLoginToOriginatingUser - ruleDuration - srcEntityInfos - srcProcessNames @@ -29139,6 +36430,8 @@ components: type: boolean protocolType: type: integer + restrictLoginToOriginatingUser: + type: boolean ruleDuration: $ref: '#/components/schemas/ruleDuration' srcEntityInfos: @@ -29178,6 +36471,7 @@ components: - mfaMethods - overrideBuiltins - protocolType + - restrictLoginToOriginatingUser - ruleDuration - srcEntityInfos - srcProcessNames @@ -29189,287 +36483,6 @@ components: properties: items: $ref: '#/components/schemas/reactivePolicy' - nextBatch: - type: object - properties: - nextBatchTime: - type: integer - format: int64 - orderedReactivePolicies: - type: array - items: - $ref: '#/components/schemas/reactivePolicy' - otAssetBody: - type: object - properties: - ipv4: - type: string - format: ipv4 - type: - type: number - enum: - - 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 - displayName: - type: string - required: - - ipv4 - - type - - displayName - title: otAssetBody - x-examples: - example-1: - value: - ipv4: 192.168.0.1 - type: 4 - displayName: string - otAssetEditBody: - type: object - properties: - type: - type: number - enum: - - 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 - displayName: - type: string - required: - - type - - displayName - title: otAssetEditBody - portsList: - type: array - items: - type: object - properties: - ports: - type: string - protocolType: - $ref: '#/components/schemas/protocol' - portSummary: - type: object - properties: - count: - type: integer - port: - type: object - properties: - protocol: - $ref: '#/components/schemas/protocol' - port: - type: integer - privateNetworksList: - description: Collection of IP subnets that are internal - type: array - items: - type: string - example: 192.168.0.0/24 - PrivilegedPorts: - type: string - x-example: '1,3,4,5-8' - processSummary: - type: object - properties: - count: - type: integer - name: - type: string - protectionPoliciesList: - type: object - properties: - items: - type: array - items: - $ref: '#/components/schemas/protectionPolicy' - protectionPolicy: - type: object - properties: - createdAt: - $ref: '#/components/schemas/epochMillis' - createdBy: - $ref: '#/components/schemas/createdBy' - description: - type: string - existingMembersLearningDays: - type: integer - enum: - - 0 - - 14 - - 30 - - 60 - - 90 - groupId: - type: string - groupInfo: - type: object - properties: - domain: - type: string - guid: - type: string - hasProtectionPolicy: - type: boolean - id: - type: string - name: - type: string - id: - type: string - initialProtectAt: - $ref: '#/components/schemas/epochMillis' - newMembersLearningDays: - type: integer - enum: - - 0 - - 14 - - 30 - - 60 - - 90 - updatedAt: - $ref: '#/components/schemas/epochMillis' - protectionPolicyBody: - type: object - properties: - description: - type: string - groupId: - type: string - initialQueueDays: - type: integer - default: 30 - enum: - - 0 - - 14 - - 30 - - 60 - - 90 - newMembersLearningDays: - type: integer - default: 30 - enum: - - 0 - - 14 - - 30 - - 60 - - 90 - required: - - groupId - - initialQueueDays - - newMembersLearningDays - protectionPolicyResponse: - type: object - properties: - items: - $ref: '#/components/schemas/protectionPolicy' - protectionPolicyUpdateBody: - type: object - properties: - newMembersLearningDays: - type: integer - default: 30 - enum: - - 0 - - 14 - - 30 - - 60 - - 90 - description: - type: string - required: - - newMembersLearningDays - protectionState: - description: | - * '2' - Unsegmenting - * '3' - Segmented - * '4' - Segmenting - * '5' - Learning until - * '7' - Unsegmenting' - Due to Policy - * '8' - Segmented' - Due to Policy - * '9' - Segmenting- Due to Policy - * '10' - Learning until' - Due to Policy - * '11' - Learning done - * '12' - Learning done- Due to Policy - type: integer - format: int32 - enum: - - 2 - - 3 - - 4 - - 5 - - 7 - - 8 - - 9 - - 10 - - 11 - - 12 - queueExtendBody: - type: object - properties: - items: - type: array - items: - type: string - extendByDays: - description: number of days - type: integer - enum: - - 14 - - 30 - relearnReason: - type: string - required: - - items - - extendByDays requestedFilter: type: object properties: @@ -29489,13 +36502,13 @@ components: role: description: | dictionary: - * `0` ROLE_UNSPECIFIED + * `0` ROLE_UNSPECIFIED * `1` ROLE_ADMIN - * `2` ROLE_VIEWER - * `3` ROLE_REGULAR + * `2` ROLE_VIEWER + * `3` ROLE_REGULAR * `4` ROLE_MACHINE_FULL_ACCESS - * `5` ROLE_MACHINE_READ_ONLY - * `6` ROLE_SELF_SERVICE + * `5` ROLE_MACHINE_READ_ONLY + * `6` ROLE_SELF_SERVICE * `7` ROLE_CLOUD_CONNECTOR_PROVISIONING * `8` ROLE_JAMF_ASSET * `9` ROLE_ASSET_MANAGER @@ -29611,10 +36624,6 @@ components: type: string dstProcessPath: type: string - rpcFiltersList: - type: object - items: - $ref: '#/components/schemas/rpcFilter' rpcFilter: type: object properties: @@ -29639,6 +36648,10 @@ components: type: string name: type: string + rpcFiltersList: + type: object + items: + $ref: '#/components/schemas/rpcFilter' rpcProtocolsList: type: array items: @@ -29671,10 +36684,7 @@ components: id: type: string interfaceUuidsList: - type: array - items: - type: string - format: uuid + $ref: '#/components/schemas/interfaceUuidsList' localAssetId: type: string localAssetInfo: @@ -29726,10 +36736,7 @@ components: expiresAt: $ref: '#/components/schemas/epochMillis' interfaceUuidsList: - type: array - items: - type: string - format: uuid + $ref: '#/components/schemas/interfaceUuidsList' localAssetId: type: string opNumbersList: @@ -29806,10 +36813,16 @@ components: id: type: string format: uuid + ipSecOpt: + $ref: '#/components/schemas/ipSecOpt' localEntityId: type: string localEntityInfo: $ref: '#/components/schemas/asset' + localEntitySuccessor: + type: array + items: + $ref: '#/components/schemas/idNamePair' localProcessesList: type: array items: @@ -29831,6 +36844,12 @@ components: $ref: '#/components/schemas/idNamePair' ruleclass: $ref: '#/components/schemas/ruleClass' + srcUserInfos: + type: array + items: + $ref: '#/components/schemas/groupsOrUsersList' + srcUsersList: + $ref: '#/components/schemas/srcUsersList' state: $ref: '#/components/schemas/ruleState' updatedAt: @@ -29873,6 +36892,10 @@ components: type: string state: $ref: '#/components/schemas/ruleState' + ipSecOpt: + $ref: '#/components/schemas/ipSecOpt' + srcUsersList: + $ref: '#/components/schemas/srcUsersList' required: - action - localEntityId @@ -29899,6 +36922,74 @@ components: - 5 - 6 - 8 + ruleDirection: + description: | + * '1' - Inbound + * '2' - Outbound + * '3' - Both + type: integer + format: int32 + enum: + - 1 + - 2 + - 3 + ruleDistribution: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/distribution' + ruleDuration: + description: | + * '1' - Hour + * '2' - Day + * '3' - Week + * '4' - Month + * '5' - Never + * '6' - 4 hours + * '7' - 12 hours + * '8' - 8 hours + type: integer + format: int32 + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + ruleFilter: + type: object + properties: + id: + type: string + includeValues: + type: array + items: + type: string + ruleItem: + type: object + properties: + item: + $ref: '#/components/schemas/rule' + ruleMatch: + type: object + properties: + ruleId: + description: Id of the Rule + type: string + format: uuid + example: b4565b6b-d20f-407d-9075-e354da6ffc64 + updateId: + type: number + ruleResponse: + type: object + properties: + item: + $ref: '#/components/schemas/rule' ruleReviewApproveWithChanges: description: Mandatory object for rule review approve_with_changes / reject. type: object @@ -29949,6 +37040,8 @@ components: type: string expiresAt: $ref: '#/components/schemas/epochMillis' + ipSecOpt: + $ref: '#/components/schemas/ipSecOpt' localEntityId: type: string localProcessesList: @@ -29961,6 +37054,8 @@ components: type: array items: type: string + srcUsersList: + $ref: '#/components/schemas/srcUsersList' state: description: '1=Enabled, 2=Disabled' type: integer @@ -30006,72 +37101,6 @@ components: example-2: review: reason: 2 - ruleDirection: - description: | - * '1' - Inbound - * '2' - Outbound - type: integer - format: int32 - enum: - - 1 - - 2 - ruleDistribution: - type: object - properties: - items: - type: array - items: - $ref: '#/components/schemas/distribution' - ruleDuration: - description: | - * '1' - Hour - * '2' - Day - * '3' - Week - * '4' - Month - * '5' - Never - * '6' - 4 hours - * '7' - 12 hours - * '8' - 8 hours - type: integer - format: int32 - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - - 8 - ruleFilter: - type: object - properties: - id: - type: string - includeValues: - type: array - items: - type: string - ruleItem: - type: object - properties: - item: - $ref: '#/components/schemas/rule' - ruleMatch: - type: object - properties: - ruleId: - description: Id of the Rule - type: string - format: uuid - example: b4565b6b-d20f-407d-9075-e354da6ffc64 - updateId: - type: number - ruleResponse: - type: object - properties: - item: - $ref: '#/components/schemas/rule' rulesList: type: object properties: @@ -30090,15 +37119,6 @@ components: - 1 - 2 - 4 - actionType: - description: | - * '1' - Allow - * '2' - Block - type: integer - format: int32 - enum: - - 1 - - 2 ruleStatistics: type: object properties: @@ -30129,6 +37149,129 @@ components: type: integer outboundBlockDisabledCount: type: integer + savedFilter: + type: object + properties: + excludeValues: + type: array + items: + type: string + id: + type: string + includeValues: + type: array + items: + type: string + required: + - id + savedFilterBody: + type: object + properties: + description: + type: string + filters: + type: array + items: + $ref: '#/components/schemas/savedFilter' + name: + type: string + permission: + $ref: '#/components/schemas/savedFilterPermission' + required: + - description + - filters + - name + - permission + savedFilterId: + type: object + properties: + userFilterId: + type: string + savedFilterPermission: + type: string + description: | + * 'private' - only the creator can see the filter + * 'public' - all users can see the filter + savedFilterObject: + type: object + properties: + createdAt: + $ref: '#/components/schemas/iso8601DateTimeUTC' + createdById: + type: string + description: + type: string + filters: + type: array + items: + $ref: '#/components/schemas/savedFilter' + id: + type: string + name: + type: string + permission: + $ref: '#/components/schemas/savedFilterPermission' + updatedAt: + $ref: '#/components/schemas/iso8601DateTimeUTC' + savedFiltersList: + type: object + properties: + private: + type: array + items: + $ref: '#/components/schemas/savedFilterObject' + public: + type: array + items: + $ref: '#/components/schemas/savedFilterObject' + savedFilterUpdateBody: + type: object + properties: + description: + type: string + filters: + type: array + items: + $ref: '#/components/schemas/savedFilter' + name: + type: string + required: + - description + - filters + - name + searchAssetsResponse: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/asset' + count: + type: integer + nextCursor: + type: string + searchGroupsResponse: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/group' + count: + type: integer + nextCursor: + type: string + searchUsersResponse: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/user' + count: + type: integer + nextCursor: + type: string session: type: object properties: @@ -30169,6 +37312,43 @@ components: type: array items: $ref: '#/components/schemas/session' + setAssetType: + type: object + properties: + type: + $ref: '#/components/schemas/nonOtAssetType' + required: + - type + setOSType: + type: object + properties: + assetIds: + type: array + items: + type: string + osType: + $ref: '#/components/schemas/manageableOSType' + required: + - assetIds + - osType + setOutboundRestriction: + type: object + properties: + assetIds: + type: array + items: + type: string + maxItems: 100 + outboundRestriction: + type: integer + enum: + - 1 # NO_RESTRICTION + - 2 # RESTRICTED_INTERNAL + - 3 # RESTRICTED_EXTERNAL + - 4 # RESTRICTED_INTERNAL_EXTERNAL + required: + - assetIds + - outboundRestriction settingsActivities: type: object properties: @@ -30186,63 +37366,47 @@ components: type: boolean required: - shouldFilterExternalTraffic - settingsAuth: - type: object - properties: - item: - type: object - properties: - portalTokenTtl: - description: Portal session token timeout (in minutes) - type: number - title: settingsAuth - settingsAuthBody: - type: object - properties: - portalTokenTtl: - description: Portal session token timeout (in minutes) - type: number - title: settingsAuthBody - settingsAdAutomationGroupsBody: - type: object - properties: - monitoredGroupId: - type: string - protectedGroupId: - type: string settingsAdForest: type: object properties: - forestId: - type: string activeDirectoryInfo: $ref: '#/components/schemas/settingsAdInfo' + allowNtlmFallback: + type: boolean automationGroups: $ref: '#/components/schemas/settingsProtectionAutomationResponse' + forestId: + type: string + linuxAutomationGroups: + $ref: '#/components/schemas/settingsLinuxAutomationResponse' secondaryDomains: type: array items: $ref: '#/components/schemas/settingsAdSecondaryBody' + usePrimaryLinuxUserForAllDomains: + type: boolean usePrimaryUserForAllDomains: type: boolean settingsAdInfo: type: object properties: - userFqdn: - description: Service Account for Zero Networks + allowInstallLinuxPackages: + type: boolean + domainControllerFqdn: + description: Domain Controller from AD Domain type: string - example: znremotemanagement + example: dc.zeronetworks.com domainName: description: FQDN of the AD domain type: string example: zeronetworks.com - domainControllerFqdn: - description: Domain Controller from AD Domain - type: string - example: dc.zeronetworks.com useLdaps: description: Use LDAP or LDAPs type: boolean + userFqdn: + description: Service Account for Zero Networks + type: string + example: znremotemanagement settingsAdInfoBody: type: object properties: @@ -30275,9 +37439,12 @@ components: - userFqdn usePrimaryUserForAllDomains: type: boolean + allowNtlmFallback: + type: boolean required: - primaryDomainConfig - usePrimaryUserForAllDomains + - allowNtlmFallback settingsAdInfoResponse: type: object properties: @@ -30285,17 +37452,64 @@ components: type: array items: $ref: '#/components/schemas/settingsAdForest' + settingsAdLinuxAutomationGroupsBody: + type: object + properties: + monitoredGroupId: + type: string + required: + - monitoredGroupId + settingsAdLinuxBody: + type: object + properties: + adLinuxConfig: + type: object + properties: + allowInstallPackages: + type: boolean + password: + type: string + privateKey: + type: string + username: + type: string + required: + - allowInstallPackages + - password + - privateKey + - username + useForAllDomains: + type: boolean + required: + - adLinuxConfig + settingsAdSecondaryBody: + type: object + properties: + secondaryDomainConfig: + type: object + properties: + domainControllerFqdn: + type: string + example: dc.child.zeronetworks.com + domainName: + type: string + example: child.zeronetworks.com + required: + - secondaryDomainConfig settingsAdSyncInfoResponse: type: object additionalProperties: $ref: '#/components/schemas/settingsAdSyncInfoResponseForestItem' - settingsAdSyncInfoResponseForestItem: + settingsAdSyncInfoResponseDcItem: type: object properties: - domainToSyncInfo: - type: object - additionalProperties: - $ref: '#/components/schemas/settingsAdSyncInfoResponseDomainItem' + dcFqdn: + type: string + lastUpdateTime: + $ref: '#/components/schemas/epochMillis' + lastUsn: + type: integer + format: int32 settingsAdSyncInfoResponseDomainItem: type: object properties: @@ -30310,30 +37524,20 @@ components: type: string additionalProperties: $ref: '#/components/schemas/settingsAdSyncInfoResponseDcItem' - settingsAdSyncInfoResponseDcItem: + settingsAdSyncInfoResponseForestItem: type: object properties: - dcFqdn: - type: string - lastUpdatetime: - $ref: '#/components/schemas/epochMillis' - lastUsn: - type: integer - format: int32 - settingsAdSecondaryBody: + domainToSyncInfo: + type: object + additionalProperties: + $ref: '#/components/schemas/settingsAdSyncInfoResponseDomainItem' + settingsAdWindowsAutomationGroupsBody: type: object properties: - secondaryDomainConfig: - type: object - properties: - domainControllerFqdn: - type: string - example: dc.child.zeronetworks.com - domainName: - type: string - example: child.zeronetworks.com - required: - - secondaryDomainConfig + monitoredGroupId: + type: string + protectedGroupId: + type: string settingsAiRuleReview: type: object properties: @@ -30409,6 +37613,23 @@ components: type: array items: $ref: '#/components/schemas/groupIdOrUserId' + settingsAuth: + type: object + properties: + item: + type: object + properties: + portalTokenTtl: + description: Portal session token timeout (in minutes) + type: number + title: settingsAuth + settingsAuthBody: + type: object + properties: + portalTokenTtl: + description: Portal session token timeout (in minutes) + type: number + title: settingsAuthBody settingsAzureAd: type: object properties: @@ -30431,18 +37652,6 @@ components: tenantId: type: string format: uuid - settingsConnectClientAutoUpdate: - type: object - properties: - clientAutoUpdate: - type: boolean - settingsConnectClientAutoUpdateBody: - type: object - properties: - clientAutoUpdate: - type: boolean - required: - - clientAutoUpdate settingsBreakGlass: type: object properties: @@ -30502,15 +37711,15 @@ components: config: type: object properties: - privateNetworksList: - $ref: '#/components/schemas/privateNetworksList' + privateIpv4NetworksList: + $ref: '#/components/schemas/privateIpv4NetworksList' settingsClientSubnetsBody: type: object properties: - privateNetworksList: - $ref: '#/components/schemas/privateNetworksList' + privateIpv4NetworksList: + $ref: '#/components/schemas/privateIpv4NetworksList' required: - - privateNetworksList + - privateIpv4NetworksList settingsClusterStrategy: type: object properties: @@ -30528,181 +37737,18 @@ components: required: - preferredDeploymentId - strategy - settingsIdp: + settingsConnectClientAutoUpdate: type: object properties: - certificate: - description: Identity Provider certificate - type: string - createdAt: - $ref: '#/components/schemas/iso8601DateTimeUTC' - createdBy: - type: string - format: uuid - identityProviderType: - type: string - enum: - - azure - - custom - - cyberark - - duo - - okta - isDefault: - description: Set as the default authentication method + clientAutoUpdate: type: boolean - sloUrl: - description: Single Log out url - type: string - ssoUrl: - description: Single sign on url - type: string - updatedAt: - $ref: '#/components/schemas/iso8601DateTimeUTC' - updatedBy: - type: string - format: uuid - settingsIdpBody: + settingsConnectClientAutoUpdateBody: type: object properties: - certificate: - description: Identity Provider certificate - type: string - identityProvider: - type: string - enum: - - azure - - custom - - cyberark - - duo - - okta - isDefault: - description: Set as the default authentication method + clientAutoUpdate: type: boolean - sloUrl: - description: Single Log out url - type: string - ssoUrl: - description: Single sign on url - type: string - required: - - certificate - - identityProvider - - isDefault - - sloUrl - - ssoUrl - settingsIdpList: - type: object - properties: - items: - type: array - items: - $ref: '#/components/schemas/settingsIdp' - settingsIdpDefaultApplication: - type: object - properties: - application: - description: '1-Admin Portal, 2-Access Portal' - type: integer - enum: - - 1 - - 2 - settingsIdpDefaultApplicationBody: - type: object - properties: - application: - description: '1-Admin Portal, 2-Access Portal' - type: integer - enum: - - 1 - - 2 required: - - application - inactiveAssetsConfig: - type: object - required: - - lastActiveDurationInMonths - properties: - lastActiveDurationInMonths: - type: integer - format: int32 - enum: - - 0 - - 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 - inactiveAssetsConfigBody: - type: object - properties: - lastActiveDurationInMonths: - type: integer - format: int32 - enum: - - 0 - - 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 + - clientAutoUpdate settingsFirewall: type: object properties: @@ -30835,21 +37881,115 @@ components: - inboundAllow - inboundBlock - outboundBlock + settingsIdp: + type: object + properties: + certificate: + description: Identity Provider certificate + type: string + createdAt: + $ref: '#/components/schemas/iso8601DateTimeUTC' + createdBy: + type: string + format: uuid + identityProviderType: + type: string + enum: + - azure + - custom + - cyberark + - duo + - okta + isDefault: + description: Set as the default authentication method + type: boolean + sloUrl: + description: Single Log out url + type: string + ssoUrl: + description: Single sign on url + type: string + updatedAt: + $ref: '#/components/schemas/iso8601DateTimeUTC' + updatedBy: + type: string + format: uuid + settingsIdpBody: + type: object + properties: + certificate: + description: Identity Provider certificate + type: string + identityProvider: + type: string + enum: + - azure + - custom + - cyberark + - duo + - okta + isDefault: + description: Set as the default authentication method + type: boolean + sloUrl: + description: Single Log out url + type: string + ssoUrl: + description: Single sign on url + type: string + required: + - certificate + - identityProvider + - isDefault + - sloUrl + - ssoUrl + settingsIdpDefaultApplication: + type: object + properties: + application: + description: '1-Admin Portal, 2-Access Portal' + type: integer + enum: + - 1 + - 2 + settingsIdpDefaultApplicationBody: + type: object + properties: + application: + description: '1-Admin Portal, 2-Access Portal' + type: integer + enum: + - 1 + - 2 + required: + - application + settingsIdpList: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/settingsIdp' settingsInternalSubnets: type: object properties: config: type: object properties: - privateNetworksList: - $ref: '#/components/schemas/privateNetworksList' + privateIpv4NetworksList: + $ref: '#/components/schemas/privateIpv4NetworksList' + privateIpv6NetworksList: + $ref: '#/components/schemas/privateIpv6NetworksList' settingsInternalSubnetsBody: type: object properties: - privateNetworksList: - $ref: '#/components/schemas/privateNetworksList' + privateIpv4NetworksList: + $ref: '#/components/schemas/privateIpv4NetworksList' + privateIpv6NetworksList: + $ref: '#/components/schemas/privateIpv4NetworksList' required: - - privateNetworksList + - privateIpv4NetworksList + - privateIpv6NetworksList settingsJamfCredentials: type: object properties: @@ -30894,6 +38034,11 @@ components: type: boolean allowQuickLearning: type: boolean + settingsLinuxAutomationResponse: + type: object + properties: + monitoredGroup: + $ref: '#/components/schemas/groupCandidate' settingsLinuxSetup: type: object properties: @@ -30928,64 +38073,30 @@ components: - password - privateKey - username - settingsNotification: - type: object - properties: - assetProtected: - description: Notify asset added to protection - type: boolean - assetQueued: - description: Notify asset added to learning - type: boolean - assetUnprotected: - description: Notify asset removed from protection - type: boolean - assetPostponed: - description: Notify asset protection postponed - type: boolean - settingsNotificationBody: - type: object - properties: - assetProtected: - description: Notify asset added to protection - type: boolean - assetQueued: - description: Notify asset added to learning - type: boolean - assetUnprotected: - description: Notify asset removed from protection - type: boolean - assetPostponed: - type: boolean - required: - - assetProtected - - assetQueued - - assetUnprotected - - assetPostponed settingsMfaAuthentication: type: object properties: isRequiresAuth: - description: Authentication Reqiured + description: Authentication Required type: boolean isSsoForceAuth: description: Force sso authentication type: boolean tokenTtl: - description: Token time to tive in minutes + description: Token time to live in minutes type: integer example: 1440 settingsMfaAuthenticationBody: type: object properties: isRequiresAuth: - description: Authentication Reqiured + description: Authentication Required type: boolean isSsoForceAuth: description: Force sso authentication type: boolean tokenTtl: - description: Token time to tive in minutes + description: Token time to live in minutes type: integer example: 1440 required: @@ -30997,6 +38108,53 @@ components: properties: item: $ref: '#/components/schemas/settingsMfaAuthentication' + settingsMfaCache: + type: object + properties: + assetLimit: + type: integer + entityId: + type: string + entityInfo: + anyOf: + - $ref: '#/components/schemas/user' + - $ref: '#/components/schemas/group' + ttlMinutes: + type: integer + settingsMfaCacheBody: + type: object + properties: + assetLimit: + type: integer + entityId: + type: string + ttlMinutes: + type: integer + required: + - assetLimit + - entityId + - ttlMinutes + settingsMfaCacheItem: + type: object + properties: + item: + type: object + properties: + assetLimit: + type: integer + entityId: + type: string + ttlMinutes: + type: integer + settingsMfaCacheList: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/settingsMfaCache' + count: + type: integer settingsMfaDetection: type: object properties: @@ -31018,6 +38176,40 @@ components: properties: item: $ref: '#/components/schemas/settingsMfaDetection' + settingsNotification: + type: object + properties: + assetProtected: + description: Notify asset added to protection + type: boolean + assetQueued: + description: Notify asset added to learning + type: boolean + assetUnprotected: + description: Notify asset removed from protection + type: boolean + assetPostponed: + description: Notify asset protection postponed + type: boolean + settingsNotificationBody: + type: object + properties: + assetProtected: + description: Notify asset added to protection + type: boolean + assetQueued: + description: Notify asset added to learning + type: boolean + assetUnprotected: + description: Notify asset removed from protection + type: boolean + assetPostponed: + type: boolean + required: + - assetProtected + - assetQueued + - assetUnprotected + - assetPostponed settingsPrivilegedPorts: type: object properties: @@ -31045,7 +38237,7 @@ components: $ref: '#/components/schemas/groupCandidate' protectedGroup: $ref: '#/components/schemas/groupCandidate' - settingsPushNotificaitions: + settingsPushNotifications: type: object properties: host: @@ -31054,7 +38246,7 @@ components: type: string identityProvider: type: string - settingsPushNotificaitionsBody: + settingsPushNotificationsBody: type: object properties: host: @@ -31070,25 +38262,18 @@ components: - id - identityProvider - secretKey - settingsPushNotificaitionsList: + settingsPushNotificationsList: type: object properties: items: type: array items: - $ref: '#/components/schemas/settingsPushNotificaitions' + $ref: '#/components/schemas/settingsPushNotifications' settingsTrustedInternet: type: object properties: ports: $ref: '#/components/schemas/portsList' - settingsTrustedInternetBody: - type: object - properties: - ports: - $ref: '#/components/schemas/portsList' - required: - - ports settingsTrustedInternetAddresses: type: object properties: @@ -31104,6 +38289,13 @@ components: $ref: '#/components/schemas/externalIpsList' required: - externalIpsList + settingsTrustedInternetBody: + type: object + properties: + ports: + $ref: '#/components/schemas/portsList' + required: + - ports settingsUntrustedInternet: type: object properties: @@ -31133,10 +38325,10 @@ components: pattern: '^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$' portsToMfaTcp: type: string - pattern: '^((\\d{1,5}-\\d{1,5})|\\d{1,5})(,(\\d{1,5}-\\d{1,5})|,\\d{1,5})*$' + pattern: '^((\d{1,5}-\d{1,5})|\d{1,5})(,(\d{1,5}-\d{1,5})|,\d{1,5})*$' portsToMfaUdp: type: string - pattern: '^((\\d{1,5}-\\d{1,5})|\\d{1,5})(,(\\d{1,5}-\\d{1,5})|,\\d{1,5})*$' + pattern: '^((\d{1,5}-\d{1,5})|\d{1,5})(,(\d{1,5}-\d{1,5})|,\d{1,5})*$' settingsZpaBody: type: object required: @@ -31157,19 +38349,10 @@ components: pattern: '^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$' portsToMfaTcp: type: string - pattern: '^((\\d{1,5}-\\d{1,5})|\\d{1,5})(,(\\d{1,5}-\\d{1,5})|,\\d{1,5})*$' + pattern: '^((\d{1,5}-\d{1,5})|\d{1,5})(,(\d{1,5}-\d{1,5})|,\d{1,5})*$' portsToMfaUdp: type: string - pattern: '^((\\d{1,5}-\\d{1,5})|\\d{1,5})(,(\\d{1,5}-\\d{1,5})|,\\d{1,5})*$' - setUserTypeBody: - type: object - required: - - userType - properties: - userType: - type: integer - comment: - type: string + pattern: '^((\d{1,5}-\d{1,5})|\d{1,5})(,(\d{1,5}-\d{1,5})|,\d{1,5})*$' setUsersTypeBody: type: object required: @@ -31185,23 +38368,14 @@ components: type: integer comment: type: string - srcUserCandidate: - type: object - properties: - domain: - type: string - id: - type: string - name: - type: string - srcUserCandidatesList: + setUserTypeBody: type: object + required: + - userType properties: - items: - type: array - items: - $ref: '#/components/schemas/srcUserCandidate' - scrollCursor: + userType: + type: integer + comment: type: string simulationParams: type: object @@ -31234,8 +38408,11 @@ components: source: description: | Possible asset sources: - * '2' - Access portal + * '1' - Access portal + * '2' - SSP * '3' - Active directory + * '4' - Custom + * '5' - System * '6' - Ansible * '7' - Manual OT/IoT * '8' - Workgroup @@ -31273,6 +38450,33 @@ components: - 20 - 21 - 22 + srcUserCandidate: + type: object + properties: + domain: + type: string + id: + type: string + name: + type: string + srcUserCandidatesList: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/srcUserCandidate' + scrollCursor: + type: string + srcUsersList: + type: array + items: + type: object + properties: + id: + type: string + sid: + type: string state: type: object properties: @@ -31292,6 +38496,70 @@ components: $ref: '#/components/schemas/epochMillis' protectionState: $ref: '#/components/schemas/protectionState' + protectAt: + $ref: '#/components/schemas/epochMillis' + identityProtectAt: + $ref: '#/components/schemas/epochMillis' + rpcProtectionState: + $ref: '#/components/schemas/protectionState' + rpcProtectAt: + $ref: '#/components/schemas/epochMillis' + rpcProtectedAt: + $ref: '#/components/schemas/epochMillis' + switch: + type: object + properties: + items: + type: object + properties: + type: + type: string + enum: + - CISCO_IOS_XE + name: + type: string + ip: + type: string + username: + type: string + password: + type: string + switchArray: + type: object + properties: + items: + type: object + properties: + items: + type: array + items: + $ref: '#/components/schemas/switch' + switchProtocolsList: + type: array + items: + type: object + properties: + localPorts: + type: string + remotePorts: + type: string + protocolType: + $ref: '#/components/schemas/protocol' + tagGroupBody: + type: object + properties: + membersId: + description: members id + type: array + items: + type: string + pattern: '^a:[ault]:[a-zA-Z0-9]{8}$' + example: + - 'a:a:8ErCHXe8' + comment: + type: string + required: + - membersId tags: type: object properties: @@ -31299,6 +38567,17 @@ components: type: array items: $ref: '#/components/schemas/group' + trafficType: + description: | + * '1' - Internal + * '2' - External + * '3' - Both + type: integer + format: int32 + enum: + - 1 + - 2 + - 3 user: type: object properties: @@ -31320,7 +38599,7 @@ components: type: string jobTitle: type: string - lastLogon: + lastLogonReplicated: $ref: '#/components/schemas/epochMillis' lastName: type: string @@ -31333,7 +38612,7 @@ components: principalName: type: string protectionState: - $ref: '#/components/schemas/protectionState' + $ref: '#/components/schemas/userProtectionState' role: type: integer sid: @@ -31344,32 +38623,43 @@ components: type: string userType: type: integer - usersProtectBody: + protectAt: + $ref: '#/components/schemas/epochMillis' + protectedAt: + $ref: '#/components/schemas/epochMillis' + addedAt: + $ref: '#/components/schemas/epochMillis' + addedBy: + $ref: '#/components/schemas/epochMillis' + userIdResponse: type: object properties: - userIds: - type: array - items: - type: string - required: - - userIds - usersQueueBody: + userId: + type: string + x-examples: + example-1: + userId: 'u:a:tOUovcIQ' + userProtectionState: + description: | + * '1' - Unsegmented + * '3' - Segmented + * '5' - Learning until + * '6' - Learning done + type: integer + format: int32 + enum: + - 1 + - 3 + - 5 + - 6 + userResponse: type: object properties: - userIds: - type: array - items: - type: string - queueDays: - type: integer - enum: - - 14 - - 30 - required: - - userIds - - queueDays + entity: + $ref: '#/components/schemas/user' userRole: description: | + * '0' - Unspecified * '1' - Admin * '2' - Viewer * '3' - Regular @@ -31379,11 +38669,12 @@ components: * '7' - CloudConnectorProvisioning * '8' - JAMF Asset * '9' - Asset Manager - * '10' - Operaror + * '10' - Operator * '11' - Service Now Token type: integer format: int32 enum: + - 0 - 1 - 2 - 3 @@ -31391,6 +38682,10 @@ components: - 5 - 6 - 7 + - 8 + - 9 + - 10 + - 11 userSimple: type: object properties: @@ -31402,39 +38697,30 @@ components: type: string name: type: string - userIdResponse: - type: object - properties: - userId: - type: string - x-examples: - example-1: - userId: 'u:a:tOUovcIQ' - userResponse: - type: object - properties: - entity: - $ref: '#/components/schemas/user' - searchUsersResponse: + usersProtectBody: type: object properties: - items: + userIds: type: array items: - $ref: '#/components/schemas/user' - count: - type: integer - nextCursor: - type: string - userSummary: + type: string + required: + - userIds + usersQueueBody: type: object properties: - count: + userIds: + type: array + items: + type: string + queueDays: type: integer - id: - type: string - name: - type: string + enum: + - 14 + - 30 + required: + - userIds + - queueDays userStatistics: type: object properties: @@ -31453,76 +38739,32 @@ components: totalCount: 87 adminsCount: 14 viewersCount: 6 - validateResponse: + userSummary: type: object properties: - affectedAssetsCount: + count: type: integer - clusterInfo: + id: + type: string + name: + type: string + validateResponse: type: object properties: - clusterInfo: - type: object - properties: - clusterName: - type: string - clusterMembersList: - type: array - items: - type: string - responses: - '204': - description: No Content - '400': - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/error' - '401': - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/error' - '403': - description: Forbidden - content: - application/json: - schema: - $ref: '#/components/schemas/error' - '404': - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/error' - '409': - description: Already exists - content: - application/json: - schema: - $ref: '#/components/schemas/error' - '500': - description: Server Error - content: - application/json: - schema: - $ref: '#/components/schemas/error' - 200_empty: - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/emptyResponse' + affectedAssetsCount: + type: integer securitySchemes: api_key: type: apiKey name: Authorization in: header +security: + - api_key: [] tags: - name: Activities description: API calls related to Activities. + - name: AE Exclusions + description: API calls related to AE Exclusions. - name: Asset description: API calls related to a specific Asset. - name: Asset OT/IoT @@ -31532,11 +38774,13 @@ tags: - name: Assets OT/IoT description: API calls related to OT/IoT Assets. - name: Audit - description: API calls releated to Audits. + description: API calls related to Audits. - name: Auth - description: API calls releated to Authentication. + description: API calls related to Authentication. - name: Entity description: API calls related to Entities. + - name: External Access Policy + description: API calls related to a External Access Policy. - name: Group description: API calls related to a specific Group. - name: Groups @@ -31549,10 +38793,14 @@ tags: description: API calls related to Tag Groups. - name: MFA description: API calls related to MFA policies. + - name: MFA Identity + description: API Calls related to MFA Identity settings. - name: MFA Inbound description: API calls related to Inbound MFA policies. - name: MFA Outbound description: API calls related to Outbound MFA policies. + - name: Onboarding Policies + description: API calls related to Onboarding policies. - name: Profile description: API calls related to profile. - name: Rules @@ -31566,7 +38814,7 @@ tags: - name: Rules RPC description: API calls related to RPC Rules - name: Sessions - description: API calls releated to Sessions. + description: API calls related to Sessions. - name: Settings description: API calls related to Settings. - name: Settings Access Tokens @@ -31580,15 +38828,17 @@ tags: - name: Settings AI Rules Review description: API calls related to AI Rule Review settings. - name: Settings Asset Management - description: API calls related to Asset Managment settings. + description: API calls related to Asset Management settings. - name: Settings Asset Managers description: API calls related to Asset Managers settings. - name: Settings Break Glass description: API calls related to Break Glass settings. - name: Settings Cloud Connector - description: API calls releated to Cloud Connector settings. + description: API calls related to Cloud Connector settings. - name: Settings Connect description: API calls related to Connect settings. + - name: Settings Custom Users + description: API calls related to Custom Users settings. - name: Settings Firewall description: API calls related to Firewall settings. - name: Settings Identity Providers @@ -31603,21 +38853,23 @@ tags: description: API calls related to Licenses settings. - name: Settings Mail Notifications description: API calls related to Mail Notifications settings. + - name: Settings Maintenance Window + description: API calls related to Maintenance Window settings. - name: Settings MFA description: API Calls related to MFA settings. - - name: MFA Identity - description: API Calls related to MFA Identity settings. + - name: Settings MFA Cache + description: API Calls related to MFA Cache settings. - name: Settings Portal Security description: API calls related to Portal Security settings. - name: Settings Privileged Ports - description: API calls related to Privleged Ports settings. + description: API calls related to Privileged Ports settings. - name: Settings Protection Policies description: API calls related to Protection Automation settings. - name: Settings Push Notifications description: API calls related to Push Notifications settings. - name: Settings Roles description: API calls related to Roles settings. - - name: Settings Segement Servers + - name: Settings Segment Servers description: API Calls related to Segment Server Settings. - name: Settings ServiceNow description: API calls related to ServiceNow settings. @@ -31625,9 +38877,9 @@ tags: description: API calls related to Trust Internet Settings - name: Settings ZPA description: API calls related to ZPA Settings. + - name: Switch + description: API calls related to switches - name: User - description: API calls releated to a specific User. + description: API calls related to a specific User. - name: Users - description: API calls releated to Users. -security: - - api_key: [] + description: API calls related to Users. diff --git a/src/readme.noprofile.md b/src/readme.noprofile.md index b763ca7..0b6d58e 100644 --- a/src/readme.noprofile.md +++ b/src/readme.noprofile.md @@ -4,7 +4,7 @@ ``` yaml azure: false powershell: true -help-link-prefix: https://github.com/zeronetworks +help-link-prefix: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/ license-header: 'Work: Zero Networks PowerShell Module License: Zero Networks PowerShell Module TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION diff --git a/tools/Build-ModuleWithAutorest.ps1 b/tools/Build-ModuleWithAutorest.ps1 index 351f776..df88df5 100644 --- a/tools/Build-ModuleWithAutorest.ps1 +++ b/tools/Build-ModuleWithAutorest.ps1 @@ -1,6 +1,7 @@ Set-Location ..\src\ZN try { + Write-Host "Starting Autorest" -ForegroundColor Green autorest } catch { @@ -8,7 +9,9 @@ catch { exit } +Write-Host "Starting to add packages" -ForegroundColor Green try{ + dotnet add ZeroNetworks.csproj package Newtonsoft.Json } catch{ @@ -24,10 +27,30 @@ catch{ exit } +Write-Host "calling build-module.ps1" -ForegroundColor Green try{ .\build-module.ps1 } catch{ - Write-Host "Failed to build modules" -ForegroundColor Red + Write-Host "Failed to build module" -ForegroundColor Red + exit +} + +Write-Host "calling pack-module.ps1" -ForegroundColor Green +try{ + gci *DS_Store* -Recurse -Hidden | % { Remove-item $_.FullName -Force} + .\pack-module.ps1 +} +catch{ + Write-Host "Failed to pack module" -ForegroundColor Red + exit +} + +Write-Host "Copying /docs to help/zeronetworks" -ForegroundColor Green +try { + gci ./docs/*.md | % { cp $_.FullName ../../help/zeronetworks } +} +catch { + Write-Host "Failed to copy markdown files" -ForegroundColor Red exit } \ No newline at end of file From 148b73b4e748ed9e2cbfd578e0121da0f23656c0 Mon Sep 17 00:00:00 2001 From: SecurityJedi Date: Wed, 31 Jul 2024 20:15:39 -0400 Subject: [PATCH 2/4] v0.0.13-preview --- .hypothesis/tmp/tmp8r11lkq4 | Bin 0 -> 21505 bytes .../unicode_data/14.0.0/charmap.json.gz | Bin 0 -> 21505 bytes help/zeronetworks/Get-ZNOtRule.md | 58 +- help/zeronetworks/Invoke-ZNResyncAzureAd.md | 22 + help/zeronetworks/New-ZNSettingsMfaCache.md | 55 +- src/ZN/custom/Set-ZNAPIKey.ps1 | 9 +- ...ingsIdentityProtectionPoliciesCandidate.md | 108 ++ .../Get-ZNSettingsIdentityProtectionPolicy.md | 99 ++ ...tingsNetworkProtectionPoliciesCandidate.md | 108 ++ .../Get-ZNSettingsNetworkProtectionPolicy.md | 99 ++ .../New-ZNSettingsIdentityProtectionPolicy.md | 193 +++ .../New-ZNSettingsNetworkProtectionPolicy.md | 193 +++ ...move-ZNSettingsIdentityProtectionPolicy.md | 107 ++ src/ZN/docs/Update-ZNAssetInboundRule.md | 17 +- src/ZN/docs/Update-ZNAssetOutboundRule.md | 17 +- src/ZN/docs/Update-ZNGroupsInboundRule.md | 22 +- src/ZN/docs/Update-ZNInboundRule.md | 17 +- src/ZN/docs/Update-ZNOutboundRule.md | 17 +- ...date-ZNSettingsIdentityProtectionPolicy.md | 211 +++ ...pdate-ZNSettingsNetworkProtectionPolicy.md | 211 +++ src/ZN/examples/Get-ZNAssetsRpcSegmented.md | 1 - ...ingsIdentityProtectionPoliciesCandidate.md | 21 + .../Get-ZNSettingsIdentityProtectionPolicy.md | 28 + ...tingsNetworkProtectionPoliciesCandidate.md | 21 + .../Get-ZNSettingsNetworkProtectionPolicy.md | 28 + .../New-ZNSettingsIdentityProtectionPolicy.md | 29 + .../New-ZNSettingsNetworkProtectionPolicy.md | 29 + ...move-ZNSettingsIdentityProtectionPolicy.md | 10 + ...emove-ZNSettingsNetworkProtectionPolicy.md | 10 + src/ZN/examples/Update-ZNOSType.md | 11 + ...date-ZNSettingsIdentityProtectionPolicy.md | 32 + ...pdate-ZNSettingsNetworkProtectionPolicy.md | 32 + .../test/Get-ZNAeExclusionsInbound.Tests.ps1 | 14 + ...ntityProtectionPoliciesCandidate.Tests.ps1 | 21 + ...tworkProtectionPoliciesCandidate.Tests.ps1 | 21 + ...NSettingsNetworkProtectionPolicy.Tests.ps1 | 21 + src/ZN/test/New-ZNSettingsAd.Tests.ps1 | 4 +- .../test/New-ZNSettingsAdSecondary.Tests.ps1 | 6 +- ...SettingsIdentityProtectionPolicy.Tests.ps1 | 24 + ...NSettingsNetworkProtectionPolicy.Tests.ps1 | 24 + src/ZN/test/Remove-ZNSettingsAd.Tests.ps1 | 4 +- .../Remove-ZNSettingsAdSecondary.Tests.ps1 | 8 +- ...SettingsIdentityProtectionPolicy.Tests.ps1 | 23 + ...NSettingsNetworkProtectionPolicy.Tests.ps1 | 23 + .../test/Update-ZNGroupsInboundRule.Tests.ps1 | 2 +- src/ZN/test/Update-ZNOSType.Tests.ps1 | 24 + src/ZN/test/Update-ZNSettingsAd.Tests.ps1 | 6 +- .../Update-ZNSettingsAdSecondary.Tests.ps1 | 8 +- ...SettingsIdentityProtectionPolicy.Tests.ps1 | 25 + ...NSettingsNetworkProtectionPolicy.Tests.ps1 | 25 + .../test/Update-ZNUsersManagedAsset.Tests.ps1 | 14 + src/cmdlets/0.0.12-preview-syntax.md | 1380 +++++++++++++++++ 52 files changed, 3446 insertions(+), 46 deletions(-) create mode 100644 .hypothesis/tmp/tmp8r11lkq4 create mode 100644 .hypothesis/unicode_data/14.0.0/charmap.json.gz create mode 100644 src/ZN/docs/Get-ZNSettingsIdentityProtectionPoliciesCandidate.md create mode 100644 src/ZN/docs/Get-ZNSettingsIdentityProtectionPolicy.md create mode 100644 src/ZN/docs/Get-ZNSettingsNetworkProtectionPoliciesCandidate.md create mode 100644 src/ZN/docs/Get-ZNSettingsNetworkProtectionPolicy.md create mode 100644 src/ZN/docs/New-ZNSettingsIdentityProtectionPolicy.md create mode 100644 src/ZN/docs/New-ZNSettingsNetworkProtectionPolicy.md create mode 100644 src/ZN/docs/Remove-ZNSettingsIdentityProtectionPolicy.md create mode 100644 src/ZN/docs/Update-ZNSettingsIdentityProtectionPolicy.md create mode 100644 src/ZN/docs/Update-ZNSettingsNetworkProtectionPolicy.md create mode 100644 src/ZN/examples/Get-ZNSettingsIdentityProtectionPoliciesCandidate.md create mode 100644 src/ZN/examples/Get-ZNSettingsIdentityProtectionPolicy.md create mode 100644 src/ZN/examples/Get-ZNSettingsNetworkProtectionPoliciesCandidate.md create mode 100644 src/ZN/examples/Get-ZNSettingsNetworkProtectionPolicy.md create mode 100644 src/ZN/examples/New-ZNSettingsIdentityProtectionPolicy.md create mode 100644 src/ZN/examples/New-ZNSettingsNetworkProtectionPolicy.md create mode 100644 src/ZN/examples/Remove-ZNSettingsIdentityProtectionPolicy.md create mode 100644 src/ZN/examples/Remove-ZNSettingsNetworkProtectionPolicy.md create mode 100644 src/ZN/examples/Update-ZNOSType.md create mode 100644 src/ZN/examples/Update-ZNSettingsIdentityProtectionPolicy.md create mode 100644 src/ZN/examples/Update-ZNSettingsNetworkProtectionPolicy.md create mode 100644 src/ZN/test/Get-ZNSettingsIdentityProtectionPoliciesCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNSettingsNetworkProtectionPoliciesCandidate.Tests.ps1 create mode 100644 src/ZN/test/Get-ZNSettingsNetworkProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/New-ZNSettingsIdentityProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/New-ZNSettingsNetworkProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNSettingsIdentityProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/Remove-ZNSettingsNetworkProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNOSType.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNSettingsIdentityProtectionPolicy.Tests.ps1 create mode 100644 src/ZN/test/Update-ZNSettingsNetworkProtectionPolicy.Tests.ps1 create mode 100644 src/cmdlets/0.0.12-preview-syntax.md diff --git a/.hypothesis/tmp/tmp8r11lkq4 b/.hypothesis/tmp/tmp8r11lkq4 new file mode 100644 index 0000000000000000000000000000000000000000..dffbeaab2b1cee38dbba6bac324f6a7b67faffe7 GIT binary patch literal 21505 zcmb4}bx<8&u;-Cr3GVJ1BoN##?(Xgo+#xs@hv4q+1b63R!GlYH;O;J$i!8t2d#`ri zZq?TAKi}%pHPh3lXU^12e-2p`A|f;t6co&xo4pf{3mcoAtuqIdg28CbV2ATd3PSCM zC~;-mJr@#;r{w@69ej`{;^yw#03U2EccJW>LIq7^)z*B4(DN2I=w;5)|78yi_~`#) z(Im9qy|}Yvw895`Hj@E?&+@LEqnzW0dbt<>+@*|O)C$V2V5wF;f!9RGYKuFWD_ZA( zFMAF%au?1(t<}Wudf<~U&CCoC4<(OQ5$lP>Fu*v|k(+E8fQanrZ{=|Nn!1>m`$*KA zectKW*n%`EwAZG5g4elGlmOYA0@3oxhQ>H>UQw?yHoL_c?%;L#g4E=M%01kn^TNxW z>@5tE-u5`Su%+)+2RxP}dEL0lSvk0JCYxB>{9Cj^wv;+sR+8oY4)q_uOQ8P1WKyEJsOlI#>VPoSv&)6%nmGw|B3d=u1m;ok))crLdnsBaT)a~E;6yHQ~lvOnJNcd#8kW&4daUg5ZQc^gGQA@;)Uk#F z>0tGk-N~ZDarua!*OFKjg6f34zix* zpU3@0Ztlta8NweMSKTK+7{}wf%_}$7m}vx7cYWMek7?YeFdvxQry9O>tf;QI8=Y&u zr$N9vXK~m#$gOrDm%Vj}jDK@b1tmC8~@igQyo&6Ra*tnE=pYV6zk-3EV6$%*dyt;+0iA|~e4x-Iom zs%pMc&IRgGVxra}mL<>e9+UJl@F7s&+DVe2Xg_{M_NOCijg#5tSXhnSCJV}1iSseC z$0zGWCJj9qcjiW!^%W2#&)38Y4zZN67Bmw3;rIsSdd1?(JVOgGpt9d1Oh6#Lj>*s) z<{T4~Z=ls;^&$t7*Hw2Lf1OP0r3xQSJ*!%y7to4qCXKVWgZ}tpv%W<^+90=YE3`q@ z#ehSgqYLu6;mIEjoJal%WDhxe@A>W?J=wwXE>19xLLWsQqsCidwV zRJOPZak))=ujPVT1#`))kBwZ#eq(0|N-%$dE_Wkb@$|(p?|ka};)i(QFlu`?!CjdB zsoQ?+WYd&slBwx%m)&mso$wf~#7R&2cFsSuB${{>7AS2pHa~LRW8A8a zJ7T4txL1W8oD|{ea3ouH16nhV9Tj|m&Kh0(2pdLH8wW3kJ!FC~dA6K(T1d5T8+ZGY z>#|-|wA4%6y!LXFK83opW28mISf4VNus@G35Z5}9e6^2S*@9{7hJk4Vq*1L{F;H9LT zhjU{vi6KyG@v-84VW-dk)Jb#(mJV%bY}wRzq6mTbIeQ$~J9i0{7MybP^ij)}1_;S% z9!jS8OJA)W=NAmG{Hzz7$E@pZQ-fW!0m!BwYPD@|iJ5$d)b(69U^otu33_7ITg8aID{H3hLY^T-K2=HLaM5%SVNULDg_ zeQW`LJ$Qqv?sm>MU+t>#JP;z6QH_A6T>!!3W0OZ<1*Cl|w+)3eu9MxV+p-)u(P~A# z^HMqV6$pBP^xloWIeFyIYlxAcDI##B;+d~a@yBVr6@XohEI!E=G*x#7KkN_^&(e9l z^*_Y1tlOhGT4yG^znO_}#_qi?5hUO765IU~uro#|FX}oKxulD5OuP2vUN0<&B-2Q4 z3FT*3DuNJMhme!>+RzKldYr9*j?`;8wVYHLp-zlN7qHb!mt(OpO(a}r`ZC7Qo=w_1+ZuQ{D0`*L z9k#y(?hjp9K0?}r+VK&}N%W_#?`mVG?6asR)+?(I{bVNTz*Vt>zIoTU=esY8tAt*4 zhQ!sD9+s3WGZsn)cXz?^Q>th3W3Pakhmq7jmfNpnaTn~|7HhTqN?Q+d4+pwLhel7m zeiwZ51!rwC#xGqlPr)*V3Vbz%JY(PWX&5Sn+N2z@TB(pF)e-Q}7ypf=q8b&To`Mv|{{) z{^afNG+=?jGY2=p0=&8BiUW7+)*~*;ilbOd?3Rtb^qrv4lZ;9|#j)3y{ReQ*66zEl zz~~b4`j+$te0nn#1pQWd(-!(^ojLEz`%RBU>JN!| zOD%@-&#;$fF7ojc!lj1t8_sSr4}`ZjLS!+QOV>C5&F5B?x1#+etCkj`+j^T0^Ynd% zo4z#$KXSWT39A)QeSuqWGB@^bIF#1r4z6M4x`9Zh{FEa3_7L)-c8|thE zulPJmaa4`r(4DJJe*7f&o6b#V=kvZUS;-f0OW~3(G2u43+@;$q1}8>mn-67`AhnZa zf(DOs#i9xD)%m=q6qVPtYY)hyY)FkcJhIU2rF(_$Vx#@u+~6(w;p9D%2T_la2f@#~ zJuZEv3&r1YtqG3SlstZET80}M!SKX{t$PG3B=L72H#BXn&J=j;0Xodh;UfYo9@OsC ze!GWSQa!mo)lTca!|OR0$o^6{a%X+eYSjXw9_PVPV`iu4a5>7cLi2{Cq*v|mzK2!= zQo7d>ehN#G!wLF5xt06!q|Q_AsNO9@>ZEiXBeQ@U7r-)-yDv3r+~ezCko>JgtK}(j z$NJ>;9Wjs3&xJ-StvC~*)rSK`>bCHMm)ayLso2^ByWEr0yV&B`NB!`J%a#|CnOakb z^fCX@Ng%lYo@AM?Vb3{OD6cy1LynV?@5RV$!b9aehIfz++S{ko%I(rjaVK~ z2s`z|2`v4&0Igx_u$ z+V_QN)3T%6!2@mNV-ti#WJ-@w+j*$vXUQqOr0C)f9fyVJ>pqX@KnRjFr^wvazPR8mrITHJrd ztswkg-3Kk{{E@2ToSN)(EdQMFT|XTimw{YSa%{VDhZhrG{wbT0lYUibLZde7J6c^r7CoC*XSmAVlXv(SLGq7x727f<#RaVDdjeNe?oV=aR&OLl@{9t zN$SY;T}paV?71MmbN!2E`rXb?T*>kQ{BQKrKG(Acrk3+KD$?fRPUogl>?TCP;R78? z{6&W5`3>vJtB8vmjqM~Ufv-g+{(C@g9Fs7jrvY)r+!q_u3&b}cCLkc^IaVbx&IL?f(pWJruh@XsNtMk#-C$;O#59vHJ6^9dG*7?Eve7;i_cr*l$Nc&v1FfEIVC{ zcbB1;r%;|B@pM^vVhJCYI$51QSP&{8^%g6~2Z(<>K%6d8j%_CE=YiRlRyTRkwBile z3rS%tsrqz=plykmgeYCe8iA58w)GL35&I{4zUUS_G!gb!bXF0QH>ek^>)QL!0jg;w zPr=^1HY1Rr=mAD7T{H=l$6thE#R$HjvopRft1)uGOo%Q&R4IlEymqFO)tw#% z2+9I0vDz?#Ez}GaN&%4-YB+=l7Js6gEnp}Fv(j&C__$T{ctM+xSPnK`B(_Aw%-V?w zx{0}V4606Pq!H>?ZsZFTC)gJKg3r(dD7B=&wO=snK; z@vJ#xJZK88+A7PQ&w`OISQ_gF;AL&W8 zUVX@JIu-eW3U#8~@oqGN1!|+;Ya+9lu9;fi-xbM7lg;i}Bw~Z!n;oN5YnRm7>sUlt zr6libZjF^URODi)I4pV$lTs*o9Ea?Nk#46qcgdIGgf^jT(^XfF=IU$H{)~ccGl@h?ZtF*1^)O_OCqj5}f;G z8Oc+{bfhumc9l_+sTJxeHP&lNP2^9x{4&xU?~k<Akg$ZbY%I)eX{h)$9gEU0jGh z=U#m2&FXi6>0sF1|H)SO_-ZPW^nR@O)r-O1tL&TZ-78BEsB(RyIRv+S!({?0zcvMH zY-JnriAJ|vIbard7Z|iP(=aaYnX}9xO>Vb5WVuavWioL(%3j#}>eQon;r=qX zDcYU^!QOiHcT=YQ@N8s?`0CU>r8n=?*J1-JqIj-?QxLq*^x|d!2lb4meq#JW+04hg zPMJ3c<=!l|D%c`-t0tHV13j5T34mh2T&C%Qz3~unCL6-Hi2?#F)@IsdUD)zMhA+E{ zUYv=RNxApXb=))xeJCZaZuBIv3ltosBizXY=(qy;v>}TRy)b0DDzNd9%Cvp<2*vN6 z1>Hm#RcXF>e56%`Zu-e~49PXAZgNE0XnS%pisU#az1zY^KVQT=h9?wO2OeBPVb5^N z>cC#ROE6p)dUMGjdA6AgA_ia3$6gEiJnDEQ%rQEo03WeGRS~g<9o{0FI_6u z-EL&BcNrU_d;^f(oBQ;u;%c*y1e`z=2H`+FI4}Uh^UHuW+_< z41};{iPLiBX~JLnPY}rAF^=J&;+3Cq2oMX>rFzYh5U~@{Tx0>FtN-BK}XU5I>onTTa#vs6F zp#Ej>k3!7a;2(`D)_8xCu^!Zb0HEnCerHAfC*g!EyFh^nPo0(E#HT@g`Ix@{LpWfd zp|}5OcM%5vU`rchhc1>&212$bZbfCPcnqnlIPOE8F!j@=wg(Bzm2aAXm zOd30}_V#8mvw5)KP1Y&kxj z4qWV-09#It=L2!O<-J#LlO$i7G=!`dr|!C7UC`Pug6ktnN;Cn{_Z9M84;;)Q49^TNkgV_Eo{I)uHt_kZ!XzSo?$@Mqcg5F1Xw;1`q!?mzEF(u=}BO+2^%ZnVA!{S^Eltd?aZ!EM#))_S`9G7$gxH?ewu6TLHKt|?%zf!e zC`@0CJYJ2I0B^T9|4q`~GJIc;4)Xqg1T7dQ#^S#9?}jOG{Dt}cz;}MvH#s*h@kYfP zAUi45ucWkXKcl^#+-h-u0S@_qxQ2`<$eUMukhJTYn5&eyvkcA@M7y@Qd3>ghmS&fv z9=6SW@Ed{=G(;Odx$+bwt{vXFbLt|ETe>-Vm|WWP6eO(;-?{VbB8^?zx$@>Qj2k}L z`d^&GH9`=PF*B%tpiuzhadpRgD3xg^X>0!7z0TiSwBx}fAhcgMkYDk*x7UH zB92QNxN_<8C#f+SK3Up&a_{noj*F387fSG_cahI*TD6mM#tWFlL29lHU*LkoQ&S18Z`AHy?1XiTlZlNg3q z(jp!&QjOA+LNe0hZD)FUVth&Evw{%Ypk(J}Bq}S1^y9Bl1d;o%7(V1~7XAy}Q7q*& zhAvqI18B^qAnqVwE4v);arPMeNA8+rna7yu+JA$*0m;{Z5j8 zwwqr}^Z??AGfpjM!o#=c3$P9-9E)KUIl4Y8`Y0{UQTd!0j(4;^5}DmWjn168Ywg~| z!{2-28X;y`R_0lCzWC2G#{jMwfmKh^5V+}d!5}*fzBgem7iP@gm0~+K1*cy5Dbo=O z#_EO&D}q)w-cTM;fLS1z<^Of{8@m92x8Z$cE< zpgULUloYe5J1V}8Yqy>>&U}HOo4VV`)cfJur!PP}kWCEYZ*gtu^dCr|;4W0GFY#Z$ zCy+5ta3^wRz1qWulo5bY{TpdJtNNI1vxtLYwDqX$P5L<`taPRM`b!nb)zX|Q#7nNv z0*_{+!{G3Auv$%FR}&kliMswOz|0SzUXv^<3##KHX zR6kz!Cs6cod*h_LW^YnGyA__=>z0q$+n~G)z`B7Xw#4?_;cMyPAjcZ_{VLwH2kV02 zFTi7*y?1mjl=vhdb}cC?g=5C@xbZ_)#bq{>zdHqp@3G#7@wmC|mv{?f%F*-Cwerxh8QL6U7=C|e zvsW9fli}sITDMJ9-Yd-?zYog!xUqSoIsuPm5VU1*Y){kGJGOt2>@?c?e$Q{RWo(&3 zYEde%>dXB+o*H(z7MbBHJlhyL<7v;r=E~yY8F_{!pAos_7QI`OE-!^$%J^|Eq1tRb zB<#mod@R1G7IL6$xBC<7M-1Cbl4m2WH{4aabj6ZtHC~T%TLdwEtyi7EWeNhgXh$1l z$`z+pz4A>oft-FA*ks1_x+^&H-u`5NPTlaux2r9W-#o@JfuSpKE;fj~oRe|{S0STRx)6QWmzHDxlGi5!zqgmFt3QlGpGd?kmq2pQ@kCK|Q z68BOgn{dL%V-HyEL+{TNut&?tq36`0 z1THYKQg65rw(pg`H?ecMF5ki4U|dnwv^m74xrD%8{~*<{*+kryw2QgmS3j;&K-8Yl z$LzjSU2VrQzfe|*vh*Lc$V)4-$MGS&VJqprnMt%A%r59o@(|Z@^c5c{_fdVdPl)3* zC+5&Q^&#!rz4}$sTP9chU?|+}MY#h#o`FOm%f7XST@oFqZ%o!OpBm>ASvod7+vIRw zpdx-aEVp@7z{HjC7+n6XMY$R+q{nG+ycP6)*6!+=J@?#+_%JF(Ni|q&AQ63WZ`w zTrzd!EHL~7&URUV#{BO|sQKV_Ht84&H$8Gz{C$ePY@EnrI2oA<8JKRmLFq)O+$^** znQFVqDSLS{`_-$d--Gu#`~1bB%{doc8Rx{YOPdz-0mqhIHf7oS?9U^XZOn8ORdW%V z_uMgk0*8{A&iRIlnAIqn-dVa=9DwWDU{11CbsLpc8Y3K2{#HTk{^4Q0yN zQYUoH{^a%H4fJe~^h_~V>5IWjs=J%V?B?I|4Bo%+1427w3H1;qvfzDc29sFNtddQX zd@G(xdww(YfggTo0(rtrs&d4RO$uN8&hV6)GqKCHt^Ph)lSaqRqk6>b1mi&;N|+Hm zN54cEB|K|;^!n}FQVSJ*yWq_PDBW-$c9*ty`?FA@)AeTrT}B83Pp*`)}KA#uwgf_T64!O+fr1&=-$aNn=tG9BZK z7b3NmCMkqAEqjFh0c94KZ)er7b+6}$HxLtldP0#=Pot`30TkPFdXfxb6uQx?Sq|5-liU8pou*ezPeN_Z>0_*}Qi2PjY`^}mAHO5cT{%;uh zt5(mny$=$w<({bOx7(1pgWUl+&==lOORLv~Vw<#m#@{aq8%ob*qX#+G{sOzW8??+j zZ=^cO5`$7bf-wiMzSxALk3v$91(f?@!2L9V{O~pucTgp>2*&%~4EVRh<^3txKOLF& zVCBU-xQgGu@w^^=dzcB=67b zg?(-_bdmMtB=~cj z0?GFwtB>A+af|@K%?an|YuAsssb}vbU*G-C;2%aYUfKynh^|ha?oTCk zG0}mqnP8Lsh;qoD6SizLB(kOa1-BCTXR&9bhweOX+TCNPt~s;5plv*Oo)X8sXh8M) zhD!Q+;~N?H&U+y26cCQ?cAo5a!UCUO9z^jxsvNDT=X!5Ei~Llceb#(^lh=Tkkn0HC ztK7$XLq$~Z4aYkFhUG9MxFq2GaMqKE416+}rYY_ve?0Tj#vj~JNowa`bHzWhWL;}A zBN~sUG!@12nPVF?@R-%FCehA}j^x*lclZU{lHRmaX8OrZgC{vO$>Wq&-s#kmg|buO zmCrBsq2%$n`1h!j!MLvRa7h&C6VgQME^?oK~Bmklf2VXp&oMT)$&dGweQ5aXDOxyOy0Y6|`Yf zDLuov0EI_1Y#S6Hj*^DX8djW)KI9Z#WG_vzu`Qr!;JhvQD_JIewFf!31@gnOEqJPH zJWaX~(qhf-B+!OMN@@ZYxth@=Ju$#lQfEoXF`uDylL2=*l($>8=ceJ@t%!b^qNUSv zB8QD6!mmaj;tPxs6=N^kyrG@+>zwhu2-PB!kB1vlfwX#`4$GvdU5P>GWxqa>_I3@tY*ccQYvbRlz= zhQm{7R}K^sN7LXzZ-&+&M8E2-P^O>^{fJGeSk6jO81fO5QgXy^{@fKEolO|$TntAj z^cnq1EdmV#5PFNgp*D?*App0H9LdtE*;)x2)KE_gTl_t7GbTg-qHHBeGFPf>v=d__Qdjp9zh*42o|E>h zZ!XECi5PebKXnyP(Wu>OD?X(Yds4prY4b3N2u)F-<5D?af?8k!lwS_TH6GImrET)& zwD~diBTxLhr|@IgNA%1k{GBrrB0n@+=e}ZfS>RSOrYbS>VuJ_DuY9hGfS^r^!@5Z zq5wz5Sd{LDXS4dkAdfg72S8%RQwbXI0>)W;hp=Anr|;1MOWqibhoARj5QkQa}2vo}uu>m#CV> zU`JG)<3JS3o7SRaRm-!Lh#NcZ8TGW1ihPD&#`kq@=11rRqZ=Vv<6}0*a5isQIh)vT zB+ChI*A9Z>b5p126h8GaS*OJ51Ah}$Nd*#Yi|Ba@B}rj}-k2*znP`7Lp0PjW-X_$G zKT0Rqn_tq4H#NU}sN**ukElKq>6<4*;g)Hm!Ps~BY}>!7;IGizNwGm$$Mq*$*;Q-^ z37RVGEoZb-!`@GcjGge&_v`snb)+!=Z#s?|< z-y;oYdb+Ks?CfK9E|$8@iTHuvdkNn9sQW)$@OvtVn#>_#l{!TIcANRgk0o_l=v`H? zL{j)|P#4piErGQU94D^*VT#t3w!P8bM7O`i-wM(uO=h-^>Xj6|gxx_s&8fpO>PnL! zyHwzkxc?Jx<@-IUag!{T<4-oLL_^gW{!PVR(3y}fu;nGz%918w+dY#nb+A5B`aYA^ zp5{j-HF}#(lc=EM>=Y69EiFp7h=k+p3{mneEwh2wz6(FMuu^6|9g0Av0>x-pgt?k< zL!Z!^c9Tm)a&Or(_LEhFJeP{idg>_js&&PLsLL$6YZ!6ASi(*(D}#rO zn+fUCKbYctgoCF%p}^OL3d8+K1?Q@g9o=t--I)%p@^2gr%uCep$kh)}(w}jDjag7^ z8bf)Y2a){6?H>6-d`U4bL3C@iT0m0%M)_tz?p*c{2#_TS{ajFvH!m1jxB6Iwx2$Ns zD4h^u$nhPz?^9@{<2%{-t`fxeAqMeLK`fLN_E)$qBT~23Dg00kIW{!8(a0(x)b%@- z=~^Z1q&I(uUPvX2^Oons3AB&2_UXQ*xMH}=KSHO_~QR^#@&_8KUG2|jTQkv!;-$OL`EXK zvloGMp}762VDKDGCpz0l35B35Ht2KMO|!WMgo#RJdbYq_8R)I^Po2UmJEni3Wz+?l zahEhh04N~<%CkVNJN6RA@HmZmp*llV>LR4o!eg392ZYxpbOkh*4>;6HgZXL{OCe^o zdl@oqp=z(`;_`#W5g{iudp9Mbj8(R1?HA}@7`$I9E1UyT%>hzoHL8>sx zWYv1wlkiFvR^x4Cql|*X4uVW5G_W|84`#P}Lnaj75wKO;FFjMhOp}K-p$n{=6W05- z$W?+fkNSIZ>LtM!NXWyFl%2z(k9zI!4`OfyR_$}3H05yowgleSA)7u(-T1Bm@;Ii; zm~UmU{8l9MIA+VLZ)Mp1RuuC%=F6DxWYqjtH1jwX4;mLOYJ_|Y;309pSd!LWMy-IF zofF?z&yvC*O?v?A4yDy|av~|Sj2GsI;r`3H&@H;*gWJb!;=H*YbwZ4}b zxXlJ$`&lH`Gq`j&Sa}FEEeZ5oZh(wd@2zJp@zmUo*DML^8CtpD5XzhZ3$u`2Rr=V<~IMQyds}AQ|x3H2c+GKDlh&{hD9cn_qx~ zdFb(HB8172*jdN>)X3$4{qZ7@@)x=x!9g-4xUdFl5E%?LI?hZj$nW9jYVGUtPXVaN(;$4cWn4CqaJjZ zp&j1)edBHO1??ZSP`VQGKa z50%70dTZ0<;!on=`^;162+PJAg{GuN!SoMQixlrqZs%9=uAK!;z_CPYe{&m+9|_Dpp5@XJ}dRYm_V_@8|wuKpkWNej9ZW2M~1QufUOqJ*C_4x*)g zgCyJ=jYQ;9_5>h)bmH!22K(nIBwirO+D+ct%>$X7@sLxpC^784m?J}gcOl3TbP+H5 z3fV66ER}YEkFoHADV6X53?hf^qie;*G6eJ%s-vqTGTM zXRz!m^aj=D+b$lrG(j@|sU^PG9ZJevc5NFp&as0P8@h1Ox4mSaM%2oov((hFV?SR2nPT3?$U}25tNe+?ich$6O&eNOB=I zx|9(Ym(Jh4IQeJwI_ZD$v)&5IBSPsSV*GV~bQ3snoqfnws^Lhgb`s@QA@rJ(_u&G- z`00B`HMfRbfaBq76X~nM1=KMudec~U<=R?_-MiH}KElaKy7mi@OUiZA#sRctd+L;>r>LxY-Y2{zDMQAg?$24 z^ALHh=h8S)h+tv|NE_Qu!;Z6~ShO)Ve_-|b~RUsQcsw}Dce4++{!O=j* zYU6huuLX&)H17p(Xg{_tzM%NGw|<0HFw~P7kw7Y|A^uiMe--G3E!&AmD-0@zmzH8c zp0IKX>JtV8ZoXcUGjfqd{FZV(hVB}?&Xb^vHAI@GKfzop)*tD^r_B|Gk3forD3>qM zGwj-Eu`?s=IrTGQQf4Kn#~>B0A(aIqq`fz{`XsN89ZJ zBO5e?q?qG%rIedohLw5QPAQdTBeypNR4g`1&gmU|jfIHyOLHED(9m*lj&B~cN;-Q4 zAt{iS883+yeV|e8M50jPmp8`beMPAGartDFA^F&Y9+u)X7+Cuu8O^`QCU@dP@!5wW zW0-_d=z!45AtXt8&rHR1nEO`37cxy+uzqw%lpm*(VY2&69pvZCo5e!tlm#AO(cqD| z8LVxv~oUKoKDwsUl>8RNFjG9B1r_hiw+4_tXdX&9? zlbY2KW_BC9AcX1ZsNcV1OgvLwI&ppC(#F-dIiVdy@M=HMs z%_WBm7YE&8)2|QI63hI?Vpbe#Y$E0SB8b_zDN?t*fmW=6(nzxM=qD@dd?HlE(nnuC zU)r^2IoZM_@z50|>TlD0ou-;3ZM8L+b`zl|EUDu*?fsK(A+8-xDFoj{+vX7=$x-`UQxpg@fGuf@BkyPGPXkBdiGnm z9a747P91(LO@fyUHUeX4)B6W@8*>_kqNMtc(ss&rZ@D-oN9n;^M zI%4IB(HfLi{>n|gVoMOoK<*7+)Wk)`q%imK4Oj*izzj$O;_n2Feb6ZQ5vH@mG#>(R zd6HEDgg@`OEa0K^c*R5bmF1nv(>I|=9T3sDl?NTlBi5kC>=F04jO)=-@`!}vQ1EoW zaqehM;=6mrywGhLvGoV)?@&bfljn1(ADZT)4yLnkAC7qqF!xr3;2k&~A(< zFU|(2t(#Ms6{TLKE+7zjj0}+oZ$>-Sh>2qM5yWGN!9~O8LZ)5G0>sd^3K0JEgpa_$ z>syJDe*GGVJhOl@y?|npi*Oh>we<3N?b5@PUidOcUB8Ir4 zz(d6WV5>I$vl?%pP0sHgpiAUxqs(yIOX6-`D_-{LdR%TwGp2qU-Y7KXNRW^FXjaE& zmA$FN_1|<6F(LlJAEg=}n z@gUJ|D7ltB_vPM1dy`Qv*&h39Poll$7IZzL(1jK&2X6Iw=Ezr+u-BXxv|b^T4pcsw zxKT7NCau+akpWRq@SUGLdvDd7Lrx|yWHG(qQt#~>0I17f>e7{sjHWS{TKRQ{hGhTO zxMrwod$xHEv8%Q31UZ>(x@1pt4VGblJQ^*O3L@AzXaYXd9>yt<^*3}cG{x5gD9dpT zwh&m6Wg0(r5lHsax57-No^*hk*{X|k!S8Jz+D!XC{O%)jh%$-#fwrOshaa0r;+tcV zf&CD9%P5%JOknjFb`V=oUG)oRqRQxEF(XRMp4jrPW|N-~Uh6aN=y}>`nKon=kUyg_ z;R|T^DbnzH^`3g1jMi2Z1JZDpX7A_kz-N*8iaPfi%PV2%Zg=9b^7NW*F3&;&(C+%i zBMH!s{>DQK(Dwbt0}s$9{?^7bVLai*voC<3L=roS+CUil0uZ`|^Q8@^)Jd;v`6YUn z5IyEL9g~+Ofb2A5Bmcdb;pB<#&-sitZif1bhp1b4IyebDx!n%*FG} zm^|05!~r1;#^VnMsR1mfRG23-aUP*H>N5(uPH^ zXi*p=Wja+~V|Kr0Cb5#<*K=RQpFgFiUm9OYQDy9YrG@3o_KkafYQ{=d`#Ne^jFpTP zS{3r!oNbp$eFA(QfP9iJe@Hz=$6;DOHoZjYlJDy2H@wS0HmVJP0MIupXit6m%%8k) zhZ6B(SLY`SpM9BQdQwd?%-M&{*`<02!J>SlRvn{O@P0!5@hM5AGg@XF`tv2Bo8R>rK*AAVql8<&Tr-`Py00DcFE-9r~(|vq;lNL$c@(BaQqb7u- zCa0?u?eg61@@0-g=2G2r+(o8~eRqw%f@?iwiKEhGhatxvRG0h|k1Zc<>FCEF2Crre z0+N4)^j}qxhf(Mg(`yscN9!QM*Yuy*vTEbdh9f76g;jU2P!_q4kp+ zzb-gE#h!;F$#jg;*q>gy{n1sD@Cy2I3g@)Gx_cwRnb^pYhM*k}ex4HlNRp{lrIN2) zMCpogpFR$Eqe=toLICz6v_;I_FAOZRC-K6#!Ub$Me4Y4SxtPl)Vi?C(oAX7!d9qQh zd-&BU+5iU@!btFEFYg$Q@ekbk$(eH|hjV7ruyOw%+7+$Y+^cV9vUS7Jyfe9Gjz=T@ zQn!`oe|di;O8LNHFLJ3xyB=~;ZPPARA#yaHroM#yN~slSE1A&S&z=_)Wa+$gd=puW zZWva7g>rTSn-YSZ#3?ogCn(4e$lDDP@?$^PU=7?Wj72IB;t!%z`t1pQN2-`*8LzCL zn1vF8-=O~-EtY-&jd-Sf6;&_oRHxw-st#Ye!Xn{Pj!67J0vrQj^8uD(Y58vRKSyOZ%SCE^gCBeM#!Rr9v^+ zhV7(&6cu99bWD{3tLUY)CsQ`lV07`41H@59mYTH_QQb*98Kh=&T=8RM;d7z%j|nKB zJ@HKWyp1CjgVbh1v%bkm@R2TJTP@q~iMK%k`t@Uis;y z61$Cxqp+CFairkTk$0Q+iY75@)8uot?lbTAw$7T}%A583cAxqdl0-9TQ4TZXvMg-9 zwSU1|yO4Ralxvef2c!_YiNY+o^36q>c-G^i;-&aXrc!o|@9eT2H9C^Ef;>3II4a`N zW8%>y@u=}!aHMQyGX$C3uV%fw|APy@B&w#+J73qRxdxM|{JbDi=;B@K$YpVfIWn-_ zt^ApI^Oa{kV8;((_Q|z2gm@oVyod3Gtn(%gfemcaR*d?-<$Tvu<&?mv#yLKb1$M@5b^C zV)=&47HyKK%A-=q2?8i&CkA44)tH18@D3Nc-%M27E*f9#t0G}NCSk=)CCtIyS(=bd zx{8TC#V=5#s*NP8CRJUmyCss_90Q-5bT>&doYVbd=BY;KU+hmLJ`7N0jmClP& zy~T6^Zw545IuD4orK+(uDI!8^jv`|)8^aWlf_xqeP@`%@Xx&uZ!S6bNplGZ$Kvph& zIcElaH1AF^HqAH%$5Ra^jS>tI#Yzt5<0CX1A|T4bNAki_?m_~smqP0$_yKZwb{?3W zhspyYgHOzI3G`Je&Tu}G)jW0=R4w~Hvrc}f=2ea5LD@W&SWoS1shyx4mf7DiizV`Z zJ~P;TBp~_BKyqzB^w-TA(@7g+&W?|y9iLe{KGJr4=I!`M-0=!nel!psu2t0{Kjp8~ zPN&>0Ps-Esro1h)zv2ES`vcKv6Ci|Q2Z?eDX{wDiVbpL}d6piIYS@(l=*gh9x zYw*RPvCPthevg2ALSs27hu;&vSI$RE0=IKN4j7TZm<5LUXla&@eq`D`HWbmJ_`Un6 zUm3$ZXowD5l!FH4Fn)P(nj23uY^s^p9-}B_|DJ~AcsM+okz%#Gw-syhRK7~_x|3-C z=RKz!mQ~Xw{e2SU3s+b>^d0B4OyBYIEhqa+_jgny#{IFB;pb9@Bt~B*Mqj9(g~l=q z0krpdQcjndfevEg@de)*8p)i;MtBA%QU7>_1Q4RD#`DylsgG6+z?s8%2~+PN)r8a= zmq2f%IcFLxq&62wy=rYE`B1Y=YNCAHMErifd7k6du_D4&fLqb^{g?D*R2kGYG^}F6 z^k9lGReWMXNX-Wcm{b~L-$K+#&V~$TLxw#&D09)C-QOZbrS!Oz__jDZSIH8U&84fQ zc8};g=Xc9foRhza8|N%ia@LA*u8~#NoU&w;UAp5y z-Zvrd8;TM(`7Ro#P9aPiFfA>NdID#UMn(Syutmbj;1%jZmUTo^ySzUg>C;`&%?>-L z3;Wf}tL{!?6@G~h_Ek3*jLstS?Qu$ zHBBsKL2Wqrx8qfCuWnKCZ^Waw3o#%9y&btia`K+GeUmjY!qx?i3E2{?*I@K4eL?AX z3LGHvzC#Ib_C3Q@uQEr`sjw@qL&t}sGMLChjGGDGuap+SY7wbk627jKw>{x(Px;z! zi*6N*KubviH`aepi%|Bf69gcphg@J71M7-Vp{Hs@jEYpB8tcW_`J!#h$r!w2Iu_&1PkoQ3s(vX^@ezQ1ML$R++hs*T52vB^ihxao+T%}p;?bOv|lW< zUY)oU%WZ}0k?*Axj7B}f_6`axt?mLsoqA5Up3|x4I7Yqj>Q*B^8Yt4Ld3li3TWntq z-jCq|NJt7p;{r(hJfCj{=Tn|`74#V_@H6a(>-57pFA_26E$@3dVH$lgufPp~MV7H@ zqS5RIJu1bOxT$7r>lvFB#c!h-_S&V0@w?zlB9KyzV&(|PRO5m#4Fy@`wXR@2lVt2o z&&D*F?)-*Mud}?^=PY@hmt*S8Pq5b+VBKmQLuY}J@5RVJ<|lk%88L0g)V|J`cYj{& zrUEL@i_HQgim`qq68ls3yzX@nFo@1xL6{$a7J_;K7)% zGk%E2pZW0mhcVt)@MAKDyB(t?m}p>iU@L z8f4dENybvQ;@KMX18H^c@Nsa~PgMO&mGDhanWwnS?+Z8J@fh-WBs?A|kH-g($0v_R zgU7=jjb!PKH23Wx`Ry_L?IHc`v4`Z40QZ;y_mBct3_l+-A<)?4@zLY)+2cVENZMlo zMxM_cr5{O3KUp)ila$Sz3#a2J`=)j}WqTapaQs}e;A6>xPo>t%b)BR2M=Sn8X97AK7{R#a?v6U!plotJG4l*H6Joc<$fNIP0i;;vK7d7 zX;B5c%yLWO&~E0?PU_HZ?oigHM`Mo$e{X(UQigVOhW4R?DzBajjJQ5r3K2EU(O9zx zY8Ea%$d%P-;`PxZ@VQjr$Cdx{N(=BR8q4$8g-&ElcD~xY#;Mp?}-uxdZ5Y7c~x8 zW18i__BPT;RmQ$mW~q>k)FQjJz%DKC_+C*9v-gT+4wuW!t;LAea+cO+%IiK4Z^62_ zzB)uIQn8D7|NfgXhYFU^<4{YH?j%x~oXLblCS@nVyjN~g?F;J$t-%Oq(98;%T&tzl z&RQv@M*um+Hxno%aa3Tzkr%z=1YKuHINwv=_e8WNb-xl>1*t6JMCO1|nh9i1>iVx9 zSbn94RGBOf?0N`9T;0YjQ$dy&`IU;^<&dRC)<`m2S98o{khU7__+q3vz}TUhQa>{0rR`RawP{8mze~W51{{pf1@Xk$IT~*LN{Fq86=zW4%bi@ z9;OCN_gv4Zz1dHMoVO{W zN=gZ8trUtmL5y{`LsCMbz5wGhWqaOsLgKZ+5KY;k38;ArX?|PuveXOy(bhi#hjA(o zBo8HO+XqhNBcJlYgm;uHcL+8U8sH#T=jeQAqpr^0st`~w|B*&{^}z~W+MfSN3IF*W zyE}}NIL<)&k+1vvlUj|k)@r$C+(CZ$FQ}!&TgAzn_u1d@kr(eX@7zbfu>Izf1v;k- zWG;~Yqp?i;wY!`;SB?G(-qN0R0pB%f9}nBdg9UHLD^N>&bJ-pyE@RnWQ|u^1EGgzz zk;~$H6|}x378!9()E>hh-+DYQsu1<`t-HrK?YCVW>)RRPR(Tj1oju;!gSEMg0|LuR z6WfX_R;jA^ZI|C-p-B+6QOpLBP{l#P4j9fBMY5>;RZyD5YKZ)e$MJ}g9nJN>km%op z9c?gsYO5+%kc3u2hE|tfucN?6SA`EkFS=M+$G5<2vR&PX<&BiXcUYw8C^ruIZ(>A2 zRd(k=47jX@&>7d#K^%2CR}G)ZFN>hokZnJbC^<2dz*RovD<7cK8fMc%)x*0DNeAV4 zRF4O~d-FS>{@>l2rH>?jOBG^J{-vod2|Tf8+h84HS&4fy(cszeG{IkqQ-abt3r^%Q zPvz#orzwugL~45~XE5QjP4NaK;`1rQO~R|6viEKahS(HCY$C(QT(Vg2X6k$hFQ^($ z;#EtnHHpGBsme5o(lmFwB!THwe7K-WOl6%U-mFx0wgf*>D&yz22Q#u}R?PV-Eq&XC z`B}fi3b2l%}lVk2~n#red zrkcrNk}t(_Tv1ZITS#~3^E+76?kq3uX+eKd3~1NbJ<1I@V23|q(_MKehtewMZEW>1rL zvfRXi^$4zDI?Y#TgK|FDa2H0{rV>FMR%=)lp}Qu}LMHb+RpvP9-rI|NrcI8P^LH3AzWPPIQ*Ij2+9 zMI0);#FH%NNYOnNdloSwslB<>EKaLrD&WK~zb=!ax|$7FqQj(u{HJ(!UqzTtNy zgN(W7d!ziDDwY$kcutzk;sO21OMG4dp~DDwwU6*31^xeik^%HWJ;J=May!HBjJvmV z#Aya3n`p-%mi`Gj+1{ISwNE+!zLzktltSQ;kGPEc3kug>=tw?z?NYhd^$f--gK<6} z+Z43TM~+IuyqO_B{wf}5E(G*9krVa?kJvR6)O~K7?^i4h8n4h#bShf$DD*=AD@SY{MmdJBw?;?3!;z;gk`cBQoHRt0Wtjz=@@4#t9x7 zTjg#1zfx08o>va%sLajh+3aw-N9!ZJtLHN~QDe0V9s5Y*e?QHt=@BjBF$GFxaj@q{ zXLtnhKHb2dqf$QSl~+9ieIL69yWo?zb(#tnziNG-4~rGwHr^5S9PfY8r+8Z@lW?J| z)=9-j&*H>-N4EOeKY(DKJ@WOVyL$ZYoTEEd&y-5|?+Hs!z%gs<LIq7^)z*B4(DN2I=w;5)|78yi_~`#) z(Im9qy|}Yvw895`Hj@E?&+@LEqnzW0dbt<>+@*|O)C$V2V5wF;f!9RGYKuFWD_ZA( zFMAF%au?1(t<}Wudf<~U&CCoC4<(OQ5$lP>Fu*v|k(+E8fQanrZ{=|Nn!1>m`$*KA zectKW*n%`EwAZG5g4elGlmOYA0@3oxhQ>H>UQw?yHoL_c?%;L#g4E=M%01kn^TNxW z>@5tE-u5`Su%+)+2RxP}dEL0lSvk0JCYxB>{9Cj^wv;+sR+8oY4)q_uOQ8P1WKyEJsOlI#>VPoSv&)6%nmGw|B3d=u1m;ok))crLdnsBaT)a~E;6yHQ~lvOnJNcd#8kW&4daUg5ZQc^gGQA@;)Uk#F z>0tGk-N~ZDarua!*OFKjg6f34zix* zpU3@0Ztlta8NweMSKTK+7{}wf%_}$7m}vx7cYWMek7?YeFdvxQry9O>tf;QI8=Y&u zr$N9vXK~m#$gOrDm%Vj}jDK@b1tmC8~@igQyo&6Ra*tnE=pYV6zk-3EV6$%*dyt;+0iA|~e4x-Iom zs%pMc&IRgGVxra}mL<>e9+UJl@F7s&+DVe2Xg_{M_NOCijg#5tSXhnSCJV}1iSseC z$0zGWCJj9qcjiW!^%W2#&)38Y4zZN67Bmw3;rIsSdd1?(JVOgGpt9d1Oh6#Lj>*s) z<{T4~Z=ls;^&$t7*Hw2Lf1OP0r3xQSJ*!%y7to4qCXKVWgZ}tpv%W<^+90=YE3`q@ z#ehSgqYLu6;mIEjoJal%WDhxe@A>W?J=wwXE>19xLLWsQqsCidwV zRJOPZak))=ujPVT1#`))kBwZ#eq(0|N-%$dE_Wkb@$|(p?|ka};)i(QFlu`?!CjdB zsoQ?+WYd&slBwx%m)&mso$wf~#7R&2cFsSuB${{>7AS2pHa~LRW8A8a zJ7T4txL1W8oD|{ea3ouH16nhV9Tj|m&Kh0(2pdLH8wW3kJ!FC~dA6K(T1d5T8+ZGY z>#|-|wA4%6y!LXFK83opW28mISf4VNus@G35Z5}9e6^2S*@9{7hJk4Vq*1L{F;H9LT zhjU{vi6KyG@v-84VW-dk)Jb#(mJV%bY}wRzq6mTbIeQ$~J9i0{7MybP^ij)}1_;S% z9!jS8OJA)W=NAmG{Hzz7$E@pZQ-fW!0m!BwYPD@|iJ5$d)b(69U^otu33_7ITg8aID{H3hLY^T-K2=HLaM5%SVNULDg_ zeQW`LJ$Qqv?sm>MU+t>#JP;z6QH_A6T>!!3W0OZ<1*Cl|w+)3eu9MxV+p-)u(P~A# z^HMqV6$pBP^xloWIeFyIYlxAcDI##B;+d~a@yBVr6@XohEI!E=G*x#7KkN_^&(e9l z^*_Y1tlOhGT4yG^znO_}#_qi?5hUO765IU~uro#|FX}oKxulD5OuP2vUN0<&B-2Q4 z3FT*3DuNJMhme!>+RzKldYr9*j?`;8wVYHLp-zlN7qHb!mt(OpO(a}r`ZC7Qo=w_1+ZuQ{D0`*L z9k#y(?hjp9K0?}r+VK&}N%W_#?`mVG?6asR)+?(I{bVNTz*Vt>zIoTU=esY8tAt*4 zhQ!sD9+s3WGZsn)cXz?^Q>th3W3Pakhmq7jmfNpnaTn~|7HhTqN?Q+d4+pwLhel7m zeiwZ51!rwC#xGqlPr)*V3Vbz%JY(PWX&5Sn+N2z@TB(pF)e-Q}7ypf=q8b&To`Mv|{{) z{^afNG+=?jGY2=p0=&8BiUW7+)*~*;ilbOd?3Rtb^qrv4lZ;9|#j)3y{ReQ*66zEl zz~~b4`j+$te0nn#1pQWd(-!(^ojLEz`%RBU>JN!| zOD%@-&#;$fF7ojc!lj1t8_sSr4}`ZjLS!+QOV>C5&F5B?x1#+etCkj`+j^T0^Ynd% zo4z#$KXSWT39A)QeSuqWGB@^bIF#1r4z6M4x`9Zh{FEa3_7L)-c8|thE zulPJmaa4`r(4DJJe*7f&o6b#V=kvZUS;-f0OW~3(G2u43+@;$q1}8>mn-67`AhnZa zf(DOs#i9xD)%m=q6qVPtYY)hyY)FkcJhIU2rF(_$Vx#@u+~6(w;p9D%2T_la2f@#~ zJuZEv3&r1YtqG3SlstZET80}M!SKX{t$PG3B=L72H#BXn&J=j;0Xodh;UfYo9@OsC ze!GWSQa!mo)lTca!|OR0$o^6{a%X+eYSjXw9_PVPV`iu4a5>7cLi2{Cq*v|mzK2!= zQo7d>ehN#G!wLF5xt06!q|Q_AsNO9@>ZEiXBeQ@U7r-)-yDv3r+~ezCko>JgtK}(j z$NJ>;9Wjs3&xJ-StvC~*)rSK`>bCHMm)ayLso2^ByWEr0yV&B`NB!`J%a#|CnOakb z^fCX@Ng%lYo@AM?Vb3{OD6cy1LynV?@5RV$!b9aehIfz++S{ko%I(rjaVK~ z2s`z|2`v4&0Igx_u$ z+V_QN)3T%6!2@mNV-ti#WJ-@w+j*$vXUQqOr0C)f9fyVJ>pqX@KnRjFr^wvazPR8mrITHJrd ztswkg-3Kk{{E@2ToSN)(EdQMFT|XTimw{YSa%{VDhZhrG{wbT0lYUibLZde7J6c^r7CoC*XSmAVlXv(SLGq7x727f<#RaVDdjeNe?oV=aR&OLl@{9t zN$SY;T}paV?71MmbN!2E`rXb?T*>kQ{BQKrKG(Acrk3+KD$?fRPUogl>?TCP;R78? z{6&W5`3>vJtB8vmjqM~Ufv-g+{(C@g9Fs7jrvY)r+!q_u3&b}cCLkc^IaVbx&IL?f(pWJruh@XsNtMk#-C$;O#59vHJ6^9dG*7?Eve7;i_cr*l$Nc&v1FfEIVC{ zcbB1;r%;|B@pM^vVhJCYI$51QSP&{8^%g6~2Z(<>K%6d8j%_CE=YiRlRyTRkwBile z3rS%tsrqz=plykmgeYCe8iA58w)GL35&I{4zUUS_G!gb!bXF0QH>ek^>)QL!0jg;w zPr=^1HY1Rr=mAD7T{H=l$6thE#R$HjvopRft1)uGOo%Q&R4IlEymqFO)tw#% z2+9I0vDz?#Ez}GaN&%4-YB+=l7Js6gEnp}Fv(j&C__$T{ctM+xSPnK`B(_Aw%-V?w zx{0}V4606Pq!H>?ZsZFTC)gJKg3r(dD7B=&wO=snK; z@vJ#xJZK88+A7PQ&w`OISQ_gF;AL&W8 zUVX@JIu-eW3U#8~@oqGN1!|+;Ya+9lu9;fi-xbM7lg;i}Bw~Z!n;oN5YnRm7>sUlt zr6libZjF^URODi)I4pV$lTs*o9Ea?Nk#46qcgdIGgf^jT(^XfF=IU$H{)~ccGl@h?ZtF*1^)O_OCqj5}f;G z8Oc+{bfhumc9l_+sTJxeHP&lNP2^9x{4&xU?~k<Akg$ZbY%I)eX{h)$9gEU0jGh z=U#m2&FXi6>0sF1|H)SO_-ZPW^nR@O)r-O1tL&TZ-78BEsB(RyIRv+S!({?0zcvMH zY-JnriAJ|vIbard7Z|iP(=aaYnX}9xO>Vb5WVuavWioL(%3j#}>eQon;r=qX zDcYU^!QOiHcT=YQ@N8s?`0CU>r8n=?*J1-JqIj-?QxLq*^x|d!2lb4meq#JW+04hg zPMJ3c<=!l|D%c`-t0tHV13j5T34mh2T&C%Qz3~unCL6-Hi2?#F)@IsdUD)zMhA+E{ zUYv=RNxApXb=))xeJCZaZuBIv3ltosBizXY=(qy;v>}TRy)b0DDzNd9%Cvp<2*vN6 z1>Hm#RcXF>e56%`Zu-e~49PXAZgNE0XnS%pisU#az1zY^KVQT=h9?wO2OeBPVb5^N z>cC#ROE6p)dUMGjdA6AgA_ia3$6gEiJnDEQ%rQEo03WeGRS~g<9o{0FI_6u z-EL&BcNrU_d;^f(oBQ;u;%c*y1e`z=2H`+FI4}Uh^UHuW+_< z41};{iPLiBX~JLnPY}rAF^=J&;+3Cq2oMX>rFzYh5U~@{Tx0>FtN-BK}XU5I>onTTa#vs6F zp#Ej>k3!7a;2(`D)_8xCu^!Zb0HEnCerHAfC*g!EyFh^nPo0(E#HT@g`Ix@{LpWfd zp|}5OcM%5vU`rchhc1>&212$bZbfCPcnqnlIPOE8F!j@=wg(Bzm2aAXm zOd30}_V#8mvw5)KP1Y&kxj z4qWV-09#It=L2!O<-J#LlO$i7G=!`dr|!C7UC`Pug6ktnN;Cn{_Z9M84;;)Q49^TNkgV_Eo{I)uHt_kZ!XzSo?$@Mqcg5F1Xw;1`q!?mzEF(u=}BO+2^%ZnVA!{S^Eltd?aZ!EM#))_S`9G7$gxH?ewu6TLHKt|?%zf!e zC`@0CJYJ2I0B^T9|4q`~GJIc;4)Xqg1T7dQ#^S#9?}jOG{Dt}cz;}MvH#s*h@kYfP zAUi45ucWkXKcl^#+-h-u0S@_qxQ2`<$eUMukhJTYn5&eyvkcA@M7y@Qd3>ghmS&fv z9=6SW@Ed{=G(;Odx$+bwt{vXFbLt|ETe>-Vm|WWP6eO(;-?{VbB8^?zx$@>Qj2k}L z`d^&GH9`=PF*B%tpiuzhadpRgD3xg^X>0!7z0TiSwBx}fAhcgMkYDk*x7UH zB92QNxN_<8C#f+SK3Up&a_{noj*F387fSG_cahI*TD6mM#tWFlL29lHU*LkoQ&S18Z`AHy?1XiTlZlNg3q z(jp!&QjOA+LNe0hZD)FUVth&Evw{%Ypk(J}Bq}S1^y9Bl1d;o%7(V1~7XAy}Q7q*& zhAvqI18B^qAnqVwE4v);arPMeNA8+rna7yu+JA$*0m;{Z5j8 zwwqr}^Z??AGfpjM!o#=c3$P9-9E)KUIl4Y8`Y0{UQTd!0j(4;^5}DmWjn168Ywg~| z!{2-28X;y`R_0lCzWC2G#{jMwfmKh^5V+}d!5}*fzBgem7iP@gm0~+K1*cy5Dbo=O z#_EO&D}q)w-cTM;fLS1z<^Of{8@m92x8Z$cE< zpgULUloYe5J1V}8Yqy>>&U}HOo4VV`)cfJur!PP}kWCEYZ*gtu^dCr|;4W0GFY#Z$ zCy+5ta3^wRz1qWulo5bY{TpdJtNNI1vxtLYwDqX$P5L<`taPRM`b!nb)zX|Q#7nNv z0*_{+!{G3Auv$%FR}&kliMswOz|0SzUXv^<3##KHX zR6kz!Cs6cod*h_LW^YnGyA__=>z0q$+n~G)z`B7Xw#4?_;cMyPAjcZ_{VLwH2kV02 zFTi7*y?1mjl=vhdb}cC?g=5C@xbZ_)#bq{>zdHqp@3G#7@wmC|mv{?f%F*-Cwerxh8QL6U7=C|e zvsW9fli}sITDMJ9-Yd-?zYog!xUqSoIsuPm5VU1*Y){kGJGOt2>@?c?e$Q{RWo(&3 zYEde%>dXB+o*H(z7MbBHJlhyL<7v;r=E~yY8F_{!pAos_7QI`OE-!^$%J^|Eq1tRb zB<#mod@R1G7IL6$xBC<7M-1Cbl4m2WH{4aabj6ZtHC~T%TLdwEtyi7EWeNhgXh$1l z$`z+pz4A>oft-FA*ks1_x+^&H-u`5NPTlaux2r9W-#o@JfuSpKE;fj~oRe|{S0STRx)6QWmzHDxlGi5!zqgmFt3QlGpGd?kmq2pQ@kCK|Q z68BOgn{dL%V-HyEL+{TNut&?tq36`0 z1THYKQg65rw(pg`H?ecMF5ki4U|dnwv^m74xrD%8{~*<{*+kryw2QgmS3j;&K-8Yl z$LzjSU2VrQzfe|*vh*Lc$V)4-$MGS&VJqprnMt%A%r59o@(|Z@^c5c{_fdVdPl)3* zC+5&Q^&#!rz4}$sTP9chU?|+}MY#h#o`FOm%f7XST@oFqZ%o!OpBm>ASvod7+vIRw zpdx-aEVp@7z{HjC7+n6XMY$R+q{nG+ycP6)*6!+=J@?#+_%JF(Ni|q&AQ63WZ`w zTrzd!EHL~7&URUV#{BO|sQKV_Ht84&H$8Gz{C$ePY@EnrI2oA<8JKRmLFq)O+$^** znQFVqDSLS{`_-$d--Gu#`~1bB%{doc8Rx{YOPdz-0mqhIHf7oS?9U^XZOn8ORdW%V z_uMgk0*8{A&iRIlnAIqn-dVa=9DwWDU{11CbsLpc8Y3K2{#HTk{^4Q0yN zQYUoH{^a%H4fJe~^h_~V>5IWjs=J%V?B?I|4Bo%+1427w3H1;qvfzDc29sFNtddQX zd@G(xdww(YfggTo0(rtrs&d4RO$uN8&hV6)GqKCHt^Ph)lSaqRqk6>b1mi&;N|+Hm zN54cEB|K|;^!n}FQVSJ*yWq_PDBW-$c9*ty`?FA@)AeTrT}B83Pp*`)}KA#uwgf_T64!O+fr1&=-$aNn=tG9BZK z7b3NmCMkqAEqjFh0c94KZ)er7b+6}$HxLtldP0#=Pot`30TkPFdXfxb6uQx?Sq|5-liU8pou*ezPeN_Z>0_*}Qi2PjY`^}mAHO5cT{%;uh zt5(mny$=$w<({bOx7(1pgWUl+&==lOORLv~Vw<#m#@{aq8%ob*qX#+G{sOzW8??+j zZ=^cO5`$7bf-wiMzSxALk3v$91(f?@!2L9V{O~pucTgp>2*&%~4EVRh<^3txKOLF& zVCBU-xQgGu@w^^=dzcB=67b zg?(-_bdmMtB=~cj z0?GFwtB>A+af|@K%?an|YuAsssb}vbU*G-C;2%aYUfKynh^|ha?oTCk zG0}mqnP8Lsh;qoD6SizLB(kOa1-BCTXR&9bhweOX+TCNPt~s;5plv*Oo)X8sXh8M) zhD!Q+;~N?H&U+y26cCQ?cAo5a!UCUO9z^jxsvNDT=X!5Ei~Llceb#(^lh=Tkkn0HC ztK7$XLq$~Z4aYkFhUG9MxFq2GaMqKE416+}rYY_ve?0Tj#vj~JNowa`bHzWhWL;}A zBN~sUG!@12nPVF?@R-%FCehA}j^x*lclZU{lHRmaX8OrZgC{vO$>Wq&-s#kmg|buO zmCrBsq2%$n`1h!j!MLvRa7h&C6VgQME^?oK~Bmklf2VXp&oMT)$&dGweQ5aXDOxyOy0Y6|`Yf zDLuov0EI_1Y#S6Hj*^DX8djW)KI9Z#WG_vzu`Qr!;JhvQD_JIewFf!31@gnOEqJPH zJWaX~(qhf-B+!OMN@@ZYxth@=Ju$#lQfEoXF`uDylL2=*l($>8=ceJ@t%!b^qNUSv zB8QD6!mmaj;tPxs6=N^kyrG@+>zwhu2-PB!kB1vlfwX#`4$GvdU5P>GWxqa>_I3@tY*ccQYvbRlz= zhQm{7R}K^sN7LXzZ-&+&M8E2-P^O>^{fJGeSk6jO81fO5QgXy^{@fKEolO|$TntAj z^cnq1EdmV#5PFNgp*D?*App0H9LdtE*;)x2)KE_gTl_t7GbTg-qHHBeGFPf>v=d__Qdjp9zh*42o|E>h zZ!XECi5PebKXnyP(Wu>OD?X(Yds4prY4b3N2u)F-<5D?af?8k!lwS_TH6GImrET)& zwD~diBTxLhr|@IgNA%1k{GBrrB0n@+=e}ZfS>RSOrYbS>VuJ_DuY9hGfS^r^!@5Z zq5wz5Sd{LDXS4dkAdfg72S8%RQwbXI0>)W;hp=Anr|;1MOWqibhoARj5QkQa}2vo}uu>m#CV> zU`JG)<3JS3o7SRaRm-!Lh#NcZ8TGW1ihPD&#`kq@=11rRqZ=Vv<6}0*a5isQIh)vT zB+ChI*A9Z>b5p126h8GaS*OJ51Ah}$Nd*#Yi|Ba@B}rj}-k2*znP`7Lp0PjW-X_$G zKT0Rqn_tq4H#NU}sN**ukElKq>6<4*;g)Hm!Ps~BY}>!7;IGizNwGm$$Mq*$*;Q-^ z37RVGEoZb-!`@GcjGge&_v`snb)+!=Z#s?|< z-y;oYdb+Ks?CfK9E|$8@iTHuvdkNn9sQW)$@OvtVn#>_#l{!TIcANRgk0o_l=v`H? zL{j)|P#4piErGQU94D^*VT#t3w!P8bM7O`i-wM(uO=h-^>Xj6|gxx_s&8fpO>PnL! zyHwzkxc?Jx<@-IUag!{T<4-oLL_^gW{!PVR(3y}fu;nGz%918w+dY#nb+A5B`aYA^ zp5{j-HF}#(lc=EM>=Y69EiFp7h=k+p3{mneEwh2wz6(FMuu^6|9g0Av0>x-pgt?k< zL!Z!^c9Tm)a&Or(_LEhFJeP{idg>_js&&PLsLL$6YZ!6ASi(*(D}#rO zn+fUCKbYctgoCF%p}^OL3d8+K1?Q@g9o=t--I)%p@^2gr%uCep$kh)}(w}jDjag7^ z8bf)Y2a){6?H>6-d`U4bL3C@iT0m0%M)_tz?p*c{2#_TS{ajFvH!m1jxB6Iwx2$Ns zD4h^u$nhPz?^9@{<2%{-t`fxeAqMeLK`fLN_E)$qBT~23Dg00kIW{!8(a0(x)b%@- z=~^Z1q&I(uUPvX2^Oons3AB&2_UXQ*xMH}=KSHO_~QR^#@&_8KUG2|jTQkv!;-$OL`EXK zvloGMp}762VDKDGCpz0l35B35Ht2KMO|!WMgo#RJdbYq_8R)I^Po2UmJEni3Wz+?l zahEhh04N~<%CkVNJN6RA@HmZmp*llV>LR4o!eg392ZYxpbOkh*4>;6HgZXL{OCe^o zdl@oqp=z(`;_`#W5g{iudp9Mbj8(R1?HA}@7`$I9E1UyT%>hzoHL8>sx zWYv1wlkiFvR^x4Cql|*X4uVW5G_W|84`#P}Lnaj75wKO;FFjMhOp}K-p$n{=6W05- z$W?+fkNSIZ>LtM!NXWyFl%2z(k9zI!4`OfyR_$}3H05yowgleSA)7u(-T1Bm@;Ii; zm~UmU{8l9MIA+VLZ)Mp1RuuC%=F6DxWYqjtH1jwX4;mLOYJ_|Y;309pSd!LWMy-IF zofF?z&yvC*O?v?A4yDy|av~|Sj2GsI;r`3H&@H;*gWJb!;=H*YbwZ4}b zxXlJ$`&lH`Gq`j&Sa}FEEeZ5oZh(wd@2zJp@zmUo*DML^8CtpD5XzhZ3$u`2Rr=V<~IMQyds}AQ|x3H2c+GKDlh&{hD9cn_qx~ zdFb(HB8172*jdN>)X3$4{qZ7@@)x=x!9g-4xUdFl5E%?LI?hZj$nW9jYVGUtPXVaN(;$4cWn4CqaJjZ zp&j1)edBHO1??ZSP`VQGKa z50%70dTZ0<;!on=`^;162+PJAg{GuN!SoMQixlrqZs%9=uAK!;z_CPYe{&m+9|_Dpp5@XJ}dRYm_V_@8|wuKpkWNej9ZW2M~1QufUOqJ*C_4x*)g zgCyJ=jYQ;9_5>h)bmH!22K(nIBwirO+D+ct%>$X7@sLxpC^784m?J}gcOl3TbP+H5 z3fV66ER}YEkFoHADV6X53?hf^qie;*G6eJ%s-vqTGTM zXRz!m^aj=D+b$lrG(j@|sU^PG9ZJevc5NFp&as0P8@h1Ox4mSaM%2oov((hFV?SR2nPT3?$U}25tNe+?ich$6O&eNOB=I zx|9(Ym(Jh4IQeJwI_ZD$v)&5IBSPsSV*GV~bQ3snoqfnws^Lhgb`s@QA@rJ(_u&G- z`00B`HMfRbfaBq76X~nM1=KMudec~U<=R?_-MiH}KElaKy7mi@OUiZA#sRctd+L;>r>LxY-Y2{zDMQAg?$24 z^ALHh=h8S)h+tv|NE_Qu!;Z6~ShO)Ve_-|b~RUsQcsw}Dce4++{!O=j* zYU6huuLX&)H17p(Xg{_tzM%NGw|<0HFw~P7kw7Y|A^uiMe--G3E!&AmD-0@zmzH8c zp0IKX>JtV8ZoXcUGjfqd{FZV(hVB}?&Xb^vHAI@GKfzop)*tD^r_B|Gk3forD3>qM zGwj-Eu`?s=IrTGQQf4Kn#~>B0A(aIqq`fz{`XsN89ZJ zBO5e?q?qG%rIedohLw5QPAQdTBeypNR4g`1&gmU|jfIHyOLHED(9m*lj&B~cN;-Q4 zAt{iS883+yeV|e8M50jPmp8`beMPAGartDFA^F&Y9+u)X7+Cuu8O^`QCU@dP@!5wW zW0-_d=z!45AtXt8&rHR1nEO`37cxy+uzqw%lpm*(VY2&69pvZCo5e!tlm#AO(cqD| z8LVxv~oUKoKDwsUl>8RNFjG9B1r_hiw+4_tXdX&9? zlbY2KW_BC9AcX1ZsNcV1OgvLwI&ppC(#F-dIiVdy@M=HMs z%_WBm7YE&8)2|QI63hI?Vpbe#Y$E0SB8b_zDN?t*fmW=6(nzxM=qD@dd?HlE(nnuC zU)r^2IoZM_@z50|>TlD0ou-;3ZM8L+b`zl|EUDu*?fsK(A+8-xDFoj{+vX7=$x-`UQxpg@fGuf@BkyPGPXkBdiGnm z9a747P91(LO@fyUHUeX4)B6W@8*>_kqNMtc(ss&rZ@D-oN9n;^M zI%4IB(HfLi{>n|gVoMOoK<*7+)Wk)`q%imK4Oj*izzj$O;_n2Feb6ZQ5vH@mG#>(R zd6HEDgg@`OEa0K^c*R5bmF1nv(>I|=9T3sDl?NTlBi5kC>=F04jO)=-@`!}vQ1EoW zaqehM;=6mrywGhLvGoV)?@&bfljn1(ADZT)4yLnkAC7qqF!xr3;2k&~A(< zFU|(2t(#Ms6{TLKE+7zjj0}+oZ$>-Sh>2qM5yWGN!9~O8LZ)5G0>sd^3K0JEgpa_$ z>syJDe*GGVJhOl@y?|npi*Oh>we<3N?b5@PUidOcUB8Ir4 zz(d6WV5>I$vl?%pP0sHgpiAUxqs(yIOX6-`D_-{LdR%TwGp2qU-Y7KXNRW^FXjaE& zmA$FN_1|<6F(LlJAEg=}n z@gUJ|D7ltB_vPM1dy`Qv*&h39Poll$7IZzL(1jK&2X6Iw=Ezr+u-BXxv|b^T4pcsw zxKT7NCau+akpWRq@SUGLdvDd7Lrx|yWHG(qQt#~>0I17f>e7{sjHWS{TKRQ{hGhTO zxMrwod$xHEv8%Q31UZ>(x@1pt4VGblJQ^*O3L@AzXaYXd9>yt<^*3}cG{x5gD9dpT zwh&m6Wg0(r5lHsax57-No^*hk*{X|k!S8Jz+D!XC{O%)jh%$-#fwrOshaa0r;+tcV zf&CD9%P5%JOknjFb`V=oUG)oRqRQxEF(XRMp4jrPW|N-~Uh6aN=y}>`nKon=kUyg_ z;R|T^DbnzH^`3g1jMi2Z1JZDpX7A_kz-N*8iaPfi%PV2%Zg=9b^7NW*F3&;&(C+%i zBMH!s{>DQK(Dwbt0}s$9{?^7bVLai*voC<3L=roS+CUil0uZ`|^Q8@^)Jd;v`6YUn z5IyEL9g~+Ofb2A5Bmcdb;pB<#&-sitZif1bhp1b4IyebDx!n%*FG} zm^|05!~r1;#^VnMsR1mfRG23-aUP*H>N5(uPH^ zXi*p=Wja+~V|Kr0Cb5#<*K=RQpFgFiUm9OYQDy9YrG@3o_KkafYQ{=d`#Ne^jFpTP zS{3r!oNbp$eFA(QfP9iJe@Hz=$6;DOHoZjYlJDy2H@wS0HmVJP0MIupXit6m%%8k) zhZ6B(SLY`SpM9BQdQwd?%-M&{*`<02!J>SlRvn{O@P0!5@hM5AGg@XF`tv2Bo8R>rK*AAVql8<&Tr-`Py00DcFE-9r~(|vq;lNL$c@(BaQqb7u- zCa0?u?eg61@@0-g=2G2r+(o8~eRqw%f@?iwiKEhGhatxvRG0h|k1Zc<>FCEF2Crre z0+N4)^j}qxhf(Mg(`yscN9!QM*Yuy*vTEbdh9f76g;jU2P!_q4kp+ zzb-gE#h!;F$#jg;*q>gy{n1sD@Cy2I3g@)Gx_cwRnb^pYhM*k}ex4HlNRp{lrIN2) zMCpogpFR$Eqe=toLICz6v_;I_FAOZRC-K6#!Ub$Me4Y4SxtPl)Vi?C(oAX7!d9qQh zd-&BU+5iU@!btFEFYg$Q@ekbk$(eH|hjV7ruyOw%+7+$Y+^cV9vUS7Jyfe9Gjz=T@ zQn!`oe|di;O8LNHFLJ3xyB=~;ZPPARA#yaHroM#yN~slSE1A&S&z=_)Wa+$gd=puW zZWva7g>rTSn-YSZ#3?ogCn(4e$lDDP@?$^PU=7?Wj72IB;t!%z`t1pQN2-`*8LzCL zn1vF8-=O~-EtY-&jd-Sf6;&_oRHxw-st#Ye!Xn{Pj!67J0vrQj^8uD(Y58vRKSyOZ%SCE^gCBeM#!Rr9v^+ zhV7(&6cu99bWD{3tLUY)CsQ`lV07`41H@59mYTH_QQb*98Kh=&T=8RM;d7z%j|nKB zJ@HKWyp1CjgVbh1v%bkm@R2TJTP@q~iMK%k`t@Uis;y z61$Cxqp+CFairkTk$0Q+iY75@)8uot?lbTAw$7T}%A583cAxqdl0-9TQ4TZXvMg-9 zwSU1|yO4Ralxvef2c!_YiNY+o^36q>c-G^i;-&aXrc!o|@9eT2H9C^Ef;>3II4a`N zW8%>y@u=}!aHMQyGX$C3uV%fw|APy@B&w#+J73qRxdxM|{JbDi=;B@K$YpVfIWn-_ zt^ApI^Oa{kV8;((_Q|z2gm@oVyod3Gtn(%gfemcaR*d?-<$Tvu<&?mv#yLKb1$M@5b^C zV)=&47HyKK%A-=q2?8i&CkA44)tH18@D3Nc-%M27E*f9#t0G}NCSk=)CCtIyS(=bd zx{8TC#V=5#s*NP8CRJUmyCss_90Q-5bT>&doYVbd=BY;KU+hmLJ`7N0jmClP& zy~T6^Zw545IuD4orK+(uDI!8^jv`|)8^aWlf_xqeP@`%@Xx&uZ!S6bNplGZ$Kvph& zIcElaH1AF^HqAH%$5Ra^jS>tI#Yzt5<0CX1A|T4bNAki_?m_~smqP0$_yKZwb{?3W zhspyYgHOzI3G`Je&Tu}G)jW0=R4w~Hvrc}f=2ea5LD@W&SWoS1shyx4mf7DiizV`Z zJ~P;TBp~_BKyqzB^w-TA(@7g+&W?|y9iLe{KGJr4=I!`M-0=!nel!psu2t0{Kjp8~ zPN&>0Ps-Esro1h)zv2ES`vcKv6Ci|Q2Z?eDX{wDiVbpL}d6piIYS@(l=*gh9x zYw*RPvCPthevg2ALSs27hu;&vSI$RE0=IKN4j7TZm<5LUXla&@eq`D`HWbmJ_`Un6 zUm3$ZXowD5l!FH4Fn)P(nj23uY^s^p9-}B_|DJ~AcsM+okz%#Gw-syhRK7~_x|3-C z=RKz!mQ~Xw{e2SU3s+b>^d0B4OyBYIEhqa+_jgny#{IFB;pb9@Bt~B*Mqj9(g~l=q z0krpdQcjndfevEg@de)*8p)i;MtBA%QU7>_1Q4RD#`DylsgG6+z?s8%2~+PN)r8a= zmq2f%IcFLxq&62wy=rYE`B1Y=YNCAHMErifd7k6du_D4&fLqb^{g?D*R2kGYG^}F6 z^k9lGReWMXNX-Wcm{b~L-$K+#&V~$TLxw#&D09)C-QOZbrS!Oz__jDZSIH8U&84fQ zc8};g=Xc9foRhza8|N%ia@LA*u8~#NoU&w;UAp5y z-Zvrd8;TM(`7Ro#P9aPiFfA>NdID#UMn(Syutmbj;1%jZmUTo^ySzUg>C;`&%?>-L z3;Wf}tL{!?6@G~h_Ek3*jLstS?Qu$ zHBBsKL2Wqrx8qfCuWnKCZ^Waw3o#%9y&btia`K+GeUmjY!qx?i3E2{?*I@K4eL?AX z3LGHvzC#Ib_C3Q@uQEr`sjw@qL&t}sGMLChjGGDGuap+SY7wbk627jKw>{x(Px;z! zi*6N*KubviH`aepi%|Bf69gcphg@J71M7-Vp{Hs@jEYpB8tcW_`J!#h$r!w2Iu_&1PkoQ3s(vX^@ezQ1ML$R++hs*T52vB^ihxao+T%}p;?bOv|lW< zUY)oU%WZ}0k?*Axj7B}f_6`axt?mLsoqA5Up3|x4I7Yqj>Q*B^8Yt4Ld3li3TWntq z-jCq|NJt7p;{r(hJfCj{=Tn|`74#V_@H6a(>-57pFA_26E$@3dVH$lgufPp~MV7H@ zqS5RIJu1bOxT$7r>lvFB#c!h-_S&V0@w?zlB9KyzV&(|PRO5m#4Fy@`wXR@2lVt2o z&&D*F?)-*Mud}?^=PY@hmt*S8Pq5b+VBKmQLuY}J@5RVJ<|lk%88L0g)V|J`cYj{& zrUEL@i_HQgim`qq68ls3yzX@nFo@1xL6{$a7J_;K7)% zGk%E2pZW0mhcVt)@MAKDyB(t?m}p>iU@L z8f4dENybvQ;@KMX18H^c@Nsa~PgMO&mGDhanWwnS?+Z8J@fh-WBs?A|kH-g($0v_R zgU7=jjb!PKH23Wx`Ry_L?IHc`v4`Z40QZ;y_mBct3_l+-A<)?4@zLY)+2cVENZMlo zMxM_cr5{O3KUp)ila$Sz3#a2J`=)j}WqTapaQs}e;A6>xPo>t%b)BR2M=Sn8X97AK7{R#a?v6U!plotJG4l*H6Joc<$fNIP0i;;vK7d7 zX;B5c%yLWO&~E0?PU_HZ?oigHM`Mo$e{X(UQigVOhW4R?DzBajjJQ5r3K2EU(O9zx zY8Ea%$d%P-;`PxZ@VQjr$Cdx{N(=BR8q4$8g-&ElcD~xY#;Mp?}-uxdZ5Y7c~x8 zW18i__BPT;RmQ$mW~q>k)FQjJz%DKC_+C*9v-gT+4wuW!t;LAea+cO+%IiK4Z^62_ zzB)uIQn8D7|NfgXhYFU^<4{YH?j%x~oXLblCS@nVyjN~g?F;J$t-%Oq(98;%T&tzl z&RQv@M*um+Hxno%aa3Tzkr%z=1YKuHINwv=_e8WNb-xl>1*t6JMCO1|nh9i1>iVx9 zSbn94RGBOf?0N`9T;0YjQ$dy&`IU;^<&dRC)<`m2S98o{khU7__+q3vz}TUhQa>{0rR`RawP{8mze~W51{{pf1@Xk$IT~*LN{Fq86=zW4%bi@ z9;OCN_gv4Zz1dHMoVO{W zN=gZ8trUtmL5y{`LsCMbz5wGhWqaOsLgKZ+5KY;k38;ArX?|PuveXOy(bhi#hjA(o zBo8HO+XqhNBcJlYgm;uHcL+8U8sH#T=jeQAqpr^0st`~w|B*&{^}z~W+MfSN3IF*W zyE}}NIL<)&k+1vvlUj|k)@r$C+(CZ$FQ}!&TgAzn_u1d@kr(eX@7zbfu>Izf1v;k- zWG;~Yqp?i;wY!`;SB?G(-qN0R0pB%f9}nBdg9UHLD^N>&bJ-pyE@RnWQ|u^1EGgzz zk;~$H6|}x378!9()E>hh-+DYQsu1<`t-HrK?YCVW>)RRPR(Tj1oju;!gSEMg0|LuR z6WfX_R;jA^ZI|C-p-B+6QOpLBP{l#P4j9fBMY5>;RZyD5YKZ)e$MJ}g9nJN>km%op z9c?gsYO5+%kc3u2hE|tfucN?6SA`EkFS=M+$G5<2vR&PX<&BiXcUYw8C^ruIZ(>A2 zRd(k=47jX@&>7d#K^%2CR}G)ZFN>hokZnJbC^<2dz*RovD<7cK8fMc%)x*0DNeAV4 zRF4O~d-FS>{@>l2rH>?jOBG^J{-vod2|Tf8+h84HS&4fy(cszeG{IkqQ-abt3r^%Q zPvz#orzwugL~45~XE5QjP4NaK;`1rQO~R|6viEKahS(HCY$C(QT(Vg2X6k$hFQ^($ z;#EtnHHpGBsme5o(lmFwB!THwe7K-WOl6%U-mFx0wgf*>D&yz22Q#u}R?PV-Eq&XC z`B}fi3b2l%}lVk2~n#red zrkcrNk}t(_Tv1ZITS#~3^E+76?kq3uX+eKd3~1NbJ<1I@V23|q(_MKehtewMZEW>1rL zvfRXi^$4zDI?Y#TgK|FDa2H0{rV>FMR%=)lp}Qu}LMHb+RpvP9-rI|NrcI8P^LH3AzWPPIQ*Ij2+9 zMI0);#FH%NNYOnNdloSwslB<>EKaLrD&WK~zb=!ax|$7FqQj(u{HJ(!UqzTtNy zgN(W7d!ziDDwY$kcutzk;sO21OMG4dp~DDwwU6*31^xeik^%HWJ;J=May!HBjJvmV z#Aya3n`p-%mi`Gj+1{ISwNE+!zLzktltSQ;kGPEc3kug>=tw?z?NYhd^$f--gK<6} z+Z43TM~+IuyqO_B{wf}5E(G*9krVa?kJvR6)O~K7?^i4h8n4h#bShf$DD*=AD@SY{MmdJBw?;?3!;z;gk`cBQoHRt0Wtjz=@@4#t9x7 zTjg#1zfx08o>va%sLajh+3aw-N9!ZJtLHN~QDe0V9s5Y*e?QHt=@BjBF$GFxaj@q{ zXLtnhKHb2dqf$QSl~+9ieIL69yWo?zb(#tnziNG-4~rGwHr^5S9PfY8r+8Z@lW?J| z)=9-j&*H>-N4EOeKY(DKJ@WOVyL$ZYoTEEd&y-5|?+Hs!z%gs<>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Get-ZNSettingsMfaCache.md ## SYNTAX ``` +<<<<<<<< HEAD:help/zeronetworks/Get-ZNOtRule.md Get-ZNOtRule [-AccountName ] [-PassThru] [] ``` ## DESCRIPTION Returns a list of switch rules. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} +======== +Get-ZNSettingsMfaCache [-Limit ] [-Offset ] [-WithCount] [] ``` -```output -{{ Add output here (remove the output block if the example doesn't have an output) }} -``` +## DESCRIPTION +Returns a list of MFA Cache Policies. +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Get-ZNSettingsMfaCache.md -{{ Add description here }} +## EXAMPLES -### Example 2: {{ Add title here }} +### Example 1: List MFA Cache policies ```powershell -{{ Add code here }} +(Get-ZNSettingsMfaCache).Items ``` ```output -{{ Add output here (remove the output block if the example doesn't have an output) }} +AssetLimit EntityId EntityInfo TtlMinutes +---------- -------- ---------- ---------- + 10 g:a:3U1Z38mF ZeroNetworks.PowerShell.Cmdlets.Api.Models.SettingsMfaCacheEntityInfo 720 ``` -{{ Add description here }} +This cmdlet lists MFA cache policies. ## PARAMETERS @@ -75,6 +85,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -WithCount +return count of objects + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: $true +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). @@ -84,6 +109,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError +<<<<<<<< HEAD:help/zeronetworks/Get-ZNOtRule.md +======== +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaCacheList + +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Get-ZNSettingsMfaCache.md ## NOTES ## RELATED LINKS diff --git a/help/zeronetworks/Invoke-ZNResyncAzureAd.md b/help/zeronetworks/Invoke-ZNResyncAzureAd.md index 535a001..715ac18 100644 --- a/help/zeronetworks/Invoke-ZNResyncAzureAd.md +++ b/help/zeronetworks/Invoke-ZNResyncAzureAd.md @@ -1,11 +1,19 @@ --- external help file: Module Name: ZeroNetworks +<<<<<<<< HEAD:help/zeronetworks/Invoke-ZNResyncAzureAd.md online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/invoke-znresyncazuread schema: 2.0.0 --- # Invoke-ZNResyncAzureAd +======== +online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsnetworkprotectionpolicy +schema: 2.0.0 +--- + +# Remove-ZNSettingsNetworkProtectionPolicy +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Remove-ZNSettingsNetworkProtectionPolicy.md ## SYNOPSIS Resync Azure AD @@ -13,7 +21,12 @@ Resync Azure AD ## SYNTAX ``` +<<<<<<<< HEAD:help/zeronetworks/Invoke-ZNResyncAzureAd.md Invoke-ZNResyncAzureAd [-AccountName ] [-PassThru] [-Confirm] [-WhatIf] [] +======== +Remove-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId [-PassThru] [-Confirm] [-WhatIf] + [] +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Remove-ZNSettingsNetworkProtectionPolicy.md ``` ## DESCRIPTION @@ -21,12 +34,21 @@ Resync Azure AD ## EXAMPLES +<<<<<<<< HEAD:help/zeronetworks/Invoke-ZNResyncAzureAd.md ### Example 1: Resync Azure AD ```powershell Invoke-ZNResyncAzureAd ``` This cmdlet starts an Azure AD resync. +======== +### Example 1: Remove Network segmentation policy +```powershell +Remove-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId d63cf8e2-b21e-4097-98f3-137549de62c1 +``` + +This cmdlet removes a Network segemntation policy. +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Remove-ZNSettingsNetworkProtectionPolicy.md ## PARAMETERS diff --git a/help/zeronetworks/New-ZNSettingsMfaCache.md b/help/zeronetworks/New-ZNSettingsMfaCache.md index 8fe4c39..cab129c 100644 --- a/help/zeronetworks/New-ZNSettingsMfaCache.md +++ b/help/zeronetworks/New-ZNSettingsMfaCache.md @@ -1,6 +1,7 @@ --- external help file: Module Name: ZeroNetworks +<<<<<<<< HEAD:help/zeronetworks/New-ZNSettingsMfaCache.md online version: https://github.com/zeronetworks/zero-powershell/tree/master/src/help/zeronetworks/new-znsettingsmfacache schema: 2.0.0 --- @@ -9,10 +10,21 @@ schema: 2.0.0 ## SYNOPSIS Creates a MFA Cache Policy. +======== +online version: https://github.com/zeronetworkszeronetworks/update-znostype +schema: 2.0.0 +--- + +# Update-ZNOSType + +## SYNOPSIS +Set the OS type (Windows/Linux/Mac) for multiple assets +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Update-ZNOSType.md ## SYNTAX ``` +<<<<<<<< HEAD:help/zeronetworks/New-ZNSettingsMfaCache.md New-ZNSettingsMfaCache -AssetLimit -EntityId -TtlMinutes [-AccountName ] [-Confirm] [-WhatIf] [] ``` @@ -39,21 +51,48 @@ This cmdlet creates a MFA cache policy. ### -AccountName this value is per customer / partner +======== +Update-ZNOSType -AssetIds -OSType [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Set the OS type (Windows/Linux/Mac) for multiple assets + +## EXAMPLES + +### Example 1: Change asset OS type. +```powershell +$asset = Search-ZNAsset -Fqdn linux0.posh.local +Update-ZNOSType -AssetIds @($asset.AssetId) -OSType 2 +``` + +This cmdlet updates the OS Type for the asset. + +## PARAMETERS + +### -AssetIds +. +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Update-ZNOSType.md ```yaml -Type: System.String +Type: System.String[] Parameter Sets: (All) Aliases: -Required: False +Required: True Position: Named Default value: (Read-ZNJWTtoken $env:ZNApiKey).aud.split(".")[0] Accept pipeline input: False Accept wildcard characters: False ``` +<<<<<<<< HEAD:help/zeronetworks/New-ZNSettingsMfaCache.md ### -AssetLimit . +======== +### -OSType +Possible osType: * `1' - Windows * `2' - Linux * `3' - Mac +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Update-ZNOSType.md ```yaml Type: System.Int32 @@ -67,15 +106,20 @@ Accept pipeline input: False Accept wildcard characters: False ``` +<<<<<<<< HEAD:help/zeronetworks/New-ZNSettingsMfaCache.md ### -EntityId . +======== +### -PassThru +Returns true when the command succeeds +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Update-ZNOSType.md ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) Aliases: -Required: True +Required: False Position: Named Default value: None Accept pipeline input: False @@ -137,8 +181,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError +<<<<<<<< HEAD:help/zeronetworks/New-ZNSettingsMfaCache.md ### ZeroNetworks.PowerShell.Cmdlets.Api.Models.ISettingsMfaCacheItem +======== +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/docs/Update-ZNOSType.md ## NOTES ## RELATED LINKS diff --git a/src/ZN/custom/Set-ZNAPIKey.ps1 b/src/ZN/custom/Set-ZNAPIKey.ps1 index 032a21e..237d02d 100644 --- a/src/ZN/custom/Set-ZNAPIKey.ps1 +++ b/src/ZN/custom/Set-ZNAPIKey.ps1 @@ -33,7 +33,14 @@ function Set-ZNApiKey { $env:ZNApiKey = $ApiKey } catch { - throw + throw "Failed to Set API Key" + } + + try { + invoke-restmethod -uri "https://portal.zeronetworks.com/api/v1/assets?_limit=1" -method get -headers @{"Authorization"=$ApiKey} | out-null + } + catch { + throw "Failed to Set API Key, API Key is incorrect or failed." } } } \ No newline at end of file diff --git a/src/ZN/docs/Get-ZNSettingsIdentityProtectionPoliciesCandidate.md b/src/ZN/docs/Get-ZNSettingsIdentityProtectionPoliciesCandidate.md new file mode 100644 index 0000000..5241242 --- /dev/null +++ b/src/ZN/docs/Get-ZNSettingsIdentityProtectionPoliciesCandidate.md @@ -0,0 +1,108 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/get-znsettingsidentityprotectionpoliciescandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsIdentityProtectionPoliciesCandidate + +## SYNOPSIS +Returns a list of candidates for identity protection policies. + +## SYNTAX + +``` +Get-ZNSettingsIdentityProtectionPoliciesCandidate [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of candidates for identity protection policies. + +## EXAMPLES + +### Example 1: List candidates for Identity segmentation policies +```powershell +(Get-ZNSettingsIdentityProtectionPoliciesCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for Identity segmentation policies. + +## PARAMETERS + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNSettingsIdentityProtectionPolicy.md b/src/ZN/docs/Get-ZNSettingsIdentityProtectionPolicy.md new file mode 100644 index 0000000..07f61a5 --- /dev/null +++ b/src/ZN/docs/Get-ZNSettingsIdentityProtectionPolicy.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/get-znsettingsidentityprotectionpolicy +schema: 2.0.0 +--- + +# Get-ZNSettingsIdentityProtectionPolicy + +## SYNOPSIS +Returns a list of identity protection policies. + +## SYNTAX + +``` +Get-ZNSettingsIdentityProtectionPolicy [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +Returns a list of identity protection policies. + +## EXAMPLES + +### Example 1: List Identity segmentation policies +```powershell +Get-ZNSettingsIdentityProtectionPolicy +``` + +```output +CreatedAt : 1720788060631 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +ExistingMembersLearningDays : 30 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasProtectionPolicy : +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 14cf1464-2807-490b-8009-9ce1d736fd38 +InitialProtectAt : 1723380060630 +NewMembersLearningDays : 30 +UpdatedAt : 1720788060631 +``` + +This cmdlet lists Identity segmentation policies. + +## PARAMETERS + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPoliciesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNSettingsNetworkProtectionPoliciesCandidate.md b/src/ZN/docs/Get-ZNSettingsNetworkProtectionPoliciesCandidate.md new file mode 100644 index 0000000..21fe7c6 --- /dev/null +++ b/src/ZN/docs/Get-ZNSettingsNetworkProtectionPoliciesCandidate.md @@ -0,0 +1,108 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/get-znsettingsnetworkprotectionpoliciescandidate +schema: 2.0.0 +--- + +# Get-ZNSettingsNetworkProtectionPoliciesCandidate + +## SYNOPSIS +Returns a list of candidates for a network protection policy. + +## SYNTAX + +``` +Get-ZNSettingsNetworkProtectionPoliciesCandidate [-Limit ] [-Offset ] [-Search ] + [] +``` + +## DESCRIPTION +Returns a list of candidates for a network protection policy. + +## EXAMPLES + +### Example 1: List candidates for Network segmentation policies +```powershell +(Get-ZNSettingsNetworkProtectionPoliciesCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for Network segmentation policies. + +## PARAMETERS + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Search +Test to search for + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IGroupCandidatesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Get-ZNSettingsNetworkProtectionPolicy.md b/src/ZN/docs/Get-ZNSettingsNetworkProtectionPolicy.md new file mode 100644 index 0000000..caaeaea --- /dev/null +++ b/src/ZN/docs/Get-ZNSettingsNetworkProtectionPolicy.md @@ -0,0 +1,99 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/get-znsettingsnetworkprotectionpolicy +schema: 2.0.0 +--- + +# Get-ZNSettingsNetworkProtectionPolicy + +## SYNOPSIS +Returns a list of network protection policies. + +## SYNTAX + +``` +Get-ZNSettingsNetworkProtectionPolicy [-Limit ] [-Offset ] [] +``` + +## DESCRIPTION +Returns a list of network protection policies. + +## EXAMPLES + +### Example 1: List Network segmentation policies +```powershell +Get-ZNSettingsNetworkProtectionPolicy +``` + +```output +CreatedAt : 1720788122962 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +ExistingMembersLearningDays : 30 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasProtectionPolicy : +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 22c13631-c31d-4698-a875-fa1327cf01b5 +InitialProtectAt : 1723380122955 +NewMembersLearningDays : 30 +UpdatedAt : 1720788122962 +``` + +This cmdlet lists Network segmentation policies. + +## PARAMETERS + +### -Limit +Limit the return results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: 10 +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Offset +Used to page through results + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPoliciesList + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNSettingsIdentityProtectionPolicy.md b/src/ZN/docs/New-ZNSettingsIdentityProtectionPolicy.md new file mode 100644 index 0000000..dc506b3 --- /dev/null +++ b/src/ZN/docs/New-ZNSettingsIdentityProtectionPolicy.md @@ -0,0 +1,193 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/new-znsettingsidentityprotectionpolicy +schema: 2.0.0 +--- + +# New-ZNSettingsIdentityProtectionPolicy + +## SYNOPSIS +Returns the identity protection policy that was created. + +## SYNTAX + +``` +New-ZNSettingsIdentityProtectionPolicy -ExistingMembersLearningDays -GroupId + -NewMembersLearningDays [-Description ] [-Enabled] [-EnforceBlocks] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the identity protection policy that was created. + +## EXAMPLES + +### Example 1: Create Identity Segmentation Policy +```powershell +$group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} +New-ZNSettingsIdentityProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasProtectionPolicy : +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : 64f775d3-7c87-46a4-ac3c-8a21d340a645 +ItemInitialProtectAt : 1723380436341 +ItemNewMembersLearningDays : 30 +ItemUpdatedAt : +``` + +This cmdlet creates a new Identity segmentation policy. + +## PARAMETERS + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnforceBlocks +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/New-ZNSettingsNetworkProtectionPolicy.md b/src/ZN/docs/New-ZNSettingsNetworkProtectionPolicy.md new file mode 100644 index 0000000..fe173bb --- /dev/null +++ b/src/ZN/docs/New-ZNSettingsNetworkProtectionPolicy.md @@ -0,0 +1,193 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/new-znsettingsnetworkprotectionpolicy +schema: 2.0.0 +--- + +# New-ZNSettingsNetworkProtectionPolicy + +## SYNOPSIS +Returns the network protection policy that was created. + +## SYNTAX + +``` +New-ZNSettingsNetworkProtectionPolicy -ExistingMembersLearningDays -GroupId + -NewMembersLearningDays [-Description ] [-Enabled] [-EnforceBlocks] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns the network protection policy that was created. + +## EXAMPLES + +### Example 1: Create Network Segmentation Policy +```powershell +$group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} +New-ZNSettingsNetworkProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasProtectionPolicy : +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : d63cf8e2-b21e-4097-98f3-137549de62c1 +ItemInitialProtectAt : 1723380499541 +ItemNewMembersLearningDays : 30 +ItemUpdatedAt : +``` + +This cmdlet creates a new Network segmentation policy. + +## PARAMETERS + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnforceBlocks +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -GroupId +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Remove-ZNSettingsIdentityProtectionPolicy.md b/src/ZN/docs/Remove-ZNSettingsIdentityProtectionPolicy.md new file mode 100644 index 0000000..38242df --- /dev/null +++ b/src/ZN/docs/Remove-ZNSettingsIdentityProtectionPolicy.md @@ -0,0 +1,107 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/remove-znsettingsidentityprotectionpolicy +schema: 2.0.0 +--- + +# Remove-ZNSettingsIdentityProtectionPolicy + +## SYNOPSIS +Returns and empty object. + +## SYNTAX + +``` +Remove-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Returns and empty object. + +## EXAMPLES + +### Example 1: Remove Identity segmentation policy +```powershell +Remove-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId 64f775d3-7c87-46a4-ac3c-8a21d340a645 +``` + +This cmdlet removes an Identity segemntation policy. + +## PARAMETERS + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtectionPolicyId +The id of the protection policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNAssetInboundRule.md b/src/ZN/docs/Update-ZNAssetInboundRule.md index ea37c8f..9f340de 100644 --- a/src/ZN/docs/Update-ZNAssetInboundRule.md +++ b/src/ZN/docs/Update-ZNAssetInboundRule.md @@ -14,7 +14,7 @@ Updates an inbound rule. ``` Update-ZNAssetInboundRule -AssetId -RuleId [-Action ] [-Description ] - [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -159,6 +159,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +IpSec Config + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId The Destination asset(s). diff --git a/src/ZN/docs/Update-ZNAssetOutboundRule.md b/src/ZN/docs/Update-ZNAssetOutboundRule.md index 37abca3..a184229 100644 --- a/src/ZN/docs/Update-ZNAssetOutboundRule.md +++ b/src/ZN/docs/Update-ZNAssetOutboundRule.md @@ -14,7 +14,7 @@ Updates an outbound rule. ``` Update-ZNAssetOutboundRule -AssetId -RuleId [-Action ] [-Description ] - [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-SrcUsersList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] @@ -160,6 +160,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +IpSec Config + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId The source asset(s). diff --git a/src/ZN/docs/Update-ZNGroupsInboundRule.md b/src/ZN/docs/Update-ZNGroupsInboundRule.md index ae01864..1c66e2e 100644 --- a/src/ZN/docs/Update-ZNGroupsInboundRule.md +++ b/src/ZN/docs/Update-ZNGroupsInboundRule.md @@ -14,9 +14,10 @@ Updates an inbound rule. ``` Update-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Action ] - [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] - [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] - [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] + [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] + [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -174,6 +175,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +IpSec Config + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId The Destination asset(s). diff --git a/src/ZN/docs/Update-ZNInboundRule.md b/src/ZN/docs/Update-ZNInboundRule.md index 66e4eb7..2943fb5 100644 --- a/src/ZN/docs/Update-ZNInboundRule.md +++ b/src/ZN/docs/Update-ZNInboundRule.md @@ -14,7 +14,7 @@ Updates an inbound rule. ``` Update-ZNInboundRule -RuleId [-Action ] [-Description ] - [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -139,6 +139,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +IpSec Config + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId The Destination asset(s). diff --git a/src/ZN/docs/Update-ZNOutboundRule.md b/src/ZN/docs/Update-ZNOutboundRule.md index 4d6c4cc..e1380b2 100644 --- a/src/ZN/docs/Update-ZNOutboundRule.md +++ b/src/ZN/docs/Update-ZNOutboundRule.md @@ -14,7 +14,7 @@ Updates an outbound rule. ``` Update-ZNOutboundRule -RuleId [-Action ] [-Description ] - [-ExcludedLocalIdsList ] [-ExpiresAt ] [-LocalEntityId ] + [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IPSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-SrcUsersList ] [-State ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] @@ -139,6 +139,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IPSecOpt +IpSec Config + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LocalEntityId The source asset(s). diff --git a/src/ZN/docs/Update-ZNSettingsIdentityProtectionPolicy.md b/src/ZN/docs/Update-ZNSettingsIdentityProtectionPolicy.md new file mode 100644 index 0000000..19889e0 --- /dev/null +++ b/src/ZN/docs/Update-ZNSettingsIdentityProtectionPolicy.md @@ -0,0 +1,211 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/update-znsettingsidentityprotectionpolicy +schema: 2.0.0 +--- + +# Update-ZNSettingsIdentityProtectionPolicy + +## SYNOPSIS +Returns the updated settings for the identity protection policy. + +## SYNTAX + +``` +Update-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId -ExistingMembersLearningDays + -NewMembersLearningDays -PolicyType [-Description ] [-Enabled] [-Id ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the updated settings for the identity protection policy. + +## EXAMPLES + +### Example 1: Update Identity segmentation policy +```powershell +$policy = Get-ZNSettingsIdentityProtectionPolicy | where {$_.Id -eq "14cf1464-2807-490b-8009-9ce1d736fd38"} +Update-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId $policy.Id -Enabled:$policy.Enabled -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 -PolicyType $policy.PolicyType +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +ItemCreatedAt : 1720788060631 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:04669ce2 +ItemId : 14cf1464-2807-490b-8009-9ce1d736fd38 +ItemInitialProtectAt : 1725981560665 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 2 +ItemUpdatedAt : 1720788060631 +``` + +This cmdlet updates an Identity segmentation policy. + +## PARAMETERS + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtectionPolicyId +The id of the protection policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/docs/Update-ZNSettingsNetworkProtectionPolicy.md b/src/ZN/docs/Update-ZNSettingsNetworkProtectionPolicy.md new file mode 100644 index 0000000..5f04095 --- /dev/null +++ b/src/ZN/docs/Update-ZNSettingsNetworkProtectionPolicy.md @@ -0,0 +1,211 @@ +--- +external help file: +Module Name: ZeroNetworks +online version: https://github.com/zeronetworkszeronetworks/update-znsettingsnetworkprotectionpolicy +schema: 2.0.0 +--- + +# Update-ZNSettingsNetworkProtectionPolicy + +## SYNOPSIS +Returns the updated settings for the network protection policy. + +## SYNTAX + +``` +Update-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId -ExistingMembersLearningDays + -NewMembersLearningDays -PolicyType [-Description ] [-Enabled] [-Id ] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Returns the updated settings for the network protection policy. + +## EXAMPLES + +### Example 1: Update Network segmentation policy +```powershell +$policy = Get-ZNSettingsNetworkProtectionPolicy | where {$_.Id -eq "22c13631-c31d-4698-a875-fa1327cf01b5"} +Update-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId $policy.Id -Enabled:$policy.Enabled -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 -PolicyType $policy.PolicyType +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +ItemCreatedAt : 1720788122962 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : False +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:04669ce2 +ItemId : 22c13631-c31d-4698-a875-fa1327cf01b5 +ItemInitialProtectAt : 1725981649163 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 1 +ItemUpdatedAt : 1720788122962 +``` + +This cmdlet updates a Network segmentation policy. + +## PARAMETERS + +### -Description +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Enabled +. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExistingMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NewMembersLearningDays +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyType +. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtectionPolicyId +The id of the protection policy + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IError + +### ZeroNetworks.PowerShell.Cmdlets.Api.Models.IProtectionPolicyResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/ZN/examples/Get-ZNAssetsRpcSegmented.md b/src/ZN/examples/Get-ZNAssetsRpcSegmented.md index 650c81c..fac7eb0 100644 --- a/src/ZN/examples/Get-ZNAssetsRpcSegmented.md +++ b/src/ZN/examples/Get-ZNAssetsRpcSegmented.md @@ -14,7 +14,6 @@ The cmdlet will list Assets in RPC segmentation for the environment. ### Example 2: List next page of assets in RPC segmentation ```powershell (Get-ZNAssetsRpcSegmented -Offset 10).Items - ``` Use offset to get the next page of Assets in RPC segmentation. diff --git a/src/ZN/examples/Get-ZNSettingsIdentityProtectionPoliciesCandidate.md b/src/ZN/examples/Get-ZNSettingsIdentityProtectionPoliciesCandidate.md new file mode 100644 index 0000000..39727db --- /dev/null +++ b/src/ZN/examples/Get-ZNSettingsIdentityProtectionPoliciesCandidate.md @@ -0,0 +1,21 @@ +### Example 1: List candidates for Identity segmentation policies +```powershell +(Get-ZNSettingsIdentityProtectionPoliciesCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for Identity segmentation policies. diff --git a/src/ZN/examples/Get-ZNSettingsIdentityProtectionPolicy.md b/src/ZN/examples/Get-ZNSettingsIdentityProtectionPolicy.md new file mode 100644 index 0000000..a8950f8 --- /dev/null +++ b/src/ZN/examples/Get-ZNSettingsIdentityProtectionPolicy.md @@ -0,0 +1,28 @@ +### Example 1: List Identity segmentation policies +```powershell +Get-ZNSettingsIdentityProtectionPolicy +``` + +```output +CreatedAt : 1720788060631 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +ExistingMembersLearningDays : 30 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasProtectionPolicy : +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 14cf1464-2807-490b-8009-9ce1d736fd38 +InitialProtectAt : 1723380060630 +NewMembersLearningDays : 30 +UpdatedAt : 1720788060631 +``` + +This cmdlet lists Identity segmentation policies. diff --git a/src/ZN/examples/Get-ZNSettingsNetworkProtectionPoliciesCandidate.md b/src/ZN/examples/Get-ZNSettingsNetworkProtectionPoliciesCandidate.md new file mode 100644 index 0000000..89ee789 --- /dev/null +++ b/src/ZN/examples/Get-ZNSettingsNetworkProtectionPoliciesCandidate.md @@ -0,0 +1,21 @@ +### Example 1: List candidates for Network segmentation policies +```powershell +(Get-ZNSettingsNetworkProtectionPoliciesCandidate).Items +``` + +```output +Domain HasProtectionPolicy Id Name +------ ------------------- -- ---- +posh.local g:a:2mkAN4DS Domain Computers +posh.local g:a:3AFg9RPE Backup Operators +posh.local g:a:3npP67jr Windows Authorization Access Group +posh.local g:a:3U1Z38mF Domain Admins +posh.local g:a:7tzfiueO DnsAdmins +posh.local g:a:81Tnx8va Pre-Windows 2000 Compatible Access +posh.local g:a:8ajEi4UV Domain Guests +posh.local g:a:AcuMXaSY RAS and IAS Servers +posh.local g:a:ApakNovN Domain Controllers +posh.local g:a:BaWTMSoa Guests +``` + +This cmdlet lists candidates for Network segmentation policies. diff --git a/src/ZN/examples/Get-ZNSettingsNetworkProtectionPolicy.md b/src/ZN/examples/Get-ZNSettingsNetworkProtectionPolicy.md new file mode 100644 index 0000000..88b726a --- /dev/null +++ b/src/ZN/examples/Get-ZNSettingsNetworkProtectionPolicy.md @@ -0,0 +1,28 @@ +### Example 1: List Network segmentation policies +```powershell +Get-ZNSettingsNetworkProtectionPolicy +``` + +```output +CreatedAt : 1720788122962 +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +Description : +Enabled : False +ExistingMembersLearningDays : 30 +GroupId : g:s:04669ce2 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasProtectionPolicy : +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +Id : 22c13631-c31d-4698-a875-fa1327cf01b5 +InitialProtectAt : 1723380122955 +NewMembersLearningDays : 30 +UpdatedAt : 1720788122962 +``` + +This cmdlet lists Network segmentation policies. diff --git a/src/ZN/examples/New-ZNSettingsIdentityProtectionPolicy.md b/src/ZN/examples/New-ZNSettingsIdentityProtectionPolicy.md new file mode 100644 index 0000000..eacf7b5 --- /dev/null +++ b/src/ZN/examples/New-ZNSettingsIdentityProtectionPolicy.md @@ -0,0 +1,29 @@ +### Example 1: Create Identity Segmentation Policy +```powershell +$group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} +New-ZNSettingsIdentityProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasProtectionPolicy : +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : 64f775d3-7c87-46a4-ac3c-8a21d340a645 +ItemInitialProtectAt : 1723380436341 +ItemNewMembersLearningDays : 30 +ItemUpdatedAt : +``` + +This cmdlet creates a new Identity segmentation policy. diff --git a/src/ZN/examples/New-ZNSettingsNetworkProtectionPolicy.md b/src/ZN/examples/New-ZNSettingsNetworkProtectionPolicy.md new file mode 100644 index 0000000..f30dd78 --- /dev/null +++ b/src/ZN/examples/New-ZNSettingsNetworkProtectionPolicy.md @@ -0,0 +1,29 @@ +### Example 1: Create Network Segmentation Policy +```powershell +$group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} +New-ZNSettingsNetworkProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 6 +CreatedById : m:ea53c6e1d0072c5974ceec597b64989274b7ba5f +CreatedByName : powershell +CreatedByUserRole : 4 +GroupInfoDomain : system +GroupInfoGuid : 56779f63-9c03-4c5a-9312-cfc7964fc827 +GroupInfoHasProtectionPolicy : +GroupInfoId : g:s:03669ce2 +GroupInfoName : Servers +ItemCreatedAt : -62135596800000 +ItemDescription : +ItemEnabled : False +ItemExistingMembersLearningDays : 30 +ItemGroupId : g:s:03669ce2 +ItemId : d63cf8e2-b21e-4097-98f3-137549de62c1 +ItemInitialProtectAt : 1723380499541 +ItemNewMembersLearningDays : 30 +ItemUpdatedAt : +``` + +This cmdlet creates a new Network segmentation policy. diff --git a/src/ZN/examples/Remove-ZNSettingsIdentityProtectionPolicy.md b/src/ZN/examples/Remove-ZNSettingsIdentityProtectionPolicy.md new file mode 100644 index 0000000..2583b62 --- /dev/null +++ b/src/ZN/examples/Remove-ZNSettingsIdentityProtectionPolicy.md @@ -0,0 +1,10 @@ +### Example 1: Remove Identity segmentation policy +```powershell +Remove-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId 64f775d3-7c87-46a4-ac3c-8a21d340a645 +``` + +```output + +``` + +This cmdlet removes an Identity segemntation policy. diff --git a/src/ZN/examples/Remove-ZNSettingsNetworkProtectionPolicy.md b/src/ZN/examples/Remove-ZNSettingsNetworkProtectionPolicy.md new file mode 100644 index 0000000..67a9d2d --- /dev/null +++ b/src/ZN/examples/Remove-ZNSettingsNetworkProtectionPolicy.md @@ -0,0 +1,10 @@ +### Example 1: Remove Network segmentation policy +```powershell +Remove-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId d63cf8e2-b21e-4097-98f3-137549de62c1 +``` + +```output + +``` + +This cmdlet removes a Network segemntation policy. diff --git a/src/ZN/examples/Update-ZNOSType.md b/src/ZN/examples/Update-ZNOSType.md new file mode 100644 index 0000000..d3fbf7e --- /dev/null +++ b/src/ZN/examples/Update-ZNOSType.md @@ -0,0 +1,11 @@ +### Example 1: Change asset OS type. +```powershell +$asset = Search-ZNAsset -Fqdn linux0.posh.local +Update-ZNOSType -AssetIds @($asset.AssetId) -OSType 2 +``` + +```output + +``` + +This cmdlet updates the OS Type for the asset. diff --git a/src/ZN/examples/Update-ZNSettingsIdentityProtectionPolicy.md b/src/ZN/examples/Update-ZNSettingsIdentityProtectionPolicy.md new file mode 100644 index 0000000..e04c266 --- /dev/null +++ b/src/ZN/examples/Update-ZNSettingsIdentityProtectionPolicy.md @@ -0,0 +1,32 @@ +### Example 1: Update Identity segmentation policy +```powershell +$policy = Get-ZNSettingsIdentityProtectionPolicy | where {$_.Id -eq "14cf1464-2807-490b-8009-9ce1d736fd38"} +Update-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId $policy.Id -Enabled:$policy.Enabled -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 -PolicyType $policy.PolicyType +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +ItemCreatedAt : 1720788060631 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:04669ce2 +ItemId : 14cf1464-2807-490b-8009-9ce1d736fd38 +ItemInitialProtectAt : 1725981560665 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 2 +ItemUpdatedAt : 1720788060631 +``` + +This cmdlet updates an Identity segmentation policy. diff --git a/src/ZN/examples/Update-ZNSettingsNetworkProtectionPolicy.md b/src/ZN/examples/Update-ZNSettingsNetworkProtectionPolicy.md new file mode 100644 index 0000000..5c02a9e --- /dev/null +++ b/src/ZN/examples/Update-ZNSettingsNetworkProtectionPolicy.md @@ -0,0 +1,32 @@ +### Example 1: Update Network segmentation policy +```powershell +$policy = Get-ZNSettingsNetworkProtectionPolicy | where {$_.Id -eq "22c13631-c31d-4698-a875-fa1327cf01b5"} +Update-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId $policy.Id -Enabled:$policy.Enabled -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 -PolicyType $policy.PolicyType +``` + +```output +CreatedByEmail : +CreatedByEnforcementSource : 4 +CreatedById : 1f352ed0-86f1-454f-90a5-592c197c8000 +CreatedByName : Zero Networks +CreatedByUserRole : 1 +GroupInfoDomain : system +GroupInfoGuid : b69e53c2-cf08-47bb-a5d1-c1b1f801d54c +GroupInfoHasIdentityProtectionPolicy : False +GroupInfoHasNetworkProtectionPolicy : False +GroupInfoId : g:s:04669ce2 +GroupInfoName : Clients +ItemCreatedAt : 1720788122962 +ItemDescription : +ItemEnabled : False +ItemEnforceBlocks : False +ItemExistingMembersLearningDays : 60 +ItemGroupId : g:s:04669ce2 +ItemId : 22c13631-c31d-4698-a875-fa1327cf01b5 +ItemInitialProtectAt : 1725981649163 +ItemNewMembersLearningDays : 60 +ItemPolicyType : 1 +ItemUpdatedAt : 1720788122962 +``` + +This cmdlet updates a Network segmentation policy. diff --git a/src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 b/src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 index 2a36cac..3a2aea0 100644 --- a/src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 +++ b/src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 @@ -1,11 +1,19 @@ +<<<<<<<< HEAD:src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAeExclusionsInbound')) +======== +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsIdentityProtectionPolicy')) +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/test/Get-ZNSettingsIdentityProtectionPolicy.Tests.ps1 { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) +<<<<<<<< HEAD:src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAeExclusionsInbound.Recording.json' +======== + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNSettingsIdentityProtectionPolicy.Recording.json' +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/test/Get-ZNSettingsIdentityProtectionPolicy.Tests.ps1 $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,8 +22,14 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAeExclusionsInbound')) . ($mockingPath | Select-Object -First 1).FullName } +<<<<<<<< HEAD:src/ZN/test/Get-ZNAeExclusionsInbound.Tests.ps1 Describe 'Get-ZNAeExclusionsInbound' { It 'List' { (Get-ZNAeExclusionsInbound).Count | Should -BeGreaterThan 0 +======== +Describe 'Get-ZNSettingsIdentityProtectionPolicy' { + It 'List' { + (get-ZNSettingsIdentityProtectionPolicy).Count | Should -BeGreaterThan 0 +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/test/Get-ZNSettingsIdentityProtectionPolicy.Tests.ps1 } } diff --git a/src/ZN/test/Get-ZNSettingsIdentityProtectionPoliciesCandidate.Tests.ps1 b/src/ZN/test/Get-ZNSettingsIdentityProtectionPoliciesCandidate.Tests.ps1 new file mode 100644 index 0000000..69033a0 --- /dev/null +++ b/src/ZN/test/Get-ZNSettingsIdentityProtectionPoliciesCandidate.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsIdentityProtectionPoliciesCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNSettingsIdentityProtectionPoliciesCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNSettingsIdentityProtectionPoliciesCandidate' { + It 'List' { + (get-ZNSettingsIdentityProtectionPoliciesCandidate).Items.Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNSettingsNetworkProtectionPoliciesCandidate.Tests.ps1 b/src/ZN/test/Get-ZNSettingsNetworkProtectionPoliciesCandidate.Tests.ps1 new file mode 100644 index 0000000..ebb2af8 --- /dev/null +++ b/src/ZN/test/Get-ZNSettingsNetworkProtectionPoliciesCandidate.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsNetworkProtectionPoliciesCandidate')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNSettingsNetworkProtectionPoliciesCandidate.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNSettingsNetworkProtectionPoliciesCandidate' { + It 'List' { + (get-ZNSettingsNetworkProtectionPoliciesCandidate).Items.Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/Get-ZNSettingsNetworkProtectionPolicy.Tests.ps1 b/src/ZN/test/Get-ZNSettingsNetworkProtectionPolicy.Tests.ps1 new file mode 100644 index 0000000..a7c9ea7 --- /dev/null +++ b/src/ZN/test/Get-ZNSettingsNetworkProtectionPolicy.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsNetworkProtectionPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNSettingsNetworkProtectionPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-ZNSettingsNetworkProtectionPolicy' { + It 'List' { + (get-ZNSettingsNetworkProtectionPolicy).Count | Should -BeGreaterThan 0 + } +} diff --git a/src/ZN/test/New-ZNSettingsAd.Tests.ps1 b/src/ZN/test/New-ZNSettingsAd.Tests.ps1 index 8812723..8c13e20 100644 --- a/src/ZN/test/New-ZNSettingsAd.Tests.ps1 +++ b/src/ZN/test/New-ZNSettingsAd.Tests.ps1 @@ -16,8 +16,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-ZNSettingsAd')) Describe 'New-ZNSettingsAd' { It 'NewExpanded' { - { New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains } | Should -Not -Throw - $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} + { New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.com -PrimaryDomainConfigDomainName test.com -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains -allowNtlmFallback:$false } | Should -Not -Throw + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.com"} Remove-ZNSettingsAd -ForestId $forest.ForestId } } diff --git a/src/ZN/test/New-ZNSettingsAdSecondary.Tests.ps1 b/src/ZN/test/New-ZNSettingsAdSecondary.Tests.ps1 index 1fa4672..924950c 100644 --- a/src/ZN/test/New-ZNSettingsAdSecondary.Tests.ps1 +++ b/src/ZN/test/New-ZNSettingsAdSecondary.Tests.ps1 @@ -16,9 +16,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-ZNSettingsAdSecondary')) Describe 'New-ZNSettingsAdSecondary' { It 'CreateExpanded' { - New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains - $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} - { New-ZNSettingsAdSecondary -ForestId $forest.ForestId -SecondaryDomainConfigDomainControllerFqdn "dc.child.test.local" -SecondaryDomainConfigDomainName "child.test.local" } | Should -Not -Throw + New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.com -PrimaryDomainConfigDomainName test.com -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains -allowNtlmFallback:$false + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.com"} + { New-ZNSettingsAdSecondary -ForestId $forest.ForestId -SecondaryDomainConfigDomainControllerFqdn "dc.child.test.com" -SecondaryDomainConfigDomainName "child.test.com" } | Should -Not -Throw Remove-ZNSettingsAd -ForestId $forest.ForestId } } diff --git a/src/ZN/test/New-ZNSettingsIdentityProtectionPolicy.Tests.ps1 b/src/ZN/test/New-ZNSettingsIdentityProtectionPolicy.Tests.ps1 new file mode 100644 index 0000000..7449a98 --- /dev/null +++ b/src/ZN/test/New-ZNSettingsIdentityProtectionPolicy.Tests.ps1 @@ -0,0 +1,24 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNSettingsIdentityProtectionPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNSettingsIdentityProtectionPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNSettingsIdentityProtectionPolicy' { + It 'CreateExpanded' { + $group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} + $policy = New-ZNSettingsIdentityProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false + $policy.ItemId | Should -Not -Be $null + Remove-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId $policy.ItemId + } +} diff --git a/src/ZN/test/New-ZNSettingsNetworkProtectionPolicy.Tests.ps1 b/src/ZN/test/New-ZNSettingsNetworkProtectionPolicy.Tests.ps1 new file mode 100644 index 0000000..a6d3146 --- /dev/null +++ b/src/ZN/test/New-ZNSettingsNetworkProtectionPolicy.Tests.ps1 @@ -0,0 +1,24 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-ZNSettingsNetworkProtectionPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-ZNSettingsNetworkProtectionPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-ZNSettingsNetworkProtectionPolicy' { + It 'CreateExpanded' { + $group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} + $policy = New-ZNSettingsNetworkProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false + $policy.ItemId | Should -Not -Be $null + Remove-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId $policy.ItemId + } +} diff --git a/src/ZN/test/Remove-ZNSettingsAd.Tests.ps1 b/src/ZN/test/Remove-ZNSettingsAd.Tests.ps1 index 9f4bdf6..58bb3b3 100644 --- a/src/ZN/test/Remove-ZNSettingsAd.Tests.ps1 +++ b/src/ZN/test/Remove-ZNSettingsAd.Tests.ps1 @@ -16,8 +16,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNSettingsAd')) Describe 'Remove-ZNSettingsAd' { It 'Delete' { - New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains - $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} + New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.com -PrimaryDomainConfigDomainName test.com -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains -allowNtlmFallback:$false + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.com"} { Remove-ZNSettingsAd -ForestId $forest.ForestId } | Should -Not -Throw } } diff --git a/src/ZN/test/Remove-ZNSettingsAdSecondary.Tests.ps1 b/src/ZN/test/Remove-ZNSettingsAdSecondary.Tests.ps1 index b4fc238..e94c75c 100644 --- a/src/ZN/test/Remove-ZNSettingsAdSecondary.Tests.ps1 +++ b/src/ZN/test/Remove-ZNSettingsAdSecondary.Tests.ps1 @@ -16,10 +16,10 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNSettingsAdSecondary' Describe 'Remove-ZNSettingsAdSecondary' { It 'Delete' { - New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains - $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} - New-ZNSettingsAdSecondary -ForestId $forest.ForestId -SecondaryDomainConfigDomainControllerFqdn "dc.child.test.local" -SecondaryDomainConfigDomainName "child.test.local" - { Remove-ZNSettingsAdSecondary -DomainId "child.test.local" -ForestId $forest.ForestId } | Should -Not -Throw + New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.com -PrimaryDomainConfigDomainName test.com -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains -allowNtlmFallback:$false + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.com"} + New-ZNSettingsAdSecondary -ForestId $forest.ForestId -SecondaryDomainConfigDomainControllerFqdn "dc.child.test.com" -SecondaryDomainConfigDomainName "child.test.com" + { Remove-ZNSettingsAdSecondary -DomainId "child.test.com" -ForestId $forest.ForestId } | Should -Not -Throw Remove-ZNSettingsAd -ForestId $forest.ForestId } } diff --git a/src/ZN/test/Remove-ZNSettingsIdentityProtectionPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNSettingsIdentityProtectionPolicy.Tests.ps1 new file mode 100644 index 0000000..daeb06f --- /dev/null +++ b/src/ZN/test/Remove-ZNSettingsIdentityProtectionPolicy.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNSettingsIdentityProtectionPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNSettingsIdentityProtectionPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNSettingsIdentityProtectionPolicy' { + It 'Delete' { + $group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} + $policy = New-ZNSettingsIdentityProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false + {Remove-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId $policy.ItemId } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Remove-ZNSettingsNetworkProtectionPolicy.Tests.ps1 b/src/ZN/test/Remove-ZNSettingsNetworkProtectionPolicy.Tests.ps1 new file mode 100644 index 0000000..8bd66a2 --- /dev/null +++ b/src/ZN/test/Remove-ZNSettingsNetworkProtectionPolicy.Tests.ps1 @@ -0,0 +1,23 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-ZNSettingsNetworkProtectionPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-ZNSettingsNetworkProtectionPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-ZNSettingsNetworkProtectionPolicy' { + It 'Delete' { + $group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} + $policy = New-ZNSettingsNetworkProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false + {Remove-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId $policy.ItemId } | Should -Not -Throw + } +} diff --git a/src/ZN/test/Update-ZNGroupsInboundRule.Tests.ps1 b/src/ZN/test/Update-ZNGroupsInboundRule.Tests.ps1 index 7afce75..9ce2285 100644 --- a/src/ZN/test/Update-ZNGroupsInboundRule.Tests.ps1 +++ b/src/ZN/test/Update-ZNGroupsInboundRule.Tests.ps1 @@ -21,7 +21,7 @@ Describe 'Update-ZNGroupsInboundRule' { $portsList = New-ZNPortsList -Protocol TCP -Ports $ports $source = (Get-ZNInboundRulesSourceCandidate -RuleType 1 -search "any asset").Items $expiresAt = [DateTimeOffset]::UtcNow.AddHours(1).ToUnixTimeMilliseconds() - $rule = New-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt + $rule = New-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -Action 1 -LocalEntityId $group.id -LocalProcessesList @("*") -PortsList $portsList -RemoteEntityIdsList @($source.id) -State 1 -ExpiresAt $expiresAt -IPSecOpt 1 $newdescription = "new description " + (Get-Random -Minimum 1 -Maximum 100) Update-ZNGroupsInboundRule -GroupId $group.id -GroupType tag -RuleId $rule.ItemId -Description $newdescription diff --git a/src/ZN/test/Update-ZNOSType.Tests.ps1 b/src/ZN/test/Update-ZNOSType.Tests.ps1 new file mode 100644 index 0000000..987932e --- /dev/null +++ b/src/ZN/test/Update-ZNOSType.Tests.ps1 @@ -0,0 +1,24 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNOSType')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNOSType.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNOSType' { + It 'UpdateExpanded' -skip { + $asset = Search-ZNAsset -Fqdn linux0.posh.local + Update-ZNOSType -AssetIds @($asset.AssetId) -OSType 2 + (Get-ZNAsset -AssetId $asset.AssetId).Entity.AssetType | Should -Be 2 + Update-ZNOSType -AssetIds @($asset.AssetId) -OSType 1 + } +} diff --git a/src/ZN/test/Update-ZNSettingsAd.Tests.ps1 b/src/ZN/test/Update-ZNSettingsAd.Tests.ps1 index a12ac3a..f3ed388 100644 --- a/src/ZN/test/Update-ZNSettingsAd.Tests.ps1 +++ b/src/ZN/test/Update-ZNSettingsAd.Tests.ps1 @@ -16,9 +16,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsAd')) Describe 'Update-ZNSettingsAd' { It 'UpdateExpanded' { - New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains - $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} - { Update-ZNSettingsAd -ForestId $forest.ForestId -PrimaryDomainConfigDomainControllerFqdn $forest.ActiveDirectoryInfoDomainControllerFqdn -PrimaryDomainConfigDomainName $forest.ActiveDirectoryInfoDomainName -PrimaryDomainConfigPassword "zero@1313" -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -UsePrimaryUserForAllDomains:$false} | should -not -throw + New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.com -PrimaryDomainConfigDomainName test.com -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains -allowNtlmFallback:$false + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.com"} + { Update-ZNSettingsAd -ForestId $forest.ForestId -PrimaryDomainConfigDomainControllerFqdn $forest.ActiveDirectoryInfoDomainControllerFqdn -PrimaryDomainConfigDomainName $forest.ActiveDirectoryInfoDomainName -PrimaryDomainConfigPassword "zero@1313" -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -UsePrimaryUserForAllDomains:$false -allowNtlmFallback:$false} | should -not -throw Remove-ZNSettingsAd -ForestId $forest.ForestId } } diff --git a/src/ZN/test/Update-ZNSettingsAdSecondary.Tests.ps1 b/src/ZN/test/Update-ZNSettingsAdSecondary.Tests.ps1 index 5c97ef8..88ca491 100644 --- a/src/ZN/test/Update-ZNSettingsAdSecondary.Tests.ps1 +++ b/src/ZN/test/Update-ZNSettingsAdSecondary.Tests.ps1 @@ -16,10 +16,10 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsAdSecondary' Describe 'Update-ZNSettingsAdSecondary' { It 'UpdateExpanded' { - New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.local -PrimaryDomainConfigDomainName test.local -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains - $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.local"} - New-ZNSettingsAdSecondary -ForestId $forest.ForestId -SecondaryDomainConfigDomainControllerFqdn dc01.child.test.local -SecondaryDomainConfigDomainName child.test.local - { Update-ZNSettingsAdSecondary -DomainId child.test.local -ForestId $forest.ForestId -SecondaryDomainConfigDomainControllerFqdn newdc.child.test.local } | Should -Not -Throw + New-ZNSettingsAd -PrimaryDomainConfigDomainControllerFqdn dc.test.com -PrimaryDomainConfigDomainName test.com -PrimaryDomainConfigUseLdaps -PrimaryDomainConfigUserFqdn ZNRemoteManagement -PrimaryDomainConfigPassword "zero@1313" -UsePrimaryUserForAllDomains + $forest = Get-ZNSettingsAd | where {$_.ActiveDirectoryInfoDomainName -eq "test.com"} + New-ZNSettingsAdSecondary -ForestId $forest.ForestId -SecondaryDomainConfigDomainControllerFqdn dc01.child.test.com -SecondaryDomainConfigDomainName child.test.com + { Update-ZNSettingsAdSecondary -DomainId child.test.com -ForestId $forest.ForestId -SecondaryDomainConfigDomainControllerFqdn newdc.child.test.com } | Should -Not -Throw Remove-ZNSettingsAd -ForestId $forest.ForestId } } diff --git a/src/ZN/test/Update-ZNSettingsIdentityProtectionPolicy.Tests.ps1 b/src/ZN/test/Update-ZNSettingsIdentityProtectionPolicy.Tests.ps1 new file mode 100644 index 0000000..6899b2b --- /dev/null +++ b/src/ZN/test/Update-ZNSettingsIdentityProtectionPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsIdentityProtectionPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNSettingsIdentityProtectionPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNSettingsIdentityProtectionPolicy' { + It 'UpdateExpanded' { + $group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} + $policy = New-ZNSettingsIdentityProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false + $updatedPolicy = Update-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId $policy.ItemId -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 -Enabled:$policy.Enabled -PolicyType $policy.ItemPolicyType + $updatedPolicy.ItemExistingMembersLearningDays | Should -Be 60 + Remove-ZNSettingsIdentityProtectionPolicy -ProtectionPolicyId $updatedPolicy.ItemId + } +} diff --git a/src/ZN/test/Update-ZNSettingsNetworkProtectionPolicy.Tests.ps1 b/src/ZN/test/Update-ZNSettingsNetworkProtectionPolicy.Tests.ps1 new file mode 100644 index 0000000..148bd48 --- /dev/null +++ b/src/ZN/test/Update-ZNSettingsNetworkProtectionPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNSettingsNetworkProtectionPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNSettingsNetworkProtectionPolicy.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-ZNSettingsNetworkProtectionPolicy' { + It 'UpdateExpanded' { + $group = (Get-ZNGroup -Search servers).Items | where {$_.Domain -eq "system" -and $_.Name -eq "Servers"} + $policy = New-ZNSettingsNetworkProtectionPolicy -ExistingMembersLearningDays 30 -GroupId $group.id -NewMembersLearningDays 30 -Enabled:$false + $updatedPolicy = Update-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId $policy.ItemId -ExistingMembersLearningDays 60 -NewMembersLearningDays 60 -Enabled:$policy.Enabled -PolicyType $policy.ItemPolicyType + $updatedPolicy.ItemExistingMembersLearningDays | Should -Be 60 + Remove-ZNSettingsNetworkProtectionPolicy -ProtectionPolicyId $updatedPolicy.ItemId + } +} diff --git a/src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 b/src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 index 67742a8..40530ae 100644 --- a/src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 +++ b/src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 @@ -1,11 +1,19 @@ +<<<<<<<< HEAD:src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNUsersManagedAsset')) +======== +if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNAssetsIdentityQueued')) +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/test/Get-ZNAssetsIdentityQueued.Tests.ps1 { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) +<<<<<<<< HEAD:src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 $TestRecordingFile = Join-Path $PSScriptRoot 'Update-ZNUsersManagedAsset.Recording.json' +======== + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNAssetsIdentityQueued.Recording.json' +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/test/Get-ZNAssetsIdentityQueued.Tests.ps1 $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,8 +22,14 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-ZNUsersManagedAsset')) . ($mockingPath | Select-Object -First 1).FullName } +<<<<<<<< HEAD:src/ZN/test/Update-ZNUsersManagedAsset.Tests.ps1 Describe 'Update-ZNUsersManagedAsset' { It 'UpdateExpanded' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw +======== +Describe 'Get-ZNAssetsIdentityQueued' { + It 'List' { + { (Get-ZNAssetsIdentityQueued).Items } | Should -Not -Be $null +>>>>>>>> b291f81 (v0.0.13-preview):src/ZN/test/Get-ZNAssetsIdentityQueued.Tests.ps1 } } diff --git a/src/cmdlets/0.0.12-preview-syntax.md b/src/cmdlets/0.0.12-preview-syntax.md new file mode 100644 index 0000000..1855f09 --- /dev/null +++ b/src/cmdlets/0.0.12-preview-syntax.md @@ -0,0 +1,1380 @@ + +Add-ZNAssetManager -AssetId -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Add-ZNAssetOtAssetManager -AssetId -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Add-ZNAssetRpcMonitoring -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Add-ZNAssetRpcMonitoring -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Add-ZNAssetRpcSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Add-ZNAssetRpcSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Add-ZNCustomGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Add-ZNGroupsAssetManager -GroupId -GroupType -ManagerIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Add-ZNGroupsManagedAsset -GroupId -GroupType [-EntityIds ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Add-ZNTagGroupsMember -GroupId -MembersId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Add-ZNUsersManagedAsset -UserId [-EntityIds ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Approve-ZNAssetInboundRuleReview -AssetId -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Approve-ZNInboundRuleReview -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNInboundRuleReview -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Approve-ZNOutboundRuleReview -RuleId [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Approve-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-Action ] [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-IpSecOpt ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-State ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Connect-ZN -Email [-WhatIf] [-Confirm] [] + + +Deny-ZNAssetInboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Deny-ZNAssetOutboundRuleReview -AssetId -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Deny-ZNInboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Deny-ZNOutboundRuleReview -RuleId -Reason [-Details ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Disconnect-ZN [-WhatIf] [-Confirm] [] + + +Get-ZNAiExclusionNetworkBoth [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAiExclusionNetworkClient [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAiExclusionNetworkServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAiExclusionSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAiExclusionSourceEntity [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAiNextBatch [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAsset [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAsset -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetAnalysis -AssetId -Direction [-Connectionstate ] [-From ] [-Sort ] [-To ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetAudit -AssetId [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetClusterInfo -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetHealthState -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetIdentityRule -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetIdentityRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetIdentityRulesAssetsCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetIdentityRulesExcludedAssetsCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetIdentityRulesUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetInboundRule -AssetId [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetInboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetInboundRulesDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetInboundRulesExcludedDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetInboundRulesSourceCandidate -AssetId -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetListeningPort -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetManager -AssetId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetManagersCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMemberOf -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaIdentityPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaIdentityPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaIdentityPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaIdentityPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaIdentityPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaIdentityPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaInboundPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaInboundPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaInboundPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaInboundPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaInboundPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaInboundPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaOutboundPoliciesDestinationCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaOutboundPoliciesExcludedSourceCandidate -AssetId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaOutboundPoliciesMfamethod -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaOutboundPoliciesSourceCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaOutboundPoliciesSourceUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetMfaOutboundPolicy -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOt -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOtAssetManager -AssetId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOtAssetManagersCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOtAudit -AssetId [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOtMemberOf -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOtTag -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOutboundRule -AssetId [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetOutboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOutboundRulesDestinationCandidate -AssetId -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOutboundRulesExcludedSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetOutboundRulesSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetRpcRule -AssetId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNAssetRpcRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetRpcRulesDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetRpcRulesExcludedDestinationCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetRpcRulesSourceCandidate -AssetId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetRpcRulesUserCandidate -AssetId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetRulesDistribution -AssetId -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsIdentitySegmented [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsInactive [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsMonitored [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsNetworkQueued [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsOt [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-ShowInactive] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsProtected [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsRpcMonitored [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsRpcSegmented [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsStatesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetsStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAssetTag -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNAudit [-Limit ] [-Cursor ] [-EntityId ] [-Filters ] [-From ] [-Order ] [-Search ] [-To ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNCustomGroupsCandidate [-Limit ] [-GroupId ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroup [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroup -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupAudit -GroupId -GroupType [-Cursor ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupMemberOf -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsAssetManager -GroupId -GroupType [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsAssetManagersCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsByType -GroupType [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsIdentityRule -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsIdentityRulesAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsIdentityRulesExcludedAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsIdentityRulesUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsInboundRule -GroupId -GroupType [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsInboundRulesDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsInboundRulesExcludedDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsInboundRulesSourceCandidate -GroupId -GroupType -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsManagedAsset -GroupId -GroupType [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsManagedAssetsCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMember -GroupId -GroupType -IncludeNestedMembers [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaIdentityPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaIdentityPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaIdentityPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaIdentityPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaIdentityPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaInboundPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaInboundPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaInboundPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaInboundPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaInboundPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaOutboundPoliciesDestinationCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaOutboundPoliciesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaOutboundPoliciesMfamethod -GroupId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaOutboundPoliciesSourceCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaOutboundPoliciesSourceUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsOutboundRule -GroupId -GroupType [-Direction ] [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsOutboundRulesDestinationCandidate -GroupId -GroupType -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsOutboundRulesExcludedSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsOutboundRulesSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsRpcRule -GroupId -GroupType [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsRpcRulesDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsRpcRulesExcludedDestinationCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsRpcRulesSourceCandidate -GroupId -GroupType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsRpcRulesUserCandidate -GroupId -GroupType [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsRulesDistribution -GroupId -GroupType -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNGroupsStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNIdentityRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNIdentityRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNIdentityRulesAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNIdentityRulesExcludedAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNIdentityRulesUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNInboundRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNInboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNInboundRulesDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNInboundRulesExcludedDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNInboundRulesSourceCandidate -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaIdentityPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaIdentityPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaIdentityPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaIdentityPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaIdentityPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaIdentityPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaIdentityPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaInboundPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaInboundPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaInboundPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaInboundPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaInboundPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaInboundPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityId ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaInboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaOutboundPoliciesDestinationCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaOutboundPoliciesExcludedSourceCandidate [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaOutboundPoliciesMfamethod [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaOutboundPoliciesSourceCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaOutboundPoliciesSourceUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaOutboundPolicy [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNMfaOutboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaPoliciesDistribution [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNMfaPoliciesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNOutboundRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-EntityParams ] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNOutboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNOutboundRulesDestinationCandidate -RuleType [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNOutboundRulesExcludedSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNOutboundRulesSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNProtectionPoliciesGroupCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNProtectionPolicy [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNRpcRule [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNRpcRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNRpcRulesDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNRpcRulesExcludedDestinationCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNRpcRulesSourceCandidate [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNRpcRulesUserCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNRulesDistribution -RuleId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNRulesStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSegmentServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSession [-Limit ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsAad [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsAdMonitoredCandidate -ForestId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsAdProtectedCandidate -ForestId [-Limit ] [-Cursor ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsAnsible [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsAssetManager [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsAuth [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsBreakGlass [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsClientsTrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsClientSubnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsClientsUntrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsClusterStrategy [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectClientAutoUpdate [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectRegion [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectServer [-Limit ] [-Filters ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectUserAccessConfig [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectUserAccessConfigAllowedRegionsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectUserAccessConfigAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectUserAccessConfigDestinationsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectUserAccessConfigExcludedAssetsCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectUserAccessConfigExcludedSourceUsersCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsConnectUserAccessConfigSourceUsersCandidate [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsDefaultApplication [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsFirewall [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsFirewallIgnoredGpo [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsFirewallIgnoredRule [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsFirewallProfile [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsIdp [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsInactiveAsset [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsInternalSubnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsJamfCredentials [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsLearningConfig [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsLicense -ProtectionType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsLinuxSetup [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsLinuxUser [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsMfaAuthentication [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsMfaDetection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsNotification [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsPrivilegedPort [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsPushNotification [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsServersTrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsServersUntrustedInternet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsTrustedInternetAddress [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNSettingsZpa [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNTagGroupsCandidate [-Limit ] [-GroupId ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUser [-Limit ] [-Cursor ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUser -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserAudit -UserId [-Limit ] [-Cursor ] [-Filters ] [-Order ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserIdentityRule -UserId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Cursor ] [-Filters ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserIdentityRule -UserId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserIdentityRulesAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserIdentityRulesExcludedAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserIdentityRulesUserCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserMemberOf -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserMfaIdentityPoliciesDestinationCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserMfaIdentityPoliciesExcludedSourceCandidate -UserId [-Limit ] [-IsSrcAssetUnmonitored] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserMfaIdentityPoliciesMfamethod -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserMfaIdentityPoliciesSourceCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserMfaIdentityPoliciesSourceUserCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserMfaIdentityPolicy -UserId [-Limit ] [-AddAncestors] [-AddBuiltins] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Get-ZNUserMfaIdentityPolicy -UserId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserRulesDistribution -RuleId -UserId -RuleDirection [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUsersIdentityQueued [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUsersIdentitySegmented [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUsersManagedAsset -UserId [-Limit ] [-Offset ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUsersManagedAssetsCandidate -UserId [-Limit ] [-Offset ] [-Search ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUsersServiceAccount [-Limit ] [-Filters ] [-Offset ] [-Order ] [-OrderColumns ] [-Search ] [-WithCount] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Get-ZNUserStatistics [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Initialize-ZNAssetBreakGlass -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Initialize-ZNAssetBreakGlass -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNAssetDeactivateBreakGlass -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetDeactivateBreakGlass -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNAssetNetworkExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetNetworkExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNAssetNetworkQueue -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetNetworkQueue -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNAssetOtNetworkExtendQueue -ExtendByDays -Items [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetOtNetworkExtendQueue -AssetId -ExtendByDays [-RelearnReason ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNAssetOtNetworkQueue -QueueDays -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Invoke-ZNAssetOtNetworkQueue -AssetId -QueueDays [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNDownloadCloudConnectorInstaller [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Invoke-ZNDownloadConnectClient -Platform [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Invoke-ZNDownloadConnectServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Invoke-ZNDownloadSegmentServer [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Invoke-ZNEncodeEntityIP -IP [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Invoke-ZNEncodeEntityIPRange -IPRange [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Invoke-ZNEncodeEntitySubnet -Subnet [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Invoke-ZNRediscoverAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNRediscoverLinux [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNResyncAzureAd [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Invoke-ZNUserIdentityQueue -QueueDays -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetIdentityRule -AssetId -Action -AssetId1 -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetInboundRule -AssetId -Action -IPSecOpt -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetMfaIdentityPolicy -AssetId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetMfaInboundPolicy -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetMfaOutboundPolicy -AssetId -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetOutboundRule -AssetId -Action -IPSecOpt -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetRpcRule -AssetId -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetsLinux -DisplayName -Fqdn [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNAssetsOt -DisplayName -Fqdn -Ipv4 -Type [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNCustomGroup -Name [-Description ] [-MembersId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNGroupsIdentityRule -GroupId -GroupType -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNGroupsInboundRule -GroupId -GroupType -Action -IPSecOpt -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNGroupsMfaInboundPolicy -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNGroupsOutboundRule -GroupId -GroupType -Action -IPSecOpt -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNGroupsRpcRule -GroupId -GroupType -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNIdentityRule -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNInboundRule -Action -IPSecOpt -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNMfaIdentityPolicy -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNMfaInboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort -DstProcessNames -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNMfaOutboundPolicy -AdditionalPortsList -DstEntityInfoId -DstPort -FallbackToLoggedOnUser -MfaMethods -OverrideBuiltins -ProtocolType -RuleDuration -SrcEntityInfos -SrcProcessNames -SrcUserInfos -State [-Description ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNOutboundRule -Action -IPSecOpt -LocalEntityId -LocalProcessesList -PortsList -RemoteEntityIdsList -State [-Description ] [-ExcludedLocalIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNPortsList -Protocol [-Ports ] [] + +New-ZNPortsList -Empty [] + + +New-ZNProtectionPolicy -GroupId -InitialQueueDays -NewMembersLearningDays [-Description ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNRpcRule -Action -Description -ExcludedAssetIdsList -InterfaceUuidsList -LocalAssetId -OpNumbersList -ProtocolsList -RemoteAssetIdsList -State -UserIdsList [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNSettingsAd [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNSettingsAdSecondary -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNSettingsConnectRegion [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNSettingsConnectUserAccessConfig [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNSettingsIdp [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] [-Host1 ] [-Id ] [-IdentityProvider ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] -TenantId [-WhatIf] [-Confirm] [] + +New-ZNSettingsPushNotification -PushIdentityProviderId [-SecretKey ] -ApiHostname -IntegrationKey [-WhatIf] [-Confirm] [] + + +New-ZNUserIdentityRule -UserId -Action -AssetId -IdentityProtectionCategoryList -State -UserIdsList [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +New-ZNUserMfaIdentityPolicy -UserId -DstAssetId -FallbackToSingleLoggedOnUser -IdentityProtectionCategoryList -MfaMethodsList -OverrideBuiltins -RuleDuration -SrcAssetIdsList -SrcUserIdsList -State [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Protect-ZNAssetIdentity -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetIdentity -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Protect-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Protect-ZNAssetOtNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Protect-ZNAssetOtNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Protect-ZNUserIdentity -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNApiKey [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetIdentityRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetInboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetManager -AssetId -GroupOrUserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetOtAssetManager -AssetId -GroupOrUserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetOutboundRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetRpcMonitoring -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Remove-ZNAssetRpcMonitoring -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetRpcRule -AssetId -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNAssetRpcSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Remove-ZNAssetRpcSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNCustomGroup -GroupId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNCustomGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsAssetManager -GroupId -GroupOrUserId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsManagedAsset -GroupId -GroupOrAssetId -GroupType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNIdentityRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNInboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNMfaIdentityPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNMfaInboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNMfaOutboundPolicy -ReactivePolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNOutboundRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNProtectionPolicy -ProtectionPolicyId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNRpcRule -RuleId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNSettingsAad [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNSettingsAd -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNSettingsAdSecondary -DomainId -ForestId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNSettingsConnectRegion -RegionId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNSettingsIdp -IdentityProviderId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNSettingsJamfCredentials [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNSettingsPushNotification -PushIdentityProviderId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNTagGroupsMember -GroupId -MembersId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNUserIdentityRule -RuleId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNUserMfaIdentityPolicy -ReactivePolicyId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Remove-ZNUsersManagedAsset -GroupOrAssetId -UserId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Revoke-ZNSession -SessionId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Search-ZNAsset [-Fqdn ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Search-ZNAssetProtected [-Fqdn ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Search-ZNUser -PrincipalName [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + +Search-ZNUser -Sid [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + + +Set-ZNApiKey -ApiKey [-WhatIf] [-Confirm] [] + + +Test-ZNAssetIdentityProtect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetIdentityProtect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Test-ZNAssetIdentityUnprotect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetIdentityUnprotect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Test-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkSegment -Body [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Test-ZNAssetNetworkUnprotect -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkUnprotect -Body [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Test-ZNAssetNetworkUnprotect -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Unprotect-ZNAssetIdentity -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetIdentity -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Unprotect-ZNAssetNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Unprotect-ZNAssetOtNetworkSegment -AssetId [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Unprotect-ZNAssetOtNetworkSegment -Items [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Unprotect-ZNUserIdentity -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAiExclusionNetworkBoth [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAiExclusionNetworkClient [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAiExclusionNetworkServer [-Icmp] [-ProcessesList ] [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetActive -Items [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetActive -AssetId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetIdentityRule -AssetId -RuleId [-Action ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetInactive -Items [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNAssetInactive -AssetId [-Comment ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetInboundRule -AssetId -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetMfaIdentityPolicy -AssetId -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetMfaInboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetMfaOutboundPolicy -AssetId -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetOt -AssetId [-DisplayName ] [-Fqdn ] [-Type ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetOutboundRule -AssetId -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetRpcRule -AssetId -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNAssetType -AssetId -Type [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNCustomGroup -GroupId [-Name ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNGroupsIdentityRule -GroupId -GroupType -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNGroupsInboundRule -GroupId -GroupType -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNGroupsMfaIdentityPolicy -GroupId -GroupType -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNGroupsMfaInboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNGroupsMfaOutboundPolicy -GroupId -GroupType -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNGroupsOutboundRule -GroupId -GroupType -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNGroupsRpcRule -GroupId -GroupType -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNIdentityRule -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNInboundRule -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNMfaIdentityPolicy -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNMfaInboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-DstProcessNames ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNMfaOutboundPolicy -ReactivePolicyId [-AdditionalPortsList ] [-DstPort ] [-ExcludedSrcEntityInfos ] [-ExcludedSrcProcesses ] [-FallbackToLoggedOnUser] [-MfaMethods ] [-OverrideBuiltins] [-ProtocolType ] [-RuleDuration ] [-SrcEntityInfos ] [-SrcProcessNames ] [-SrcUserInfos ] [-State ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNOutboundRule -RuleId [-Action ] [-LocalEntityId ] [-LocalProcessesList ] [-PortsList ] [-RemoteEntityIdsList ] [-ExcludedLocalIdsList ] [-IPSecOpt ] [-State ] [-ExpiresAt ] [-Description ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNProtectionPolicy -ProtectionPolicyId -NewMembersLearningDays [-Description ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNRpcRule -RuleId [-Action ] [-Description ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-InterfaceUuidsList ] [-LocalAssetId ] [-OpNumbersList ] [-ProtocolsList ] [-RemoteAssetIdsList ] [-State ] [-UserIdsList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsAd -ForestId [-PrimaryDomainConfigDomainControllerFqdn ] [-PrimaryDomainConfigDomainName ] [-PrimaryDomainConfigPassword ] [-PrimaryDomainConfigUseLdaps] [-PrimaryDomainConfigUserFqdn ] [-UsePrimaryUserForAllDomains] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsAdAutomationGroup -ForestId [-MonitoredGroupId ] [-ProtectedGroupId ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsAdSecondary -DomainId -ForestId [-SecondaryDomainConfigDomainControllerFqdn ] [-SecondaryDomainConfigDomainName ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsAnsible [-ClientId ] [-ClientSecret ] [-CredentialsName ] [-DisableCertificateValidation] [-Password ] [-Url ] [-Username ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsAuth [-PortalTokenTtl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsBreakGlass [-AgentConfigAllowIdentity] [-AgentConfigAllowInbound] [-AgentConfigAllowOutbound] [-TrustConfigAllowIdentity] [-TrustConfigAllowInbound] [-TrustConfigAllowOutbound] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsClientsTrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsClientSubnet [-PrivateNetworksList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsClientsUntrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsClusterStrategy [-PreferredDeploymentId ] [-Strategy ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsConnectClientAutoUpdate [-ClientAutoUpdate] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsConnectRegion -RegionId [-DnsServersIPAddressList ] [-DnsSuffixesList ] [-IPAddress ] [-Name ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsConnectServer -ConnectServerId [-PublicPort ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsConnectUserAccessConfig -UserAccessConfigId [-AllowedRegions ] [-ConnectivityStateAfterReboot ] [-Description ] [-DstEntityIdsList ] [-ForceSsoAuthentication] [-LoginAuthorizedEntityAllowedAssetIdsList ] [-LoginAuthorizedEntityAllowedAssetsSourcesList ] [-LoginAuthorizedEntityAllowedUsersIdsList ] [-LoginAuthorizedEntityExcludedAssetIdsList ] [-LoginAuthorizedEntityExcludedUserIdsList ] [-Name ] [-SessionTtlHours ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsDefaultApplication [-Application ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsFirewall [-ImplicitIcmpRuleEnabled] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsFirewallIgnoredGpo [-InboundList ] [-OutboundList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsFirewallIgnoredRule [-InboundList ] [-OutboundList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsFirewallProfile [-InboundAllowDomain] [-InboundAllowPrivate] [-InboundAllowPublic] [-InboundBlockDomain] [-InboundBlockPrivate] [-InboundBlockPublic] [-OutboundBlockDomain] [-OutboundBlockPrivate] [-OutboundBlockPublic] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsIdp -IdentityProviderId [-Certificate ] [-IdentityProvider ] [-IsDefault] [-SloUrl ] [-SsoUrl ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsInactiveAsset [-LastActiveDurationInMonths ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsInternalSubnet [-PrivateNetworksList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsJamfCredentials -Host1 -Password -Username [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsLearningConfig [-AllowQueueForever] [-AllowQuickLearning] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsLinuxSetup [-AllowInstallPackages] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsLinuxUser [-Password ] [-PrivateKey ] [-Username ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsMfaAuthentication -IsRequiresAuth -IsSsoForceAuth -TokenTtl [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsMfaDetection -TimeoutMinutes [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsNotification -AssetPostponed -AssetProtected -AssetQueued -AssetUnprotected [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsPrivilegedPort [-TcpPorts ] [-UdpPorts ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsServersTrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsServersUntrustedInternet [-Ports ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsTrustedInternetAddress [-ExternalIpsList ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNSettingsZpa [-ClientOutboundSubnet ] [-GatewayIpsList ] [-IsEnabled] [-PortsToMfaTcp ] [-PortsToMfaUdp ] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNUserIdentityRule -UserId -RuleId [-Action ] [-AssetId ] [-Description ] [-IdentityProtectionCategoryList ] [-State ] [-UserIdsList ] [-ExcludedAssetIdsList ] [-ExpiresAt ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNUserMfaIdentityPolicy -UserId -ReactivePolicyId [-FallbackToSingleLoggedOnUser] [-IdentityProtectionCategoryList ] [-MfaMethodsList ] [-OverrideBuiltins] [-RuleDuration ] [-SrcAssetIdsList ] [-SrcUserIdsList ] [-State ] [-Description ] [-ExcludedDstAssetIdsList ] [-ExcludedSrcAssetIdsList ] [-ExtraIdentityProtectionCategoryList ] [-AsJob] [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-NoWait] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + + +Update-ZNUserType -UserId -Comment -UserType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + +Update-ZNUserType -Comment -UserType -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] \ No newline at end of file From c638e400188a21c73ac29a0fd777754aa09cf903 Mon Sep 17 00:00:00 2001 From: SecurityJedi Date: Thu, 5 Sep 2024 19:47:33 -0400 Subject: [PATCH 3/4] Fix for rule review schema --- src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 | 4 ++-- src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 | 4 ++-- src/ZN/custom/Deny-ZNInboundRuleReview.ps1 | 4 ++-- src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 b/src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 index 6c07476..0bbe118 100644 --- a/src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 +++ b/src/ZN/custom/Deny-ZNAssetInboundRuleReview.ps1 @@ -108,12 +108,12 @@ function Deny-ZNAssetInboundRuleReview { 'TrafficShouldBeBlocked' { $intReason = 6 } "Other" { $intReason = 7 } } - $ruleReview.Reason = $intReason + $ruleReview.ReviewReason = $intReason $null = $PSBoundParameters.Remove('Reason') } if ($PSBoundParameters['Details']) { - $ruleReview.Details = $PSBoundParameters['Details'] + $ruleReview.ReviewDetails = $PSBoundParameters['Details'] $null = $PSBoundParameters.Remove('Details') } diff --git a/src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 b/src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 index bbfd7b8..7707dba 100644 --- a/src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 +++ b/src/ZN/custom/Deny-ZNAssetOutboundRuleReview.ps1 @@ -108,12 +108,12 @@ function Deny-ZNAssetOutboundRuleReview { 'TrafficShouldBeBlocked' { $intReason = 6 } "Other" { $intReason = 7 } } - $ruleReview.Reason = $intReason + $ruleReview.ReviewReason = $intReason $null = $PSBoundParameters.Remove('Reason') } if ($PSBoundParameters['Details']) { - $ruleReview.Details = $PSBoundParameters['Details'] + $ruleReview.ReviewDetails = $PSBoundParameters['Details'] $null = $PSBoundParameters.Remove('Details') } diff --git a/src/ZN/custom/Deny-ZNInboundRuleReview.ps1 b/src/ZN/custom/Deny-ZNInboundRuleReview.ps1 index 4a2a158..ce21035 100644 --- a/src/ZN/custom/Deny-ZNInboundRuleReview.ps1 +++ b/src/ZN/custom/Deny-ZNInboundRuleReview.ps1 @@ -102,12 +102,12 @@ function Deny-ZNInboundRuleReview { 'TrafficShouldBeBlocked' { $intReason = 6 } "Other" { $intReason = 7 } } - $ruleReview.Reason = $intReason + $ruleReview.ReviewReason = $intReason $null = $PSBoundParameters.Remove('Reason') } if ($PSBoundParameters['Details']) { - $ruleReview.Details = $PSBoundParameters['Details'] + $ruleReview.ReviewDetails = $PSBoundParameters['Details'] $null = $PSBoundParameters.Remove('Details') } diff --git a/src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 b/src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 index 5ae6d82..d1d2058 100644 --- a/src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 +++ b/src/ZN/custom/Deny-ZNOutboundRuleReview.ps1 @@ -102,12 +102,12 @@ function Deny-ZNOutboundRuleReview { 'TrafficShouldBeBlocked' { $intReason = 6 } "Other" { $intReason = 7 } } - $ruleReview.Reason = $intReason + $ruleReview.ReviewReason = $intReason $null = $PSBoundParameters.Remove('Reason') } if ($PSBoundParameters['Details']) { - $ruleReview.Details = $PSBoundParameters['Details'] + $ruleReview.ReviewDetails = $PSBoundParameters['Details'] $null = $PSBoundParameters.Remove('Details') } From 841963d6f5545f86fdab630109675b18680d6980 Mon Sep 17 00:00:00 2001 From: SecurityJedi Date: Wed, 23 Oct 2024 21:26:45 -0400 Subject: [PATCH 4/4] 0.0.15-preview --- src/ZN/custom/Update-ZNOutboundRule.ps1 | 5 +++++ ...ntityProtectionPoliciesCandidate.Tests.ps1 | 21 ------------------- src/cmdlets/0.0.13-preview-syntax.md | 2 -- 3 files changed, 5 insertions(+), 23 deletions(-) delete mode 100644 src/ZN/test/Get-ZNSettingsIdentityProtectionPoliciesCandidate.Tests.ps1 diff --git a/src/ZN/custom/Update-ZNOutboundRule.ps1 b/src/ZN/custom/Update-ZNOutboundRule.ps1 index 0d62ce9..a7aa8f7 100644 --- a/src/ZN/custom/Update-ZNOutboundRule.ps1 +++ b/src/ZN/custom/Update-ZNOutboundRule.ps1 @@ -59,6 +59,11 @@ function Update-ZNOutboundRule { # the source users. ${SrcUsersList}, + [Parameter(ParameterSetName = 'UpdateExpanded')] + [ZeroNetworks.PowerShell.Cmdlets.Api.Models.SrcUsersListItem] + # the source users. + ${SrcUsersList}, + [Parameter(ParameterSetName = 'UpdateExpanded')] [ZeroNetworks.PowerShell.Cmdlets.Api.Category('Body')] [int] diff --git a/src/ZN/test/Get-ZNSettingsIdentityProtectionPoliciesCandidate.Tests.ps1 b/src/ZN/test/Get-ZNSettingsIdentityProtectionPoliciesCandidate.Tests.ps1 deleted file mode 100644 index 69033a0..0000000 --- a/src/ZN/test/Get-ZNSettingsIdentityProtectionPoliciesCandidate.Tests.ps1 +++ /dev/null @@ -1,21 +0,0 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Get-ZNSettingsIdentityProtectionPoliciesCandidate')) -{ - $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' - if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' - } - . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Get-ZNSettingsIdentityProtectionPoliciesCandidate.Recording.json' - $currentPath = $PSScriptRoot - while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent - } - . ($mockingPath | Select-Object -First 1).FullName -} - -Describe 'Get-ZNSettingsIdentityProtectionPoliciesCandidate' { - It 'List' { - (get-ZNSettingsIdentityProtectionPoliciesCandidate).Items.Count | Should -BeGreaterThan 0 - } -} diff --git a/src/cmdlets/0.0.13-preview-syntax.md b/src/cmdlets/0.0.13-preview-syntax.md index dc581f9..662c795 100644 --- a/src/cmdlets/0.0.13-preview-syntax.md +++ b/src/cmdlets/0.0.13-preview-syntax.md @@ -2302,5 +2302,3 @@ Update-ZNUserMfaIdentityPolicy -UserId -ReactivePolicyId [-Fal Update-ZNUserType -UserId -Comment -UserType [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] Update-ZNUserType -Comment -UserType -UserIds [-Break] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] - -