Slot Aplikasi App Service Harus Menonaktifkan SSH
Slot Aplikasi App Service Harus Menonaktifkan SSH
Deskripsi: Azure App Service memungkinkan Anda membuka sesi SSH ke kontainer yang berjalan di layanan tersebut. Fitur ini harus dinonaktifkan untuk memastikan SSH tidak secara tidak sengaja tetap terbuka pada aplikasi App Service, sehingga mengurangi risiko akses tidak sah.
Kategori
App Service
Versi
1.0.0
Efek Default
Audit
Efek yang Diizinkan
Audit, Deny, Disabled
Mode
Indexed
Tipe
BuiltIn
Pratinjau
False
Usang
False
Lingkungan Cloud
AzureCloud: true, AzureUSGovernment: unknown, AzureChinaCloud: unknown
Alias Aturan (IF)
| Alias | Namespace | Jenis Sumber Daya | Path | PathIsDefault | DefaultPath | Dapat Dimodifikasi |
|---|---|---|---|---|---|---|
| Microsoft | Microsoft | sites/slots | propertiesbled | True | True |
Jenis Sumber Daya Aturan (IF)
Microsoft
Riwayat
| Tanggal/Waktu (UTC) | Jenis Perubahan | Detail Perubahan |
|---|---|---|
| 2025-09-12 17:23:06 | tambah | a88d589f-2b09-4b50-8998-9a4e71d7b746 |
Penggunaan Inisiatif
tidak ada
Kepatuhan
Bukan kontrol kepatuhan
Peran RBAC
tidak ada
JSON
{ "displayName": "App Service app slots should disable SSH", "policyType": "BuiltIn", "mode": "Indexed", "description": "Azure App Service allows you to open an SSH session to a container running in the service. This feature should be disabled to ensure that SSH is not inadvertently left open on App Service apps, reducing the risk of unauthorized access. Learn more at: aka", "metadata": { "version": "1.0.0", "category": "App Service" }, "parameters": { "effect": { "type": "String", "metadata": { "displayName": "Effect", "description": "Enable or disable the execution of the policy" }, "allowedValues": [ "Audit", "Deny", "Disabled" ], "defaultValue": "Audit" } }, "policyRule": { "if": { "allOf": [ { "field": "type", "equals": "Microsoft" }, { "anyOf": [ { "field": "Microsoft", "exists": "false" }, { "field": "Microsoft", "notEquals": "false" } ] } ] }, "then": { "effect": "[parameters('effect')]" } } }
Platform Lainnya
Berita Piala Dunia
Jika Anda memiliki pertanyaan, silakan kirim email ke [email protected]