Release 1.1.0

This commit is contained in:
Daniel Demus 2024-08-11 17:13:22 +02:00
parent 59acacfdbb
commit 7e729355bd
2 changed files with 8 additions and 2 deletions

View File

@ -2,7 +2,7 @@
%global plugin_name %{plugin_id}-rule-exclusions %global plugin_name %{plugin_id}-rule-exclusions
Name: mod_security_crs_plugin_%{gsub %{plugin_id} - _} Name: mod_security_crs_plugin_%{gsub %{plugin_id} - _}
Version: 1.0.0 Version: 1.1.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: CRS Gitea proxy rule exclusions plugin Summary: CRS Gitea proxy rule exclusions plugin
@ -25,6 +25,7 @@ Gitea instance, a git devops platform, so it can be run together with OWASP CRS
%{__install} -Dm0644 plugins/%{plugin_name}-before.conf %{buildroot}%{_datarootdir}/mod_modsecurity_crs/plugins/%{plugin_id}/%{plugin_name}-before.conf %{__install} -Dm0644 plugins/%{plugin_name}-before.conf %{buildroot}%{_datarootdir}/mod_modsecurity_crs/plugins/%{plugin_id}/%{plugin_name}-before.conf
%{__install} -m0644 plugins/%{plugin_name}-config.conf %{buildroot}%{_datarootdir}/mod_modsecurity_crs/plugins/%{plugin_id}/%{plugin_name}-config.conf.example %{__install} -m0644 plugins/%{plugin_name}-config.conf %{buildroot}%{_datarootdir}/mod_modsecurity_crs/plugins/%{plugin_id}/%{plugin_name}-config.conf.example
%{__install} -Dm0644 plugins/%{plugin_name}-config.conf %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/plugins/%{plugin_name}-config.conf %{__install} -Dm0644 plugins/%{plugin_name}-config.conf %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/plugins/%{plugin_name}-config.conf
%{__install} -m0644 plugins/%{plugin_id}-whitelisted-files.data %{buildroot}%{_sysconfdir}/httpd/modsecurity.d/plugins/%{plugin_id}-whitelisted-files.data
%post %post
if [ $1 == 1 ]; then if [ $1 == 1 ]; then
@ -42,10 +43,15 @@ exit 0
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/plugins/%{plugin_name}-config.conf %config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/plugins/%{plugin_name}-config.conf
%config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/plugins/%{plugin_id}-whitelisted-files.data
%ghost %config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/plugins/%{plugin_name}-before.conf %ghost %config(noreplace) %{_sysconfdir}/httpd/modsecurity.d/plugins/%{plugin_name}-before.conf
%{_datarootdir}/mod_modsecurity_crs/plugins/%{plugin_id}/ %{_datarootdir}/mod_modsecurity_crs/plugins/%{plugin_id}/
%changelog %changelog
* Sun Aug 11 2024 Daniel Demus <daniel-github@demus.dk>
- CRS rule 930130 blocks some normal git files by name
- Allow disabling the 930130 rule when encountering false positives
* Sun Jul 14 2024 Daniel Demus <daniel-github@demus.dk> * Sun Jul 14 2024 Daniel Demus <daniel-github@demus.dk>
- First release - First release

View File

@ -1 +1 @@
SHA512 (1.0.0.tar.gz) = b38ccdb80b478670f6f0971fe0b6263305dd9f8e97476afdcacacf705766fa6b5465e977531b77319e4f0251f3e1487a9379d0629f5bfa0132380b2030747cfb SHA512 (1.1.0.tar.gz) = ef13c6b000d094fbcd4399f78ff9f6e4853e7c0270caa908c166f9d3991218dca80f38e6910f701992fd3bb6b86becd43b21ee9fe74b38d5fb3a80ba2c64907a