git_client.json 313 B

1234567891011121314
  1. {
  2. "bots": [
  3. {
  4. "name": "allow-git-clients",
  5. "action": "ALLOW",
  6. "expression": {
  7. "all": [
  8. "userAgent.startsWith(\"git/\") || userAgent.contains(\"libgit\")",
  9. "\"Git-Protocol\" in headers && headers[\"Git-Protocol\"] == \"version=2\""
  10. ]
  11. }
  12. }
  13. ]
  14. }