Improve checkmarx config (#7928)

Exclude **/spec/**, apps/desktop/native-messaging-test-runner from checkmarx.
This commit is contained in:
Oscar Hinton 2024-02-13 17:02:49 +01:00 committed by GitHub
parent 7f7a48484d
commit d146adfce1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 6 deletions

View File

@ -1,12 +1,11 @@
version: 1
# checkmarx-specific related configuration
# every value in this section is optional
# Checkmarx configuration file
#
# https://checkmarx.com/resource/documents/en/34965-68549-configuring-projects-using-config-as-code-files.html
checkmarx:
# configure the checkmarx scan parameters for scanning this specific project
scan:
# configure the checkmarx scan configurations for scanning this specific project
configs:
# configure the SAST related configurations this specific project
sast:
filter: "!*.spec.ts"
# Exclude spec files, and test specific files
filter: "!*.spec.ts,!**/spec/**,!/apps/desktop/native-messaging-test-runner/"