Skip to main content
Version: 3.0.0-preview

AZDO.1031 - Validate SSH Key Expiration.

Overviewโ€‹

Validation of SSH key expiration date should be enabled.

Rationale: Expired SSH keys should not be valid for authentication towards Azure DevOps.

Remediation actionโ€‹

Enable the policy to stop these requests and notifications.

  1. Sign in to your organization.
  2. Choose Organization settings.
  3. Select Policies under Security.
  4. Switch the Validate SSH key expiration button to ON.

Results: When active, Azure DevOps enforces that keys with expired expiration dates immediately become invalid for authentication.

Test Metadataโ€‹

FieldValue
Test IDAZDO.1031
SeverityHigh
SuiteMaester
CategoryAzure DevOps
PowerShell testTest-AzdoValidateSshKeyExpiration
ServicesAzureDevOps
Learn morehttps://learn.microsoft.com/azure/devops/organizations/accounts/change-application-access-policies?view=azure-devops#ssh-key-policies
TagsAZDO, AZDO.1031

Sourceโ€‹