sysdig 1.56.1 published on Thursday, May 8, 2025 by sysdiglabs
sysdig.getSecureRuleStateful
Explore with Pulumi AI
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
Get
Secure Rule Stateful Timeouts
- Name string
- The name of the Secure rule to retrieve.
- Source string
- The source of the Secure rule to retrieve.
- Timeouts
Get
Secure Rule Stateful Timeouts
- name String
- The name of the Secure rule to retrieve.
- source String
- The source of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Stateful Timeouts
- name string
- The name of the Secure rule to retrieve.
- source string
- The source of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Stateful Timeouts
- name str
- The name of the Secure rule to retrieve.
- source str
- The source of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Stateful Timeouts
- 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<Get
Secure Rule Stateful Exception> - 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
Get
Secure Rule Stateful Timeouts
- Append bool
- This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
- Exceptions
[]Get
Secure Rule Stateful Exception - 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
Get
Secure Rule Stateful Timeouts
- append Boolean
- This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
- exceptions
List<Get
Secure Rule Stateful Exception> - 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
Get
Secure Rule Stateful Timeouts
- append boolean
- This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
- exceptions
Get
Secure Rule Stateful Exception[] - 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
Get
Secure Rule Stateful Timeouts
- append bool
- This indicates that the rule being created appends the condition to an existing Sysdig-provided rule
- exceptions
Sequence[Get
Secure Rule Stateful Exception] - 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
Get
Secure Rule Stateful Timeouts
- 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
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.