Skip to content

Conversation

@heysubinoy
Copy link

@heysubinoy heysubinoy commented Oct 21, 2025

This pull request introduces a new plugin for Azure Recovery Vault Private Endpoint functionality. The implementation allows users to configure and manage private endpoints for Azure Recovery Services Vaults, enhancing security and accessibility.

Changes Made:

  • Added a new plugin recoveryVaultPrivateEndpoint to handle private endpoint configurations.

  • Updated the api.js to get the updated getRecoveryServiceVault, updated to api-version=2024-04-01

  • Enhanced the JSON output to reflect the new configurations and status for private endpoints.

Testing:

[
  {
    "plugin": "recoveryVaultPrivateEndpoint",
    "category": "Recovery Service Vault",
    "title": "Recovery Services Vault Private Endpoint",
    "description": "Ensure that Azure Recovery Services Vaults are not publicly accessible and have private endpoints configured.",
    "resource": "/subscriptions/69e37648-d32f-46a0-a45e-e983eb816225/resourceGroups/test-sbn/providers/Microsoft.RecoveryServices/vaults/TestCloudSploit",
    "region": "eastus",
    "status": "FAIL",
    "message": "Recovery Service Vault has public network access disabled but NO private endpoints configured (not accessible)"
  }
]

[
  {
    "plugin": "recoveryVaultPrivateEndpoint",
    "category": "Recovery Service Vault",
    "title": "Recovery Services Vault Private Endpoint",
    "description": "Ensure that Azure Recovery Services Vaults are not publicly accessible and have private endpoints configured.",
    "resource": "/subscriptions/69e37648-d32f-46a0-a45e-e983eb816225/resourceGroups/test-sbn/providers/Microsoft.RecoveryServices/vaults/TestCloudSploit",
    "region": "eastus",
    "status": "OK",
    "message": "Recovery Service Vault is private: public network access is disabled and private endpoints are configured"
  }
]

@heysubinoy heysubinoy changed the title This pull request introduces a new plugin for Azure Recovery Vault Private Endpoint functionality. The implementation allows users to configure and manage private endpoints for Azure Recovery Services Vaults, enhancing security and accessibility. Changes Made: Added a new plugin recoveryVaultPrivateEndpoint to handle private endpoint configurations. Updated the index.js to include the new plugin in the command line interface. Enhanced the JSON output to reflect the new configurations and status for private endpoints. Updated relevant documentation to include usage instructions for the new plugin. Testing: Successfully executed the command .[index.js](http://_vscodecontentref_/1) --config [config.js](http://_vscodecontentref_/2) --plugin recoveryVaultPrivateEndpoint --cloud azure --json pubnoprivate.json with an exit code of 0, indicating successful execution. Verified that the JSON output correctly represents the private endpoint configurations.Add recoveryVaultPrivateEndpoint plugin Add recoveryVaultPrivateEndpoint plugin Oct 21, 2025
@stefin9898
Copy link

DO NOT MERGE UPGRADE IN PROGRESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants