Skip to content

Commit d807107

Browse files
msarfrazMansoor SarfrazCopilot
authored
{Credscanner} FIX: suppressed cred scanner false positive warning (#33022)
Co-authored-by: Mansoor Sarfraz <msarfraz+microsoft@microsoft.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: msarfraz <1217336+msarfraz@users.noreply.github.com>
1 parent 40eea72 commit d807107

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/azure-cli/azure/cli/command_modules/postgresql/commands/custom_commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ def flexible_server_create(cmd, client,
219219
firewall_id = create_firewall_rule(db_context, cmd, resource_group_name, server_name, start_ip, end_ip)
220220

221221
user = server_result.administrator_login if is_password_auth_enabled else '<user>'
222+
# [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="Not a hardcoded secret - value is either a runtime-provided variable or the placeholder '<password>'")]
222223
password = administrator_login_password if is_password_auth_enabled else '<password>'
223224
server_id = server_result.id
224225
loc = server_result.location

0 commit comments

Comments
 (0)