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

sysdig.SecurePosturePolicy

Explore with Pulumi AI

sysdig logo
sysdig 1.53.0 published on Thursday, Apr 17, 2025 by sysdiglabs

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sysdig.SecurePosturePolicy;
    import com.pulumi.sysdig.SecurePosturePolicyArgs;
    import com.pulumi.sysdig.inputs.SecurePosturePolicyGroupArgs;
    import com.pulumi.sysdig.inputs.SecurePosturePolicyTargetArgs;
    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) {
            var example = new SecurePosturePolicy("example", SecurePosturePolicyArgs.builder()
                .description("demo create policy from terraform")
                .groups(            
                    SecurePosturePolicyGroupArgs.builder()
                        .description("Security description")
                        .name("Security")
                        .requirements(SecurePosturePolicyGroupRequirementArgs.builder()
                            .control(                        
                                %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
                                %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                            .description("Enforce description")
                            .name("Security Enforce access control")
                            .build())
                        .build(),
                    SecurePosturePolicyGroupArgs.builder()
                        .description("Data protection description")
                        .name("Data protection")
                        .requirements(SecurePosturePolicyGroupRequirementArgs.builder()
                            .control(                        
                                %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
                                %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                            .description("Enforce description")
                            .name("Enforce access control")
                            .build())
                        .build())
                .maxKubeVersion(2)
                .minKubeVersion(1.5)
                .platform("Vanilla")
                .targets(SecurePosturePolicyTargetArgs.builder()
                    .maxVersion(2)
                    .minVersion(1.5)
                    .platform("Vanilla")
                    .build())
                .type("kubernetes")
                .build());
    
        }
    }
    
    resources:
      example:
        type: sysdig:SecurePosturePolicy
        properties:
          description: demo create policy from terraform
          groups:
            - description: Security description
              name: Security
              requirements:
                - control:
                    - enabled: false
                      name: Create Pods
                    - name: Kubelet - Disabled AlwaysAllowed Authorization
                  description: Enforce description
                  name: Security Enforce access control
            - description: Data protection description
              name: Data protection
              requirements:
                - control:
                    - name: Create Pods
                    - name: Kubelet - Disabled AlwaysAllowed Authorization
                  description: Enforce description
                  name: Enforce access control
          maxKubeVersion: 2
          # Currently supported, but will be deprecated in the future
          minKubeVersion: 1.5
          platform: Vanilla
          # Currently supported, but will be deprecated in the future
          #     // New targets field to specify version constraints
          targets:
            - maxVersion: 2
              minVersion: 1.5
              platform: Vanilla
          type: kubernetes
    

    Create SecurePosturePolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SecurePosturePolicy(name: string, args: SecurePosturePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def SecurePosturePolicy(resource_name: str,
                            args: SecurePosturePolicyArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurePosturePolicy(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            description: Optional[str] = None,
                            groups: Optional[Sequence[SecurePosturePolicyGroupArgs]] = None,
                            is_active: Optional[bool] = None,
                            link: Optional[str] = None,
                            max_kube_version: Optional[float] = None,
                            min_kube_version: Optional[float] = None,
                            name: Optional[str] = None,
                            platform: Optional[str] = None,
                            targets: Optional[Sequence[SecurePosturePolicyTargetArgs]] = None,
                            timeouts: Optional[SecurePosturePolicyTimeoutsArgs] = None,
                            type: Optional[str] = None)
    func NewSecurePosturePolicy(ctx *Context, name string, args SecurePosturePolicyArgs, opts ...ResourceOption) (*SecurePosturePolicy, error)
    public SecurePosturePolicy(string name, SecurePosturePolicyArgs args, CustomResourceOptions? opts = null)
    public SecurePosturePolicy(String name, SecurePosturePolicyArgs args)
    public SecurePosturePolicy(String name, SecurePosturePolicyArgs args, CustomResourceOptions options)
    
    type: sysdig:SecurePosturePolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SecurePosturePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecurePosturePolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecurePosturePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurePosturePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurePosturePolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var securePosturePolicyResource = new Sysdig.SecurePosturePolicy("securePosturePolicyResource", new()
    {
        Description = "string",
        Groups = new[]
        {
            new Sysdig.Inputs.SecurePosturePolicyGroupArgs
            {
                Description = "string",
                Name = "string",
                Groups = new[]
                {
                    new Sysdig.Inputs.SecurePosturePolicyGroupGroupArgs
                    {
                        Description = "string",
                        Name = "string",
                        Groups = new[]
                        {
                            new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupArgs
                            {
                                Description = "string",
                                Name = "string",
                                Groups = new[]
                                {
                                    new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupGroupArgs
                                    {
                                        Description = "string",
                                        Name = "string",
                                        Groups = new[]
                                        {
                                            new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupGroupGroupArgs
                                            {
                                                Description = "string",
                                                Name = "string",
                                                Id = "string",
                                                Requirements = new[]
                                                {
                                                    new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupGroupGroupRequirementArgs
                                                    {
                                                        Description = "string",
                                                        Name = "string",
                                                        Controls = new[]
                                                        {
                                                            new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControlArgs
                                                            {
                                                                Name = "string",
                                                                Enabled = false,
                                                            },
                                                        },
                                                        Id = "string",
                                                    },
                                                },
                                            },
                                        },
                                        Id = "string",
                                        Requirements = new[]
                                        {
                                            new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupGroupRequirementArgs
                                            {
                                                Description = "string",
                                                Name = "string",
                                                Controls = new[]
                                                {
                                                    new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupGroupRequirementControlArgs
                                                    {
                                                        Name = "string",
                                                        Enabled = false,
                                                    },
                                                },
                                                Id = "string",
                                            },
                                        },
                                    },
                                },
                                Id = "string",
                                Requirements = new[]
                                {
                                    new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupRequirementArgs
                                    {
                                        Description = "string",
                                        Name = "string",
                                        Controls = new[]
                                        {
                                            new Sysdig.Inputs.SecurePosturePolicyGroupGroupGroupRequirementControlArgs
                                            {
                                                Name = "string",
                                                Enabled = false,
                                            },
                                        },
                                        Id = "string",
                                    },
                                },
                            },
                        },
                        Id = "string",
                        Requirements = new[]
                        {
                            new Sysdig.Inputs.SecurePosturePolicyGroupGroupRequirementArgs
                            {
                                Description = "string",
                                Name = "string",
                                Controls = new[]
                                {
                                    new Sysdig.Inputs.SecurePosturePolicyGroupGroupRequirementControlArgs
                                    {
                                        Name = "string",
                                        Enabled = false,
                                    },
                                },
                                Id = "string",
                            },
                        },
                    },
                },
                Id = "string",
                Requirements = new[]
                {
                    new Sysdig.Inputs.SecurePosturePolicyGroupRequirementArgs
                    {
                        Description = "string",
                        Name = "string",
                        Controls = new[]
                        {
                            new Sysdig.Inputs.SecurePosturePolicyGroupRequirementControlArgs
                            {
                                Name = "string",
                                Enabled = false,
                            },
                        },
                        Id = "string",
                    },
                },
            },
        },
        IsActive = false,
        Link = "string",
        MaxKubeVersion = 0,
        MinKubeVersion = 0,
        Name = "string",
        Platform = "string",
        Targets = new[]
        {
            new Sysdig.Inputs.SecurePosturePolicyTargetArgs
            {
                MaxVersion = 0,
                MinVersion = 0,
                Platform = "string",
            },
        },
        Timeouts = new Sysdig.Inputs.SecurePosturePolicyTimeoutsArgs
        {
            Create = "string",
        },
        Type = "string",
    });
    
    example, err := sysdig.NewSecurePosturePolicy(ctx, "securePosturePolicyResource", &sysdig.SecurePosturePolicyArgs{
    Description: pulumi.String("string"),
    Groups: .SecurePosturePolicyGroupArray{
    &.SecurePosturePolicyGroupArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Groups: .SecurePosturePolicyGroupGroupArray{
    &.SecurePosturePolicyGroupGroupArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Groups: .SecurePosturePolicyGroupGroupGroupArray{
    &.SecurePosturePolicyGroupGroupGroupArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Groups: .SecurePosturePolicyGroupGroupGroupGroupArray{
    &.SecurePosturePolicyGroupGroupGroupGroupArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Groups: .SecurePosturePolicyGroupGroupGroupGroupGroupArray{
    &.SecurePosturePolicyGroupGroupGroupGroupGroupArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Id: pulumi.String("string"),
    Requirements: .SecurePosturePolicyGroupGroupGroupGroupGroupRequirementArray{
    &.SecurePosturePolicyGroupGroupGroupGroupGroupRequirementArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Controls: .SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControlArray{
    &.SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControlArgs{
    Name: pulumi.String("string"),
    Enabled: pulumi.Bool(false),
    },
    },
    Id: pulumi.String("string"),
    },
    },
    },
    },
    Id: pulumi.String("string"),
    Requirements: .SecurePosturePolicyGroupGroupGroupGroupRequirementArray{
    &.SecurePosturePolicyGroupGroupGroupGroupRequirementArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Controls: .SecurePosturePolicyGroupGroupGroupGroupRequirementControlArray{
    &.SecurePosturePolicyGroupGroupGroupGroupRequirementControlArgs{
    Name: pulumi.String("string"),
    Enabled: pulumi.Bool(false),
    },
    },
    Id: pulumi.String("string"),
    },
    },
    },
    },
    Id: pulumi.String("string"),
    Requirements: .SecurePosturePolicyGroupGroupGroupRequirementArray{
    &.SecurePosturePolicyGroupGroupGroupRequirementArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Controls: .SecurePosturePolicyGroupGroupGroupRequirementControlArray{
    &.SecurePosturePolicyGroupGroupGroupRequirementControlArgs{
    Name: pulumi.String("string"),
    Enabled: pulumi.Bool(false),
    },
    },
    Id: pulumi.String("string"),
    },
    },
    },
    },
    Id: pulumi.String("string"),
    Requirements: .SecurePosturePolicyGroupGroupRequirementArray{
    &.SecurePosturePolicyGroupGroupRequirementArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Controls: .SecurePosturePolicyGroupGroupRequirementControlArray{
    &.SecurePosturePolicyGroupGroupRequirementControlArgs{
    Name: pulumi.String("string"),
    Enabled: pulumi.Bool(false),
    },
    },
    Id: pulumi.String("string"),
    },
    },
    },
    },
    Id: pulumi.String("string"),
    Requirements: .SecurePosturePolicyGroupRequirementArray{
    &.SecurePosturePolicyGroupRequirementArgs{
    Description: pulumi.String("string"),
    Name: pulumi.String("string"),
    Controls: .SecurePosturePolicyGroupRequirementControlArray{
    &.SecurePosturePolicyGroupRequirementControlArgs{
    Name: pulumi.String("string"),
    Enabled: pulumi.Bool(false),
    },
    },
    Id: pulumi.String("string"),
    },
    },
    },
    },
    IsActive: pulumi.Bool(false),
    Link: pulumi.String("string"),
    MaxKubeVersion: pulumi.Float64(0),
    MinKubeVersion: pulumi.Float64(0),
    Name: pulumi.String("string"),
    Platform: pulumi.String("string"),
    Targets: .SecurePosturePolicyTargetArray{
    &.SecurePosturePolicyTargetArgs{
    MaxVersion: pulumi.Float64(0),
    MinVersion: pulumi.Float64(0),
    Platform: pulumi.String("string"),
    },
    },
    Timeouts: &.SecurePosturePolicyTimeoutsArgs{
    Create: pulumi.String("string"),
    },
    Type: pulumi.String("string"),
    })
    
    var securePosturePolicyResource = new SecurePosturePolicy("securePosturePolicyResource", SecurePosturePolicyArgs.builder()
        .description("string")
        .groups(SecurePosturePolicyGroupArgs.builder()
            .description("string")
            .name("string")
            .groups(SecurePosturePolicyGroupGroupArgs.builder()
                .description("string")
                .name("string")
                .groups(SecurePosturePolicyGroupGroupGroupArgs.builder()
                    .description("string")
                    .name("string")
                    .groups(SecurePosturePolicyGroupGroupGroupGroupArgs.builder()
                        .description("string")
                        .name("string")
                        .groups(SecurePosturePolicyGroupGroupGroupGroupGroupArgs.builder()
                            .description("string")
                            .name("string")
                            .id("string")
                            .requirements(SecurePosturePolicyGroupGroupGroupGroupGroupRequirementArgs.builder()
                                .description("string")
                                .name("string")
                                .controls(SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControlArgs.builder()
                                    .name("string")
                                    .enabled(false)
                                    .build())
                                .id("string")
                                .build())
                            .build())
                        .id("string")
                        .requirements(SecurePosturePolicyGroupGroupGroupGroupRequirementArgs.builder()
                            .description("string")
                            .name("string")
                            .controls(SecurePosturePolicyGroupGroupGroupGroupRequirementControlArgs.builder()
                                .name("string")
                                .enabled(false)
                                .build())
                            .id("string")
                            .build())
                        .build())
                    .id("string")
                    .requirements(SecurePosturePolicyGroupGroupGroupRequirementArgs.builder()
                        .description("string")
                        .name("string")
                        .controls(SecurePosturePolicyGroupGroupGroupRequirementControlArgs.builder()
                            .name("string")
                            .enabled(false)
                            .build())
                        .id("string")
                        .build())
                    .build())
                .id("string")
                .requirements(SecurePosturePolicyGroupGroupRequirementArgs.builder()
                    .description("string")
                    .name("string")
                    .controls(SecurePosturePolicyGroupGroupRequirementControlArgs.builder()
                        .name("string")
                        .enabled(false)
                        .build())
                    .id("string")
                    .build())
                .build())
            .id("string")
            .requirements(SecurePosturePolicyGroupRequirementArgs.builder()
                .description("string")
                .name("string")
                .controls(SecurePosturePolicyGroupRequirementControlArgs.builder()
                    .name("string")
                    .enabled(false)
                    .build())
                .id("string")
                .build())
            .build())
        .isActive(false)
        .link("string")
        .maxKubeVersion(0)
        .minKubeVersion(0)
        .name("string")
        .platform("string")
        .targets(SecurePosturePolicyTargetArgs.builder()
            .maxVersion(0)
            .minVersion(0)
            .platform("string")
            .build())
        .timeouts(SecurePosturePolicyTimeoutsArgs.builder()
            .create("string")
            .build())
        .type("string")
        .build());
    
    secure_posture_policy_resource = sysdig.SecurePosturePolicy("securePosturePolicyResource",
        description="string",
        groups=[{
            "description": "string",
            "name": "string",
            "groups": [{
                "description": "string",
                "name": "string",
                "groups": [{
                    "description": "string",
                    "name": "string",
                    "groups": [{
                        "description": "string",
                        "name": "string",
                        "groups": [{
                            "description": "string",
                            "name": "string",
                            "id": "string",
                            "requirements": [{
                                "description": "string",
                                "name": "string",
                                "controls": [{
                                    "name": "string",
                                    "enabled": False,
                                }],
                                "id": "string",
                            }],
                        }],
                        "id": "string",
                        "requirements": [{
                            "description": "string",
                            "name": "string",
                            "controls": [{
                                "name": "string",
                                "enabled": False,
                            }],
                            "id": "string",
                        }],
                    }],
                    "id": "string",
                    "requirements": [{
                        "description": "string",
                        "name": "string",
                        "controls": [{
                            "name": "string",
                            "enabled": False,
                        }],
                        "id": "string",
                    }],
                }],
                "id": "string",
                "requirements": [{
                    "description": "string",
                    "name": "string",
                    "controls": [{
                        "name": "string",
                        "enabled": False,
                    }],
                    "id": "string",
                }],
            }],
            "id": "string",
            "requirements": [{
                "description": "string",
                "name": "string",
                "controls": [{
                    "name": "string",
                    "enabled": False,
                }],
                "id": "string",
            }],
        }],
        is_active=False,
        link="string",
        max_kube_version=0,
        min_kube_version=0,
        name="string",
        platform="string",
        targets=[{
            "max_version": 0,
            "min_version": 0,
            "platform": "string",
        }],
        timeouts={
            "create": "string",
        },
        type="string")
    
    const securePosturePolicyResource = new sysdig.SecurePosturePolicy("securePosturePolicyResource", {
        description: "string",
        groups: [{
            description: "string",
            name: "string",
            groups: [{
                description: "string",
                name: "string",
                groups: [{
                    description: "string",
                    name: "string",
                    groups: [{
                        description: "string",
                        name: "string",
                        groups: [{
                            description: "string",
                            name: "string",
                            id: "string",
                            requirements: [{
                                description: "string",
                                name: "string",
                                controls: [{
                                    name: "string",
                                    enabled: false,
                                }],
                                id: "string",
                            }],
                        }],
                        id: "string",
                        requirements: [{
                            description: "string",
                            name: "string",
                            controls: [{
                                name: "string",
                                enabled: false,
                            }],
                            id: "string",
                        }],
                    }],
                    id: "string",
                    requirements: [{
                        description: "string",
                        name: "string",
                        controls: [{
                            name: "string",
                            enabled: false,
                        }],
                        id: "string",
                    }],
                }],
                id: "string",
                requirements: [{
                    description: "string",
                    name: "string",
                    controls: [{
                        name: "string",
                        enabled: false,
                    }],
                    id: "string",
                }],
            }],
            id: "string",
            requirements: [{
                description: "string",
                name: "string",
                controls: [{
                    name: "string",
                    enabled: false,
                }],
                id: "string",
            }],
        }],
        isActive: false,
        link: "string",
        maxKubeVersion: 0,
        minKubeVersion: 0,
        name: "string",
        platform: "string",
        targets: [{
            maxVersion: 0,
            minVersion: 0,
            platform: "string",
        }],
        timeouts: {
            create: "string",
        },
        type: "string",
    });
    
    type: sysdig:SecurePosturePolicy
    properties:
        description: string
        groups:
            - description: string
              groups:
                - description: string
                  groups:
                    - description: string
                      groups:
                        - description: string
                          groups:
                            - description: string
                              id: string
                              name: string
                              requirements:
                                - controls:
                                    - enabled: false
                                      name: string
                                  description: string
                                  id: string
                                  name: string
                          id: string
                          name: string
                          requirements:
                            - controls:
                                - enabled: false
                                  name: string
                              description: string
                              id: string
                              name: string
                      id: string
                      name: string
                      requirements:
                        - controls:
                            - enabled: false
                              name: string
                          description: string
                          id: string
                          name: string
                  id: string
                  name: string
                  requirements:
                    - controls:
                        - enabled: false
                          name: string
                      description: string
                      id: string
                      name: string
              id: string
              name: string
              requirements:
                - controls:
                    - enabled: false
                      name: string
                  description: string
                  id: string
                  name: string
        isActive: false
        link: string
        maxKubeVersion: 0
        minKubeVersion: 0
        name: string
        platform: string
        targets:
            - maxVersion: 0
              minVersion: 0
              platform: string
        timeouts:
            create: string
        type: string
    

    SecurePosturePolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SecurePosturePolicy resource accepts the following input properties:

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Groups List<SecurePosturePolicyGroup>
    Group block defines list of groups attached to Policy
    IsActive bool
    Link string
    Policy link
    MaxKubeVersion double
    MinKubeVersion double
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Platform string
    Targets List<SecurePosturePolicyTarget>

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    Timeouts SecurePosturePolicyTimeouts
    Type string
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Groups []SecurePosturePolicyGroupArgs
    Group block defines list of groups attached to Policy
    IsActive bool
    Link string
    Policy link
    MaxKubeVersion float64
    MinKubeVersion float64
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Platform string
    Targets []SecurePosturePolicyTargetArgs

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    Timeouts SecurePosturePolicyTimeoutsArgs
    Type string
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    groups List<SecurePosturePolicyGroup>
    Group block defines list of groups attached to Policy
    isActive Boolean
    link String
    Policy link
    maxKubeVersion Double
    minKubeVersion Double
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    platform String
    targets List<SecurePosturePolicyTarget>

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    timeouts SecurePosturePolicyTimeouts
    type String
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    groups SecurePosturePolicyGroup[]
    Group block defines list of groups attached to Policy
    isActive boolean
    link string
    Policy link
    maxKubeVersion number
    minKubeVersion number
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    platform string
    targets SecurePosturePolicyTarget[]

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    timeouts SecurePosturePolicyTimeouts
    type string
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    groups Sequence[SecurePosturePolicyGroupArgs]
    Group block defines list of groups attached to Policy
    is_active bool
    link str
    Policy link
    max_kube_version float
    min_kube_version float
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    platform str
    targets Sequence[SecurePosturePolicyTargetArgs]

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    timeouts SecurePosturePolicyTimeoutsArgs
    type str
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    groups List<Property Map>
    Group block defines list of groups attached to Policy
    isActive Boolean
    link String
    Policy link
    maxKubeVersion Number
    minKubeVersion Number
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    platform String
    targets List<Property Map>

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    timeouts Property Map
    type String
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecurePosturePolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SecurePosturePolicy Resource

    Get an existing SecurePosturePolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SecurePosturePolicyState, opts?: CustomResourceOptions): SecurePosturePolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            groups: Optional[Sequence[SecurePosturePolicyGroupArgs]] = None,
            is_active: Optional[bool] = None,
            link: Optional[str] = None,
            max_kube_version: Optional[float] = None,
            min_kube_version: Optional[float] = None,
            name: Optional[str] = None,
            platform: Optional[str] = None,
            targets: Optional[Sequence[SecurePosturePolicyTargetArgs]] = None,
            timeouts: Optional[SecurePosturePolicyTimeoutsArgs] = None,
            type: Optional[str] = None) -> SecurePosturePolicy
    func GetSecurePosturePolicy(ctx *Context, name string, id IDInput, state *SecurePosturePolicyState, opts ...ResourceOption) (*SecurePosturePolicy, error)
    public static SecurePosturePolicy Get(string name, Input<string> id, SecurePosturePolicyState? state, CustomResourceOptions? opts = null)
    public static SecurePosturePolicy get(String name, Output<String> id, SecurePosturePolicyState state, CustomResourceOptions options)
    resources:  _:    type: sysdig:SecurePosturePolicy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Groups List<SecurePosturePolicyGroup>
    Group block defines list of groups attached to Policy
    IsActive bool
    Link string
    Policy link
    MaxKubeVersion double
    MinKubeVersion double
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Platform string
    Targets List<SecurePosturePolicyTarget>

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    Timeouts SecurePosturePolicyTimeouts
    Type string
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Groups []SecurePosturePolicyGroupArgs
    Group block defines list of groups attached to Policy
    IsActive bool
    Link string
    Policy link
    MaxKubeVersion float64
    MinKubeVersion float64
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Platform string
    Targets []SecurePosturePolicyTargetArgs

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    Timeouts SecurePosturePolicyTimeoutsArgs
    Type string
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    groups List<SecurePosturePolicyGroup>
    Group block defines list of groups attached to Policy
    isActive Boolean
    link String
    Policy link
    maxKubeVersion Double
    minKubeVersion Double
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    platform String
    targets List<SecurePosturePolicyTarget>

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    timeouts SecurePosturePolicyTimeouts
    type String
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    groups SecurePosturePolicyGroup[]
    Group block defines list of groups attached to Policy
    isActive boolean
    link string
    Policy link
    maxKubeVersion number
    minKubeVersion number
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    platform string
    targets SecurePosturePolicyTarget[]

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    timeouts SecurePosturePolicyTimeouts
    type string
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    groups Sequence[SecurePosturePolicyGroupArgs]
    Group block defines list of groups attached to Policy
    is_active bool
    link str
    Policy link
    max_kube_version float
    min_kube_version float
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    platform str
    targets Sequence[SecurePosturePolicyTargetArgs]

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    timeouts SecurePosturePolicyTimeoutsArgs
    type str
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    groups List<Property Map>
    Group block defines list of groups attached to Policy
    isActive Boolean
    link String
    Policy link
    maxKubeVersion Number
    minKubeVersion Number
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    platform String
    targets List<Property Map>

    Specifies target platforms and version ranges. This field should replace Platform, MinKubeVersion, and MaxKubeVersion for more flexible and detailed policy descriptions.

    Note: The fields Platform, MinKubeVersion, and MaxKubeVersion will be deprecated in the future. We recommend using the targets field now to describe policy platform and version constraints

    timeouts Property Map
    type String
    Policy type:

    • AWS - aws
    • GCP - gcp
    • Azure - azure
    • Kubernetes - kubernetes
    • Linux - linux
    • Docker - docker
    • OCI - oci

    Supporting Types

    SecurePosturePolicyGroup, SecurePosturePolicyGroupArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Groups List<SecurePosturePolicyGroupGroup>
    Group block defines list of groups attached to Policy
    Id string
    Requirements List<SecurePosturePolicyGroupRequirement>
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Groups []SecurePosturePolicyGroupGroup
    Group block defines list of groups attached to Policy
    Id string
    Requirements []SecurePosturePolicyGroupRequirement
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups List<SecurePosturePolicyGroupGroup>
    Group block defines list of groups attached to Policy
    id String
    requirements List<SecurePosturePolicyGroupRequirement>
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups SecurePosturePolicyGroupGroup[]
    Group block defines list of groups attached to Policy
    id string
    requirements SecurePosturePolicyGroupRequirement[]
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups Sequence[SecurePosturePolicyGroupGroup]
    Group block defines list of groups attached to Policy
    id str
    requirements Sequence[SecurePosturePolicyGroupRequirement]
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups List<Property Map>
    Group block defines list of groups attached to Policy
    id String
    requirements List<Property Map>

    SecurePosturePolicyGroupGroup, SecurePosturePolicyGroupGroupArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Groups List<SecurePosturePolicyGroupGroupGroup>
    Group block defines list of groups attached to Policy
    Id string
    Requirements List<SecurePosturePolicyGroupGroupRequirement>
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Groups []SecurePosturePolicyGroupGroupGroup
    Group block defines list of groups attached to Policy
    Id string
    Requirements []SecurePosturePolicyGroupGroupRequirement
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups List<SecurePosturePolicyGroupGroupGroup>
    Group block defines list of groups attached to Policy
    id String
    requirements List<SecurePosturePolicyGroupGroupRequirement>
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups SecurePosturePolicyGroupGroupGroup[]
    Group block defines list of groups attached to Policy
    id string
    requirements SecurePosturePolicyGroupGroupRequirement[]
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups Sequence[SecurePosturePolicyGroupGroupGroup]
    Group block defines list of groups attached to Policy
    id str
    requirements Sequence[SecurePosturePolicyGroupGroupRequirement]
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups List<Property Map>
    Group block defines list of groups attached to Policy
    id String
    requirements List<Property Map>

    SecurePosturePolicyGroupGroupGroup, SecurePosturePolicyGroupGroupGroupArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Groups List<SecurePosturePolicyGroupGroupGroupGroup>
    Group block defines list of groups attached to Policy
    Id string
    Requirements List<SecurePosturePolicyGroupGroupGroupRequirement>
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Groups []SecurePosturePolicyGroupGroupGroupGroup
    Group block defines list of groups attached to Policy
    Id string
    Requirements []SecurePosturePolicyGroupGroupGroupRequirement
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups List<SecurePosturePolicyGroupGroupGroupGroup>
    Group block defines list of groups attached to Policy
    id String
    requirements List<SecurePosturePolicyGroupGroupGroupRequirement>
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups SecurePosturePolicyGroupGroupGroupGroup[]
    Group block defines list of groups attached to Policy
    id string
    requirements SecurePosturePolicyGroupGroupGroupRequirement[]
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups Sequence[SecurePosturePolicyGroupGroupGroupGroup]
    Group block defines list of groups attached to Policy
    id str
    requirements Sequence[SecurePosturePolicyGroupGroupGroupRequirement]
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups List<Property Map>
    Group block defines list of groups attached to Policy
    id String
    requirements List<Property Map>

    SecurePosturePolicyGroupGroupGroupGroup, SecurePosturePolicyGroupGroupGroupGroupArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Groups List<SecurePosturePolicyGroupGroupGroupGroupGroup>
    Group block defines list of groups attached to Policy
    Id string
    Requirements List<SecurePosturePolicyGroupGroupGroupGroupRequirement>
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Groups []SecurePosturePolicyGroupGroupGroupGroupGroup
    Group block defines list of groups attached to Policy
    Id string
    Requirements []SecurePosturePolicyGroupGroupGroupGroupRequirement
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups List<SecurePosturePolicyGroupGroupGroupGroupGroup>
    Group block defines list of groups attached to Policy
    id String
    requirements List<SecurePosturePolicyGroupGroupGroupGroupRequirement>
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups SecurePosturePolicyGroupGroupGroupGroupGroup[]
    Group block defines list of groups attached to Policy
    id string
    requirements SecurePosturePolicyGroupGroupGroupGroupRequirement[]
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups Sequence[SecurePosturePolicyGroupGroupGroupGroupGroup]
    Group block defines list of groups attached to Policy
    id str
    requirements Sequence[SecurePosturePolicyGroupGroupGroupGroupRequirement]
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    groups List<Property Map>
    Group block defines list of groups attached to Policy
    id String
    requirements List<Property Map>

    SecurePosturePolicyGroupGroupGroupGroupGroup, SecurePosturePolicyGroupGroupGroupGroupGroupArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Id string
    Requirements List<SecurePosturePolicyGroupGroupGroupGroupGroupRequirement>
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Id string
    Requirements []SecurePosturePolicyGroupGroupGroupGroupGroupRequirement
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    id String
    requirements List<SecurePosturePolicyGroupGroupGroupGroupGroupRequirement>
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    id string
    requirements SecurePosturePolicyGroupGroupGroupGroupGroupRequirement[]
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    id str
    requirements Sequence[SecurePosturePolicyGroupGroupGroupGroupGroupRequirement]
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    id String
    requirements List<Property Map>

    SecurePosturePolicyGroupGroupGroupGroupGroupRequirement, SecurePosturePolicyGroupGroupGroupGroupGroupRequirementArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls List<SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControl>
    Id string
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls []SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControl
    Id string
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControl>
    id String
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControl[]
    id string
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls Sequence[SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControl]
    id str
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<Property Map>
    id String

    SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControl, SecurePosturePolicyGroupGroupGroupGroupGroupRequirementControlArgs

    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true

    SecurePosturePolicyGroupGroupGroupGroupRequirement, SecurePosturePolicyGroupGroupGroupGroupRequirementArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls List<SecurePosturePolicyGroupGroupGroupGroupRequirementControl>
    Id string
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls []SecurePosturePolicyGroupGroupGroupGroupRequirementControl
    Id string
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<SecurePosturePolicyGroupGroupGroupGroupRequirementControl>
    id String
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls SecurePosturePolicyGroupGroupGroupGroupRequirementControl[]
    id string
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls Sequence[SecurePosturePolicyGroupGroupGroupGroupRequirementControl]
    id str
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<Property Map>
    id String

    SecurePosturePolicyGroupGroupGroupGroupRequirementControl, SecurePosturePolicyGroupGroupGroupGroupRequirementControlArgs

    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true

    SecurePosturePolicyGroupGroupGroupRequirement, SecurePosturePolicyGroupGroupGroupRequirementArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls List<SecurePosturePolicyGroupGroupGroupRequirementControl>
    Id string
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls []SecurePosturePolicyGroupGroupGroupRequirementControl
    Id string
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<SecurePosturePolicyGroupGroupGroupRequirementControl>
    id String
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls SecurePosturePolicyGroupGroupGroupRequirementControl[]
    id string
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls Sequence[SecurePosturePolicyGroupGroupGroupRequirementControl]
    id str
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<Property Map>
    id String

    SecurePosturePolicyGroupGroupGroupRequirementControl, SecurePosturePolicyGroupGroupGroupRequirementControlArgs

    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true

    SecurePosturePolicyGroupGroupRequirement, SecurePosturePolicyGroupGroupRequirementArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls List<SecurePosturePolicyGroupGroupRequirementControl>
    Id string
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls []SecurePosturePolicyGroupGroupRequirementControl
    Id string
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<SecurePosturePolicyGroupGroupRequirementControl>
    id String
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls SecurePosturePolicyGroupGroupRequirementControl[]
    id string
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls Sequence[SecurePosturePolicyGroupGroupRequirementControl]
    id str
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<Property Map>
    id String

    SecurePosturePolicyGroupGroupRequirementControl, SecurePosturePolicyGroupGroupRequirementControlArgs

    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true

    SecurePosturePolicyGroupRequirement, SecurePosturePolicyGroupRequirementArgs

    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls List<SecurePosturePolicyGroupRequirementControl>
    Id string
    Description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Controls []SecurePosturePolicyGroupRequirementControl
    Id string
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<SecurePosturePolicyGroupRequirementControl>
    id String
    description string
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls SecurePosturePolicyGroupRequirementControl[]
    id string
    description str
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls Sequence[SecurePosturePolicyGroupRequirementControl]
    id str
    description String
    The description of the Posture Poliy, eg. CIS Docker Benchmark
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    controls List<Property Map>
    id String

    SecurePosturePolicyGroupRequirementControl, SecurePosturePolicyGroupRequirementControlArgs

    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    Name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    Enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name string
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name str
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled bool
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true
    name String
    The name of the Posture Policy, eg. CIS Docker Benchmark
    enabled Boolean
    The 'Control is enabled' flag indicates whether the control will affect the policy evaluation or not. By default, it is set to true

    SecurePosturePolicyTarget, SecurePosturePolicyTargetArgs

    MaxVersion double
    MinVersion double
    Platform string
    MaxVersion float64
    MinVersion float64
    Platform string
    maxVersion Double
    minVersion Double
    platform String
    maxVersion number
    minVersion number
    platform string
    maxVersion Number
    minVersion Number
    platform String

    SecurePosturePolicyTimeouts, SecurePosturePolicyTimeoutsArgs

    Create string
    Create string
    create String
    create string
    create str
    create String

    Import

    Posture policy can be imported using the ID, e.g.

    $ pulumi import sysdig:index/securePosturePolicy:SecurePosturePolicy example p 12345
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    sysdig sysdiglabs/terraform-provider-sysdig
    License
    Notes
    This Pulumi package is based on the sysdig Terraform Provider.
    sysdig logo
    sysdig 1.53.0 published on Thursday, Apr 17, 2025 by sysdiglabs