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
ProductAzure DevOps
FeatureSecurity policies
AreaAuthentication
Resource typeTenant
User impactMedium
Implementation costLow
MITRE ATT&CKT1552.004 Private Keys
Supports controlsnist-800-53-r5:IA-5
PowerShell testTest-AzdoValidateSshKeyExpiration
ServicesAzureDevOps
Learn morehttps://learn.microsoft.com/azure/devops/organizations/accounts/change-application-access-policies?view=azure-devops#ssh-key-policies

Sourceโ€‹