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 example = sysdig.getSecureRuleStatefulCount({
name: "API Gateway Enumeration Detected",
source: "awscloudtrail_stateful",
});
import pulumi
import pulumi_sysdig as sysdig
example = sysdig.get_secure_rule_stateful_count(name="API Gateway Enumeration Detected",
source="awscloudtrail_stateful")
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.GetSecureRuleStatefulCount(ctx, &sysdig.GetSecureRuleStatefulCountArgs{
Name: "API Gateway Enumeration Detected",
Source: "awscloudtrail_stateful",
}, 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 example = Sysdig.GetSecureRuleStatefulCount.Invoke(new()
{
Name = "API Gateway Enumeration Detected",
Source = "awscloudtrail_stateful",
});
});
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.GetSecureRuleStatefulCountArgs;
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.getSecureRuleStatefulCount(GetSecureRuleStatefulCountArgs.builder()
.name("API Gateway Enumeration Detected")
.source("awscloudtrail_stateful")
.build());
}
}
variables:
example:
fn::invoke:
function: sysdig:getSecureRuleStatefulCount
arguments:
name: API Gateway Enumeration Detected
source: awscloudtrail_stateful
Using getSecureRuleStatefulCount
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 getSecureRuleStatefulCount(args: GetSecureRuleStatefulCountArgs, opts?: InvokeOptions): Promise<GetSecureRuleStatefulCountResult>
function getSecureRuleStatefulCountOutput(args: GetSecureRuleStatefulCountOutputArgs, opts?: InvokeOptions): Output<GetSecureRuleStatefulCountResult>def get_secure_rule_stateful_count(id: Optional[str] = None,
name: Optional[str] = None,
source: Optional[str] = None,
timeouts: Optional[GetSecureRuleStatefulCountTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSecureRuleStatefulCountResult
def get_secure_rule_stateful_count_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
source: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetSecureRuleStatefulCountTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecureRuleStatefulCountResult]func GetSecureRuleStatefulCount(ctx *Context, args *GetSecureRuleStatefulCountArgs, opts ...InvokeOption) (*GetSecureRuleStatefulCountResult, error)
func GetSecureRuleStatefulCountOutput(ctx *Context, args *GetSecureRuleStatefulCountOutputArgs, opts ...InvokeOption) GetSecureRuleStatefulCountResultOutput> Note: This function is named GetSecureRuleStatefulCount in the Go SDK.
public static class GetSecureRuleStatefulCount
{
public static Task<GetSecureRuleStatefulCountResult> InvokeAsync(GetSecureRuleStatefulCountArgs args, InvokeOptions? opts = null)
public static Output<GetSecureRuleStatefulCountResult> Invoke(GetSecureRuleStatefulCountInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecureRuleStatefulCountResult> getSecureRuleStatefulCount(GetSecureRuleStatefulCountArgs args, InvokeOptions options)
public static Output<GetSecureRuleStatefulCountResult> getSecureRuleStatefulCount(GetSecureRuleStatefulCountArgs args, InvokeOptions options)
fn::invoke:
function: sysdig:index/getSecureRuleStatefulCount:getSecureRuleStatefulCount
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- The name of the Secure stateful rule to retrieve.
- Source string
- The source of the Secure stateful rule to retrieve.
- Id string
- Timeouts
Get
Secure Rule Stateful Count Timeouts
- Name string
- The name of the Secure stateful rule to retrieve.
- Source string
- The source of the Secure stateful rule to retrieve.
- Id string
- Timeouts
Get
Secure Rule Stateful Count Timeouts
- name String
- The name of the Secure stateful rule to retrieve.
- source String
- The source of the Secure stateful rule to retrieve.
- id String
- timeouts
Get
Secure Rule Stateful Count Timeouts
- name string
- The name of the Secure stateful rule to retrieve.
- source string
- The source of the Secure stateful rule to retrieve.
- id string
- timeouts
Get
Secure Rule Stateful Count Timeouts
- name str
- The name of the Secure stateful rule to retrieve.
- source str
- The source of the Secure stateful rule to retrieve.
- id str
- timeouts
Get
Secure Rule Stateful Count Timeouts
- name String
- The name of the Secure stateful rule to retrieve.
- source String
- The source of the Secure stateful rule to retrieve.
- id String
- timeouts Property Map
getSecureRuleStatefulCount Result
The following output properties are available:
- id str
- name str
- rule_
count float - The number of rules (including appends).
- source str
- timeouts
Get
Secure Rule Stateful Count Timeouts
Supporting Types
GetSecureRuleStatefulCountTimeouts
- 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
