Storage accounts must enforce TLS 1.2 to protect data in transit and prevent downgrade attacks using older, vulnerable TLS versions. For Ansible, the azure_rm_storageaccount or azure.azcollection.azure_rm_storageaccount resource must include the minimum_tls_version property set to "TLS1_2". Resources missing minimum_tls_version or configured with any value other than "TLS1_2" (for example "TLS1_0" or "TLS1_1") are flagged.
Compliant Code Examples
- name:Create an account with kind of FileStorageazure_rm_storageaccount:resource_group:myResourceGroupname:c1h0002type:Premium_LRSkind:FileStorageminimum_tls_version:TLS1_2tags:testing:testing
Non-Compliant Code Examples
---- name:Create an account with kind of FileStorageazure_rm_storageaccount:resource_group:myResourceGroupname:c1h0002type:Premium_LRSkind:FileStorageminimum_tls_version:TLS1_0tags:testing:testing- name:Create a second account with kind of FileStorageazure_rm_storageaccount:resource_group:myResourceGroupname:clh0003type:Premium_LRSkind:FileStorage
1
2
rulesets:- Ansible / Azure # Rules to enforce / Azure.
맞춤형 데모 요청
Datadog 시작하기
Ask AI
AI-generated responses may be inaccurate. Verify important info.