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

Block config apply #131

Merged
merged 17 commits into from
Dec 5, 2022
Merged

Block config apply #131

merged 17 commits into from
Dec 5, 2022

Conversation

oliveromahony
Copy link
Contributor

Proposed changes

Added new functionality to block configuration apply. If the app protect metadata file is present in the auxiliary file bundle, unpack the aux files and check against the installed waf version. If this differs, prevent a configuration apply. If they differ and a force exists, than just apply the configuration anyway.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md)

Copy link
Collaborator

@dhurley dhurley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just have one or two minor comments.

src/plugins/nginx.go Outdated Show resolved Hide resolved
src/plugins/nginx.go Outdated Show resolved Hide resolved
@oliveromahony oliveromahony merged commit 81a4bc9 into main Dec 5, 2022
@oliveromahony oliveromahony deleted the block-config-apply branch December 5, 2022 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants