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.getSecureAwsMlPolicy({
name: "ML Policy 1",
});
import pulumi
import pulumi_sysdig as sysdig
policy = sysdig.get_secure_aws_ml_policy(name="ML Policy 1")
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.LookupSecureAwsMlPolicy(ctx, &sysdig.LookupSecureAwsMlPolicyArgs{
Name: "ML Policy 1",
}, 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.GetSecureAwsMlPolicy.Invoke(new()
{
Name = "ML Policy 1",
});
});
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.GetSecureAwsMlPolicyArgs;
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.getSecureAwsMlPolicy(GetSecureAwsMlPolicyArgs.builder()
.name("ML Policy 1")
.build());
}
}
variables:
policy:
fn::invoke:
function: sysdig:getSecureAwsMlPolicy
arguments:
name: ML Policy 1
Using getSecureAwsMlPolicy
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 getSecureAwsMlPolicy(args: GetSecureAwsMlPolicyArgs, opts?: InvokeOptions): Promise<GetSecureAwsMlPolicyResult>
function getSecureAwsMlPolicyOutput(args: GetSecureAwsMlPolicyOutputArgs, opts?: InvokeOptions): Output<GetSecureAwsMlPolicyResult>def get_secure_aws_ml_policy(id: Optional[str] = None,
name: Optional[str] = None,
timeouts: Optional[GetSecureAwsMlPolicyTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSecureAwsMlPolicyResult
def get_secure_aws_ml_policy_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetSecureAwsMlPolicyTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecureAwsMlPolicyResult]func LookupSecureAwsMlPolicy(ctx *Context, args *LookupSecureAwsMlPolicyArgs, opts ...InvokeOption) (*LookupSecureAwsMlPolicyResult, error)
func LookupSecureAwsMlPolicyOutput(ctx *Context, args *LookupSecureAwsMlPolicyOutputArgs, opts ...InvokeOption) LookupSecureAwsMlPolicyResultOutput> Note: This function is named LookupSecureAwsMlPolicy in the Go SDK.
public static class GetSecureAwsMlPolicy
{
public static Task<GetSecureAwsMlPolicyResult> InvokeAsync(GetSecureAwsMlPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetSecureAwsMlPolicyResult> Invoke(GetSecureAwsMlPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecureAwsMlPolicyResult> getSecureAwsMlPolicy(GetSecureAwsMlPolicyArgs args, InvokeOptions options)
public static Output<GetSecureAwsMlPolicyResult> getSecureAwsMlPolicy(GetSecureAwsMlPolicyArgs args, InvokeOptions options)
fn::invoke:
function: sysdig:index/getSecureAwsMlPolicy:getSecureAwsMlPolicy
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the Secure managed policy.
- Id string
- The id for the policy.
- Timeouts
Get
Secure Aws Ml Policy Timeouts
- Name string
- The name of the Secure managed policy.
- Id string
- The id for the policy.
- Timeouts
Get
Secure Aws Ml Policy Timeouts
- name String
- The name of the Secure managed policy.
- id String
- The id for the policy.
- timeouts
Get
Secure Aws Ml Policy Timeouts
- name string
- The name of the Secure managed policy.
- id string
- The id for the policy.
- timeouts
Get
Secure Aws Ml Policy Timeouts
- name str
- The name of the Secure managed policy.
- id str
- The id for the policy.
- timeouts
Get
Secure Aws Ml Policy Timeouts
- name String
- The name of the Secure managed policy.
- id String
- The id for the policy.
- timeouts Property Map
getSecureAwsMlPolicy Result
The following output properties are available:
- Description string
- (Required) Rule description.
- Enabled bool
- Whether the policy is enabled or not.
- Id string
- The id for the policy.
- Name string
- Notification
Channels List<double> - IDs of the notification channels to send alerts to when the policy is fired.
- Rules
List<Get
Secure Aws 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
- Version double
- Timeouts
Get
Secure Aws Ml Policy Timeouts
- Description string
- (Required) Rule description.
- Enabled bool
- Whether the policy is enabled or not.
- Id string
- The id for the policy.
- Name string
- Notification
Channels []float64 - IDs of the notification channels to send alerts to when the policy is fired.
- Rules
[]Get
Secure Aws 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
- Version float64
- Timeouts
Get
Secure Aws Ml Policy Timeouts
- description String
- (Required) Rule description.
- enabled Boolean
- Whether the policy is enabled or not.
- id String
- The id for the policy.
- name String
- notification
Channels List<Double> - IDs of the notification channels to send alerts to when the policy is fired.
- rules
List<Get
Secure Aws 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
- version Double
- timeouts
Get
Secure Aws Ml Policy Timeouts
- description string
- (Required) Rule description.
- enabled boolean
- Whether the policy is enabled or not.
- id string
- The id for the policy.
- name string
- notification
Channels number[] - IDs of the notification channels to send alerts to when the policy is fired.
- rules
Get
Secure Aws 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
- version number
- timeouts
Get
Secure Aws Ml Policy Timeouts
- description str
- (Required) Rule description.
- enabled bool
- Whether the policy is enabled or not.
- id str
- The id for the policy.
- name str
- notification_
channels Sequence[float] - IDs of the notification channels to send alerts to when the policy is fired.
- rules
Sequence[Get
Secure Aws 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
- version float
- timeouts
Get
Secure Aws Ml Policy Timeouts
- description String
- (Required) Rule description.
- enabled Boolean
- Whether the policy is enabled or not.
- id String
- The id for the policy.
- name String
- 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
- version Number
- timeouts Property Map
Supporting Types
GetSecureAwsMlPolicyRule
- Anomalous
Console List<GetLogins Secure Aws Ml Policy Rule Anomalous Console Login> - (Required) This attribute allows you to activate anomaly detection for console logins and adjust its settings.
- Description string
- (Required) Rule description.
- Id double
- The id for the policy.
- Name string
- The name of the Secure managed policy.
- List<string>
- Version double
- Anomalous
Console []GetLogins Secure Aws Ml Policy Rule Anomalous Console Login - (Required) This attribute allows you to activate anomaly detection for console logins and adjust its settings.
- Description string
- (Required) Rule description.
- Id float64
- The id for the policy.
- Name string
- The name of the Secure managed policy.
- []string
- Version float64
- anomalous
Console List<GetLogins Secure Aws Ml Policy Rule Anomalous Console Login> - (Required) This attribute allows you to activate anomaly detection for console logins and adjust its settings.
- description String
- (Required) Rule description.
- id Double
- The id for the policy.
- name String
- The name of the Secure managed policy.
- List<String>
- version Double
- anomalous
Console GetLogins Secure Aws Ml Policy Rule Anomalous Console Login[] - (Required) This attribute allows you to activate anomaly detection for console logins and adjust its settings.
- description string
- (Required) Rule description.
- id number
- The id for the policy.
- name string
- The name of the Secure managed policy.
- string[]
- version number
- anomalous_
console_ Sequence[Getlogins Secure Aws Ml Policy Rule Anomalous Console Login] - (Required) This attribute allows you to activate anomaly detection for console logins and adjust its settings.
- description str
- (Required) Rule description.
- id float
- The id for the policy.
- name str
- The name of the Secure managed policy.
- Sequence[str]
- version float
- anomalous
Console List<Property Map>Logins - (Required) This attribute allows you to activate anomaly detection for console logins and adjust its settings.
- description String
- (Required) Rule description.
- id Number
- The id for the policy.
- name String
- The name of the Secure managed policy.
- List<String>
- version Number
GetSecureAwsMlPolicyRuleAnomalousConsoleLogin
GetSecureAwsMlPolicyTimeouts
- 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
