---
title: "Can I restrict which files from my repository are considered when Ketryx scans for dependencies?"
description: "Absolutely! For each repository connected to a project, you can optionally select \"Restrict dependency file locations\". When selected, this setting will provide an input box for Dependency file glob patterns, which can either specify patterns to include or exclude."
category: "Frequently Asked Questions"
section: "Supply Chain Management Software Dependencies"
keywords: ["scans", "restrict", "files", "patterns", "dependency file", "glob", "considered", "dependencies"]
source_url: "https://support.ketryx.com/hc/en-us/articles/30922093460621-Can-I-restrict-which-files-from-my-repository-are-considered-when-Ketryx-scans-for-dependencies"
last_reviewed: 2026-06-11
---

# Can I restrict which files from my repository are considered when Ketryx scans for dependencies?

Absolutely! For each repository connected to a project, you can optionally select "Restrict dependency file locations". When selected, this setting will provide an input box for Dependency file glob patterns, which can either specify patterns to include or exclude.

These glob patterns are used to filter dependency files to analyze. For example, requirements/\*\*/\*.txt will match all .txt files in the requirements directory and all its subdirectories. By default, all supported dependency files are analyzed.

## Related articles

- [How can I use \"Analyzed branch or tag\" for connected repositories in the Ketryx project settings?](how-can-i-use-analyzed-branch-or-tag-for-connected-repositories-in-the-ketryx.md)
- [For mono repositories connecting to Ketryx, can you split depending on what module within a given mono repo?](for-mono-repositories-connecting-to-ketryx-can-you-split-depending-on-what.md)
- [Which file types from github does Ketryx support?](which-file-types-from-github-does-ketryx-support.md)
- [Can I use Ketryx for C# dependencies management if I have Snyk or FOSSA?](can-i-use-ketryx-for-c-dependencies-management-if-i-have-snyk-or-fossa.md)
- [Can Ketryx scan for dependencies outside of the built-in dependency scanner languages?](can-ketryx-scan-for-dependencies-outside-of-the-built-in-dependency-scanner.md)
