Skip to content

Commit

Permalink
feat: add new directories for rules and update Coraza dependency to v…
Browse files Browse the repository at this point in the history
…3.3.2
  • Loading branch information
TheophileDiot committed Jan 9, 2025
1 parent d7c6887 commit b4530d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions coraza/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ COPY --from=builder --chown=0:0 /usr/local/bin/bw-coraza /usr/local/bin/bw-coraz
RUN apk add --no-cache bash curl && \
addgroup -g 1000 coraza && \
adduser -h /usr/share/coraza -g coraza -s /bin/bash -G coraza -D -u 1000 coraza && \
mkdir -p /var/log/coraza /var/run/coraza && \
chown root:coraza /var/log/coraza /var/run/coraza && \
chmod 770 /var/log/coraza /var/run/coraza && \
mkdir -p /var/log/coraza /var/run/coraza /rules-before /rules-after && \
chown root:coraza /var/log/coraza /var/run/coraza /rules-before /rules-after && \
chmod 770 /var/log/coraza /var/run/coraza /rules-before /rules-after && \
ln -s /proc/1/fd/1 /var/log/coraza/coraza.log

WORKDIR /usr/share/coraza
Expand Down
2 changes: 1 addition & 1 deletion coraza/api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module bw-coraza
go 1.23

require (
github.com/corazawaf/coraza/v3 v3.3.1
github.com/corazawaf/coraza/v3 v3.3.2
github.com/gorilla/handlers v1.5.2
github.com/gorilla/mux v1.8.1
)
Expand Down

0 comments on commit b4530d7

Please sign in to comment.