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

fix: Tolerate additional fields in App Protect yaml files #494

Merged
merged 1 commit into from Oct 6, 2023

Conversation

edarzins
Copy link
Contributor

@edarzins edarzins commented Oct 5, 2023

The format of "/opt/app_protect/var/update_files/signatures/signature_update.yaml" from the latest Attack Signature update (2023.10.04) contained additional items.

Proposed changes

Changed the parsing of the yaml file to not be "strict" to maintain compatibility across versions.

Checklist

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

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • 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
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

The format of "/opt/app_protect/var/update_files/signatures/signature_update.yaml"
from the latest Attack Signature update (2023.10.04) contained
additional items. Changed the parsing of the yaml file to not be
"strict" to maintain compatibility across versions.
@netlify
Copy link

netlify bot commented Oct 5, 2023

Deploy Preview for agent-public-docs canceled.

Name Link
🔨 Latest commit 873b331
🔍 Latest deploy log https://app.netlify.com/sites/agent-public-docs/deploys/651ee2193232c40008c3a505

@github-actions github-actions bot added bug Something isn't working chore Pull requests for routine tasks dependencies labels Oct 5, 2023
@oliveromahony oliveromahony merged commit 61f22ec into nginx:main Oct 6, 2023
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chore Pull requests for routine tasks dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants