finos / git-proxy

Deploy custom push protections and policies on top of Git
https://git-proxy.finos.org
Apache License 2.0
126 stars 118 forks source link

Support filter by file with file pattern and literal configuration #745

Open JamieSlome opened 1 month ago

JamieSlome commented 1 month ago

Background

GitProxy currently supports commit message, commit diff and commit e-mail domain scanning. A common use case that is not supported is file name filtering and scanning.

Vision 🪄

"message": {
  "block": {
    "literals": ["xlsx", "csv"],
    "patterns": [".*.txt"]
  }
},
### Tasks
laukik-target commented 1 month ago

Hi @JamieSlome Ready to take this up!

JamieSlome commented 1 month ago

@laukik-target - all yours ❤️

laukik-target commented 1 month ago

Looks like Psingle20 PR is ready before mine

@JamieSlome You can assign it to Psingle20 and team