Add tests to Guardian suppression config

This commit is contained in:
Sevo Kukol 2024-11-13 10:16:10 +01:00
Родитель 8ead0d6b99
Коммит a0f663a852
2 изменённых файлов: 92 добавлений и 0 удалений

Просмотреть файл

@ -40,6 +40,9 @@ extends:
template: azure-pipelines/1esmain.yml@azExtTemplates
parameters:
useAzureFederatedCredentials: ${{ parameters.enableLongRunningTests }}
sdl:
suppression:
suppressionFile: $(Build.SourcesDirectory)\.config\guardian\.gdnsuppress
additionalSetupSteps:
- task: Npm@1
displayName: "\U0001F449 Install Dependencies"

Просмотреть файл

@ -0,0 +1,89 @@
{
"hydrated": true,
"properties": {
"helpUri": "https://eng.ms/docs/microsoft-security/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/microsoft-guardian/general/suppressions",
"hydrationStatus": "This file contains identifying data. It is **NOT** safe to check into your repo. To dehydrate this file, run `guardian dehydrate --help` and follow the guidance."
},
"version": "1.0.0",
"suppressionSets": {
"default": {
"name": "default",
"createdDate": "2024-11-12 13:23:45Z",
"lastUpdatedDate": "2024-11-12 13:23:45Z"
}
},
"results": {
"2466e7539feafb4cdaeb6d916cbb667238b67191164c1fd16d02ccf2c972dafd": {
"signature": "2466e7539feafb4cdaeb6d916cbb667238b67191164c1fd16d02ccf2c972dafd",
"alternativeSignatures": [],
"target": "src/docdb/docDBConnectionStrings.test.ts",
"line": 170,
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-AZURE0080",
"createdDate": "2024-11-12 13:23:45Z"
},
"16e07900fc1b08b946920c21eb65e52f681a03db1c763cac81836fe95b9e0337": {
"signature": "16e07900fc1b08b946920c21eb65e52f681a03db1c763cac81836fe95b9e0337",
"alternativeSignatures": [],
"target": "src/mongo/mongoConnectionStrings.test.ts",
"line": 26,
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0030",
"createdDate": "2024-11-12 13:23:45Z"
},
"cac69ae26c988f1432ead678d0948a9f500dff7799f9c9c1ce9122fefc49feea": {
"signature": "cac69ae26c988f1432ead678d0948a9f500dff7799f9c9c1ce9122fefc49feea",
"alternativeSignatures": [],
"target": "src/mongo/mongoConnectionStrings.test.ts",
"line": 130,
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0030",
"createdDate": "2024-11-12 13:23:45Z"
},
"f17befc53e58ad1f48c76e026a195e61550ce19abc32f0948c090bd6c212b83a": {
"signature": "f17befc53e58ad1f48c76e026a195e61550ce19abc32f0948c090bd6c212b83a",
"alternativeSignatures": [],
"target": "src/mongo/mongoConnectionStrings.test.ts",
"line": 135,
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0030",
"createdDate": "2024-11-12 13:23:45Z"
},
"b6b3d8e58d3b4311933b40307c4d89ff010f7505a35f02384edcb23b392db684": {
"signature": "b6b3d8e58d3b4311933b40307c4d89ff010f7505a35f02384edcb23b392db684",
"alternativeSignatures": [],
"target": "src/mongo/mongoConnectionStrings.test.ts",
"line": 282,
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0030",
"createdDate": "2024-11-12 13:23:45Z"
},
"eaca0c37c9c751c0da9dd09cb77a4528574f5772e311aec395dd0aeb43949c4c": {
"signature": "eaca0c37c9c751c0da9dd09cb77a4528574f5772e311aec395dd0aeb43949c4c",
"alternativeSignatures": [],
"target": "src/mongo/mongoConnectionStrings.test.ts",
"line": 371,
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0030",
"createdDate": "2024-11-12 13:23:45Z"
}
}
}