cccs-jc commented on issue #12148:
URL: https://github.com/apache/superset/issues/12148#issuecomment-789744733


   We use Superset in the context of Security information and event management 
(SIEM). Our data often include IP values which users want to filter by adhoc IP 
ranges (using CIDR notation).
   
   For example when the user inputs a filter value of 192.168.0.0/24 this 
filter is converted into a range query on the server side. We leverage jinja 
templating to convert the IP range into an SQL statement like
   
   ((IP_COLUMN >= lowIP) AND (IP_COLUMN <= highIP))
   
   This works quite well however there is no validation of the text provided by 
the user. Ideally we would like to validate the input in the client a bit like 
is done in the explorer UI.
   
   We would like to be able to provide custom validators to the native filters.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to