Skip to content

Draft: Add directories to DS_EXCLUDED_PATHS

Fabien Catteau requested to merge fcatteau-master-patch-59324 into master

What does this MR do?

Add three more directories to DS_EXCLUDED_PATHS:

  • .git directory
  • directories corresponding to test files
    • fixtures, convention for at least Ruby and Node projects
    • testdata, convention for Go projects

Skipping .git is aligned with the default behavior of the search package of the common library, used to determine whether an analyzer should run. That's because SEARCH_IGNORE_HIDDEN_DIRS is true by default.

Screenshots (strongly suggested)

N/A

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports