published on Thursday, Jul 23, 2026 by Aten Security
published on Thursday, Jul 23, 2026 by Aten Security
Create PolicyException Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyException(name: string, args: PolicyExceptionArgs, opts?: CustomResourceOptions);@overload
def PolicyException(resource_name: str,
args: PolicyExceptionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyException(resource_name: str,
opts: Optional[ResourceOptions] = None,
business_justification: Optional[str] = None,
data_sensitivity: Optional[str] = None,
frequency_estimate: Optional[str] = None,
requested_by: Optional[str] = None,
violation_id: Optional[str] = None,
agent_id: Optional[str] = None,
alternatives_considered: Optional[str] = None,
hold_token: Optional[str] = None,
request_id: Optional[str] = None,
tool_name: Optional[str] = None)func NewPolicyException(ctx *Context, name string, args PolicyExceptionArgs, opts ...ResourceOption) (*PolicyException, error)public PolicyException(string name, PolicyExceptionArgs args, CustomResourceOptions? opts = null)
public PolicyException(String name, PolicyExceptionArgs args)
public PolicyException(String name, PolicyExceptionArgs args, CustomResourceOptions options)
type: thoth:governance:PolicyException
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "thoth_governance_policy_exception" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyExceptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PolicyExceptionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PolicyExceptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyExceptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyExceptionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var policyExceptionResource = new Thoth.Governance.PolicyException("policyExceptionResource", new()
{
BusinessJustification = "string",
DataSensitivity = "string",
FrequencyEstimate = "string",
RequestedBy = "string",
ViolationId = "string",
AgentId = "string",
AlternativesConsidered = "string",
HoldToken = "string",
RequestId = "string",
ToolName = "string",
});
example, err := governance.NewPolicyException(ctx, "policyExceptionResource", &governance.PolicyExceptionArgs{
BusinessJustification: pulumi.String("string"),
DataSensitivity: pulumi.String("string"),
FrequencyEstimate: pulumi.String("string"),
RequestedBy: pulumi.String("string"),
ViolationId: pulumi.String("string"),
AgentId: pulumi.String("string"),
AlternativesConsidered: pulumi.String("string"),
HoldToken: pulumi.String("string"),
RequestId: pulumi.String("string"),
ToolName: pulumi.String("string"),
})
resource "thoth_governance_policy_exception" "policyExceptionResource" {
lifecycle {
create_before_destroy = true
}
business_justification = "string"
data_sensitivity = "string"
frequency_estimate = "string"
requested_by = "string"
violation_id = "string"
agent_id = "string"
alternatives_considered = "string"
hold_token = "string"
request_id = "string"
tool_name = "string"
}
var policyExceptionResource = new PolicyException("policyExceptionResource", PolicyExceptionArgs.builder()
.businessJustification("string")
.dataSensitivity("string")
.frequencyEstimate("string")
.requestedBy("string")
.violationId("string")
.agentId("string")
.alternativesConsidered("string")
.holdToken("string")
.requestId("string")
.toolName("string")
.build());
policy_exception_resource = thoth.governance.PolicyException("policyExceptionResource",
business_justification="string",
data_sensitivity="string",
frequency_estimate="string",
requested_by="string",
violation_id="string",
agent_id="string",
alternatives_considered="string",
hold_token="string",
request_id="string",
tool_name="string")
const policyExceptionResource = new thoth.governance.PolicyException("policyExceptionResource", {
businessJustification: "string",
dataSensitivity: "string",
frequencyEstimate: "string",
requestedBy: "string",
violationId: "string",
agentId: "string",
alternativesConsidered: "string",
holdToken: "string",
requestId: "string",
toolName: "string",
});
type: thoth:governance:PolicyException
properties:
agentId: string
alternativesConsidered: string
businessJustification: string
dataSensitivity: string
frequencyEstimate: string
holdToken: string
requestId: string
requestedBy: string
toolName: string
violationId: string
PolicyException Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PolicyException resource accepts the following input properties:
- Business
Justification string - Business reason for requesting the exception.
- Data
Sensitivity string - Data sensitivity level touched by this exception.
- Frequency
Estimate string - How often this exception is expected to occur.
- Requested
By string - Requester identity.
- Violation
Id string - Violation ID associated with this exception request.
- Agent
Id string - Agent ID associated with the request.
- Alternatives
Considered string - Optional alternatives reviewed before requesting an exception.
- Hold
Token string - Optional hold token when exception is tied to STEP_UP workflow.
- Request
Id string - Optional request ID. If omitted, enforcer generates one.
- Tool
Name string - Tool/action name associated with the request.
- Business
Justification string - Business reason for requesting the exception.
- Data
Sensitivity string - Data sensitivity level touched by this exception.
- Frequency
Estimate string - How often this exception is expected to occur.
- Requested
By string - Requester identity.
- Violation
Id string - Violation ID associated with this exception request.
- Agent
Id string - Agent ID associated with the request.
- Alternatives
Considered string - Optional alternatives reviewed before requesting an exception.
- Hold
Token string - Optional hold token when exception is tied to STEP_UP workflow.
- Request
Id string - Optional request ID. If omitted, enforcer generates one.
- Tool
Name string - Tool/action name associated with the request.
- business_
justification string - Business reason for requesting the exception.
- data_
sensitivity string - Data sensitivity level touched by this exception.
- frequency_
estimate string - How often this exception is expected to occur.
- requested_
by string - Requester identity.
- violation_
id string - Violation ID associated with this exception request.
- agent_
id string - Agent ID associated with the request.
- alternatives_
considered string - Optional alternatives reviewed before requesting an exception.
- hold_
token string - Optional hold token when exception is tied to STEP_UP workflow.
- request_
id string - Optional request ID. If omitted, enforcer generates one.
- tool_
name string - Tool/action name associated with the request.
- business
Justification String - Business reason for requesting the exception.
- data
Sensitivity String - Data sensitivity level touched by this exception.
- frequency
Estimate String - How often this exception is expected to occur.
- requested
By String - Requester identity.
- violation
Id String - Violation ID associated with this exception request.
- agent
Id String - Agent ID associated with the request.
- alternatives
Considered String - Optional alternatives reviewed before requesting an exception.
- hold
Token String - Optional hold token when exception is tied to STEP_UP workflow.
- request
Id String - Optional request ID. If omitted, enforcer generates one.
- tool
Name String - Tool/action name associated with the request.
- business
Justification string - Business reason for requesting the exception.
- data
Sensitivity string - Data sensitivity level touched by this exception.
- frequency
Estimate string - How often this exception is expected to occur.
- requested
By string - Requester identity.
- violation
Id string - Violation ID associated with this exception request.
- agent
Id string - Agent ID associated with the request.
- alternatives
Considered string - Optional alternatives reviewed before requesting an exception.
- hold
Token string - Optional hold token when exception is tied to STEP_UP workflow.
- request
Id string - Optional request ID. If omitted, enforcer generates one.
- tool
Name string - Tool/action name associated with the request.
- business_
justification str - Business reason for requesting the exception.
- data_
sensitivity str - Data sensitivity level touched by this exception.
- frequency_
estimate str - How often this exception is expected to occur.
- requested_
by str - Requester identity.
- violation_
id str - Violation ID associated with this exception request.
- agent_
id str - Agent ID associated with the request.
- alternatives_
considered str - Optional alternatives reviewed before requesting an exception.
- hold_
token str - Optional hold token when exception is tied to STEP_UP workflow.
- request_
id str - Optional request ID. If omitted, enforcer generates one.
- tool_
name str - Tool/action name associated with the request.
- business
Justification String - Business reason for requesting the exception.
- data
Sensitivity String - Data sensitivity level touched by this exception.
- frequency
Estimate String - How often this exception is expected to occur.
- requested
By String - Requester identity.
- violation
Id String - Violation ID associated with this exception request.
- agent
Id String - Agent ID associated with the request.
- alternatives
Considered String - Optional alternatives reviewed before requesting an exception.
- hold
Token String - Optional hold token when exception is tied to STEP_UP workflow.
- request
Id String - Optional request ID. If omitted, enforcer generates one.
- tool
Name String - Tool/action name associated with the request.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyException resource produces the following output properties:
- Created
At string - Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Change stringJson - Policy change metadata returned by the review flow.
- Review
Decision string - Review decision when present.
- Review
Notes string - Review notes when present.
- Reviewed
By string - Reviewer identity when present.
- Status string
- Current policy exception status.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Last update timestamp.
- Created
At string - Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Change stringJson - Policy change metadata returned by the review flow.
- Review
Decision string - Review decision when present.
- Review
Notes string - Review notes when present.
- Reviewed
By string - Reviewer identity when present.
- Status string
- Current policy exception status.
- Tenant
Id string - Tenant ID from provider configuration.
- Updated
At string - Last update timestamp.
- created_
at string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- policy_
change_ stringjson - Policy change metadata returned by the review flow.
- review_
decision string - Review decision when present.
- review_
notes string - Review notes when present.
- reviewed_
by string - Reviewer identity when present.
- status string
- Current policy exception status.
- tenant_
id string - Tenant ID from provider configuration.
- updated_
at string - Last update timestamp.
- created
At String - Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Change StringJson - Policy change metadata returned by the review flow.
- review
Decision String - Review decision when present.
- review
Notes String - Review notes when present.
- reviewed
By String - Reviewer identity when present.
- status String
- Current policy exception status.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Last update timestamp.
- created
At string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Change stringJson - Policy change metadata returned by the review flow.
- review
Decision string - Review decision when present.
- review
Notes string - Review notes when present.
- reviewed
By string - Reviewer identity when present.
- status string
- Current policy exception status.
- tenant
Id string - Tenant ID from provider configuration.
- updated
At string - Last update timestamp.
- created_
at str - Creation timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- policy_
change_ strjson - Policy change metadata returned by the review flow.
- review_
decision str - Review decision when present.
- review_
notes str - Review notes when present.
- reviewed_
by str - Reviewer identity when present.
- status str
- Current policy exception status.
- tenant_
id str - Tenant ID from provider configuration.
- updated_
at str - Last update timestamp.
- created
At String - Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Change StringJson - Policy change metadata returned by the review flow.
- review
Decision String - Review decision when present.
- review
Notes String - Review notes when present.
- reviewed
By String - Reviewer identity when present.
- status String
- Current policy exception status.
- tenant
Id String - Tenant ID from provider configuration.
- updated
At String - Last update timestamp.
Look up Existing PolicyException Resource
Get an existing PolicyException resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PolicyExceptionState, opts?: CustomResourceOptions): PolicyException@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
alternatives_considered: Optional[str] = None,
business_justification: Optional[str] = None,
created_at: Optional[str] = None,
data_sensitivity: Optional[str] = None,
frequency_estimate: Optional[str] = None,
hold_token: Optional[str] = None,
policy_change_json: Optional[str] = None,
request_id: Optional[str] = None,
requested_by: Optional[str] = None,
review_decision: Optional[str] = None,
review_notes: Optional[str] = None,
reviewed_by: Optional[str] = None,
status: Optional[str] = None,
tenant_id: Optional[str] = None,
tool_name: Optional[str] = None,
updated_at: Optional[str] = None,
violation_id: Optional[str] = None) -> PolicyExceptionfunc GetPolicyException(ctx *Context, name string, id IDInput, state *PolicyExceptionState, opts ...ResourceOption) (*PolicyException, error)public static PolicyException Get(string name, Input<string> id, PolicyExceptionState? state, CustomResourceOptions? opts = null)public static PolicyException get(String name, Output<String> id, PolicyExceptionState state, CustomResourceOptions options)resources: _: type: thoth:governance:PolicyException get: id: ${id}import {
to = thoth_governance_policy_exception.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Agent
Id string - Agent ID associated with the request.
- Alternatives
Considered string - Optional alternatives reviewed before requesting an exception.
- Business
Justification string - Business reason for requesting the exception.
- Created
At string - Creation timestamp.
- Data
Sensitivity string - Data sensitivity level touched by this exception.
- Frequency
Estimate string - How often this exception is expected to occur.
- Hold
Token string - Optional hold token when exception is tied to STEP_UP workflow.
- Policy
Change stringJson - Policy change metadata returned by the review flow.
- Request
Id string - Optional request ID. If omitted, enforcer generates one.
- Requested
By string - Requester identity.
- Review
Decision string - Review decision when present.
- Review
Notes string - Review notes when present.
- Reviewed
By string - Reviewer identity when present.
- Status string
- Current policy exception status.
- Tenant
Id string - Tenant ID from provider configuration.
- Tool
Name string - Tool/action name associated with the request.
- Updated
At string - Last update timestamp.
- Violation
Id string - Violation ID associated with this exception request.
- Agent
Id string - Agent ID associated with the request.
- Alternatives
Considered string - Optional alternatives reviewed before requesting an exception.
- Business
Justification string - Business reason for requesting the exception.
- Created
At string - Creation timestamp.
- Data
Sensitivity string - Data sensitivity level touched by this exception.
- Frequency
Estimate string - How often this exception is expected to occur.
- Hold
Token string - Optional hold token when exception is tied to STEP_UP workflow.
- Policy
Change stringJson - Policy change metadata returned by the review flow.
- Request
Id string - Optional request ID. If omitted, enforcer generates one.
- Requested
By string - Requester identity.
- Review
Decision string - Review decision when present.
- Review
Notes string - Review notes when present.
- Reviewed
By string - Reviewer identity when present.
- Status string
- Current policy exception status.
- Tenant
Id string - Tenant ID from provider configuration.
- Tool
Name string - Tool/action name associated with the request.
- Updated
At string - Last update timestamp.
- Violation
Id string - Violation ID associated with this exception request.
- agent_
id string - Agent ID associated with the request.
- alternatives_
considered string - Optional alternatives reviewed before requesting an exception.
- business_
justification string - Business reason for requesting the exception.
- created_
at string - Creation timestamp.
- data_
sensitivity string - Data sensitivity level touched by this exception.
- frequency_
estimate string - How often this exception is expected to occur.
- hold_
token string - Optional hold token when exception is tied to STEP_UP workflow.
- policy_
change_ stringjson - Policy change metadata returned by the review flow.
- request_
id string - Optional request ID. If omitted, enforcer generates one.
- requested_
by string - Requester identity.
- review_
decision string - Review decision when present.
- review_
notes string - Review notes when present.
- reviewed_
by string - Reviewer identity when present.
- status string
- Current policy exception status.
- tenant_
id string - Tenant ID from provider configuration.
- tool_
name string - Tool/action name associated with the request.
- updated_
at string - Last update timestamp.
- violation_
id string - Violation ID associated with this exception request.
- agent
Id String - Agent ID associated with the request.
- alternatives
Considered String - Optional alternatives reviewed before requesting an exception.
- business
Justification String - Business reason for requesting the exception.
- created
At String - Creation timestamp.
- data
Sensitivity String - Data sensitivity level touched by this exception.
- frequency
Estimate String - How often this exception is expected to occur.
- hold
Token String - Optional hold token when exception is tied to STEP_UP workflow.
- policy
Change StringJson - Policy change metadata returned by the review flow.
- request
Id String - Optional request ID. If omitted, enforcer generates one.
- requested
By String - Requester identity.
- review
Decision String - Review decision when present.
- review
Notes String - Review notes when present.
- reviewed
By String - Reviewer identity when present.
- status String
- Current policy exception status.
- tenant
Id String - Tenant ID from provider configuration.
- tool
Name String - Tool/action name associated with the request.
- updated
At String - Last update timestamp.
- violation
Id String - Violation ID associated with this exception request.
- agent
Id string - Agent ID associated with the request.
- alternatives
Considered string - Optional alternatives reviewed before requesting an exception.
- business
Justification string - Business reason for requesting the exception.
- created
At string - Creation timestamp.
- data
Sensitivity string - Data sensitivity level touched by this exception.
- frequency
Estimate string - How often this exception is expected to occur.
- hold
Token string - Optional hold token when exception is tied to STEP_UP workflow.
- policy
Change stringJson - Policy change metadata returned by the review flow.
- request
Id string - Optional request ID. If omitted, enforcer generates one.
- requested
By string - Requester identity.
- review
Decision string - Review decision when present.
- review
Notes string - Review notes when present.
- reviewed
By string - Reviewer identity when present.
- status string
- Current policy exception status.
- tenant
Id string - Tenant ID from provider configuration.
- tool
Name string - Tool/action name associated with the request.
- updated
At string - Last update timestamp.
- violation
Id string - Violation ID associated with this exception request.
- agent_
id str - Agent ID associated with the request.
- alternatives_
considered str - Optional alternatives reviewed before requesting an exception.
- business_
justification str - Business reason for requesting the exception.
- created_
at str - Creation timestamp.
- data_
sensitivity str - Data sensitivity level touched by this exception.
- frequency_
estimate str - How often this exception is expected to occur.
- hold_
token str - Optional hold token when exception is tied to STEP_UP workflow.
- policy_
change_ strjson - Policy change metadata returned by the review flow.
- request_
id str - Optional request ID. If omitted, enforcer generates one.
- requested_
by str - Requester identity.
- review_
decision str - Review decision when present.
- review_
notes str - Review notes when present.
- reviewed_
by str - Reviewer identity when present.
- status str
- Current policy exception status.
- tenant_
id str - Tenant ID from provider configuration.
- tool_
name str - Tool/action name associated with the request.
- updated_
at str - Last update timestamp.
- violation_
id str - Violation ID associated with this exception request.
- agent
Id String - Agent ID associated with the request.
- alternatives
Considered String - Optional alternatives reviewed before requesting an exception.
- business
Justification String - Business reason for requesting the exception.
- created
At String - Creation timestamp.
- data
Sensitivity String - Data sensitivity level touched by this exception.
- frequency
Estimate String - How often this exception is expected to occur.
- hold
Token String - Optional hold token when exception is tied to STEP_UP workflow.
- policy
Change StringJson - Policy change metadata returned by the review flow.
- request
Id String - Optional request ID. If omitted, enforcer generates one.
- requested
By String - Requester identity.
- review
Decision String - Review decision when present.
- review
Notes String - Review notes when present.
- reviewed
By String - Reviewer identity when present.
- status String
- Current policy exception status.
- tenant
Id String - Tenant ID from provider configuration.
- tool
Name String - Tool/action name associated with the request.
- updated
At String - Last update timestamp.
- violation
Id String - Violation ID associated with this exception request.
Package Details
- Repository
- thoth atensecurity/pulumi-thoth
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
thothTerraform Provider.
published on Thursday, Jul 23, 2026 by Aten Security