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

Implement checking for nested alias content #141

Open
wants to merge 5 commits into
base: latest
Choose a base branch
from

Conversation

jiuka
Copy link
Contributor

@jiuka jiuka commented Jan 14, 2025

Link to API

https://docs.opnsense.org/development/api/core/firewall.html

Description

Content validation was disabled for host and network aliases to allow using nested values. This patch uses the already fetched list of aliases to validate nested entries for post, host and network.

Further the host validation has been improved and some tests added.

@ansibleguy
Copy link
Owner

I hope I find time this weekend to review this. Sorry for the long delay..

@ansibleguy ansibleguy added the enhancement New feature or request label Mar 12, 2025
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

Successfully merging this pull request may close these issues.

2 participants