Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdware committed Nov 30, 2022
1 parent 47fbfd3 commit c86b805
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/csv_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ panco policy export -d firewall -u admin -g "Device-Group" --type pbf --file <fi
## Modifying A Security, NAT or Policy-Based Forwarding Policy/Rules -- IMPORTANT

When you modify (edit) rules using the `panco policy modify` command, there are a few things to be aware of. The `modify` command uses the Palo Alto API `edit` action, instead of the `set` action that is used when using the `import` command. You can read more about the differences of the `edit` and `set` [here](https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-panorama-api/pan-os-xml-api-request-types/pan-os-xml-api-request-types-and-actions/configuration-actions/actions-for-modifying-a-configuration#id44705ad2-4f22-4b6c-bb94-caea78a6d510)
When you modify (edit) rules using the `panco policy modify` command, there are a few things to be aware of. The `modify` command uses the Palo Alto API `edit` action, instead of the `set` action that is used when using the `import` command. You can read more about the differences of the `edit` and `set` on [Palo Alto's API request types documentation](https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-panorama-api/pan-os-xml-api-request-types/pan-os-xml-api-request-types-and-actions/configuration-actions/actions-for-modifying-a-configuration#id44705ad2-4f22-4b6c-bb94-caea78a6d510) page.


Set and edit actions differ in two important ways:
* Set actions add, update, or merge configuration nodes, while **_edit actions replace configuration nodes_**.
Expand Down

0 comments on commit c86b805

Please sign in to comment.