Azure.DevOps.RetentionSettings.ArtifactMinimumRetentionDays

December 27, 2023 ยท View on GitHub

SYNOPSIS

Retention settings for artifacts should be configured to meet compliance requirements. For example, a retention policy of 30 days may be required for production environments.

DESCRIPTION

Retention settings for artifacts should be configured to meet compliance requirements. For example, a retention policy of 30 days may be required for production environments.

This rule requires a minimum retention period of 7 days. The rule is configurable to allow a different minimum retention period with the ArtifactMinimumRetentionDays conifguration setting.

Mininum TokenType: ReadOnly

RECOMMENDATION

Consider setting a minimum retention period of more than 7 days for artifacts.