Skip to content

Commit

Permalink
Turn off auto-baselining (#2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriySvyryd authored Mar 30, 2024
1 parent 05cff01 commit aefd1ad
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 1 deletion.
59 changes: 59 additions & 0 deletions .config/guardian/.gdnbaselines
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"hydrated": true,
"properties": {
"helpUri": "https://eng.ms/docs/microsoft-security/security/azure-security/cloudai-security-fundamentals-engineering/security-integration/guardian-wiki/microsoft-guardian/general/baselines",
"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",
"baselines": {
"default": {
"name": "default",
"createdDate": "2024-03-15 01:14:23Z",
"lastUpdatedDate": "2024-03-15 01:14:23Z"
}
},
"results": {
"31128318971be3d77cbd3aaf7b6a06d65b1874334a143ee500c7fccb5aa89427": {
"signature": "31128318971be3d77cbd3aaf7b6a06d65b1874334a143ee500c7fccb5aa89427",
"alternativeSignatures": [
"9106dc3b9a335702dc4feeeed54285f07d8a06494f38fc23167f6158793928dc"
],
"target": "eng/common/SetupNugetSources.ps1",
"line": 38,
"memberOf": [
"default"
],
"tool": "psscriptanalyzer",
"ruleId": "PSAvoidUsingUsernameAndPasswordParams",
"createdDate": "2024-03-15 01:14:23Z"
},
"992b26983b997813a410dfc25048f3b218c6fc02fc14a5c2ad431ec8e022ac79": {
"signature": "992b26983b997813a410dfc25048f3b218c6fc02fc14a5c2ad431ec8e022ac79",
"alternativeSignatures": [
"23e97da32b7142c282727c96d07fd5ce6aefd6ef26f02e91cb471eb7863542f8"
],
"target": "eng/common/SetupNugetSources.ps1",
"line": 56,
"memberOf": [
"default"
],
"tool": "psscriptanalyzer",
"ruleId": "PSAvoidUsingUsernameAndPasswordParams",
"createdDate": "2024-03-15 01:14:23Z"
},
"53b10a5fb6059b0b229ad32c6278123a5603386f65d9e1c5684a2333f2e1dc62": {
"signature": "53b10a5fb6059b0b229ad32c6278123a5603386f65d9e1c5684a2333f2e1dc62",
"alternativeSignatures": [
"cd7b0b0937cfa32a98962a528bd99ede0181ae41a609df430f35fd30763166c4"
],
"target": "eng/common/SetupNugetSources.ps1",
"line": 88,
"memberOf": [
"default"
],
"tool": "psscriptanalyzer",
"ruleId": "PSAvoidUsingUsernameAndPasswordParams",
"createdDate": "2024-03-15 01:14:23Z"
}
}
}
6 changes: 5 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,16 @@ extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
featureFlags:
autoBaseline: true
autoBaseline: false
sdl:
sourceAnalysisPool:
name: $(DncEngInternalBuildPool)
image: 1es-windows-2022
os: windows
baseline:
baselineFile: $(Build.SourcesDirectory)\.config\guardian\.gdnbaselines
binskim:
scanOutputDirectoryOnly: true
customBuildTags:
- ES365AIMigrationTooling
stages:
Expand Down

0 comments on commit aefd1ad

Please sign in to comment.