azure-sdk-for-js icon indicating copy to clipboard operation
azure-sdk-for-js copied to clipboard

[Aggregate-reports] Post Analysis (PoliCheck) failing in nightly runs

Open v-jiaodi opened this issue 3 years ago • 1 comments

Aggregate-reports nightly test runs are failing with:

Error message: The term whitelist was used in file 'README.md' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. ##[error]32. PoliCheck Error SEV2 - File: sdk/security/arm-security/samples/v6-beta/typescript/README.md. Line: 9. Column 320. Tool: PoliCheck: Rule: SEV2 (Severity 2). The term whitelist was used in file 'README.md' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. ##[error]33. PoliCheck Error SEV2 - File: sdk/security/arm-security/samples/v6-beta/typescript/README.md. Line: 10. Column 292. Tool: PoliCheck: Rule: SEV2 (Severity 2). The term whitelist was used in file 'README.md' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. ##[error]34. PoliCheck Error SEV2 - File: sdk/network/arm-network/samples/v30/typescript/src/firewallPoliciesCreateOrUpdateSample.ts. Line: 87. Column 16. Tool: PoliCheck: Rule: SEV2 (Severity 2). The term whitelist was used in file 'firewallPoliciesCreateOrUpdateSample.ts' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. ##[error]35. PoliCheck Error SEV2 - File: sdk/network/arm-network-rest/samples/v1-beta/typescript/src/firewallPoliciesCreateOrUpdateSample.ts. Line: 91. Column 20. Tool: PoliCheck: Rule: SEV2 (Severity 2). The term whitelist was used in file 'firewallPoliciesCreateOrUpdateSample.ts' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. ##[error]36. PoliCheck Error SEV2 - File: sdk/security/arm-security/samples/v6-beta/typescript/src/adaptiveApplicationControlsDeleteSample.ts. Line: 18. Column 121. Tool: PoliCheck: Rule: SEV2 (Severity 2). The term whitelist was used in file 'adaptiveApplicationControlsDeleteSample.ts' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. ##[error]37. PoliCheck Error SEV2 - File: sdk/security/arm-security/samples/v6-beta/typescript/src/adaptiveApplicationControlsGetSample.ts. Line: 18. Column 121. Tool: PoliCheck: Rule: SEV2 (Severity 2). The term whitelist was used in file 'adaptiveApplicationControlsGetSample.ts' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. ##[error]38. PoliCheck Error SEV2 - File: sdk/security/arm-security/samples/v6-beta/typescript/src/adaptiveApplicationControlsListSample.ts. Line: 21. Column 121. Tool: PoliCheck: Rule: SEV2 (Severity 2). The term whitelist was used in file 'adaptiveApplicationControlsListSample.ts' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. ##[error]39. PoliCheck Error SEV2 - File: sdk/security/arm-security/samples/v6-beta/typescript/src/adaptiveApplicationControlsPutSample.ts. Line: 21. Column 121. Tool: PoliCheck: Rule: SEV2 (Severity 2). The term whitelist was used in file 'adaptiveApplicationControlsPutSample.ts' and may not be appropriate to ship in all contexts. When industry naming conventions or consistency make replacement of the term impractical, leave the term unchanged. When used to describe a list of people or things that have received approval or are considered to be in good favor, replace with "allow list". More specific terms such as "approved list" or "safe recipients list" can be used where appropriate. Active results: 39 Skipped results: 0 Baselined results: 0 Suppressed results: 0 Results excluded by tool filters: 0 Results below minimum severity: 0 Results classified as Pass: 0 Results in flight: 0 ##[error]BreakException: Guardian detected one or more breaking results. ##[error]GuardianPipelineGuardianCommandFailedException: Guardian command exited with exit code 8. Please visit https://aka.ms/GuardianHelp for support. ##[error]D:\a_work_gdn\versions\Microsoft.Guardian.Cli.0.129.0\tools\Microsoft.Guardian.Cli.dll break --tool PoliCheck:Warning --policy Microsoft --rich-exit-code --break-summary-line-logger-level Verbose --logger-level Standard --logger-pipeline --telemetry-environment Pipeline --settings-file D:\a_work\1\pipeline.gdnsettings --telemetry-session-id 57af1e61-0bf0-41fa-b949-d81bc3bfe630 ##[error]Please visit https://aka.ms/GuardianHelp for support. ##[error]Guardian exited with an error exit code: 1

For more details check here:

  • https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1903475&view=results

v-jiaodi avatar Oct 11 '22 02:10 v-jiaodi

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.122094594,azure-spring:0.07383769,App Services:0.06770269'

azure-sdk avatar Oct 11 '22 02:10 azure-sdk

@chidozieononiwu could you please help update the exclusion list?

jeremymeng avatar Oct 18 '22 20:10 jeremymeng

addressed

jeremymeng avatar Feb 24 '23 18:02 jeremymeng