1. Packages
  2. Sysdig Provider
  3. API Docs
  4. getSecureRuleFalcoCount
sysdig 1.53.0 published on Thursday, Apr 17, 2025 by sysdiglabs

sysdig.getSecureRuleFalcoCount

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";

const example = sysdig.getSecureRuleFalcoCount({
    name: "Terminal shell in container",
});
Copy
import pulumi
import pulumi_sysdig as sysdig

example = sysdig.get_secure_rule_falco_count(name="Terminal shell in container")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: sysdig:getSecureRuleFalcoCount
      arguments:
        name: Terminal shell in container
Copy

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>
Copy
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]
Copy
func GetSecureRuleFalcoCount(ctx *Context, args *GetSecureRuleFalcoCountArgs, opts ...InvokeOption) (*GetSecureRuleFalcoCountResult, error)
func GetSecureRuleFalcoCountOutput(ctx *Context, args *GetSecureRuleFalcoCountOutputArgs, opts ...InvokeOption) GetSecureRuleFalcoCountResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSecureRuleFalcoCountResult> getSecureRuleFalcoCount(GetSecureRuleFalcoCountArgs args, InvokeOptions options)
public static Output<GetSecureRuleFalcoCountResult> getSecureRuleFalcoCount(GetSecureRuleFalcoCountArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: sysdig:index/getSecureRuleFalcoCount:getSecureRuleFalcoCount
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.