update-sec-rule
Modify an allow rule in an Illumio ruleset by href, changing only the fields you specify. Refine rules in place, such as swapping services or adjusting consumers, without rebuilding the ruleset.
Instructions
Update an allow rule inside a ruleset, identified by its href. Only the fields you supply change. Use this to refine a rule in place — swapping an inline port for a process-qualified service, for example — instead of rebuilding the ruleset. For deny rules use update-deny-rule. WRITE OPERATION: changes PCE state. In clients that gate tool calls (Claude Desktop, Claude Code), this pauses for the user to approve it -- the call has not failed and must not be retried while waiting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| href | Yes | Rule href, e.g. /orgs/1/sec_policy/draft/rule_sets/2/sec_rules/3 | |
| enabled | No | Enable or disable the rule | |
| consumers | No | Replaces consumers. Same forms as providers. | |
| providers | No | Replaces providers. 'ams', 'iplist:<name>', 'key=value', or an href. | |
| description | No | New description | |
| egress_services | No | Consumer-side process qualifier: services carrying windows_egress_services, which restrict WHICH PROCESS on the consumer may use this rule. Separate from ingress_services (the provider-side port) — the PCE refuses a Windows egress service in ingress_services. Use both together for 'this binary, to that port'. | |
| ingress_services | No | Replaces the rule's services. Inline port, {href}, or {service: 'name'}. | |
| unscoped_consumers | No | True makes this an extra-scope rule |