Get Host-Based Firewall Rule Configs

GET {{cb_url}}/policyservice/v1/orgs/{{cb_org_key}}/policies/{{cb_policy_id}}/rule_configs/host_based_firewall

Fetch host-based firewall rule configs for the specified policy.

RBAC PERMISSIONS REQUIRED

Permission (.notation name)Operation(s)
org.policiesREAD

See Documentation

RESPONSES

status: OK

{"results":[{"id":"df181779-f623-415d-879e-91c40246535d","name":"Host-Based Firewall","description":"These are the Host-Based Firewall Rules which will be executed by the sensor.","category":"host_based_firewall","parameters":{"enable_host_based_firewall":true,"default_rule":{"name":"Default Action","description":"Block/Allow all traffic","action":"ALLOW"},"rule_groups":[{"name":"Block access to dark web","description":"Block access to dark web description","rules":[{"name":"Example Rule","network_profile":["DOMAIN"],"local_ip_address":"192.168.1.1","remote_ip_address":"2.2.2.2","remote_port_ranges":"443","local_port_ranges":"8443","action":"BLOCK","direction":"OUT","protocol":"TCP","test_mode":false,"application_path":"C:\\Program Files\\myapp1","enabled":true}]}]}}]}