We should create external function for instance management so we'd be able to use them instead of GET requests from links containing the sesskey visible in the URL…
Basic external functions:
[ ] delete rule instance
[ ] move rule instance up
[ ] move rule instance down
[ ] enable rule instance
[ ] disable rule instance
Furthermore we could also add some advanced external functions:
[ ] get available instance types
[ ] get rule instances
[ ] add new rule instance (type to add could be a parameter), could be used by an improved UI displaying the instance form in a modal
[ ] update sort order (update the order for all instances at once), could be used for drag'n'drop reordering of instances later on
Second benefit of having those external functions: we could use them to also make our configuration manageable via API, so systems could automatically configure certain IP(-ranges) to be blocked if they discover an attack not covered by current configuration.
We should create external function for instance management so we'd be able to use them instead of GET requests from links containing the sesskey visible in the URL…
Basic external functions:
Furthermore we could also add some advanced external functions:
Second benefit of having those external functions: we could use them to also make our configuration manageable via API, so systems could automatically configure certain IP(-ranges) to be blocked if they discover an attack not covered by current configuration.