Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.provisionr.io/llms.txt

Use this file to discover all available pages before exploring further.

Usage

prv policy-rule:update [options]

Aliases

You can also use these shorthand aliases:
  • prv policy-rule:edit
  • prv porul:update
  • prv porul:edit

Options

OptionDescription
-i, --id[=<value>]The ULID of the rule
-k, --key[=<value>]The key to update
-r, --value[=<value>]The replacement value for the key
--metadata_key[=<value>]The metdata key to create or update
--metadata_value[=<value>]The metadata key value
--api(Debug) Show the API endpoint and query string in the command header

Examples

Update rule description

prv policy-rule:update --id=porul_01hq8xyzabc123def456ghi789 --key=description --value="Updated description"

Update expiration days

prv policy-rule:update --id=porul_01hq8xyzabc123def456ghi789 --key=expires_after_days --value=30

Add metadata

prv policy-rule:update --id=porul_01hq8xyzabc123def456ghi789 --metadata_key=ticket_url --metadata_value="https://jira.example.com/ABC-123"

Interactive update

Opens an interactive form to select which field to update.
prv policy-rule:update --id=porul_01hq8xyzabc123def456ghi789