Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.86k forks source link

[Doc]: Redis Cache documentation includes Storage Account Shared Access Signature that is being flagged by security tooling #26212

Open jaredfholgate opened 1 month ago

jaredfholgate commented 1 month ago

Type of issue

Other (describe below)

Feedback

The documentation for RedisCache includes examples showing SAS for storage accounts. This is getting flagged as an issue by security tooling. In my case it was because it got installed to a folder backed up to One Drive. But in any case, it should probably use a masked example to avoid being flagged.

Example here: https://github.com/Azure/azure-powershell/blob/9c061715ad92dc5fa61179e6edacb4bc0af665ea/src/RedisCache/RedisCache/help/Export-AzRedisCache.md?plain=1#L29

This get distributed in the Microsoft.Azure.PowerShell.Cmdlets.RedisCache.dll-Help.xml file when Az PowerShell is installed.

Page URL

No response

Content source URL

https://github.com/Azure/azure-powershell/blob/9c061715ad92dc5fa61179e6edacb4bc0af665ea/src/RedisCache/RedisCache/help/Export-AzRedisCache.md?plain=1#L29

Author

No response

Document Id

No response

isra-fel commented 1 month ago

@Nickcandy please take a look Also at xmls of Batch and Compute