Skip to content

Commit 349ed73

Browse files
authored
Bypass false positive of credential scan (#49093)
1 parent 6b85cb8 commit 349ed73

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Custom/Models/AgricultureServicePatchProperties.cs

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
#nullable disable
55

6-
using System;
7-
using System.Collections.Generic;
86
using Azure.Core;
97

108
namespace Azure.ResourceManager.AgriculturePlatform.Models
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
namespace Azure.ResourceManager.AgriculturePlatform.Models
5+
{
6+
/// <summary> Types of different kind of Data connector auth credentials supported. </summary>
7+
public readonly partial struct AuthCredentialsKind
8+
{
9+
private const string OAuthClientCredentialsValue = "OAuthClientCredentials"; //[SuppressMessage("Microsoft.Security", "CS001:SecretInline", Justification = "This is not actual credential, just name as string")]
10+
private const string ApiKeyAuthCredentialsValue = "ApiKeyAuthCredentials"; //[SuppressMessage("Microsoft.Security", "CS001:SecretInline", Justification = "This is not actual credential, just name as string")]
11+
}
12+
}

sdk/agricultureplatform/Azure.ResourceManager.AgriculturePlatform/src/Generated/Models/AuthCredentialsKind.cs

-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)