Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor coraza-spoa configuration #30

Open
sts opened this issue Jul 18, 2022 · 1 comment
Open

Refactor coraza-spoa configuration #30

sts opened this issue Jul 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@sts
Copy link
Contributor

sts commented Jul 18, 2022

To make it easier to configure all settings when running coraza-spoa in a docker container, all configuration settings should be exposed as CLI parameter.

Required Paramerters & Default configuration:

--bind 127.0.0.0.1:9000
--transaction-ttl 60000
--transaction_active_limit 100000
--error-log-file /dev/stdout
--server-log-file /var/log/coraza-spoa/server.log
--server-log-level debug
--debug-log-file /var/log/coraza-spoa/debug.log
--audit-log-file /var/log/coraza-spoa/audit.log

User required parameters should be the included seclang config:

--include /etc/coraza-spoa/coraza.conf
--include /etc/coraza-spoa/crs-setup.conf
--include /etc/coraza-spoa/rules/*.conf

Possible libraries:

@NullIsNot0
Copy link
Contributor

Taking into consideration that new agent (in experimental branch) is supporting multiple configurations called "applications", it would be easier to bind mount configuration file.

@jcchavezs jcchavezs added the enhancement New feature or request label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants