sysdig 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs
sysdig.getSecureRuleProcess
Explore with Pulumi AI
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.getSecureRuleProcess({
name: "Launch Suspicious Network Tool in Container",
});
import pulumi
import pulumi_sysdig as sysdig
example = sysdig.get_secure_rule_process(name="Launch Suspicious Network Tool 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.LookupSecureRuleProcess(ctx, &sysdig.LookupSecureRuleProcessArgs{
Name: "Launch Suspicious Network Tool 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.GetSecureRuleProcess.Invoke(new()
{
Name = "Launch Suspicious Network Tool 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.GetSecureRuleProcessArgs;
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.getSecureRuleProcess(GetSecureRuleProcessArgs.builder()
.name("Launch Suspicious Network Tool in Container")
.build());
}
}
variables:
example:
fn::invoke:
function: sysdig:getSecureRuleProcess
arguments:
name: Launch Suspicious Network Tool in Container
Using getSecureRuleProcess
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 getSecureRuleProcess(args: GetSecureRuleProcessArgs, opts?: InvokeOptions): Promise<GetSecureRuleProcessResult>
function getSecureRuleProcessOutput(args: GetSecureRuleProcessOutputArgs, opts?: InvokeOptions): Output<GetSecureRuleProcessResult>
def get_secure_rule_process(name: Optional[str] = None,
timeouts: Optional[GetSecureRuleProcessTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSecureRuleProcessResult
def get_secure_rule_process_output(name: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetSecureRuleProcessTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecureRuleProcessResult]
func LookupSecureRuleProcess(ctx *Context, args *LookupSecureRuleProcessArgs, opts ...InvokeOption) (*LookupSecureRuleProcessResult, error)
func LookupSecureRuleProcessOutput(ctx *Context, args *LookupSecureRuleProcessOutputArgs, opts ...InvokeOption) LookupSecureRuleProcessResultOutput
> Note: This function is named LookupSecureRuleProcess
in the Go SDK.
public static class GetSecureRuleProcess
{
public static Task<GetSecureRuleProcessResult> InvokeAsync(GetSecureRuleProcessArgs args, InvokeOptions? opts = null)
public static Output<GetSecureRuleProcessResult> Invoke(GetSecureRuleProcessInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecureRuleProcessResult> getSecureRuleProcess(GetSecureRuleProcessArgs args, InvokeOptions options)
public static Output<GetSecureRuleProcessResult> getSecureRuleProcess(GetSecureRuleProcessArgs args, InvokeOptions options)
fn::invoke:
function: sysdig:index/getSecureRuleProcess:getSecureRuleProcess
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the Secure rule to retrieve.
- Timeouts
Get
Secure Rule Process Timeouts
- Name string
- The name of the Secure rule to retrieve.
- Timeouts
Get
Secure Rule Process Timeouts
- name String
- The name of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Process Timeouts
- name string
- The name of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Process Timeouts
- name str
- The name of the Secure rule to retrieve.
- timeouts
Get
Secure Rule Process Timeouts
- name String
- The name of the Secure rule to retrieve.
- timeouts Property Map
getSecureRuleProcess Result
The following output properties are available:
- Description string
- The description of Secure rule.
- Id double
- Matching bool
- Defines if the process name matches or not with the provided list.
- Name string
- Processes List<string>
- List of processes to match.
- List<string>
- A list of tags for this rule.
- Version double
- Current version of the resource in Sysdig Secure.
- Timeouts
Get
Secure Rule Process Timeouts
- Description string
- The description of Secure rule.
- Id float64
- Matching bool
- Defines if the process name matches or not with the provided list.
- Name string
- Processes []string
- List of processes to match.
- []string
- A list of tags for this rule.
- Version float64
- Current version of the resource in Sysdig Secure.
- Timeouts
Get
Secure Rule Process Timeouts
- description String
- The description of Secure rule.
- id Double
- matching Boolean
- Defines if the process name matches or not with the provided list.
- name String
- processes List<String>
- List of processes to match.
- List<String>
- A list of tags for this rule.
- version Double
- Current version of the resource in Sysdig Secure.
- timeouts
Get
Secure Rule Process Timeouts
- description string
- The description of Secure rule.
- id number
- matching boolean
- Defines if the process name matches or not with the provided list.
- name string
- processes string[]
- List of processes to match.
- string[]
- A list of tags for this rule.
- version number
- Current version of the resource in Sysdig Secure.
- timeouts
Get
Secure Rule Process Timeouts
- description str
- The description of Secure rule.
- id float
- matching bool
- Defines if the process name matches or not with the provided list.
- name str
- processes Sequence[str]
- List of processes to match.
- Sequence[str]
- A list of tags for this rule.
- version float
- Current version of the resource in Sysdig Secure.
- timeouts
Get
Secure Rule Process Timeouts
- description String
- The description of Secure rule.
- id Number
- matching Boolean
- Defines if the process name matches or not with the provided list.
- name String
- processes List<String>
- List of processes to match.
- List<String>
- A list of tags for this rule.
- version Number
- Current version of the resource in Sysdig Secure.
- timeouts Property Map
Supporting Types
GetSecureRuleProcessTimeouts
- 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 1.56.0 published on Wednesday, Apr 30, 2025 by sysdiglabs