π‘οΈ Azure Bastion Host shareable links are enabledπ’
- Contextual name: π‘οΈ Bastion Host shareable links are enabledπ’
- ID:
/ce/ca/azure/bastion/shareable-link - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
Descriptionβ
Descriptionβ
Shareable Link lets anyone holding a Bastion-generated URL reach a virtual machine's RDP or SSH sign-in without signing in to the Azure portal. Each Standard or Premium Bastion host has Shareable Link Enabled or Disabled; Basic and Developer hosts lack the feature and are out of scope.
Rationaleβ
A shareable link exposes a virtual machine's RDP or SSH sign-in to anyone who obtains the URL, with no Microsoft Entra ID authentication, Conditional Access, or Azure role assignment in front of it. A leaked or forwarded link leaves only the virtual machine's local credentials between an attacker and an interactive session until the link expires or is deleted.
Auditβ
This policy marks an Azure Bastion Host as
INCOMPLIANTif the SKU isStandardorPremiumand Shareable Link State isEnabled.
DisabledisCOMPLIANT. Basic and Developer SKUs lack this feature and areINAPPLICABLE.
Remediationβ
Remediationβ
Disable Shareable Link on the affected Standard or Premium Azure Bastion host.
Coordinate with users who rely on shareable links before deleting links or disabling the feature. Confirm that they can connect through an approved authenticated access path, such as Azure Bastion through the Azure portal, with the required Azure permissions and virtual machine credentials.
Remove Existing Shareable Linksβ
- In the Azure portal, go to Bastions and select the affected host in the intended subscription.
- Under Settings, select Shareable links.
- Select the existing links and click Delete. Confirm the deletion and repeat until the list is empty.
Delete existing links before disabling the feature. Microsoft does not document whether disabling Shareable Link deletes stored links. Removing them first prevents those links from becoming usable again if the feature is later re-enabled.
From Azure Portalβ
- On the affected Bastion host, under Settings, select Configuration.
- Clear Shareable Link.
... see more
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ CIS Azure v7.0.0 β πΌ 8.4.2 Ensure 'Shareable Link' is Disabled on Azure Bastion Hosts (Automated) | 1 | no data | |||
| πΌ Cloudaware Framework β πΌ Secure Access | 63 | no data |