I am wondering if I can flag files based on file name or extension? And preferably in combination with other files. Example use-case:
The scan folder contains an '.exe' file. I want to flag that exe file with the warning that pre-build files should not be part of the repository as it makes it harder to audit and verify the source code.
Preferably in combination with other files or folders. Such as, only flag the .exe file when the scan directory also contains a .git folder (not unlikely and indicating it's a git repo).
Or flag any blob for that matter. Perhaps files without file extension.
Or on any other metadata like, binaries unsinged by a trusted certificate etc.
I am wondering if I can flag files based on file name or extension? And preferably in combination with other files. Example use-case:
The scan folder contains an '.exe' file. I want to flag that exe file with the warning that pre-build files should not be part of the repository as it makes it harder to audit and verify the source code.
Preferably in combination with other files or folders. Such as, only flag the .exe file when the scan directory also contains a .git folder (not unlikely and indicating it's a git repo).
Or flag any blob for that matter. Perhaps files without file extension.
Or on any other metadata like, binaries unsinged by a trusted certificate etc.