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 policies = sysdig.getSecurePosturePolicies({});
import pulumi
import pulumi_sysdig as sysdig
policies = sysdig.get_secure_posture_policies()
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.GetSecurePosturePolicies(ctx, &sysdig.GetSecurePosturePoliciesArgs{}, 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 policies = Sysdig.GetSecurePosturePolicies.Invoke();
});
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.GetSecurePosturePoliciesArgs;
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 policies = SysdigFunctions.getSecurePosturePolicies(GetSecurePosturePoliciesArgs.builder()
.build());
}
}
variables:
policies:
fn::invoke:
function: sysdig:getSecurePosturePolicies
arguments: {}
Using getSecurePosturePolicies
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 getSecurePosturePolicies(args: GetSecurePosturePoliciesArgs, opts?: InvokeOptions): Promise<GetSecurePosturePoliciesResult>
function getSecurePosturePoliciesOutput(args: GetSecurePosturePoliciesOutputArgs, opts?: InvokeOptions): Output<GetSecurePosturePoliciesResult>def get_secure_posture_policies(timeouts: Optional[GetSecurePosturePoliciesTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurePosturePoliciesResult
def get_secure_posture_policies_output(timeouts: Optional[pulumi.Input[GetSecurePosturePoliciesTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurePosturePoliciesResult]func GetSecurePosturePolicies(ctx *Context, args *GetSecurePosturePoliciesArgs, opts ...InvokeOption) (*GetSecurePosturePoliciesResult, error)
func GetSecurePosturePoliciesOutput(ctx *Context, args *GetSecurePosturePoliciesOutputArgs, opts ...InvokeOption) GetSecurePosturePoliciesResultOutput> Note: This function is named GetSecurePosturePolicies in the Go SDK.
public static class GetSecurePosturePolicies
{
public static Task<GetSecurePosturePoliciesResult> InvokeAsync(GetSecurePosturePoliciesArgs args, InvokeOptions? opts = null)
public static Output<GetSecurePosturePoliciesResult> Invoke(GetSecurePosturePoliciesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecurePosturePoliciesResult> getSecurePosturePolicies(GetSecurePosturePoliciesArgs args, InvokeOptions options)
public static Output<GetSecurePosturePoliciesResult> getSecurePosturePolicies(GetSecurePosturePoliciesArgs args, InvokeOptions options)
fn::invoke:
function: sysdig:index/getSecurePosturePolicies:getSecurePosturePolicies
arguments:
# arguments dictionaryThe following arguments are supported:
getSecurePosturePolicies Result
The following output properties are available:
- Id string
- Zone ID
- Policies
List<Get
Secure Posture Policies Policy> - List of posture policy objects.
- Timeouts
Get
Secure Posture Policies Timeouts
- Id string
- Zone ID
- Policies
[]Get
Secure Posture Policies Policy - List of posture policy objects.
- Timeouts
Get
Secure Posture Policies Timeouts
- id String
- Zone ID
- policies
List<Get
Secure Posture Policies Policy> - List of posture policy objects.
- timeouts
Get
Secure Posture Policies Timeouts
- id string
- Zone ID
- policies
Get
Secure Posture Policies Policy[] - List of posture policy objects.
- timeouts
Get
Secure Posture Policies Timeouts
- id str
- Zone ID
- policies
Sequence[Get
Secure Posture Policies Policy] - List of posture policy objects.
- timeouts
Get
Secure Posture Policies Timeouts
- id String
- Zone ID
- policies List<Property Map>
- List of posture policy objects.
- timeouts Property Map
Supporting Types
GetSecurePosturePoliciesPolicy
- string
- Policy authors, eg.
John Doe - Description string
- Policy description, eg.
CIS Docker Benchmark - Id double
- Zone ID
- Is
Active bool - Policy is active flag
- Is
Custom bool - Policy is custom flag
- Kind double
- Policy kind as int value, can be one of the following:
- 0 - None
- 1 - BestPractice
- 2 - Compliance
- 3 - Corporate
- Link string
- Policy link
- Max
Kube doubleVersion - Policy maximum Kubernetes version, eg.
1.18 - Min
Kube doubleVersion - Policy minimum Kubernetes version, eg.
1.16 - Name string
- Zone Name, eg.
Entire Infrastructure - Platform string
- Policy platform, eg.
Kubernetes - Published
Date string - Policy published date, eg.
1588617600000 - Type double
- Policy type as int value, can be one of the following:
- 0 - UNKNOWN
- 1 - KUBERNETES
- 2 - DOCKER
- 3 - LINUX
- 4 - AWS
- 5 - GCP
- 6 - AZURE
- Version string
- Policy version, eg.
1.0.0 - Zones
List<Get
Secure Posture Policies Policy Zone> - List of policy zones
- string
- Policy authors, eg.
John Doe - Description string
- Policy description, eg.
CIS Docker Benchmark - Id float64
- Zone ID
- Is
Active bool - Policy is active flag
- Is
Custom bool - Policy is custom flag
- Kind float64
- Policy kind as int value, can be one of the following:
- 0 - None
- 1 - BestPractice
- 2 - Compliance
- 3 - Corporate
- Link string
- Policy link
- Max
Kube float64Version - Policy maximum Kubernetes version, eg.
1.18 - Min
Kube float64Version - Policy minimum Kubernetes version, eg.
1.16 - Name string
- Zone Name, eg.
Entire Infrastructure - Platform string
- Policy platform, eg.
Kubernetes - Published
Date string - Policy published date, eg.
1588617600000 - Type float64
- Policy type as int value, can be one of the following:
- 0 - UNKNOWN
- 1 - KUBERNETES
- 2 - DOCKER
- 3 - LINUX
- 4 - AWS
- 5 - GCP
- 6 - AZURE
- Version string
- Policy version, eg.
1.0.0 - Zones
[]Get
Secure Posture Policies Policy Zone - List of policy zones
- String
- Policy authors, eg.
John Doe - description String
- Policy description, eg.
CIS Docker Benchmark - id Double
- Zone ID
- is
Active Boolean - Policy is active flag
- is
Custom Boolean - Policy is custom flag
- kind Double
- Policy kind as int value, can be one of the following:
- 0 - None
- 1 - BestPractice
- 2 - Compliance
- 3 - Corporate
- link String
- Policy link
- max
Kube DoubleVersion - Policy maximum Kubernetes version, eg.
1.18 - min
Kube DoubleVersion - Policy minimum Kubernetes version, eg.
1.16 - name String
- Zone Name, eg.
Entire Infrastructure - platform String
- Policy platform, eg.
Kubernetes - published
Date String - Policy published date, eg.
1588617600000 - type Double
- Policy type as int value, can be one of the following:
- 0 - UNKNOWN
- 1 - KUBERNETES
- 2 - DOCKER
- 3 - LINUX
- 4 - AWS
- 5 - GCP
- 6 - AZURE
- version String
- Policy version, eg.
1.0.0 - zones
List<Get
Secure Posture Policies Policy Zone> - List of policy zones
- string
- Policy authors, eg.
John Doe - description string
- Policy description, eg.
CIS Docker Benchmark - id number
- Zone ID
- is
Active boolean - Policy is active flag
- is
Custom boolean - Policy is custom flag
- kind number
- Policy kind as int value, can be one of the following:
- 0 - None
- 1 - BestPractice
- 2 - Compliance
- 3 - Corporate
- link string
- Policy link
- max
Kube numberVersion - Policy maximum Kubernetes version, eg.
1.18 - min
Kube numberVersion - Policy minimum Kubernetes version, eg.
1.16 - name string
- Zone Name, eg.
Entire Infrastructure - platform string
- Policy platform, eg.
Kubernetes - published
Date string - Policy published date, eg.
1588617600000 - type number
- Policy type as int value, can be one of the following:
- 0 - UNKNOWN
- 1 - KUBERNETES
- 2 - DOCKER
- 3 - LINUX
- 4 - AWS
- 5 - GCP
- 6 - AZURE
- version string
- Policy version, eg.
1.0.0 - zones
Get
Secure Posture Policies Policy Zone[] - List of policy zones
- str
- Policy authors, eg.
John Doe - description str
- Policy description, eg.
CIS Docker Benchmark - id float
- Zone ID
- is_
active bool - Policy is active flag
- is_
custom bool - Policy is custom flag
- kind float
- Policy kind as int value, can be one of the following:
- 0 - None
- 1 - BestPractice
- 2 - Compliance
- 3 - Corporate
- link str
- Policy link
- max_
kube_ floatversion - Policy maximum Kubernetes version, eg.
1.18 - min_
kube_ floatversion - Policy minimum Kubernetes version, eg.
1.16 - name str
- Zone Name, eg.
Entire Infrastructure - platform str
- Policy platform, eg.
Kubernetes - published_
date str - Policy published date, eg.
1588617600000 - type float
- Policy type as int value, can be one of the following:
- 0 - UNKNOWN
- 1 - KUBERNETES
- 2 - DOCKER
- 3 - LINUX
- 4 - AWS
- 5 - GCP
- 6 - AZURE
- version str
- Policy version, eg.
1.0.0 - zones
Sequence[Get
Secure Posture Policies Policy Zone] - List of policy zones
- String
- Policy authors, eg.
John Doe - description String
- Policy description, eg.
CIS Docker Benchmark - id Number
- Zone ID
- is
Active Boolean - Policy is active flag
- is
Custom Boolean - Policy is custom flag
- kind Number
- Policy kind as int value, can be one of the following:
- 0 - None
- 1 - BestPractice
- 2 - Compliance
- 3 - Corporate
- link String
- Policy link
- max
Kube NumberVersion - Policy maximum Kubernetes version, eg.
1.18 - min
Kube NumberVersion - Policy minimum Kubernetes version, eg.
1.16 - name String
- Zone Name, eg.
Entire Infrastructure - platform String
- Policy platform, eg.
Kubernetes - published
Date String - Policy published date, eg.
1588617600000 - type Number
- Policy type as int value, can be one of the following:
- 0 - UNKNOWN
- 1 - KUBERNETES
- 2 - DOCKER
- 3 - LINUX
- 4 - AWS
- 5 - GCP
- 6 - AZURE
- version String
- Policy version, eg.
1.0.0 - zones List<Property Map>
- List of policy zones
GetSecurePosturePoliciesPolicyZone
GetSecurePosturePoliciesTimeouts
- 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
