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

sysdig.getSecureRuleSyscall

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.getSecureRuleSyscall({
        name: "Unexpected mount syscall",
    });
    
    import pulumi
    import pulumi_sysdig as sysdig
    
    example = sysdig.get_secure_rule_syscall(name="Unexpected mount syscall")
    
    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.LookupSecureRuleSyscall(ctx, &sysdig.LookupSecureRuleSyscallArgs{
    			Name: "Unexpected mount syscall",
    		}, 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.GetSecureRuleSyscall.Invoke(new()
        {
            Name = "Unexpected mount syscall",
        });
    
    });
    
    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.GetSecureRuleSyscallArgs;
    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.getSecureRuleSyscall(GetSecureRuleSyscallArgs.builder()
                .name("Unexpected mount syscall")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: sysdig:getSecureRuleSyscall
          arguments:
            name: Unexpected mount syscall
    

    Using getSecureRuleSyscall

    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 getSecureRuleSyscall(args: GetSecureRuleSyscallArgs, opts?: InvokeOptions): Promise<GetSecureRuleSyscallResult>
    function getSecureRuleSyscallOutput(args: GetSecureRuleSyscallOutputArgs, opts?: InvokeOptions): Output<GetSecureRuleSyscallResult>
    def get_secure_rule_syscall(name: Optional[str] = None,
                                timeouts: Optional[GetSecureRuleSyscallTimeouts] = None,
                                opts: Optional[InvokeOptions] = None) -> GetSecureRuleSyscallResult
    def get_secure_rule_syscall_output(name: Optional[pulumi.Input[str]] = None,
                                timeouts: Optional[pulumi.Input[GetSecureRuleSyscallTimeoutsArgs]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetSecureRuleSyscallResult]
    func LookupSecureRuleSyscall(ctx *Context, args *LookupSecureRuleSyscallArgs, opts ...InvokeOption) (*LookupSecureRuleSyscallResult, error)
    func LookupSecureRuleSyscallOutput(ctx *Context, args *LookupSecureRuleSyscallOutputArgs, opts ...InvokeOption) LookupSecureRuleSyscallResultOutput

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

    public static class GetSecureRuleSyscall 
    {
        public static Task<GetSecureRuleSyscallResult> InvokeAsync(GetSecureRuleSyscallArgs args, InvokeOptions? opts = null)
        public static Output<GetSecureRuleSyscallResult> Invoke(GetSecureRuleSyscallInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecureRuleSyscallResult> getSecureRuleSyscall(GetSecureRuleSyscallArgs args, InvokeOptions options)
    public static Output<GetSecureRuleSyscallResult> getSecureRuleSyscall(GetSecureRuleSyscallArgs args, InvokeOptions options)
    
    fn::invoke:
      function: sysdig:index/getSecureRuleSyscall:getSecureRuleSyscall
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getSecureRuleSyscall Result

    The following output properties are available:

    Description string
    The description of Secure rule.
    Id double
    Matching bool
    Defines if the syscall name matches or not with the provided list.
    Name string
    Syscalls List<string>
    Tags List<string>
    A list of tags for this rule.
    Version double
    Current version of the resource in Sysdig Secure.
    Timeouts GetSecureRuleSyscallTimeouts
    Description string
    The description of Secure rule.
    Id float64
    Matching bool
    Defines if the syscall name matches or not with the provided list.
    Name string
    Syscalls []string
    Tags []string
    A list of tags for this rule.
    Version float64
    Current version of the resource in Sysdig Secure.
    Timeouts GetSecureRuleSyscallTimeouts
    description String
    The description of Secure rule.
    id Double
    matching Boolean
    Defines if the syscall name matches or not with the provided list.
    name String
    syscalls List<String>
    tags List<String>
    A list of tags for this rule.
    version Double
    Current version of the resource in Sysdig Secure.
    timeouts GetSecureRuleSyscallTimeouts
    description string
    The description of Secure rule.
    id number
    matching boolean
    Defines if the syscall name matches or not with the provided list.
    name string
    syscalls string[]
    tags string[]
    A list of tags for this rule.
    version number
    Current version of the resource in Sysdig Secure.
    timeouts GetSecureRuleSyscallTimeouts
    description str
    The description of Secure rule.
    id float
    matching bool
    Defines if the syscall name matches or not with the provided list.
    name str
    syscalls Sequence[str]
    tags Sequence[str]
    A list of tags for this rule.
    version float
    Current version of the resource in Sysdig Secure.
    timeouts GetSecureRuleSyscallTimeouts
    description String
    The description of Secure rule.
    id Number
    matching Boolean
    Defines if the syscall name matches or not with the provided list.
    name String
    syscalls List<String>
    tags List<String>
    A list of tags for this rule.
    version Number
    Current version of the resource in Sysdig Secure.
    timeouts Property Map

    Supporting Types

    GetSecureRuleSyscallTimeouts

    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