Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key vaults should have purge protection enabled #327

Closed
shawngib opened this issue Aug 4, 2021 · 0 comments
Closed

Key vaults should have purge protection enabled #327

shawngib opened this issue Aug 4, 2021 · 0 comments
Labels
draft Issues that are being authored, not ready for adding to a release. NIST Policy Issues related NIST 800-53 compliance

Comments

@shawngib
Copy link
Member

shawngib commented Aug 4, 2021

Benefit/Result/Outcome
Malicious deletion of a key vault can lead to permanent data loss. A malicious insider in your organization can potentially delete and purge key vaults. Purge protection protects you from insider attacks by enforcing a mandatory retention period for soft deleted key vaults. No one inside your organization or Microsoft will be able to purge your key vaults during the soft delete retention period.

Description
Terraform azurerm allows for setting purge protection.
resource "azurerm_key_vault" "jumpbox-keyvault" {
name = format("%.24s", lower(replace("${var.keyvault_name}${random_id.jumpbox-keyvault.id}", "/[[:^alnum:]]/", "")))
location = var.location
resource_group_name = var.resource_group_name
tenant_id = var.tenant_id
soft_delete_retention_days = 90
sku_name = "standard" # 'standard' or 'premium' case sensitive
purge_protection_enabled = true

Acceptance Criteria

  • Mission LZ will show Key Vault as being compliant in purge protection.
@shawngib shawngib added needs triage NIST Policy Issues related NIST 800-53 compliance labels Aug 4, 2021
@brooke-hamilton brooke-hamilton changed the title [NIST] Key vaults should have purge protection enabled Key vaults should have purge protection enabled Aug 14, 2021
@brooke-hamilton brooke-hamilton added draft Issues that are being authored, not ready for adding to a release. and removed needs triage labels Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
draft Issues that are being authored, not ready for adding to a release. NIST Policy Issues related NIST 800-53 compliance
Projects
None yet
Development

No branches or pull requests

3 participants