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

sysdig.getSecureRuleFalcoCount

Explore with Pulumi AI

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sysdig from "@pulumi/sysdig";
    
    const example = sysdig.getSecureRuleFalcoCount({
        name: "Terminal shell in container",
    });
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    example = sysdig.get_secure_rule_falco_count(name="Terminal shell in container")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sysdig.GetSecureRuleFalcoCount(ctx, &sysdig.GetSecureRuleFalcoCountArgs{
    			Name: "Terminal shell in container",
    		}, 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.GetSecureRuleFalcoCount.Invoke(new()
        {
            Name = "Terminal shell in container",
        });
    
    });
    
    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.GetSecureRuleFalcoCountArgs;
    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.getSecureRuleFalcoCount(GetSecureRuleFalcoCountArgs.builder()
                .name("Terminal shell in container")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: sysdig:getSecureRuleFalcoCount
          arguments:
            name: Terminal shell in container
    

    Using getSecureRuleFalcoCount

    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 getSecureRuleFalcoCount(args: GetSecureRuleFalcoCountArgs, opts?: InvokeOptions): Promise<GetSecureRuleFalcoCountResult>
    function getSecureRuleFalcoCountOutput(args: GetSecureRuleFalcoCountOutputArgs, opts?: InvokeOptions): Output<GetSecureRuleFalcoCountResult>
    def get_secure_rule_falco_count(id: Optional[str] = None,
                                    name: Optional[str] = None,
                                    source: Optional[str] = None,
                                    timeouts: Optional[GetSecureRuleFalcoCountTimeouts] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetSecureRuleFalcoCountResult
    def get_secure_rule_falco_count_output(id: Optional[pulumi.Input[str]] = None,
                                    name: Optional[pulumi.Input[str]] = None,
                                    source: Optional[pulumi.Input[str]] = None,
                                    timeouts: Optional[pulumi.Input[GetSecureRuleFalcoCountTimeoutsArgs]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetSecureRuleFalcoCountResult]
    func GetSecureRuleFalcoCount(ctx *Context, args *GetSecureRuleFalcoCountArgs, opts ...InvokeOption) (*GetSecureRuleFalcoCountResult, error)
    func GetSecureRuleFalcoCountOutput(ctx *Context, args *GetSecureRuleFalcoCountOutputArgs, opts ...InvokeOption) GetSecureRuleFalcoCountResultOutput

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

    public static class GetSecureRuleFalcoCount 
    {
        public static Task<GetSecureRuleFalcoCountResult> InvokeAsync(GetSecureRuleFalcoCountArgs args, InvokeOptions? opts = null)
        public static Output<GetSecureRuleFalcoCountResult> Invoke(GetSecureRuleFalcoCountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecureRuleFalcoCountResult> getSecureRuleFalcoCount(GetSecureRuleFalcoCountArgs args, InvokeOptions options)
    public static Output<GetSecureRuleFalcoCountResult> getSecureRuleFalcoCount(GetSecureRuleFalcoCountArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sysdig:index/getSecureRuleFalcoCount:getSecureRuleFalcoCount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the Secure rule to retrieve.
    Id string
    Source string
    The source of the Secure rule to retrieve. This is required if a rule with this name exists in multiple sources.
    Timeouts GetSecureRuleFalcoCountTimeouts
    Name string
    The name of the Secure rule to retrieve.
    Id string
    Source string
    The source of the Secure rule to retrieve. This is required if a rule with this name exists in multiple sources.
    Timeouts GetSecureRuleFalcoCountTimeouts
    name String
    The name of the Secure rule to retrieve.
    id String
    source String
    The source of the Secure rule to retrieve. This is required if a rule with this name exists in multiple sources.
    timeouts GetSecureRuleFalcoCountTimeouts
    name string
    The name of the Secure rule to retrieve.
    id string
    source string
    The source of the Secure rule to retrieve. This is required if a rule with this name exists in multiple sources.
    timeouts GetSecureRuleFalcoCountTimeouts
    name str
    The name of the Secure rule to retrieve.
    id str
    source str
    The source of the Secure rule to retrieve. This is required if a rule with this name exists in multiple sources.
    timeouts GetSecureRuleFalcoCountTimeouts
    name String
    The name of the Secure rule to retrieve.
    id String
    source String
    The source of the Secure rule to retrieve. This is required if a rule with this name exists in multiple sources.
    timeouts Property Map

    getSecureRuleFalcoCount Result

    The following output properties are available:

    Id string
    Name string
    RuleCount double
    The number of rules (including appends).
    Source string
    Timeouts GetSecureRuleFalcoCountTimeouts
    Id string
    Name string
    RuleCount float64
    The number of rules (including appends).
    Source string
    Timeouts GetSecureRuleFalcoCountTimeouts
    id String
    name String
    ruleCount Double
    The number of rules (including appends).
    source String
    timeouts GetSecureRuleFalcoCountTimeouts
    id string
    name string
    ruleCount number
    The number of rules (including appends).
    source string
    timeouts GetSecureRuleFalcoCountTimeouts
    id str
    name str
    rule_count float
    The number of rules (including appends).
    source str
    timeouts GetSecureRuleFalcoCountTimeouts
    id String
    name String
    ruleCount Number
    The number of rules (including appends).
    source String
    timeouts Property Map

    Supporting Types

    GetSecureRuleFalcoCountTimeouts

    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