Environment
- EDR: Primary Servers Version 7.x
Objective
Ability to safely remove all, or individual, ingress filters via the API.
Resolution
- To remove all ingress filters:
curl -k -XDELETE -H "X-Auth-Token: `psql -p 5002 cb -t -c 'select auth_token from cb_user where id = '1';'`" -H "Content-Type: application/json" "https://localhost/api/v1/ingress_whitelist/$1"
- To remove an individual ingress filter:
curl -k -XDELETE -H "X-Auth-Token: `psql -p 5002 cb -t -c 'select auth_token from cb_user where id = '1';'`" -H "Content-Type: application/json" "https://localhost/api/v1/ingress_whitelist/<filter_id>"
Additional Notes
- UI Ingress Filters were not rendering potentially due to legacy filter entries. The filters were backed up and then marked for deletion.
- Customers can remove ingress filters themselves as opposed to requesting this from VMware Carbon Black Support.
Related Content