Skip to content

Conversation

@pixelshot91
Copy link

If set to false the the generated function only return true or false with no prefixes filtering

Fix #28

I still did not find a way to have a boolean value that defaults to true when absent from the config file, but can also be overridden to false if need be
That way it conserve the previous behaviour, which is more safe because it include a prefix checks
But if somebody wants to do a custom check in their bird.conf, they can set enablePrefixFilter to false and they will just get a true/false from the generated function.

…se the the generated function only return true or false with no prefixes filtering
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
4 Security Hotspots
57.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@pixelshot91 pixelshot91 changed the title Add new parameter 'enablePrefixFilter' true by default. Add new parameter 'enablePrefixFilter' Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to return true

1 participant