CB Response Cloud: How to Delete an Ingress Filter from Windows using Powershell
book
Article ID: 287593
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
To delete an existing ingress filter for a CB Response Cloud instance from Windows using Powershell
Environment
- CB Response Cloud: All Versions
- Microsoft Windows: All Supported Versions
- Microsoft Powershell: Version 3
Resolution
- Open Run
- Type "powershell" and press enter.
- Configure Powershell for TLS v1.2:
- Delete an existing filter:
- Use Invoke-RestMethod:
Invoke-RestMethod -Headers @{"X-Auth-Token" = "<GlobalApiTokenHere>"} -Method DELETE -Uri https://<ServerHostnameHere>/api/v1/ingress_whitelist/<IngressFilterNameHere>
- If option A does not work then useĀ Invoke-WebRequest:
Invoke-WebRequest -Headers @{"X-Auth-Token" = "<GlobalApiTokenHere>"} -Method DELETE -Uri https://<ServerHostnameHere>/api/v1/ingress_whitelist/<IngressFilterNameHere>" | Select-Object -Expand Content"
Additional Information
Replace <GlobalApiTokenHere>, <ServerHostnameHere>, and <IngressFilterNameHere> with the appropriate ingress filter details.
Feedback
thumb_up
Yes
thumb_down
No