diff --git a/.gdn/.gdnsuppress b/.gdn/.gdnsuppress deleted file mode 100644 index ba63410dc..000000000 --- a/.gdn/.gdnsuppress +++ /dev/null @@ -1,25 +0,0 @@ -{ - "tool": "credscan", - "suppressions": [ - { - "file": "scripts/troubleshoot/TroubleshootError.ps1", - "line": 935, - "justification": "general kubectl command to get cres for troubleshooting" - }, - { - "file": "scripts/troubleshoot/TroubleshootError_nonAzureK8s.ps1", - "line": 452, - "justification": "general kubectl command to get creds for troubleshooting" - }, - { - "file": "test/testkube/helm-testkube-values.yaml", - "line": 506, - "justification": "a configuration key name, not a secret" - }, - { - "file": "test/testkube/helm-testkube-values.yaml", - "line": 687, - "justification": "used for ci testing clusters, not public accessible" - } - ] -} \ No newline at end of file diff --git a/.pipelines/azure_pipeline_mergedbranches.yaml b/.pipelines/azure_pipeline_mergedbranches.yaml index 8cdf501b9..8ac2d7b31 100644 --- a/.pipelines/azure_pipeline_mergedbranches.yaml +++ b/.pipelines/azure_pipeline_mergedbranches.yaml @@ -58,19 +58,6 @@ extends: targetPath: '$(Build.ArtifactStagingDirectory)' artifactName: drop steps: - - bash: | - echo "Current directory: $(pwd)" - echo "Contents of .gdn directory:" - find . -name ".gdnsuppress" -type f - ls -la .gdn/ || echo ".gdn directory not found" - echo "Build.SourcesDirectory: $(Build.SourcesDirectory)" - echo "System.DefaultWorkingDirectory: $(System.DefaultWorkingDirectory)" - echo "Copying Guardian suppression file to workspace root..." - mkdir -p /mnt/vss/_work/1/.gdn - cp .gdn/.gdnsuppress /mnt/vss/_work/1/.gdn/.gdnsuppress - echo "Verification - suppression file copied:" - ls -la /mnt/vss/_work/1/.gdn/ - displayName: 'copy over Guardian suppression file' - task: ComponentGovernanceComponentDetection@0 - bash: | commit=$(git describe)