CB Response Cloud: How to Check Current Ingress Filters from Windows using Powershell
book
Article ID: 287572
calendar_today
Updated On:
Products
Carbon Black EDR (formerly Cb Response)
Issue/Introduction
To check currently created ingress filters 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:
- Check currently created ingress filters:
- Use Invoke-RestRethod.
Invoke-RestMethod -Headers @{"X-Auth-Token" = "<GlobalApiTokenHere>"} -Method GET -Uri https://<ServerHostnameHere>/api/v1/ingress_whitelist
- If option A does not work then useĀ Invoke-WebRequest.
Invoke-WebRequest -Headers @{"X-Auth-Token" = "<GlobalApiTokenHere>"} -Method GET -Uri https://<ServerHostnameHere>/api/v1/ingress_whitelist | Select-Object -Expand Content
Additional Information
Replace <GlobalApiTokenHere> and <ServerHostnameHere> with the appropriate information.
Feedback
thumb_up
Yes
thumb_down
No