diff --git a/eng/build.ps1 b/eng/build.ps1 index edbcc77f9ec0e..0de44e73ca930 100644 --- a/eng/build.ps1 +++ b/eng/build.ps1 @@ -318,6 +318,11 @@ function GetIbcSourceBranchName() { } function GetIbcDropName() { + [Diagnostics.CodeAnalysis.SuppressMessageAttribute( + 'PSAvoidUsingConvertToSecureStringWithPlainText', + '', + Justification='$officialVisualStudioDropAccessToken is a script parameter so it needs to be plain text')] + param() if ($officialIbcDrop -and $officialIbcDrop -ne "default"){ return $officialIbcDrop diff --git a/eng/config/guardian/.gdnsuppress b/eng/config/guardian/.gdnsuppress deleted file mode 100644 index 9ccb486a7ae08..0000000000000 --- a/eng/config/guardian/.gdnsuppress +++ /dev/null @@ -1,41 +0,0 @@ -{ - "properties": { - "helpUri": "https://eng.ms/docs/microsoft-security/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/microsoft-guardian/general/suppressions" - }, - "version": "1.0.0", - "suppressionSets": { - "default": { - "name": "default", - "createdDate": "2024-03-21 01:38:07Z", - "lastUpdatedDate": "2024-03-21 01:38:07Z" - } - }, - "results": { - "847ed085b811316467ddba6a5f31a5084c27c4bb1c4a7d584dc0e857018dc898": { - "signature": "847ed085b811316467ddba6a5f31a5084c27c4bb1c4a7d584dc0e857018dc898", - "alternativeSignatures": [ - "3e868456152947a1ac244bf80f7f116223d51ec35a46334f64b621b35255a1aa" - ], - "target": "eng/build.ps1", - "line": 340, - "memberOf": [ - "default" - ], - "tool": "psscriptanalyzer", - "ruleId": "PSAvoidUsingConvertToSecureStringWithPlainText", - "createdDate": "2024-03-21 01:38:07Z" - }, - "ec3b30de7f7c5fca72d402bd7f34279d378700b16d98b2f3da9922fa8db3546f": { - "signature": "ec3b30de7f7c5fca72d402bd7f34279d378700b16d98b2f3da9922fa8db3546f", - "alternativeSignatures": [], - "target": "src/EditorFeatures/CSharpTest2/EmbeddedLanguages/Json/CSharpJsonParserTests_BasicTests.cs", - "line": 4207, - "memberOf": [ - "default" - ], - "tool": "credscan", - "ruleId": "CSCAN-GENERAL0060", - "createdDate": "2024-03-21 01:38:07Z" - } - } -} \ No newline at end of file diff --git a/src/EditorFeatures/CSharpTest2/EmbeddedLanguages/Json/CSharpJsonParserTests_BasicTests.cs b/src/EditorFeatures/CSharpTest2/EmbeddedLanguages/Json/CSharpJsonParserTests_BasicTests.cs index a4b15588673be..ccd654cf8c45e 100644 --- a/src/EditorFeatures/CSharpTest2/EmbeddedLanguages/Json/CSharpJsonParserTests_BasicTests.cs +++ b/src/EditorFeatures/CSharpTest2/EmbeddedLanguages/Json/CSharpJsonParserTests_BasicTests.cs @@ -4204,7 +4204,12 @@ public void TestOctal6() [ - 07777777777777777777777777777777 + + """ + + // [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="this is not a credential")] + " 07777777777777777777777777777777" + + """ + ]