-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/maester365/maester
- Loading branch information
Showing
13 changed files
with
269 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
website/docs/commands/Get-MtAuthenticationMethodPolicyConfig.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
--- | ||
sidebar_class_name: hidden | ||
description: Get details of authentication methods | ||
id: Get-MtAuthenticationMethodPolicyConfig | ||
title: Get-MtAuthenticationMethodPolicyConfig | ||
hide_title: false | ||
hide_table_of_contents: false | ||
custom_edit_url: https://github.com/maester365/maester/blob/main/powershell/public/Get-MtAuthenticationMethodPolicyConfig.ps1 | ||
--- | ||
|
||
## SYNOPSIS | ||
|
||
Get details of authentication methods | ||
|
||
## SYNTAX | ||
|
||
```powershell | ||
Get-MtAuthenticationMethodPolicyConfig [[-State] <String>] [-ProgressAction <ActionPreference>] | ||
[<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
This function retrieves the configuration of authentication methods with specific state. | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
|
||
```powershell | ||
Get-MtAuthenticationMethodPolicyConfig -State Enabled | ||
``` | ||
|
||
## PARAMETERS | ||
|
||
### -State | ||
|
||
\{\{ Fill State Description \}\} | ||
|
||
```yaml | ||
Type: String | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: 1 | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -ProgressAction | ||
\{\{ Fill ProgressAction Description \}\} | ||
```yaml | ||
Type: ActionPreference | ||
Parameter Sets: (All) | ||
Aliases: proga | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
sidebar_class_name: hidden | ||
description: Checks if Authentication Method - FIDO2 security key - Enforce key restrictions is set to 'true' | ||
id: Test-MtEidscaAF04 | ||
title: Test-MtEidscaAF04 | ||
hide_title: false | ||
hide_table_of_contents: false | ||
custom_edit_url: https://github.com/maester365/maester/blob/main/powershell/public/Test-MtEidscaAF04.ps1 | ||
--- | ||
|
||
## SYNOPSIS | ||
|
||
Checks if Authentication Method - FIDO2 security key - Enforce key restrictions is set to 'true' | ||
|
||
## SYNTAX | ||
|
||
```powershell | ||
Test-MtEidscaAF04 [-ProgressAction <ActionPreference>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
Manages if registration of FIDO2 keys should be restricted. | ||
|
||
Queries policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2') | ||
and returns the result of | ||
graph/policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2').keyRestrictions.isEnforced -eq 'true' | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
|
||
```powershell | ||
Test-MtEidscaAF04 | ||
``` | ||
|
||
Returns the result of graph.microsoft.com/beta/policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2').keyRestrictions.isEnforced -eq 'true' | ||
|
||
## PARAMETERS | ||
|
||
### -ProgressAction | ||
|
||
\{\{ Fill ProgressAction Description \}\} | ||
|
||
```yaml | ||
Type: ActionPreference | ||
Parameter Sets: (All) | ||
Aliases: proga | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -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.Boolean | ||
## NOTES | ||
## RELATED LINKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
sidebar_class_name: hidden | ||
description: Checks if Authentication Method - FIDO2 security key - Restricted is set to 'true' | ||
id: Test-MtEidscaAF05 | ||
title: Test-MtEidscaAF05 | ||
hide_title: false | ||
hide_table_of_contents: false | ||
custom_edit_url: https://github.com/maester365/maester/blob/main/powershell/public/Test-MtEidscaAF05.ps1 | ||
--- | ||
|
||
## SYNOPSIS | ||
|
||
Checks if Authentication Method - FIDO2 security key - Restricted is set to 'true' | ||
|
||
## SYNTAX | ||
|
||
```powershell | ||
Test-MtEidscaAF05 [-ProgressAction <ActionPreference>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
You can work with your Security key provider to determine the AAGuids of their devices for allowing or blocking usage. | ||
|
||
Queries policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2') | ||
and returns the result of | ||
graph/policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2').keyRestrictions.aaGuids -notcontains $null -eq 'true' | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
|
||
```powershell | ||
Test-MtEidscaAF05 | ||
``` | ||
|
||
Returns the result of graph.microsoft.com/beta/policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2').keyRestrictions.aaGuids -notcontains $null -eq 'true' | ||
|
||
## PARAMETERS | ||
|
||
### -ProgressAction | ||
|
||
\{\{ Fill ProgressAction Description \}\} | ||
|
||
```yaml | ||
Type: ActionPreference | ||
Parameter Sets: (All) | ||
Aliases: proga | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -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.Boolean | ||
## NOTES | ||
## RELATED LINKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.