[x] Confirm that the recommendation details are accurate and complete as per the CIS benchmark.
Validate test for a pass
[ ] Confirm that the automated test results align with the manual audit steps outlined in the CIS benchmark.
Specific conditions to check:
Condition A: The DefaultSharingLinkType setting in SharePoint and OneDrive is set to Direct.
Condition B: The setting Choose the type of link that's selected by default when users share files and folders in SharePoint and OneDrive is set to Specific people (only the people the user specifies).
Condition C: Verification using the UI confirms that the link sharing settings are configured as recommended.
Validate test for a fail
[ ] Confirm that the failure conditions in the automated test are consistent with the manual audit results.
Specific conditions to check:
Condition A: The DefaultSharingLinkType setting in SharePoint and OneDrive is not set to Direct.
Condition B: The setting Choose the type of link that's selected by default when users share files and folders in SharePoint and OneDrive is not set to Specific people (only the people the user specifies).
Condition C: Verification using the UI indicates that the link sharing settings are not configured as recommended.
Add notes and observations
[ ] Compare the automated audit results with the manual audit steps and provide detailed observations.
Automated audit produced info consistent with the manual audit test results? (Yes/No)
Without disclosing any sensitive information, document any discrepancies between the actual output and the expected output.
Document any error messages, removing any sensitive information before submitting.
Identify the specific function, line, or section of the script that failed, if known.
Provide any additional context or observations that might help in troubleshooting.
If needed, the helpers folder in .\source\helpers contains a CSV to assist with locating the test definition.
Validation for Test-LinkSharingRestrictions.ps1
Recommendation Details
Test-LinkSharingRestrictions.ps1
Tasks
Validate recommendation details
Validate test for a pass
DefaultSharingLinkType
setting in SharePoint and OneDrive is set toDirect
.Choose the type of link that's selected by default when users share files and folders in SharePoint and OneDrive
is set toSpecific people (only the people the user specifies)
.Validate test for a fail
DefaultSharingLinkType
setting in SharePoint and OneDrive is not set toDirect
.Choose the type of link that's selected by default when users share files and folders in SharePoint and OneDrive
is not set toSpecific people (only the people the user specifies)
.Add notes and observations
If needed, the helpers folder in .\source\helpers contains a CSV to assist with locating the test definition.