cscli appsec-rules install crowdsecurity/vpatch-git-config
1name: crowdsecurity/vpatch-git-config2description: "Detect access to .git files"3rules:4 - zones:5 - URI6 transform:7 - lowercase8 match:9 type: regex10 value: '/\.git/(config|head|index|refs|hooks|)$|/\.svn/(wc\.db|entries|format|)$|/\.hg/(hgrc|)$'11labels:12 type: scan13 service: http14 confidence: 315 spoofable: 016 behavior: "http:scan"17 label: "Access to .git file"18 classification:19 - attack.T159520