Viewing docs for sysdig 3.5.0
published on Friday, Mar 6, 2026 by sysdiglabs
published on Friday, Mar 6, 2026 by sysdiglabs
Viewing docs for sysdig 3.5.0
published on Friday, Mar 6, 2026 by sysdiglabs
published on Friday, Mar 6, 2026 by sysdiglabs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const policy = sysdig.getSecureOktaMlPolicy({
name: "My Okta ML Policy",
});
import pulumi
import pulumi_sysdig as sysdig
policy = sysdig.get_secure_okta_ml_policy(name="My Okta ML Policy")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/v3/sysdig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sysdig.LookupSecureOktaMlPolicy(ctx, &sysdig.LookupSecureOktaMlPolicyArgs{
Name: "My Okta ML Policy",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;
return await Deployment.RunAsync(() =>
{
var policy = Sysdig.GetSecureOktaMlPolicy.Invoke(new()
{
Name = "My Okta ML Policy",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.SysdigFunctions;
import com.pulumi.sysdig.inputs.GetSecureOktaMlPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var policy = SysdigFunctions.getSecureOktaMlPolicy(GetSecureOktaMlPolicyArgs.builder()
.name("My Okta ML Policy")
.build());
}
}
variables:
policy:
fn::invoke:
function: sysdig:getSecureOktaMlPolicy
arguments:
name: My Okta ML Policy
Using getSecureOktaMlPolicy
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 getSecureOktaMlPolicy(args: GetSecureOktaMlPolicyArgs, opts?: InvokeOptions): Promise<GetSecureOktaMlPolicyResult>
function getSecureOktaMlPolicyOutput(args: GetSecureOktaMlPolicyOutputArgs, opts?: InvokeOptions): Output<GetSecureOktaMlPolicyResult>def get_secure_okta_ml_policy(id: Optional[str] = None,
name: Optional[str] = None,
timeouts: Optional[GetSecureOktaMlPolicyTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSecureOktaMlPolicyResult
def get_secure_okta_ml_policy_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetSecureOktaMlPolicyTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecureOktaMlPolicyResult]func LookupSecureOktaMlPolicy(ctx *Context, args *LookupSecureOktaMlPolicyArgs, opts ...InvokeOption) (*LookupSecureOktaMlPolicyResult, error)
func LookupSecureOktaMlPolicyOutput(ctx *Context, args *LookupSecureOktaMlPolicyOutputArgs, opts ...InvokeOption) LookupSecureOktaMlPolicyResultOutput> Note: This function is named LookupSecureOktaMlPolicy in the Go SDK.
public static class GetSecureOktaMlPolicy
{
public static Task<GetSecureOktaMlPolicyResult> InvokeAsync(GetSecureOktaMlPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetSecureOktaMlPolicyResult> Invoke(GetSecureOktaMlPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecureOktaMlPolicyResult> getSecureOktaMlPolicy(GetSecureOktaMlPolicyArgs args, InvokeOptions options)
public static Output<GetSecureOktaMlPolicyResult> getSecureOktaMlPolicy(GetSecureOktaMlPolicyArgs args, InvokeOptions options)
fn::invoke:
function: sysdig:index/getSecureOktaMlPolicy:getSecureOktaMlPolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the Secure Okta ML policy.
- Id string
- The ID of the rule.
- Timeouts
Get
Secure Okta Ml Policy Timeouts
- Name string
- The name of the Secure Okta ML policy.
- Id string
- The ID of the rule.
- Timeouts
Get
Secure Okta Ml Policy Timeouts
- name String
- The name of the Secure Okta ML policy.
- id String
- The ID of the rule.
- timeouts
Get
Secure Okta Ml Policy Timeouts
- name string
- The name of the Secure Okta ML policy.
- id string
- The ID of the rule.
- timeouts
Get
Secure Okta Ml Policy Timeouts
- name str
- The name of the Secure Okta ML policy.
- id str
- The ID of the rule.
- timeouts
Get
Secure Okta Ml Policy Timeouts
- name String
- The name of the Secure Okta ML policy.
- id String
- The ID of the rule.
- timeouts Property Map
getSecureOktaMlPolicy Result
The following output properties are available:
- Description string
- Rule description.
- Enabled bool
- Whether anomaly detection is enabled.
- Id string
- The ID of the rule.
- Name string
- The name of the rule.
- Notification
Channels List<double> - IDs of the notification channels to send alerts to when the policy is fired.
- Rules
List<Get
Secure Okta Ml Policy Rule> - Runbook string
- Customer provided url that provides a runbook for a given policy.
- Scope string
- The application scope for the policy.
- Severity double
- The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
- Type string
- The type of the policy. Always set to <span pulumi-lang-nodejs=""oktaMachineLearning"" pulumi-lang-dotnet=""OktaMachineLearning"" pulumi-lang-go=""oktaMachineLearning"" pulumi-lang-python=""okta_machine_learning"" pulumi-lang-yaml=""oktaMachineLearning"" pulumi-lang-java=""oktaMachineLearning"">"okta_machine_learning".
- Version double
- The version of the rule.
- Timeouts
Get
Secure Okta Ml Policy Timeouts
- Description string
- Rule description.
- Enabled bool
- Whether anomaly detection is enabled.
- Id string
- The ID of the rule.
- Name string
- The name of the rule.
- Notification
Channels []float64 - IDs of the notification channels to send alerts to when the policy is fired.
- Rules
[]Get
Secure Okta Ml Policy Rule - Runbook string
- Customer provided url that provides a runbook for a given policy.
- Scope string
- The application scope for the policy.
- Severity float64
- The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
- Type string
- The type of the policy. Always set to <span pulumi-lang-nodejs=""oktaMachineLearning"" pulumi-lang-dotnet=""OktaMachineLearning"" pulumi-lang-go=""oktaMachineLearning"" pulumi-lang-python=""okta_machine_learning"" pulumi-lang-yaml=""oktaMachineLearning"" pulumi-lang-java=""oktaMachineLearning"">"okta_machine_learning".
- Version float64
- The version of the rule.
- Timeouts
Get
Secure Okta Ml Policy Timeouts
- description String
- Rule description.
- enabled Boolean
- Whether anomaly detection is enabled.
- id String
- The ID of the rule.
- name String
- The name of the rule.
- notification
Channels List<Double> - IDs of the notification channels to send alerts to when the policy is fired.
- rules
List<Get
Secure Okta Ml Policy Rule> - runbook String
- Customer provided url that provides a runbook for a given policy.
- scope String
- The application scope for the policy.
- severity Double
- The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
- type String
- The type of the policy. Always set to <span pulumi-lang-nodejs=""oktaMachineLearning"" pulumi-lang-dotnet=""OktaMachineLearning"" pulumi-lang-go=""oktaMachineLearning"" pulumi-lang-python=""okta_machine_learning"" pulumi-lang-yaml=""oktaMachineLearning"" pulumi-lang-java=""oktaMachineLearning"">"okta_machine_learning".
- version Double
- The version of the rule.
- timeouts
Get
Secure Okta Ml Policy Timeouts
- description string
- Rule description.
- enabled boolean
- Whether anomaly detection is enabled.
- id string
- The ID of the rule.
- name string
- The name of the rule.
- notification
Channels number[] - IDs of the notification channels to send alerts to when the policy is fired.
- rules
Get
Secure Okta Ml Policy Rule[] - runbook string
- Customer provided url that provides a runbook for a given policy.
- scope string
- The application scope for the policy.
- severity number
- The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
- type string
- The type of the policy. Always set to <span pulumi-lang-nodejs=""oktaMachineLearning"" pulumi-lang-dotnet=""OktaMachineLearning"" pulumi-lang-go=""oktaMachineLearning"" pulumi-lang-python=""okta_machine_learning"" pulumi-lang-yaml=""oktaMachineLearning"" pulumi-lang-java=""oktaMachineLearning"">"okta_machine_learning".
- version number
- The version of the rule.
- timeouts
Get
Secure Okta Ml Policy Timeouts
- description str
- Rule description.
- enabled bool
- Whether anomaly detection is enabled.
- id str
- The ID of the rule.
- name str
- The name of the rule.
- notification_
channels Sequence[float] - IDs of the notification channels to send alerts to when the policy is fired.
- rules
Sequence[Get
Secure Okta Ml Policy Rule] - runbook str
- Customer provided url that provides a runbook for a given policy.
- scope str
- The application scope for the policy.
- severity float
- The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
- type str
- The type of the policy. Always set to <span pulumi-lang-nodejs=""oktaMachineLearning"" pulumi-lang-dotnet=""OktaMachineLearning"" pulumi-lang-go=""oktaMachineLearning"" pulumi-lang-python=""okta_machine_learning"" pulumi-lang-yaml=""oktaMachineLearning"" pulumi-lang-java=""oktaMachineLearning"">"okta_machine_learning".
- version float
- The version of the rule.
- timeouts
Get
Secure Okta Ml Policy Timeouts
- description String
- Rule description.
- enabled Boolean
- Whether anomaly detection is enabled.
- id String
- The ID of the rule.
- name String
- The name of the rule.
- notification
Channels List<Number> - IDs of the notification channels to send alerts to when the policy is fired.
- rules List<Property Map>
- runbook String
- Customer provided url that provides a runbook for a given policy.
- scope String
- The application scope for the policy.
- severity Number
- The severity of Secure policy. The accepted values are: 0, 1, 2, 3 (High), 4, 5 (Medium), 6 (Low) and 7 (Info).
- type String
- The type of the policy. Always set to <span pulumi-lang-nodejs=""oktaMachineLearning"" pulumi-lang-dotnet=""OktaMachineLearning"" pulumi-lang-go=""oktaMachineLearning"" pulumi-lang-python=""okta_machine_learning"" pulumi-lang-yaml=""oktaMachineLearning"" pulumi-lang-java=""oktaMachineLearning"">"okta_machine_learning".
- version Number
- The version of the rule.
- timeouts Property Map
Supporting Types
GetSecureOktaMlPolicyRule
- Anomalous
Console List<GetLogins Secure Okta Ml Policy Rule Anomalous Console Login> - Anomaly detection settings for logins.
- Description string
- Rule description.
- Id double
- The ID of the rule.
- Name string
- The name of the Secure Okta ML policy.
- List<string>
- Tags associated with the rule.
- Version double
- The version of the rule.
- Anomalous
Console []GetLogins Secure Okta Ml Policy Rule Anomalous Console Login - Anomaly detection settings for logins.
- Description string
- Rule description.
- Id float64
- The ID of the rule.
- Name string
- The name of the Secure Okta ML policy.
- []string
- Tags associated with the rule.
- Version float64
- The version of the rule.
- anomalous
Console List<GetLogins Secure Okta Ml Policy Rule Anomalous Console Login> - Anomaly detection settings for logins.
- description String
- Rule description.
- id Double
- The ID of the rule.
- name String
- The name of the Secure Okta ML policy.
- List<String>
- Tags associated with the rule.
- version Double
- The version of the rule.
- anomalous
Console GetLogins Secure Okta Ml Policy Rule Anomalous Console Login[] - Anomaly detection settings for logins.
- description string
- Rule description.
- id number
- The ID of the rule.
- name string
- The name of the Secure Okta ML policy.
- string[]
- Tags associated with the rule.
- version number
- The version of the rule.
- anomalous_
console_ Sequence[Getlogins Secure Okta Ml Policy Rule Anomalous Console Login] - Anomaly detection settings for logins.
- description str
- Rule description.
- id float
- The ID of the rule.
- name str
- The name of the Secure Okta ML policy.
- Sequence[str]
- Tags associated with the rule.
- version float
- The version of the rule.
- anomalous
Console List<Property Map>Logins - Anomaly detection settings for logins.
- description String
- Rule description.
- id Number
- The ID of the rule.
- name String
- The name of the Secure Okta ML policy.
- List<String>
- Tags associated with the rule.
- version Number
- The version of the rule.
GetSecureOktaMlPolicyRuleAnomalousConsoleLogin
GetSecureOktaMlPolicyTimeouts
- Read string
- Read string
- read String
- read string
- read str
- read String
Package Details
- Repository
- sysdig sysdiglabs/terraform-provider-sysdig
- License
- Notes
- This Pulumi package is based on the
sysdigTerraform Provider.
Viewing docs for sysdig 3.5.0
published on Friday, Mar 6, 2026 by sysdiglabs
published on Friday, Mar 6, 2026 by sysdiglabs
