UpdatePolicySettingInput

UpdatePolicySettingInput

UpdatePolicySettingInput

Update the policy setting with the given id. Provide the setting in either standard form (either value (as JSON) or valueSource (as YAML string), or as a calculated setting with inputTemplate (as YAML Nunjucks template) and optional input (as GraphQL query string). Optionally provide precedence, note, validFromTimestamp and validToTimestamp

force Boolean Optional force which allows you to update a policy setting even when guardrails are attached with preview/check/enforce phases
id ID! The id of the policy setting to update
note String Optional note for the policy setting, as a string
precedence PolicySettingPrecedence Optional precedence of the policy setting. Defaults to REQUIRED if not specified
template String Optional template of a calculated policy setting, as a YAML Nunjucks string
templateInput Scalar Optional Graphql templateInput query of a calculated policy setting, as a string, or array of strings
validFromTimestamp String Optional validFromTimestamp for the policy setting, as an ISO string
validToTimestamp String Optional validToTimestamp for the policy setting, as an ISO string
value JSON Optional value of a standard policy setting, as a JSON object
valueSource String Optional valueSource of a standard policy setting, as a YAML string