Ensuring verifiability of files in the repository
/my-project
│── /static/
jquery.min.js
MyProgram.class
maven.wrapper.jar
│── /src/
main.js
index.html
In this example, we have a repository with an "static/" directory in which we have files that cannot be verified by scanners because the content is obfuscated or does not correspond to its extension.
/my-project
│── .gitignore
static/.*.min.js
static/.*.class
static/.*.jar
│── /src/
main.js
index.html
│── /static/
jquery.min.js
MyProgram.class
maven.wrapper.jar
In this case, uncheckable files were ignored in the .gitignore file to prevent them from being uploaded to the repository.