Viewing docs for Thoth v0.1.22
published on Sunday, Oct 25, 2026 by Aten Security
published on Sunday, Oct 25, 2026 by Aten Security
ThothViewing docs for Thoth v0.1.22
published on Sunday, Oct 25, 2026 by Aten Security
published on Sunday, Oct 25, 2026 by Aten Security
Using getDecisions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDecisions(args: GetDecisionsArgs, opts?: InvokeOptions): Promise<GetDecisionsResult>
function getDecisionsOutput(args: GetDecisionsOutputArgs, opts?: InvokeOutputOptions): Output<GetDecisionsResult>def get_decisions(agent_id: Optional[str] = None,
max_results: Optional[int] = None,
outcome: Optional[str] = None,
reason_code: Optional[str] = None,
rule_id: Optional[str] = None,
since: Optional[str] = None,
tool_name: Optional[str] = None,
until: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDecisionsResult
def get_decisions_output(agent_id: pulumi.Input[Optional[str]] = None,
max_results: pulumi.Input[Optional[int]] = None,
outcome: pulumi.Input[Optional[str]] = None,
reason_code: pulumi.Input[Optional[str]] = None,
rule_id: pulumi.Input[Optional[str]] = None,
since: pulumi.Input[Optional[str]] = None,
tool_name: pulumi.Input[Optional[str]] = None,
until: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDecisionsResult]func GetDecisions(ctx *Context, args *GetDecisionsArgs, opts ...InvokeOption) (*GetDecisionsResult, error)
func GetDecisionsOutput(ctx *Context, args *GetDecisionsOutputArgs, opts ...InvokeOption) GetDecisionsResultOutput> Note: This function is named GetDecisions in the Go SDK.
public static class GetDecisions
{
public static Task<GetDecisionsResult> InvokeAsync(GetDecisionsArgs args, InvokeOptions? opts = null)
public static Output<GetDecisionsResult> Invoke(GetDecisionsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDecisionsResult> Invoke(GetDecisionsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDecisionsResult> getDecisions(GetDecisionsArgs args, InvokeOptions options)
public static Output<GetDecisionsResult> getDecisions(GetDecisionsArgs args, InvokeOptions options)
public static Output<GetDecisionsResult> getDecisions(GetDecisionsArgs args, InvokeOutputOptions options)
fn::invoke:
function: thoth:governance/getDecisions:getDecisions
arguments:
# arguments dictionarydata "thoth_governance_get_decisions" "name" {
# arguments
}The following arguments are supported:
- Agent
Id string - Max
Results int - Outcome string
- Reason
Code string - Rule
Id string - Since string
- Tool
Name string - Until string
- Agent
Id string - Max
Results int - Outcome string
- Reason
Code string - Rule
Id string - Since string
- Tool
Name string - Until string
- agent_
id string - max_
results number - outcome string
- reason_
code string - rule_
id string - since string
- tool_
name string - until string
- agent
Id String - max
Results Integer - outcome String
- reason
Code String - rule
Id String - since String
- tool
Name String - until String
- agent
Id string - max
Results number - outcome string
- reason
Code string - rule
Id string - since string
- tool
Name string - until string
- agent_
id str - max_
results int - outcome str
- reason_
code str - rule_
id str - since str
- tool_
name str - until str
- agent
Id String - max
Results Number - outcome String
- reason
Code String - rule
Id String - since String
- tool
Name String - until String
getDecisions Result
The following output properties are available:
- Decisions
List<Aten
Security. Get Decisions Decision> - Id string
- The provider-assigned unique ID for this managed resource.
- Truncated bool
- Agent
Id string - Max
Results int - Outcome string
- Reason
Code string - Rule
Id string - Since string
- Tool
Name string - Until string
- Decisions
[]Get
Decisions Decision - Id string
- The provider-assigned unique ID for this managed resource.
- Truncated bool
- Agent
Id string - Max
Results int - Outcome string
- Reason
Code string - Rule
Id string - Since string
- Tool
Name string - Until string
- decisions list(object)
- id string
- The provider-assigned unique ID for this managed resource.
- truncated bool
- agent_
id string - max_
results number - outcome string
- reason_
code string - rule_
id string - since string
- tool_
name string - until string
- decisions
List<Get
Decisions Decision> - id String
- The provider-assigned unique ID for this managed resource.
- truncated Boolean
- agent
Id String - max
Results Integer - outcome String
- reason
Code String - rule
Id String - since String
- tool
Name String - until String
- decisions
Get
Decisions Decision[] - id string
- The provider-assigned unique ID for this managed resource.
- truncated boolean
- agent
Id string - max
Results number - outcome string
- reason
Code string - rule
Id string - since string
- tool
Name string - until string
- decisions
Sequence[Get
Decisions Decision] - id str
- The provider-assigned unique ID for this managed resource.
- truncated bool
- agent_
id str - max_
results int - outcome str
- reason_
code str - rule_
id str - since str
- tool_
name str - until str
- decisions List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- truncated Boolean
- agent
Id String - max
Results Number - outcome String
- reason
Code String - rule
Id String - since String
- tool
Name String - until String
Supporting Types
GetDecisionsDecision
- Agent
Id string - The agent.
- At string
- When the decision was made (RFC 3339).
- Decision string
- The enforcer's decision: ALLOW, STEP_UP or BLOCK.
- Hold
Status string - For a held action, the approval status.
- Id string
- Activity ID; read the full record with thothctl or the explainDecision MCP tool.
- Link string
- Dashboard path for this decision.
- Outcome string
- allowed, needsApproval or blocked, after any approval.
- Reason
Code string - Why: the deterministic reason code.
- Resolution string
- approved, denied or expired, when a hold was resolved.
- Tool
Name string - The tool the agent called.
- Agent
Id string - The agent.
- At string
- When the decision was made (RFC 3339).
- Decision string
- The enforcer's decision: ALLOW, STEP_UP or BLOCK.
- Hold
Status string - For a held action, the approval status.
- Id string
- Activity ID; read the full record with thothctl or the explainDecision MCP tool.
- Link string
- Dashboard path for this decision.
- Outcome string
- allowed, needsApproval or blocked, after any approval.
- Reason
Code string - Why: the deterministic reason code.
- Resolution string
- approved, denied or expired, when a hold was resolved.
- Tool
Name string - The tool the agent called.
- agent_
id string - The agent.
- at string
- When the decision was made (RFC 3339).
- decision string
- The enforcer's decision: ALLOW, STEP_UP or BLOCK.
- hold_
status string - For a held action, the approval status.
- id string
- Activity ID; read the full record with thothctl or the explainDecision MCP tool.
- link string
- Dashboard path for this decision.
- outcome string
- allowed, needsApproval or blocked, after any approval.
- reason_
code string - Why: the deterministic reason code.
- resolution string
- approved, denied or expired, when a hold was resolved.
- tool_
name string - The tool the agent called.
- agent
Id String - The agent.
- at String
- When the decision was made (RFC 3339).
- decision String
- The enforcer's decision: ALLOW, STEP_UP or BLOCK.
- hold
Status String - For a held action, the approval status.
- id String
- Activity ID; read the full record with thothctl or the explainDecision MCP tool.
- link String
- Dashboard path for this decision.
- outcome String
- allowed, needsApproval or blocked, after any approval.
- reason
Code String - Why: the deterministic reason code.
- resolution String
- approved, denied or expired, when a hold was resolved.
- tool
Name String - The tool the agent called.
- agent
Id string - The agent.
- at string
- When the decision was made (RFC 3339).
- decision string
- The enforcer's decision: ALLOW, STEP_UP or BLOCK.
- hold
Status string - For a held action, the approval status.
- id string
- Activity ID; read the full record with thothctl or the explainDecision MCP tool.
- link string
- Dashboard path for this decision.
- outcome string
- allowed, needsApproval or blocked, after any approval.
- reason
Code string - Why: the deterministic reason code.
- resolution string
- approved, denied or expired, when a hold was resolved.
- tool
Name string - The tool the agent called.
- agent_
id str - The agent.
- at str
- When the decision was made (RFC 3339).
- decision str
- The enforcer's decision: ALLOW, STEP_UP or BLOCK.
- hold_
status str - For a held action, the approval status.
- id str
- Activity ID; read the full record with thothctl or the explainDecision MCP tool.
- link str
- Dashboard path for this decision.
- outcome str
- allowed, needsApproval or blocked, after any approval.
- reason_
code str - Why: the deterministic reason code.
- resolution str
- approved, denied or expired, when a hold was resolved.
- tool_
name str - The tool the agent called.
- agent
Id String - The agent.
- at String
- When the decision was made (RFC 3339).
- decision String
- The enforcer's decision: ALLOW, STEP_UP or BLOCK.
- hold
Status String - For a held action, the approval status.
- id String
- Activity ID; read the full record with thothctl or the explainDecision MCP tool.
- link String
- Dashboard path for this decision.
- outcome String
- allowed, needsApproval or blocked, after any approval.
- reason
Code String - Why: the deterministic reason code.
- resolution String
- approved, denied or expired, when a hold was resolved.
- tool
Name String - The tool the agent called.
Package Details
- Repository
- thoth atensecurity/pulumi-thoth
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
thothTerraform Provider.
ThothViewing docs for Thoth v0.1.22
published on Sunday, Oct 25, 2026 by Aten Security
published on Sunday, Oct 25, 2026 by Aten Security