IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

EDR: Remove Ingress Filters via API

EDR: Remove Ingress Filters via API

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


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎02-03-2021
Views:
585
Contributors