1. Packages
  2. Sysdig Provider
  3. API Docs
  4. getSecureRuleStateful
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

sysdig.getSecureRuleStateful

Explore with Pulumi AI

sysdig logo
sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    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.GetSecureRuleStatefulArgs;
    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 example = SysdigFunctions.getSecureRuleStateful(GetSecureRuleStatefulArgs.builder()
                .name("Access Key Enumeration Detected")
                .ruletype("STATEFUL_SEQUENCE")
                .source("awscloudtrail_stateful")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: sysdig:getSecureRuleStateful
          arguments:
            name: Access Key Enumeration Detected
            ruletype: STATEFUL_SEQUENCE
            source: awscloudtrail_stateful
    

    Using getSecureRuleStateful

    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 getSecureRuleStateful(args: GetSecureRuleStatefulArgs, opts?: InvokeOptions): Promise<GetSecureRuleStatefulResult>
    function getSecureRuleStatefulOutput(args: GetSecureRuleStatefulOutputArgs, opts?: InvokeOptions): Output<GetSecureRuleStatefulResult>
    def get_secure_rule_stateful(name: Optional[str] = None,
                                 source: Optional[str] = None,
                                 timeouts: Optional[GetSecureRuleStatefulTimeouts] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetSecureRuleStatefulResult
    def get_secure_rule_stateful_output(name: Optional[pulumi.Input[str]] = None,
                                 source: Optional[pulumi.Input[str]] = None,
                                 timeouts: Optional[pulumi.Input[GetSecureRuleStatefulTimeoutsArgs]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetSecureRuleStatefulResult]
    func LookupSecureRuleStateful(ctx *Context, args *LookupSecureRuleStatefulArgs, opts ...InvokeOption) (*LookupSecureRuleStatefulResult, error)
    func LookupSecureRuleStatefulOutput(ctx *Context, args *LookupSecureRuleStatefulOutputArgs, opts ...InvokeOption) LookupSecureRuleStatefulResultOutput

    > Note: This function is named LookupSecureRuleStateful in the Go SDK.

    public static class GetSecureRuleStateful 
    {
        public static Task<GetSecureRuleStatefulResult> InvokeAsync(GetSecureRuleStatefulArgs args, InvokeOptions? opts = null)
        public static Output<GetSecureRuleStatefulResult> Invoke(GetSecureRuleStatefulInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecureRuleStatefulResult> getSecureRuleStateful(GetSecureRuleStatefulArgs args, InvokeOptions options)
    public static Output<GetSecureRuleStatefulResult> getSecureRuleStateful(GetSecureRuleStatefulArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sysdig:index/getSecureRuleStateful:getSecureRuleStateful
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the Secure rule to retrieve.
    Source string
    The source of the Secure rule to retrieve.
    Timeouts GetSecureRuleStatefulTimeouts
    Name string
    The name of the Secure rule to retrieve.
    Source string
    The source of the Secure rule to retrieve.
    Timeouts GetSecureRuleStatefulTimeouts
    name String
    The name of the Secure rule to retrieve.
    source String
    The source of the Secure rule to retrieve.
    timeouts GetSecureRuleStatefulTimeouts
    name string
    The name of the Secure rule to retrieve.
    source string
    The source of the Secure rule to retrieve.
    timeouts GetSecureRuleStatefulTimeouts
    name str
    The name of the Secure rule to retrieve.
    source str
    The source of the Secure rule to retrieve.
    timeouts GetSecureRuleStatefulTimeouts
    name String
    The name of the Secure rule to retrieve.
    source String
    The source of the Secure rule to retrieve.
    timeouts Property Map

    getSecureRuleStateful Result

    The following output properties are available:

    Append bool
    This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
    Exceptions List<GetSecureRuleStatefulException>
    The exceptions key is a list of identifier plus list of tuples of filtercheck fields. See below for details.
    Id double
    Name string
    The name of the existing exception definition.
    Ruletype string
    Source string
    Version double
    Timeouts GetSecureRuleStatefulTimeouts
    Append bool
    This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
    Exceptions []GetSecureRuleStatefulException
    The exceptions key is a list of identifier plus list of tuples of filtercheck fields. See below for details.
    Id float64
    Name string
    The name of the existing exception definition.
    Ruletype string
    Source string
    Version float64
    Timeouts GetSecureRuleStatefulTimeouts
    append Boolean
    This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
    exceptions List<GetSecureRuleStatefulException>
    The exceptions key is a list of identifier plus list of tuples of filtercheck fields. See below for details.
    id Double
    name String
    The name of the existing exception definition.
    ruletype String
    source String
    version Double
    timeouts GetSecureRuleStatefulTimeouts
    append boolean
    This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
    exceptions GetSecureRuleStatefulException[]
    The exceptions key is a list of identifier plus list of tuples of filtercheck fields. See below for details.
    id number
    name string
    The name of the existing exception definition.
    ruletype string
    source string
    version number
    timeouts GetSecureRuleStatefulTimeouts
    append bool
    This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
    exceptions Sequence[GetSecureRuleStatefulException]
    The exceptions key is a list of identifier plus list of tuples of filtercheck fields. See below for details.
    id float
    name str
    The name of the existing exception definition.
    ruletype str
    source str
    version float
    timeouts GetSecureRuleStatefulTimeouts
    append Boolean
    This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
    exceptions List<Property Map>
    The exceptions key is a list of identifier plus list of tuples of filtercheck fields. See below for details.
    id Number
    name String
    The name of the existing exception definition.
    ruletype String
    source String
    version Number
    timeouts Property Map

    Supporting Types

    GetSecureRuleStatefulException

    Name string
    The name of the Secure rule to retrieve.
    Values string
    Contains tuples of values. Each item in the tuple should align 1-1 with the corresponding field and comparison operator.
    Name string
    The name of the Secure rule to retrieve.
    Values string
    Contains tuples of values. Each item in the tuple should align 1-1 with the corresponding field and comparison operator.
    name String
    The name of the Secure rule to retrieve.
    values String
    Contains tuples of values. Each item in the tuple should align 1-1 with the corresponding field and comparison operator.
    name string
    The name of the Secure rule to retrieve.
    values string
    Contains tuples of values. Each item in the tuple should align 1-1 with the corresponding field and comparison operator.
    name str
    The name of the Secure rule to retrieve.
    values str
    Contains tuples of values. Each item in the tuple should align 1-1 with the corresponding field and comparison operator.
    name String
    The name of the Secure rule to retrieve.
    values String
    Contains tuples of values. Each item in the tuple should align 1-1 with the corresponding field and comparison operator.

    GetSecureRuleStatefulTimeouts

    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 sysdig Terraform Provider.
    sysdig logo
    sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs