Skip to content

Commit a826da6

Browse files
committed
add public role
1 parent 82c6a0f commit a826da6

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

Modules/CIPPCore/Public/Authentication/Get-CIPPHttpFunctions.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ function Get-CIPPHttpFunctions {
99
$Results = foreach ($Function in $Functions) {
1010
$Help = Get-Help $Function
1111
if ($Help.Functionality -ne 'Entrypoint') { continue }
12+
if ($Help.Role -eq 'Public') { continue }
1213
[PSCustomObject]@{
1314
Function = $Function.Name
1415
Role = $Help.Role

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Administration/Alerts/Invoke-PublicWebhooks.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ function Invoke-PublicWebhooks {
33
<#
44
.FUNCTIONALITY
55
Entrypoint
6+
.ROLE
7+
Public
68
#>
79
param($Request, $TriggerMetadata)
810

Modules/CIPPCore/Public/Entrypoints/Invoke-PublicPhishingCheck.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Function Invoke-PublicPhishingCheck {
44
<#
55
.FUNCTIONALITY
66
Entrypoint
7+
.ROLE
8+
Public
79
#>
810
[CmdletBinding()]
911

0 commit comments

Comments
 (0)