TMAegis
Thêm quy tắc cho sharepoint

Microsoft SharePoint Server

TMA-SHAREPOINT-4.2

Ensure claims-based authentication is used for all web applications and zones of a SharePoint 2019 farm

Trung bìnhCấp 1Tự độngsharepoint

Mô tả

Claims-based authentication enables systems and applications to authenticate a user without requiring the user to disclose more personal information than necessary. SharePoint continues to offer support for both claims and classic authentication modes. Claims-based identity is an identity model in SharePoint that includes features such as authentication across users of Windows-based systems and... Prints the number of web applications not using claims-based authentication (UseClaimsAuthentication is not True) (expected 0). Run on a SharePoint farm server as a farm administrator; the audit loads the Microsoft.SharePoint.PowerShell snap-in and fails if it cannot.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
$ErrorActionPreference = 'Stop'; if (-not (Get-Command Get-SPFarm -ErrorAction SilentlyContinue)) { Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction Stop }; if (-not (Get-Command Get-SPFarm -ErrorAction SilentlyContinue)) { throw 'SharePoint cmdlets are not available' }; $bad = @(Get-SPWebApplication -ErrorAction Stop | Where-Object { $_.UseClaimsAuthentication -ne $true }); $bad.Count
Đầu ra mong đợi
0

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Convert classic-mode web applications to claims (SharePoint 2019: Convert-SPWebApplication -Identity <url> -From Legacy -To Claims -RetainPermissions after testing; the benchmark shows $wa.UseClaimsAuthentication = 1; $wa.Update()).

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
sharepointauthentication
Tham chiếu
CIS Microsoft SharePoint 2019 Benchmark v1.0.0 - 4.2 Ensure claims-based authentication is used for all web applications and zones of a SharePoint 2019 farm

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target sharepoint