PSRule.Rules.AzureDevOps
0.5.1
PSRule rules module for Azure DevOps project configuration best practices. This module helps to audit an Azure DevOps project for secure and best practice configuration. The module requires PSRule to be installed.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) Roderick Bant. All rights reserved.
Package Details
Author(s)
- Roderick Bant
Tags
PSRule-rules PSRule AzureDevOps Security
Functions
Export-AzDevOpsRuleData Export-AzDevOpsOrganizationRuleData Connect-AzDevOps Disconnect-AzDevOps
PSEditions
Dependencies
Release Notes
## New in this release
### Functions added
- Export git repository branch statistics
### Rules added
- Azure.DevOps.Repos.Branch.CommitRecent checks for stale branches with a configurable age in days.
FileList
- PSRule.Rules.AzureDevOps.nuspec
- PSRule.Rules.AzureDevOps.psd1
- nl\Azure.DevOps.Pipelines.Core.UseYamlDefinition.md
- en\Azure.DevOps.Repos.DefaultBranchPolicyCommentResolution.md
- en\Azure.DevOps.ServiceConnections.ClassicAzure.md
- nl\Azure.DevOps.Pipelines.Environments.ProductionBranchLimit.md
- en\Azure.DevOps.Pipelines.Environments.ProductionHumanApproval.md
- en\Azure.DevOps.ServiceConnections.ProductionCheckProtection.md
- PSRule.Rules.AzureDevOps.psm1
- nl\Azure.DevOps.ServiceConnections.GitHubPAT.md
- en\Azure.DevOps.Repos.DefaultBranchPolicyMinimumReviewers.md
- en\Azure.DevOps.Tasks.VariableGroup.NoKeyVaultNoSecrets.md
- nl\Azure.DevOps.ServiceConnections.ProductionHumanApproval.md
- nl\Azure.DevOps.Pipelines.PipelineYaml.StepDisplayName.md
- en\Azure.DevOps.Pipelines.Releases.Definition.SelfApproval.md
- en\Azure.DevOps.Project.MainEnvironmentAcl.ProjectValidUsers.md
- nl\Azure.DevOps.Pipelines.Environments.ProductionCheckProtection.md
- nl\Azure.DevOps.Repos.License.md
- en\Azure.DevOps.Repos.DefaultBranchPolicyResetVotes.md
- en\Azure.DevOps.ServiceConnections.InheritedPermissions.md
- nl\Azure.DevOps.ServiceConnections.Scope.md
- nl\Azure.DevOps.ServiceConnections.ClassicAzure.md
- en\Azure.DevOps.Project.MainVariableGroupAcl.ProjectValidUsers.md
- en\Azure.DevOps.RetentionSettings.ArtifactMinimumRetentionDays.md
- nl\Azure.DevOps.Repos.GitHubAdvancedSecurityBlockPushes.md
- nl\Azure.DevOps.ServiceConnections.ProductionCheckProtection.md
- en\Azure.DevOps.Tasks.VariableGroup.NoPlainTextSecrets.md
- en\Azure.DevOps.Repos.Branch.BranchPolicyRequireBuild.md
- nl\Azure.DevOps.Pipelines.Settings.LimitJobAuthorizationScopeForYamlPipelines.md
- nl\Azure.DevOps.Tasks.VariableGroup.NoKeyVaultNoSecrets.md
- en\Azure.DevOps.Repos.Branch.BranchPolicyMergeStrategy.md
- en\Azure.DevOps.Repos.Branch.BranchPolicyMinimumReviewers.md
- nl\Azure.DevOps.ServiceConnections.Description.md
- nl\Azure.DevOps.Repos.HasBranchPolicy.md
- en\Azure.DevOps.Pipelines.Releases.Definition.InheritedPermissions.md
- en\Azure.DevOps.Pipelines.Core.ProjectValidUsers.md
- nl\Azure.DevOps.Pipelines.Settings.RequireCommentForPullRequestFromFork.md
- en\Azure.DevOps.Pipelines.Settings.StatusBadgesPrivate.md
- en\Azure.DevOps.Tasks.VariableGroup.Description.md
- rules\Standards.Rule.ps1
- nl\Azure.DevOps.Pipelines.Settings.RestrictSecretsForPullRequestFromFork.md
- en\Azure.DevOps.Project.MainRepositoryAcl.ProjectValidUsers.md
- en\Azure.DevOps.Pipelines.Environments.InheritedPermissions.md
- rules\AzureDevOps.Projects.Rule.ps1
- nl\Azure.DevOps.Pipelines.Releases.Definition.ProductionApproval.md
- en\Azure.DevOps.Repos.Branch.BranchPolicyAllowSelfApproval.md
- en\Azure.DevOps.Pipelines.Settings.LimitJobAuthorizationScopeForReleasePipelines.md
- rules\AzureDevOps.ServiceConnection.Rule.ps1
- nl\Azure.DevOps.Pipelines.Releases.Definition.NoPlainTextSecrets.md
- en\Azure.DevOps.Repos.ProjectValidUsers.md
- en\Azure.DevOps.Repos.Branch.BranchPolicyEnforceLinkedWorkItems.md
- rules\AzureDevOps.Pipelines.Environments.Rule.ps1
- nl\Azure.DevOps.Repos.GitHubAdvancedSecurityEnabled.md
- en\Azure.DevOps.Repos.DefaultBranchPolicyRequireBuild.md
- en\Azure.DevOps.Pipelines.Environments.Description.md
- rules\Baseline.Default.Rule.yaml
- nl\Azure.DevOps.Repos.BranchPolicyAllowSelfApproval.md
- en\Azure.DevOps.Pipelines.Environments.ProjectValidUsers.md
- en\Azure.DevOps.Pipelines.Core.NoPlainTextSecrets.md
- rules\AzureDevOps.Pipelines.Core.Rule.ps1
- nl\Azure.DevOps.Pipelines.Core.InheritedPermissions.md
- en\Azure.DevOps.ServiceConnections.ProductionHumanApproval.md
- en\Azure.DevOps.Groups.ProjectValidUsers.DoNotAssignMemberOfOtherGroups.md
- rules\AzureDevOps.Pipelines.Releases.Rule.ps1
- nl\Azure.DevOps.Repos.BranchPolicyCommentResolution.md
- en\Azure.DevOps.Pipelines.Environments.ProductionCheckProtection.md
- en\Azure.DevOps.Pipelines.Settings.SanitizeShellTaskArguments.md
- rules\AzureDevOps.Tasks.VariableGroups.Rule.ps1
- nl\Azure.DevOps.Pipelines.Environments.ProductionHumanApproval.md
- en\Azure.DevOps.ServiceConnections.Scope.md
- en\Azure.DevOps.Pipelines.Releases.Definition.ProjectValidUsers.md
- rules\AzureDevOps.Groups.Rule.ps1
- nl\Azure.DevOps.Pipelines.Releases.Definition.SelfApproval.md
- en\Azure.DevOps.Repos.Branch.HasBranchPolicy.md
- en\Azure.DevOps.Repos.Readme.md
- rules\AzureDevOps.Repos.Rule.ps1
- nl\Azure.DevOps.Tasks.VariableGroup.NoPlainTextSecrets.md
- en\Azure.DevOps.Repos.GitHubAdvancedSecurityBlockPushes.md
- en\Azure.DevOps.ServiceConnections.ProductionBranchLimit.md
- rules\AzureDevOps.Pipelines.Settings.Rule.ps1
- nl\Azure.DevOps.Pipelines.Releases.Definition.InheritedPermissions.md
- en\Azure.DevOps.Pipelines.Settings.LimitJobAuthorizationScopeForYamlPipelines.md
- en\Azure.DevOps.Pipelines.Settings.LimitJobAuthorizationScope.md
- rules\AzureDevOps.Pipelines.PipelineYaml.Rule.ps1
- nl\Azure.DevOps.Tasks.VariableGroup.Description.md
- en\Azure.DevOps.ServiceConnections.ProjectValidUsers.md
- en\Azure.DevOps.Repos.HasDefaultBranchPolicy.md
- rules\AzureDevOps.RetentionSettings.Rule.ps1
- nl\Azure.DevOps.Repos.BranchPolicyMergeStrategy.md
- en\Azure.DevOps.Groups.ProjectAdmins.MaxMembers.md
- en\Azure.DevOps.Repos.Branch.BranchPolicyIsEnabled.md
- rules\Selectors.Rule.yaml
- nl\Azure.DevOps.Repos.BranchPolicyMinimumReviewers.md
- en\Azure.DevOps.ServiceConnections.Description.md
- en\Azure.DevOps.RetentionSettings.PullRequestRunsMinimumRetentionDays.md
- rules\AzureDevOps.Repo.Branches.Rule.ps1
- nl\Azure.DevOps.Pipelines.Settings.LimitJobAuthorizationScopeForReleasePipelines.md
- en\Azure.DevOps.Pipelines.Settings.RequireCommentForPullRequestFromFork.md
- en\Azure.DevOps.Repos.DefaultBranchPolicyMergeStrategy.md
- rules\Baseline.NoExtraLicense.Rule.yaml
- nl\Azure.DevOps.Pipelines.Environments.Description.md
- en\Azure.DevOps.Repos.Branch.CommitRecent.md
- en\Azure.DevOps.Repos.InheritedPermissions.md
- rules\Config.Rule.yaml
- nl\Azure.DevOps.Pipelines.Core.NoPlainTextSecrets.md
- en\Azure.DevOps.Pipelines.Settings.RestrictSecretsForPullRequestFromFork.md
- en\Azure.DevOps.Pipelines.Settings.LimitSetVariablesAtQueueTime.md
- rules\Baseline.PublicProject.Rule.yaml
- nl\Azure.DevOps.Repos.BranchPolicyResetVotes.md
- en\Azure.DevOps.Pipelines.Releases.Definition.ProductionApproval.md
- en\Azure.DevOps.Repos.DefaultBranchPolicyIsEnabled.md
- Functions\DevOps.Pipelines.Core.ps1
- nl\Azure.DevOps.Pipelines.Settings.SanitizeShellTaskArguments.md
- en\Azure.DevOps.Project.MainPipelineAcl.ProjectValidUsers.md
- en\Azure.DevOps.Groups.ProjectAdmins.MinMembers.md
- Functions\DevOps.Pipelines.Environments.ps1
- nl\Azure.DevOps.Repos.Readme.md
- en\Azure.DevOps.Pipelines.Releases.Definition.NoPlainTextSecrets.md
- en\Azure.DevOps.Pipelines.PipelineYaml.AgentPoolVersionNotLatest.md
- Functions\DevOps.Repos.ps1
- nl\Azure.DevOps.ServiceConnections.ProductionBranchLimit.md
- en\Azure.DevOps.Repos.Branch.BranchPolicyResetVotes.md
- en\Azure.DevOps.ServiceConnections.WorkloadIdentityFederation.md
- Functions\DevOps.Pipelines.Settings.ps1
- nl\Azure.DevOps.Pipelines.Settings.LimitJobAuthorizationScope.md
- en\Azure.DevOps.Project.MainServiceConnectionAcl.ProjectValidUsers.md
- en\Azure.DevOps.Pipelines.Core.UseYamlDefinition.md
- Functions\DevOps.Groups.ps1
- nl\Azure.DevOps.Repos.InheritedPermissions.md
- en\Azure.DevOps.Repos.GitHubAdvancedSecurityEnabled.md
- en\Azure.DevOps.Pipelines.Environments.ProductionBranchLimit.md
- Functions\DevOps.Pipelines.Releases.ps1
- nl\Azure.DevOps.Pipelines.Settings.LimitSetVariablesAtQueueTime.md
- en\Azure.DevOps.Repos.DefaultBranchPolicyAllowSelfApproval.md
- en\Azure.DevOps.Tasks.VariableGroup.InheritedPermissions.md
- Functions\Common.ps1
- nl\Azure.DevOps.Repos.BranchPolicyEnforceLinkedWorkItems.md
- en\Azure.DevOps.Repos.Branch.BranchPolicyCommentResolution.md
- en\Azure.DevOps.Repos.DefaultBranchPolicyEnforceLinkedWorkItems.md
- Functions\DevOps.Tasks.VariableGroups.ps1
- nl\Azure.DevOps.Pipelines.PipelineYaml.AgentPoolVersionNotLatest.md
- en\Azure.DevOps.Pipelines.Core.InheritedPermissions.md
- en\Azure.DevOps.ServiceConnections.GitHubPAT.md
- Functions\DevOps.RetentionSettings.ps1
- nl\Azure.DevOps.Repos.BranchPolicyRequireBuild.md
- en\Azure.DevOps.Project.MainReleaseDefinitionAcl.ProjectValidUsers.md
- en\Azure.DevOps.Pipelines.PipelineYaml.StepDisplayName.md
- Functions\DevOps.ServiceConnections.ps1
- nl\Azure.DevOps.Repos.BranchPolicyIsEnabled.md
- en\Azure.DevOps.Tasks.VariableGroup.ProjectValidUsers.md
- en\Azure.DevOps.Repos.License.md
- Classes\AzureDevOpsConnection.ps1
- nl\Azure.DevOps.ServiceConnections.WorkloadIdentityFederation.md
- en\Azure.DevOps.Project.Visibility.md
Version History
Version | Downloads | Last updated |
---|---|---|
0.5.1 (current version) | 2,698 | 4/1/2024 |
0.5.0 | 305 | 1/20/2024 |
0.4.4 | 17 | 1/16/2024 |
0.4.3 | 44 | 1/11/2024 |
0.4.2 | 31 | 1/7/2024 |
0.4.1 | 28 | 1/4/2024 |
0.4.0 | 25 | 1/4/2024 |
0.4.0-preview1 | 6 | 12/29/2023 |
0.3.0 | 76 | 12/17/2023 |
0.3.0-preview4 | 6 | 12/10/2023 |
0.3.0-preview1 | 6 | 12/10/2023 |
0.2.1 | 76 | 11/25/2023 |
0.2.0 | 41 | 10/21/2023 |
0.1.1 | 26 | 10/8/2023 |
0.1.0 | 8 | 10/6/2023 |
0.0.13 | 15 | 9/30/2023 |
0.0.12 | 9 | 9/26/2023 |
0.0.11 | 17 | 9/24/2023 |
0.0.10 | 6 | 9/23/2023 |
0.0.9 | 6 | 9/22/2023 |
0.0.8 | 8 | 9/21/2023 |
0.0.7 | 8 | 9/20/2023 |
0.0.6 | 6 | 9/18/2023 |
0.0.5 | 7 | 9/17/2023 |
0.0.4 | 6 | 9/17/2023 |
0.0.3 | 7 | 9/17/2023 |
0.0.2 | 7 | 9/16/2023 |
0.0.1 | 6 | 9/16/2023 |