From 4f8df29c7217afcd2dab910a39c943d7a1061753 Mon Sep 17 00:00:00 2001 From: DrIOS <58635327+DrIOSX@users.noreply.github.com> Date: Sat, 8 Jun 2024 11:35:25 -0500 Subject: [PATCH] add: Output type to tests. --- source/tests/Test-AntiPhishingPolicy.ps1 | 1 + source/tests/Test-AuditDisabledFalse.ps1 | 1 + source/tests/Test-AuditLogSearch.ps1 | 1 + source/tests/Test-BlockChannelEmails.ps1 | 1 + source/tests/Test-BlockMailForwarding.ps1 | 1 + source/tests/Test-BlockSharedMailboxSignIn.ps1 | 1 + source/tests/Test-CommonAttachmentFilter.ps1 | 1 + source/tests/Test-CustomerLockbox.ps1 | 1 + source/tests/Test-DialInBypassLobby.ps1 | 1 + source/tests/Test-DisallowInfectedFilesDownload.ps1 | 1 + source/tests/Test-EnableDKIM.ps1 | 1 + source/tests/Test-ExternalNoControl.ps1 | 1 + source/tests/Test-ExternalSharingCalendars.ps1 | 1 + source/tests/Test-GlobalAdminsCount.ps1 | 1 + source/tests/Test-GuestAccessExpiration.ps1 | 1 + source/tests/Test-GuestUsersBiweeklyReview.ps1 | 1 + source/tests/Test-IdentifyExternalEmail.ps1 | 1 + source/tests/Test-LinkSharingRestrictions.ps1 | 1 + source/tests/Test-MailTipsEnabled.ps1 | 1 + source/tests/Test-MailboxAuditingE3.ps1 | 1 + source/tests/Test-MailboxAuditingE5.ps1 | 1 + source/tests/Test-ManagedApprovedPublicGroups.ps1 | 1 + source/tests/Test-MeetingChatNoAnonymous.ps1 | 1 + source/tests/Test-ModernAuthExchangeOnline.ps1 | 1 + source/tests/Test-ModernAuthSharePoint.ps1 | 1 + source/tests/Test-NoAnonymousMeetingJoin.ps1 | 1 + source/tests/Test-NoAnonymousMeetingStart.ps1 | 1 + source/tests/Test-NoWhitelistDomains.ps1 | 1 + source/tests/Test-NotifyMalwareInternal.ps1 | 1 + source/tests/Test-OneDriveContentRestrictions.ps1 | 1 + source/tests/Test-OneDriveSyncRestrictions.ps1 | 1 + source/tests/Test-OrgOnlyBypassLobby.ps1 | 1 + source/tests/Test-OrganizersPresent.ps1 | 1 + source/tests/Test-PasswordHashSync.ps1 | 1 + source/tests/Test-PasswordNeverExpirePolicy.ps1 | 1 + source/tests/Test-ReauthWithCode.ps1 | 1 + source/tests/Test-ReportSecurityInTeams.ps1 | 1 + source/tests/Test-RestrictCustomScripts.ps1 | 1 + source/tests/Test-RestrictExternalSharing.ps1 | 1 + source/tests/Test-RestrictOutlookAddins.ps1 | 1 + source/tests/Test-RestrictStorageProvidersOutlook.ps1 | 1 + source/tests/Test-RestrictTenantCreation.ps1 | 1 + source/tests/Test-SafeAttachmentsPolicy.ps1 | 1 + source/tests/Test-SafeAttachmentsTeams.ps1 | 1 + source/tests/Test-SafeLinksOfficeApps.ps1 | 1 + source/tests/Test-SharePointAADB2B.ps1 | 1 + source/tests/Test-SharePointExternalSharingDomains.ps1 | 1 + source/tests/Test-SharePointGuestsItemSharing.ps1 | 1 + source/tests/Test-SpamPolicyAdminNotify.ps1 | 1 + source/tests/Test-TeamsExternalAccess.ps1 | 1 + source/tests/Test-TeamsExternalFileSharing.ps1 | 1 + 51 files changed, 51 insertions(+) diff --git a/source/tests/Test-AntiPhishingPolicy.ps1 b/source/tests/Test-AntiPhishingPolicy.ps1 index c36b20c..4e4de8c 100644 --- a/source/tests/Test-AntiPhishingPolicy.ps1 +++ b/source/tests/Test-AntiPhishingPolicy.ps1 @@ -1,5 +1,6 @@ function Test-AntiPhishingPolicy { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-AuditDisabledFalse.ps1 b/source/tests/Test-AuditDisabledFalse.ps1 index e8c4688..8a26323 100644 --- a/source/tests/Test-AuditDisabledFalse.ps1 +++ b/source/tests/Test-AuditDisabledFalse.ps1 @@ -1,5 +1,6 @@ function Test-AuditDisabledFalse { [CmdletBinding()] + [OutputType([CISAuditResult])] # Aligned param ( # Parameters can be added if needed diff --git a/source/tests/Test-AuditLogSearch.ps1 b/source/tests/Test-AuditLogSearch.ps1 index 2ffec8a..bbedbca 100644 --- a/source/tests/Test-AuditLogSearch.ps1 +++ b/source/tests/Test-AuditLogSearch.ps1 @@ -1,5 +1,6 @@ function Test-AuditLogSearch { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-BlockChannelEmails.ps1 b/source/tests/Test-BlockChannelEmails.ps1 index 623a882..5165b61 100644 --- a/source/tests/Test-BlockChannelEmails.ps1 +++ b/source/tests/Test-BlockChannelEmails.ps1 @@ -1,5 +1,6 @@ function Test-BlockChannelEmails { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added here if needed diff --git a/source/tests/Test-BlockMailForwarding.ps1 b/source/tests/Test-BlockMailForwarding.ps1 index 692dda2..0ea1c1b 100644 --- a/source/tests/Test-BlockMailForwarding.ps1 +++ b/source/tests/Test-BlockMailForwarding.ps1 @@ -1,5 +1,6 @@ function Test-BlockMailForwarding { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Parameters can be added if needed ) diff --git a/source/tests/Test-BlockSharedMailboxSignIn.ps1 b/source/tests/Test-BlockSharedMailboxSignIn.ps1 index 5561a3d..d1af582 100644 --- a/source/tests/Test-BlockSharedMailboxSignIn.ps1 +++ b/source/tests/Test-BlockSharedMailboxSignIn.ps1 @@ -1,5 +1,6 @@ function Test-BlockSharedMailboxSignIn { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-CommonAttachmentFilter.ps1 b/source/tests/Test-CommonAttachmentFilter.ps1 index 662529a..3341ca5 100644 --- a/source/tests/Test-CommonAttachmentFilter.ps1 +++ b/source/tests/Test-CommonAttachmentFilter.ps1 @@ -1,5 +1,6 @@ function Test-CommonAttachmentFilter { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-CustomerLockbox.ps1 b/source/tests/Test-CustomerLockbox.ps1 index b22773b..8396ffc 100644 --- a/source/tests/Test-CustomerLockbox.ps1 +++ b/source/tests/Test-CustomerLockbox.ps1 @@ -1,5 +1,6 @@ function Test-CustomerLockbox { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here if needed diff --git a/source/tests/Test-DialInBypassLobby.ps1 b/source/tests/Test-DialInBypassLobby.ps1 index d9449b4..b7088ee 100644 --- a/source/tests/Test-DialInBypassLobby.ps1 +++ b/source/tests/Test-DialInBypassLobby.ps1 @@ -1,5 +1,6 @@ function Test-DialInBypassLobby { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-DisallowInfectedFilesDownload.ps1 b/source/tests/Test-DisallowInfectedFilesDownload.ps1 index 538e998..514dda7 100644 --- a/source/tests/Test-DisallowInfectedFilesDownload.ps1 +++ b/source/tests/Test-DisallowInfectedFilesDownload.ps1 @@ -1,5 +1,6 @@ function Test-DisallowInfectedFilesDownload { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here if needed diff --git a/source/tests/Test-EnableDKIM.ps1 b/source/tests/Test-EnableDKIM.ps1 index db793c5..a6662e1 100644 --- a/source/tests/Test-EnableDKIM.ps1 +++ b/source/tests/Test-EnableDKIM.ps1 @@ -1,5 +1,6 @@ function Test-EnableDKIM { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-ExternalNoControl.ps1 b/source/tests/Test-ExternalNoControl.ps1 index 0fce827..1a8c82d 100644 --- a/source/tests/Test-ExternalNoControl.ps1 +++ b/source/tests/Test-ExternalNoControl.ps1 @@ -1,5 +1,6 @@ function Test-ExternalNoControl { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-ExternalSharingCalendars.ps1 b/source/tests/Test-ExternalSharingCalendars.ps1 index 3f0c7a6..ed5e941 100644 --- a/source/tests/Test-ExternalSharingCalendars.ps1 +++ b/source/tests/Test-ExternalSharingCalendars.ps1 @@ -1,5 +1,6 @@ function Test-ExternalSharingCalendars { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-GlobalAdminsCount.ps1 b/source/tests/Test-GlobalAdminsCount.ps1 index 1a7525e..e0188f4 100644 --- a/source/tests/Test-GlobalAdminsCount.ps1 +++ b/source/tests/Test-GlobalAdminsCount.ps1 @@ -1,5 +1,6 @@ function Test-GlobalAdminsCount { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here if needed diff --git a/source/tests/Test-GuestAccessExpiration.ps1 b/source/tests/Test-GuestAccessExpiration.ps1 index cef642f..986c8d7 100644 --- a/source/tests/Test-GuestAccessExpiration.ps1 +++ b/source/tests/Test-GuestAccessExpiration.ps1 @@ -1,5 +1,6 @@ function Test-GuestAccessExpiration { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here if needed diff --git a/source/tests/Test-GuestUsersBiweeklyReview.ps1 b/source/tests/Test-GuestUsersBiweeklyReview.ps1 index 0aeb409..757c4d3 100644 --- a/source/tests/Test-GuestUsersBiweeklyReview.ps1 +++ b/source/tests/Test-GuestUsersBiweeklyReview.ps1 @@ -1,5 +1,6 @@ function Test-GuestUsersBiweeklyReview { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here if needed diff --git a/source/tests/Test-IdentifyExternalEmail.ps1 b/source/tests/Test-IdentifyExternalEmail.ps1 index 6c43794..63bce34 100644 --- a/source/tests/Test-IdentifyExternalEmail.ps1 +++ b/source/tests/Test-IdentifyExternalEmail.ps1 @@ -1,5 +1,6 @@ function Test-IdentifyExternalEmail { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-LinkSharingRestrictions.ps1 b/source/tests/Test-LinkSharingRestrictions.ps1 index cc96c15..24cd22b 100644 --- a/source/tests/Test-LinkSharingRestrictions.ps1 +++ b/source/tests/Test-LinkSharingRestrictions.ps1 @@ -1,5 +1,6 @@ function Test-LinkSharingRestrictions { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-MailTipsEnabled.ps1 b/source/tests/Test-MailTipsEnabled.ps1 index c093dea..2ccf106 100644 --- a/source/tests/Test-MailTipsEnabled.ps1 +++ b/source/tests/Test-MailTipsEnabled.ps1 @@ -1,5 +1,6 @@ function Test-MailTipsEnabled { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-MailboxAuditingE3.ps1 b/source/tests/Test-MailboxAuditingE3.ps1 index ad6364b..26e6379 100644 --- a/source/tests/Test-MailboxAuditingE3.ps1 +++ b/source/tests/Test-MailboxAuditingE3.ps1 @@ -1,5 +1,6 @@ function Test-MailboxAuditingE3 { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Parameters can be added if needed ) diff --git a/source/tests/Test-MailboxAuditingE5.ps1 b/source/tests/Test-MailboxAuditingE5.ps1 index 539b628..af40be6 100644 --- a/source/tests/Test-MailboxAuditingE5.ps1 +++ b/source/tests/Test-MailboxAuditingE5.ps1 @@ -1,5 +1,6 @@ function Test-MailboxAuditingE5 { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Parameters can be added if needed ) diff --git a/source/tests/Test-ManagedApprovedPublicGroups.ps1 b/source/tests/Test-ManagedApprovedPublicGroups.ps1 index 94512ff..073d540 100644 --- a/source/tests/Test-ManagedApprovedPublicGroups.ps1 +++ b/source/tests/Test-ManagedApprovedPublicGroups.ps1 @@ -1,5 +1,6 @@ function Test-ManagedApprovedPublicGroups { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-MeetingChatNoAnonymous.ps1 b/source/tests/Test-MeetingChatNoAnonymous.ps1 index 12764be..3524c6b 100644 --- a/source/tests/Test-MeetingChatNoAnonymous.ps1 +++ b/source/tests/Test-MeetingChatNoAnonymous.ps1 @@ -1,5 +1,6 @@ function Test-MeetingChatNoAnonymous { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-ModernAuthExchangeOnline.ps1 b/source/tests/Test-ModernAuthExchangeOnline.ps1 index 2c5c79e..8735fa4 100644 --- a/source/tests/Test-ModernAuthExchangeOnline.ps1 +++ b/source/tests/Test-ModernAuthExchangeOnline.ps1 @@ -1,5 +1,6 @@ function Test-ModernAuthExchangeOnline { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-ModernAuthSharePoint.ps1 b/source/tests/Test-ModernAuthSharePoint.ps1 index 990a64d..c56ef59 100644 --- a/source/tests/Test-ModernAuthSharePoint.ps1 +++ b/source/tests/Test-ModernAuthSharePoint.ps1 @@ -1,5 +1,6 @@ function Test-ModernAuthSharePoint { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-NoAnonymousMeetingJoin.ps1 b/source/tests/Test-NoAnonymousMeetingJoin.ps1 index 6a9336a..e28ebdb 100644 --- a/source/tests/Test-NoAnonymousMeetingJoin.ps1 +++ b/source/tests/Test-NoAnonymousMeetingJoin.ps1 @@ -1,5 +1,6 @@ function Test-NoAnonymousMeetingJoin { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-NoAnonymousMeetingStart.ps1 b/source/tests/Test-NoAnonymousMeetingStart.ps1 index 9820b84..5ffa6e2 100644 --- a/source/tests/Test-NoAnonymousMeetingStart.ps1 +++ b/source/tests/Test-NoAnonymousMeetingStart.ps1 @@ -1,5 +1,6 @@ function Test-NoAnonymousMeetingStart { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-NoWhitelistDomains.ps1 b/source/tests/Test-NoWhitelistDomains.ps1 index fe9ea6b..d51fdc1 100644 --- a/source/tests/Test-NoWhitelistDomains.ps1 +++ b/source/tests/Test-NoWhitelistDomains.ps1 @@ -1,5 +1,6 @@ function Test-NoWhitelistDomains { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-NotifyMalwareInternal.ps1 b/source/tests/Test-NotifyMalwareInternal.ps1 index eba1e84..1e466fb 100644 --- a/source/tests/Test-NotifyMalwareInternal.ps1 +++ b/source/tests/Test-NotifyMalwareInternal.ps1 @@ -1,5 +1,6 @@ function Test-NotifyMalwareInternal { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-OneDriveContentRestrictions.ps1 b/source/tests/Test-OneDriveContentRestrictions.ps1 index 5d10b50..0043aa9 100644 --- a/source/tests/Test-OneDriveContentRestrictions.ps1 +++ b/source/tests/Test-OneDriveContentRestrictions.ps1 @@ -1,5 +1,6 @@ function Test-OneDriveContentRestrictions { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-OneDriveSyncRestrictions.ps1 b/source/tests/Test-OneDriveSyncRestrictions.ps1 index b0af3df..436899a 100644 --- a/source/tests/Test-OneDriveSyncRestrictions.ps1 +++ b/source/tests/Test-OneDriveSyncRestrictions.ps1 @@ -1,5 +1,6 @@ function Test-OneDriveSyncRestrictions { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-OrgOnlyBypassLobby.ps1 b/source/tests/Test-OrgOnlyBypassLobby.ps1 index 9ad8958..735c86d 100644 --- a/source/tests/Test-OrgOnlyBypassLobby.ps1 +++ b/source/tests/Test-OrgOnlyBypassLobby.ps1 @@ -1,5 +1,6 @@ function Test-OrgOnlyBypassLobby { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-OrganizersPresent.ps1 b/source/tests/Test-OrganizersPresent.ps1 index 8e2fead..014d13d 100644 --- a/source/tests/Test-OrganizersPresent.ps1 +++ b/source/tests/Test-OrganizersPresent.ps1 @@ -1,5 +1,6 @@ function Test-OrganizersPresent { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-PasswordHashSync.ps1 b/source/tests/Test-PasswordHashSync.ps1 index dfde80f..83e6d9d 100644 --- a/source/tests/Test-PasswordHashSync.ps1 +++ b/source/tests/Test-PasswordHashSync.ps1 @@ -1,5 +1,6 @@ function Test-PasswordHashSync { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-PasswordNeverExpirePolicy.ps1 b/source/tests/Test-PasswordNeverExpirePolicy.ps1 index 144a8d7..a4f9a07 100644 --- a/source/tests/Test-PasswordNeverExpirePolicy.ps1 +++ b/source/tests/Test-PasswordNeverExpirePolicy.ps1 @@ -1,5 +1,6 @@ function Test-PasswordNeverExpirePolicy { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned [Parameter(Mandatory)] diff --git a/source/tests/Test-ReauthWithCode.ps1 b/source/tests/Test-ReauthWithCode.ps1 index 318bade..6adfd31 100644 --- a/source/tests/Test-ReauthWithCode.ps1 +++ b/source/tests/Test-ReauthWithCode.ps1 @@ -1,5 +1,6 @@ function Test-ReauthWithCode { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-ReportSecurityInTeams.ps1 b/source/tests/Test-ReportSecurityInTeams.ps1 index aceaf1b..9c889dd 100644 --- a/source/tests/Test-ReportSecurityInTeams.ps1 +++ b/source/tests/Test-ReportSecurityInTeams.ps1 @@ -1,5 +1,6 @@ function Test-ReportSecurityInTeams { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-RestrictCustomScripts.ps1 b/source/tests/Test-RestrictCustomScripts.ps1 index 99daa5a..fea4a0f 100644 --- a/source/tests/Test-RestrictCustomScripts.ps1 +++ b/source/tests/Test-RestrictCustomScripts.ps1 @@ -1,5 +1,6 @@ function Test-RestrictCustomScripts { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Define your parameters here if needed ) diff --git a/source/tests/Test-RestrictExternalSharing.ps1 b/source/tests/Test-RestrictExternalSharing.ps1 index 0276204..04b00eb 100644 --- a/source/tests/Test-RestrictExternalSharing.ps1 +++ b/source/tests/Test-RestrictExternalSharing.ps1 @@ -1,5 +1,6 @@ function Test-RestrictExternalSharing { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-RestrictOutlookAddins.ps1 b/source/tests/Test-RestrictOutlookAddins.ps1 index 6d28405..39f1ae6 100644 --- a/source/tests/Test-RestrictOutlookAddins.ps1 +++ b/source/tests/Test-RestrictOutlookAddins.ps1 @@ -1,5 +1,6 @@ function Test-RestrictOutlookAddins { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters could include credentials or other necessary data diff --git a/source/tests/Test-RestrictStorageProvidersOutlook.ps1 b/source/tests/Test-RestrictStorageProvidersOutlook.ps1 index d6d5235..fa7b256 100644 --- a/source/tests/Test-RestrictStorageProvidersOutlook.ps1 +++ b/source/tests/Test-RestrictStorageProvidersOutlook.ps1 @@ -1,5 +1,6 @@ function Test-RestrictStorageProvidersOutlook { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added here if needed diff --git a/source/tests/Test-RestrictTenantCreation.ps1 b/source/tests/Test-RestrictTenantCreation.ps1 index be6a148..ede53c4 100644 --- a/source/tests/Test-RestrictTenantCreation.ps1 +++ b/source/tests/Test-RestrictTenantCreation.ps1 @@ -1,5 +1,6 @@ function Test-RestrictTenantCreation { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-SafeAttachmentsPolicy.ps1 b/source/tests/Test-SafeAttachmentsPolicy.ps1 index 3e5ad4f..18a90a2 100644 --- a/source/tests/Test-SafeAttachmentsPolicy.ps1 +++ b/source/tests/Test-SafeAttachmentsPolicy.ps1 @@ -1,5 +1,6 @@ function Test-SafeAttachmentsPolicy { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-SafeAttachmentsTeams.ps1 b/source/tests/Test-SafeAttachmentsTeams.ps1 index f87a437..1fae789 100644 --- a/source/tests/Test-SafeAttachmentsTeams.ps1 +++ b/source/tests/Test-SafeAttachmentsTeams.ps1 @@ -1,5 +1,6 @@ function Test-SafeAttachmentsTeams { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-SafeLinksOfficeApps.ps1 b/source/tests/Test-SafeLinksOfficeApps.ps1 index 0e1cfed..aa30dbc 100644 --- a/source/tests/Test-SafeLinksOfficeApps.ps1 +++ b/source/tests/Test-SafeLinksOfficeApps.ps1 @@ -1,5 +1,6 @@ function Test-SafeLinksOfficeApps { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here if needed diff --git a/source/tests/Test-SharePointAADB2B.ps1 b/source/tests/Test-SharePointAADB2B.ps1 index 7dfde4d..c95e415 100644 --- a/source/tests/Test-SharePointAADB2B.ps1 +++ b/source/tests/Test-SharePointAADB2B.ps1 @@ -1,5 +1,6 @@ function Test-SharePointAADB2B { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-SharePointExternalSharingDomains.ps1 b/source/tests/Test-SharePointExternalSharingDomains.ps1 index 848cba4..ee309d7 100644 --- a/source/tests/Test-SharePointExternalSharingDomains.ps1 +++ b/source/tests/Test-SharePointExternalSharingDomains.ps1 @@ -1,5 +1,6 @@ function Test-SharePointExternalSharingDomains { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-SharePointGuestsItemSharing.ps1 b/source/tests/Test-SharePointGuestsItemSharing.ps1 index aade0b3..75159b4 100644 --- a/source/tests/Test-SharePointGuestsItemSharing.ps1 +++ b/source/tests/Test-SharePointGuestsItemSharing.ps1 @@ -1,5 +1,6 @@ function Test-SharePointGuestsItemSharing { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Define your parameters here diff --git a/source/tests/Test-SpamPolicyAdminNotify.ps1 b/source/tests/Test-SpamPolicyAdminNotify.ps1 index 8bb73bc..8f100c7 100644 --- a/source/tests/Test-SpamPolicyAdminNotify.ps1 +++ b/source/tests/Test-SpamPolicyAdminNotify.ps1 @@ -1,5 +1,6 @@ function Test-SpamPolicyAdminNotify { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added if needed diff --git a/source/tests/Test-TeamsExternalAccess.ps1 b/source/tests/Test-TeamsExternalAccess.ps1 index 059cdf7..aec7caa 100644 --- a/source/tests/Test-TeamsExternalAccess.ps1 +++ b/source/tests/Test-TeamsExternalAccess.ps1 @@ -1,5 +1,6 @@ function Test-TeamsExternalAccess { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be defined here if needed diff --git a/source/tests/Test-TeamsExternalFileSharing.ps1 b/source/tests/Test-TeamsExternalFileSharing.ps1 index 4004dcc..92ef78c 100644 --- a/source/tests/Test-TeamsExternalFileSharing.ps1 +++ b/source/tests/Test-TeamsExternalFileSharing.ps1 @@ -1,5 +1,6 @@ function Test-TeamsExternalFileSharing { [CmdletBinding()] + [OutputType([CISAuditResult])] param ( # Aligned # Parameters can be added here if needed