1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. chaos
  6. SecurityGovernanceConditionV3
Viewing docs for Harness v0.14.3
published on Thursday, Jun 18, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.14.3
published on Thursday, Jun 18, 2026 by Pulumi

    Resource for managing a Harness Chaos Security Governance Condition (V3 / REST API).

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    // Example of a Kubernetes Security Governance Condition (V3)
    const k8sCondition = new harness.chaos.SecurityGovernanceConditionV3("k8s_condition", {
        orgId: orgId,
        projectId: projectId,
        name: "k8s-security-condition",
        description: "Security governance condition for Kubernetes workloads",
        infraType: "KubernetesV2",
        faultSpec: {
            operator: "NOT_EQUAL_TO",
            faults: [
                {
                    faultType: "FAULT",
                    name: "pod-delete",
                },
                {
                    faultType: "FAULT",
                    name: "pod-dns",
                },
            ],
        },
        k8sSpec: {
            infraSpec: {
                operator: "EQUAL_TO",
                infraIds: [k8sInfraId],
            },
            applicationSpec: {
                operator: "EQUAL_TO",
                workloads: [{
                    namespace: "default",
                    kind: "deployment",
                    label: "app=nginx",
                    services: ["nginx-service"],
                    applicationMapId: "nginx-app",
                }],
            },
            chaosServiceAccountSpec: {
                operator: "EQUAL_TO",
                serviceAccounts: [
                    "default",
                    "chaos-service-account",
                ],
            },
        },
        tags: [
            "env:prod",
            "team:security",
            "platform:k8s",
        ],
    });
    // Example of a Linux Security Governance Condition (V3)
    const linuxCondition = new harness.chaos.SecurityGovernanceConditionV3("linux_condition", {
        orgId: orgId,
        projectId: projectId,
        name: "linux-security-condition",
        description: "Security governance condition for Linux hosts",
        infraType: "Linux",
        faultSpec: {
            operator: "NOT_EQUAL_TO",
            faults: [
                {
                    faultType: "FAULT",
                    name: "process-kill",
                },
                {
                    faultType: "FAULT",
                    name: "memory-hog",
                },
            ],
        },
        machineSpec: {
            infraSpec: {
                operator: "EQUAL_TO",
                infraIds: [linuxInfraId],
            },
        },
        tags: [
            "env:prod",
            "team:security",
            "platform:linux",
        ],
    });
    export const k8sConditionV3Id = k8sCondition.id;
    export const linuxConditionV3Id = linuxCondition.id;
    
    import pulumi
    import pulumi_harness as harness
    
    # Example of a Kubernetes Security Governance Condition (V3)
    k8s_condition = harness.chaos.SecurityGovernanceConditionV3("k8s_condition",
        org_id=org_id,
        project_id=project_id,
        name="k8s-security-condition",
        description="Security governance condition for Kubernetes workloads",
        infra_type="KubernetesV2",
        fault_spec={
            "operator": "NOT_EQUAL_TO",
            "faults": [
                {
                    "fault_type": "FAULT",
                    "name": "pod-delete",
                },
                {
                    "fault_type": "FAULT",
                    "name": "pod-dns",
                },
            ],
        },
        k8s_spec={
            "infra_spec": {
                "operator": "EQUAL_TO",
                "infra_ids": [k8s_infra_id],
            },
            "application_spec": {
                "operator": "EQUAL_TO",
                "workloads": [{
                    "namespace": "default",
                    "kind": "deployment",
                    "label": "app=nginx",
                    "services": ["nginx-service"],
                    "application_map_id": "nginx-app",
                }],
            },
            "chaos_service_account_spec": {
                "operator": "EQUAL_TO",
                "service_accounts": [
                    "default",
                    "chaos-service-account",
                ],
            },
        },
        tags=[
            "env:prod",
            "team:security",
            "platform:k8s",
        ])
    # Example of a Linux Security Governance Condition (V3)
    linux_condition = harness.chaos.SecurityGovernanceConditionV3("linux_condition",
        org_id=org_id,
        project_id=project_id,
        name="linux-security-condition",
        description="Security governance condition for Linux hosts",
        infra_type="Linux",
        fault_spec={
            "operator": "NOT_EQUAL_TO",
            "faults": [
                {
                    "fault_type": "FAULT",
                    "name": "process-kill",
                },
                {
                    "fault_type": "FAULT",
                    "name": "memory-hog",
                },
            ],
        },
        machine_spec={
            "infra_spec": {
                "operator": "EQUAL_TO",
                "infra_ids": [linux_infra_id],
            },
        },
        tags=[
            "env:prod",
            "team:security",
            "platform:linux",
        ])
    pulumi.export("k8sConditionV3Id", k8s_condition.id)
    pulumi.export("linuxConditionV3Id", linux_condition.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/chaos"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Example of a Kubernetes Security Governance Condition (V3)
    		k8sCondition, err := chaos.NewSecurityGovernanceConditionV3(ctx, "k8s_condition", &chaos.SecurityGovernanceConditionV3Args{
    			OrgId:       pulumi.Any(orgId),
    			ProjectId:   pulumi.Any(projectId),
    			Name:        pulumi.String("k8s-security-condition"),
    			Description: pulumi.String("Security governance condition for Kubernetes workloads"),
    			InfraType:   pulumi.String("KubernetesV2"),
    			FaultSpec: &chaos.SecurityGovernanceConditionV3FaultSpecArgs{
    				Operator: pulumi.String("NOT_EQUAL_TO"),
    				Faults: chaos.SecurityGovernanceConditionV3FaultSpecFaultArray{
    					&chaos.SecurityGovernanceConditionV3FaultSpecFaultArgs{
    						FaultType: pulumi.String("FAULT"),
    						Name:      pulumi.String("pod-delete"),
    					},
    					&chaos.SecurityGovernanceConditionV3FaultSpecFaultArgs{
    						FaultType: pulumi.String("FAULT"),
    						Name:      pulumi.String("pod-dns"),
    					},
    				},
    			},
    			K8sSpec: &chaos.SecurityGovernanceConditionV3K8sSpecArgs{
    				InfraSpec: &chaos.SecurityGovernanceConditionV3K8sSpecInfraSpecArgs{
    					Operator: pulumi.String("EQUAL_TO"),
    					InfraIds: pulumi.StringArray{
    						k8sInfraId,
    					},
    				},
    				ApplicationSpec: &chaos.SecurityGovernanceConditionV3K8sSpecApplicationSpecArgs{
    					Operator: pulumi.String("EQUAL_TO"),
    					Workloads: chaos.SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArray{
    						&chaos.SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArgs{
    							Namespace: pulumi.String("default"),
    							Kind:      pulumi.String("deployment"),
    							Label:     pulumi.String("app=nginx"),
    							Services: pulumi.StringArray{
    								pulumi.String("nginx-service"),
    							},
    							ApplicationMapId: pulumi.String("nginx-app"),
    						},
    					},
    				},
    				ChaosServiceAccountSpec: &chaos.SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpecArgs{
    					Operator: pulumi.String("EQUAL_TO"),
    					ServiceAccounts: pulumi.StringArray{
    						pulumi.String("default"),
    						pulumi.String("chaos-service-account"),
    					},
    				},
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("env:prod"),
    				pulumi.String("team:security"),
    				pulumi.String("platform:k8s"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example of a Linux Security Governance Condition (V3)
    		linuxCondition, err := chaos.NewSecurityGovernanceConditionV3(ctx, "linux_condition", &chaos.SecurityGovernanceConditionV3Args{
    			OrgId:       pulumi.Any(orgId),
    			ProjectId:   pulumi.Any(projectId),
    			Name:        pulumi.String("linux-security-condition"),
    			Description: pulumi.String("Security governance condition for Linux hosts"),
    			InfraType:   pulumi.String("Linux"),
    			FaultSpec: &chaos.SecurityGovernanceConditionV3FaultSpecArgs{
    				Operator: pulumi.String("NOT_EQUAL_TO"),
    				Faults: chaos.SecurityGovernanceConditionV3FaultSpecFaultArray{
    					&chaos.SecurityGovernanceConditionV3FaultSpecFaultArgs{
    						FaultType: pulumi.String("FAULT"),
    						Name:      pulumi.String("process-kill"),
    					},
    					&chaos.SecurityGovernanceConditionV3FaultSpecFaultArgs{
    						FaultType: pulumi.String("FAULT"),
    						Name:      pulumi.String("memory-hog"),
    					},
    				},
    			},
    			MachineSpec: &chaos.SecurityGovernanceConditionV3MachineSpecArgs{
    				InfraSpec: &chaos.SecurityGovernanceConditionV3MachineSpecInfraSpecArgs{
    					Operator: pulumi.String("EQUAL_TO"),
    					InfraIds: pulumi.StringArray{
    						linuxInfraId,
    					},
    				},
    			},
    			Tags: pulumi.StringArray{
    				pulumi.String("env:prod"),
    				pulumi.String("team:security"),
    				pulumi.String("platform:linux"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("k8sConditionV3Id", k8sCondition.ID())
    		ctx.Export("linuxConditionV3Id", linuxCondition.ID())
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        // Example of a Kubernetes Security Governance Condition (V3)
        var k8sCondition = new Harness.Chaos.SecurityGovernanceConditionV3("k8s_condition", new()
        {
            OrgId = orgId,
            ProjectId = projectId,
            Name = "k8s-security-condition",
            Description = "Security governance condition for Kubernetes workloads",
            InfraType = "KubernetesV2",
            FaultSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3FaultSpecArgs
            {
                Operator = "NOT_EQUAL_TO",
                Faults = new[]
                {
                    new Harness.Chaos.Inputs.SecurityGovernanceConditionV3FaultSpecFaultArgs
                    {
                        FaultType = "FAULT",
                        Name = "pod-delete",
                    },
                    new Harness.Chaos.Inputs.SecurityGovernanceConditionV3FaultSpecFaultArgs
                    {
                        FaultType = "FAULT",
                        Name = "pod-dns",
                    },
                },
            },
            K8sSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecArgs
            {
                InfraSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecInfraSpecArgs
                {
                    Operator = "EQUAL_TO",
                    InfraIds = new[]
                    {
                        k8sInfraId,
                    },
                },
                ApplicationSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecApplicationSpecArgs
                {
                    Operator = "EQUAL_TO",
                    Workloads = new[]
                    {
                        new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArgs
                        {
                            Namespace = "default",
                            Kind = "deployment",
                            Label = "app=nginx",
                            Services = new[]
                            {
                                "nginx-service",
                            },
                            ApplicationMapId = "nginx-app",
                        },
                    },
                },
                ChaosServiceAccountSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpecArgs
                {
                    Operator = "EQUAL_TO",
                    ServiceAccounts = new[]
                    {
                        "default",
                        "chaos-service-account",
                    },
                },
            },
            Tags = new[]
            {
                "env:prod",
                "team:security",
                "platform:k8s",
            },
        });
    
        // Example of a Linux Security Governance Condition (V3)
        var linuxCondition = new Harness.Chaos.SecurityGovernanceConditionV3("linux_condition", new()
        {
            OrgId = orgId,
            ProjectId = projectId,
            Name = "linux-security-condition",
            Description = "Security governance condition for Linux hosts",
            InfraType = "Linux",
            FaultSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3FaultSpecArgs
            {
                Operator = "NOT_EQUAL_TO",
                Faults = new[]
                {
                    new Harness.Chaos.Inputs.SecurityGovernanceConditionV3FaultSpecFaultArgs
                    {
                        FaultType = "FAULT",
                        Name = "process-kill",
                    },
                    new Harness.Chaos.Inputs.SecurityGovernanceConditionV3FaultSpecFaultArgs
                    {
                        FaultType = "FAULT",
                        Name = "memory-hog",
                    },
                },
            },
            MachineSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3MachineSpecArgs
            {
                InfraSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3MachineSpecInfraSpecArgs
                {
                    Operator = "EQUAL_TO",
                    InfraIds = new[]
                    {
                        linuxInfraId,
                    },
                },
            },
            Tags = new[]
            {
                "env:prod",
                "team:security",
                "platform:linux",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["k8sConditionV3Id"] = k8sCondition.Id,
            ["linuxConditionV3Id"] = linuxCondition.Id,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.chaos.SecurityGovernanceConditionV3;
    import com.pulumi.harness.chaos.SecurityGovernanceConditionV3Args;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3FaultSpecArgs;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3FaultSpecFaultArgs;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3K8sSpecArgs;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3K8sSpecInfraSpecArgs;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3K8sSpecApplicationSpecArgs;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArgs;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpecArgs;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3MachineSpecArgs;
    import com.pulumi.harness.chaos.inputs.SecurityGovernanceConditionV3MachineSpecInfraSpecArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            // Example of a Kubernetes Security Governance Condition (V3)
            var k8sCondition = new SecurityGovernanceConditionV3("k8sCondition", SecurityGovernanceConditionV3Args.builder()
                .orgId(orgId)
                .projectId(projectId)
                .name("k8s-security-condition")
                .description("Security governance condition for Kubernetes workloads")
                .infraType("KubernetesV2")
                .faultSpec(SecurityGovernanceConditionV3FaultSpecArgs.builder()
                    .operator("NOT_EQUAL_TO")
                    .faults(                
                        SecurityGovernanceConditionV3FaultSpecFaultArgs.builder()
                            .faultType("FAULT")
                            .name("pod-delete")
                            .build(),
                        SecurityGovernanceConditionV3FaultSpecFaultArgs.builder()
                            .faultType("FAULT")
                            .name("pod-dns")
                            .build())
                    .build())
                .k8sSpec(SecurityGovernanceConditionV3K8sSpecArgs.builder()
                    .infraSpec(SecurityGovernanceConditionV3K8sSpecInfraSpecArgs.builder()
                        .operator("EQUAL_TO")
                        .infraIds(k8sInfraId)
                        .build())
                    .applicationSpec(SecurityGovernanceConditionV3K8sSpecApplicationSpecArgs.builder()
                        .operator("EQUAL_TO")
                        .workloads(SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArgs.builder()
                            .namespace("default")
                            .kind("deployment")
                            .label("app=nginx")
                            .services("nginx-service")
                            .applicationMapId("nginx-app")
                            .build())
                        .build())
                    .chaosServiceAccountSpec(SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpecArgs.builder()
                        .operator("EQUAL_TO")
                        .serviceAccounts(                    
                            "default",
                            "chaos-service-account")
                        .build())
                    .build())
                .tags(            
                    "env:prod",
                    "team:security",
                    "platform:k8s")
                .build());
    
            // Example of a Linux Security Governance Condition (V3)
            var linuxCondition = new SecurityGovernanceConditionV3("linuxCondition", SecurityGovernanceConditionV3Args.builder()
                .orgId(orgId)
                .projectId(projectId)
                .name("linux-security-condition")
                .description("Security governance condition for Linux hosts")
                .infraType("Linux")
                .faultSpec(SecurityGovernanceConditionV3FaultSpecArgs.builder()
                    .operator("NOT_EQUAL_TO")
                    .faults(                
                        SecurityGovernanceConditionV3FaultSpecFaultArgs.builder()
                            .faultType("FAULT")
                            .name("process-kill")
                            .build(),
                        SecurityGovernanceConditionV3FaultSpecFaultArgs.builder()
                            .faultType("FAULT")
                            .name("memory-hog")
                            .build())
                    .build())
                .machineSpec(SecurityGovernanceConditionV3MachineSpecArgs.builder()
                    .infraSpec(SecurityGovernanceConditionV3MachineSpecInfraSpecArgs.builder()
                        .operator("EQUAL_TO")
                        .infraIds(linuxInfraId)
                        .build())
                    .build())
                .tags(            
                    "env:prod",
                    "team:security",
                    "platform:linux")
                .build());
    
            ctx.export("k8sConditionV3Id", k8sCondition.id());
            ctx.export("linuxConditionV3Id", linuxCondition.id());
        }
    }
    
    resources:
      # Example of a Kubernetes Security Governance Condition (V3)
      k8sCondition:
        type: harness:chaos:SecurityGovernanceConditionV3
        name: k8s_condition
        properties:
          orgId: ${orgId}
          projectId: ${projectId}
          name: k8s-security-condition
          description: Security governance condition for Kubernetes workloads
          infraType: KubernetesV2
          faultSpec:
            operator: NOT_EQUAL_TO
            faults:
              - faultType: FAULT
                name: pod-delete
              - faultType: FAULT
                name: pod-dns
          k8sSpec:
            infraSpec:
              operator: EQUAL_TO
              infraIds:
                - ${k8sInfraId}
            applicationSpec:
              operator: EQUAL_TO
              workloads:
                - namespace: default
                  kind: deployment
                  label: app=nginx
                  services:
                    - nginx-service
                  applicationMapId: nginx-app
            chaosServiceAccountSpec:
              operator: EQUAL_TO
              serviceAccounts:
                - default
                - chaos-service-account
          tags:
            - env:prod
            - team:security
            - platform:k8s
      # Example of a Linux Security Governance Condition (V3)
      linuxCondition:
        type: harness:chaos:SecurityGovernanceConditionV3
        name: linux_condition
        properties:
          orgId: ${orgId}
          projectId: ${projectId}
          name: linux-security-condition
          description: Security governance condition for Linux hosts
          infraType: Linux
          faultSpec:
            operator: NOT_EQUAL_TO
            faults:
              - faultType: FAULT
                name: process-kill
              - faultType: FAULT
                name: memory-hog
          machineSpec:
            infraSpec:
              operator: EQUAL_TO
              infraIds:
                - ${linuxInfraId}
          tags:
            - env:prod
            - team:security
            - platform:linux
    outputs:
      # Output the created conditions
      k8sConditionV3Id: ${k8sCondition.id}
      linuxConditionV3Id: ${linuxCondition.id}
    
    pulumi {
      required_providers {
        harness = {
          source = "pulumi/harness"
        }
      }
    }
    
    # Example of a Kubernetes Security Governance Condition (V3)
    resource "harness_chaos_securitygovernanceconditionv3" "k8s_condition" {
      org_id      = orgId
      project_id  = projectId
      name        = "k8s-security-condition"
      description = "Security governance condition for Kubernetes workloads"
      infra_type  = "KubernetesV2"
      fault_spec = {
        operator = "NOT_EQUAL_TO"
        faults = [{
          "faultType" = "FAULT"
          "name"      = "pod-delete"
          }, {
          "faultType" = "FAULT"
          "name"      = "pod-dns"
        }]
      }
      k8s_spec = {
        infra_spec = {
          operator  = "EQUAL_TO"
          infra_ids = [k8sInfraId]
        }
        application_spec = {
          operator = "EQUAL_TO"
          workloads = [{
            "namespace"        = "default"
            "kind"             = "deployment"
            "label"            = "app=nginx"
            "services"         = ["nginx-service"]
            "applicationMapId" = "nginx-app"
          }]
        }
        chaos_service_account_spec = {
          operator         = "EQUAL_TO"
          service_accounts = ["default", "chaos-service-account"]
        }
      }
      tags = ["env:prod", "team:security", "platform:k8s"]
    }
    # Example of a Linux Security Governance Condition (V3)
    resource "harness_chaos_securitygovernanceconditionv3" "linux_condition" {
      org_id      = orgId
      project_id  = projectId
      name        = "linux-security-condition"
      description = "Security governance condition for Linux hosts"
      infra_type  = "Linux"
      fault_spec = {
        operator = "NOT_EQUAL_TO"
        faults = [{
          "faultType" = "FAULT"
          "name"      = "process-kill"
          }, {
          "faultType" = "FAULT"
          "name"      = "memory-hog"
        }]
      }
      machine_spec = {
        infra_spec = {
          operator  = "EQUAL_TO"
          infra_ids = [linuxInfraId]
        }
      }
      tags = ["env:prod", "team:security", "platform:linux"]
    }
    # Output the created conditions
    output "k8sConditionV3Id" {
      value = harness_chaos_securitygovernanceconditionv3.k8s_condition.id
    }
    output "linuxConditionV3Id" {
      value = harness_chaos_securitygovernanceconditionv3.linux_condition.id
    }
    

    Create SecurityGovernanceConditionV3 Resource

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

    Constructor syntax

    new SecurityGovernanceConditionV3(name: string, args: SecurityGovernanceConditionV3Args, opts?: CustomResourceOptions);
    @overload
    def SecurityGovernanceConditionV3(resource_name: str,
                                      args: SecurityGovernanceConditionV3Args,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityGovernanceConditionV3(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      fault_spec: Optional[SecurityGovernanceConditionV3FaultSpecArgs] = None,
                                      infra_type: Optional[str] = None,
                                      org_id: Optional[str] = None,
                                      project_id: Optional[str] = None,
                                      description: Optional[str] = None,
                                      k8s_spec: Optional[SecurityGovernanceConditionV3K8sSpecArgs] = None,
                                      machine_spec: Optional[SecurityGovernanceConditionV3MachineSpecArgs] = None,
                                      name: Optional[str] = None,
                                      tags: Optional[Sequence[str]] = None)
    func NewSecurityGovernanceConditionV3(ctx *Context, name string, args SecurityGovernanceConditionV3Args, opts ...ResourceOption) (*SecurityGovernanceConditionV3, error)
    public SecurityGovernanceConditionV3(string name, SecurityGovernanceConditionV3Args args, CustomResourceOptions? opts = null)
    public SecurityGovernanceConditionV3(String name, SecurityGovernanceConditionV3Args args)
    public SecurityGovernanceConditionV3(String name, SecurityGovernanceConditionV3Args args, CustomResourceOptions options)
    
    type: harness:chaos:SecurityGovernanceConditionV3
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "harness_chaos_securitygovernanceconditionv3" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SecurityGovernanceConditionV3Args
    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 SecurityGovernanceConditionV3Args
    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 SecurityGovernanceConditionV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityGovernanceConditionV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityGovernanceConditionV3Args
    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 securityGovernanceConditionV3Resource = new Harness.Chaos.SecurityGovernanceConditionV3("securityGovernanceConditionV3Resource", new()
    {
        FaultSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3FaultSpecArgs
        {
            Faults = new[]
            {
                new Harness.Chaos.Inputs.SecurityGovernanceConditionV3FaultSpecFaultArgs
                {
                    FaultType = "string",
                    Name = "string",
                },
            },
            Operator = "string",
        },
        InfraType = "string",
        OrgId = "string",
        ProjectId = "string",
        Description = "string",
        K8sSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecArgs
        {
            ApplicationSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecApplicationSpecArgs
            {
                Operator = "string",
                Workloads = new[]
                {
                    new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArgs
                    {
                        Namespace = "string",
                        ApplicationMapId = "string",
                        Kind = "string",
                        Label = "string",
                        NamespaceLabels = 
                        {
                            { "string", "string" },
                        },
                        Services = new[]
                        {
                            "string",
                        },
                    },
                },
            },
            ChaosServiceAccountSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpecArgs
            {
                Operator = "string",
                ServiceAccounts = new[]
                {
                    "string",
                },
            },
            InfraSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3K8sSpecInfraSpecArgs
            {
                InfraIds = new[]
                {
                    "string",
                },
                Operator = "string",
            },
        },
        MachineSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3MachineSpecArgs
        {
            InfraSpec = new Harness.Chaos.Inputs.SecurityGovernanceConditionV3MachineSpecInfraSpecArgs
            {
                InfraIds = new[]
                {
                    "string",
                },
                Operator = "string",
            },
        },
        Name = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := chaos.NewSecurityGovernanceConditionV3(ctx, "securityGovernanceConditionV3Resource", &chaos.SecurityGovernanceConditionV3Args{
    	FaultSpec: &chaos.SecurityGovernanceConditionV3FaultSpecArgs{
    		Faults: chaos.SecurityGovernanceConditionV3FaultSpecFaultArray{
    			&chaos.SecurityGovernanceConditionV3FaultSpecFaultArgs{
    				FaultType: pulumi.String("string"),
    				Name:      pulumi.String("string"),
    			},
    		},
    		Operator: pulumi.String("string"),
    	},
    	InfraType:   pulumi.String("string"),
    	OrgId:       pulumi.String("string"),
    	ProjectId:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	K8sSpec: &chaos.SecurityGovernanceConditionV3K8sSpecArgs{
    		ApplicationSpec: &chaos.SecurityGovernanceConditionV3K8sSpecApplicationSpecArgs{
    			Operator: pulumi.String("string"),
    			Workloads: chaos.SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArray{
    				&chaos.SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArgs{
    					Namespace:        pulumi.String("string"),
    					ApplicationMapId: pulumi.String("string"),
    					Kind:             pulumi.String("string"),
    					Label:            pulumi.String("string"),
    					NamespaceLabels: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    					Services: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    		ChaosServiceAccountSpec: &chaos.SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpecArgs{
    			Operator: pulumi.String("string"),
    			ServiceAccounts: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		InfraSpec: &chaos.SecurityGovernanceConditionV3K8sSpecInfraSpecArgs{
    			InfraIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Operator: pulumi.String("string"),
    		},
    	},
    	MachineSpec: &chaos.SecurityGovernanceConditionV3MachineSpecArgs{
    		InfraSpec: &chaos.SecurityGovernanceConditionV3MachineSpecInfraSpecArgs{
    			InfraIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Operator: pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "harness_chaos_securitygovernanceconditionv3" "securityGovernanceConditionV3Resource" {
      fault_spec = {
        faults = [{
          "faultType" = "string"
          "name"      = "string"
        }]
        operator = "string"
      }
      infra_type  = "string"
      org_id      = "string"
      project_id  = "string"
      description = "string"
      k8s_spec = {
        application_spec = {
          operator = "string"
          workloads = [{
            "namespace"        = "string"
            "applicationMapId" = "string"
            "kind"             = "string"
            "label"            = "string"
            "namespaceLabels" = {
              "string" = "string"
            }
            "services" = ["string"]
          }]
        }
        chaos_service_account_spec = {
          operator         = "string"
          service_accounts = ["string"]
        }
        infra_spec = {
          infra_ids = ["string"]
          operator  = "string"
        }
      }
      machine_spec = {
        infra_spec = {
          infra_ids = ["string"]
          operator  = "string"
        }
      }
      name = "string"
      tags = ["string"]
    }
    
    var securityGovernanceConditionV3Resource = new SecurityGovernanceConditionV3("securityGovernanceConditionV3Resource", SecurityGovernanceConditionV3Args.builder()
        .faultSpec(SecurityGovernanceConditionV3FaultSpecArgs.builder()
            .faults(SecurityGovernanceConditionV3FaultSpecFaultArgs.builder()
                .faultType("string")
                .name("string")
                .build())
            .operator("string")
            .build())
        .infraType("string")
        .orgId("string")
        .projectId("string")
        .description("string")
        .k8sSpec(SecurityGovernanceConditionV3K8sSpecArgs.builder()
            .applicationSpec(SecurityGovernanceConditionV3K8sSpecApplicationSpecArgs.builder()
                .operator("string")
                .workloads(SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArgs.builder()
                    .namespace("string")
                    .applicationMapId("string")
                    .kind("string")
                    .label("string")
                    .namespaceLabels(Map.of("string", "string"))
                    .services("string")
                    .build())
                .build())
            .chaosServiceAccountSpec(SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpecArgs.builder()
                .operator("string")
                .serviceAccounts("string")
                .build())
            .infraSpec(SecurityGovernanceConditionV3K8sSpecInfraSpecArgs.builder()
                .infraIds("string")
                .operator("string")
                .build())
            .build())
        .machineSpec(SecurityGovernanceConditionV3MachineSpecArgs.builder()
            .infraSpec(SecurityGovernanceConditionV3MachineSpecInfraSpecArgs.builder()
                .infraIds("string")
                .operator("string")
                .build())
            .build())
        .name("string")
        .tags("string")
        .build());
    
    security_governance_condition_v3_resource = harness.chaos.SecurityGovernanceConditionV3("securityGovernanceConditionV3Resource",
        fault_spec={
            "faults": [{
                "fault_type": "string",
                "name": "string",
            }],
            "operator": "string",
        },
        infra_type="string",
        org_id="string",
        project_id="string",
        description="string",
        k8s_spec={
            "application_spec": {
                "operator": "string",
                "workloads": [{
                    "namespace": "string",
                    "application_map_id": "string",
                    "kind": "string",
                    "label": "string",
                    "namespace_labels": {
                        "string": "string",
                    },
                    "services": ["string"],
                }],
            },
            "chaos_service_account_spec": {
                "operator": "string",
                "service_accounts": ["string"],
            },
            "infra_spec": {
                "infra_ids": ["string"],
                "operator": "string",
            },
        },
        machine_spec={
            "infra_spec": {
                "infra_ids": ["string"],
                "operator": "string",
            },
        },
        name="string",
        tags=["string"])
    
    const securityGovernanceConditionV3Resource = new harness.chaos.SecurityGovernanceConditionV3("securityGovernanceConditionV3Resource", {
        faultSpec: {
            faults: [{
                faultType: "string",
                name: "string",
            }],
            operator: "string",
        },
        infraType: "string",
        orgId: "string",
        projectId: "string",
        description: "string",
        k8sSpec: {
            applicationSpec: {
                operator: "string",
                workloads: [{
                    namespace: "string",
                    applicationMapId: "string",
                    kind: "string",
                    label: "string",
                    namespaceLabels: {
                        string: "string",
                    },
                    services: ["string"],
                }],
            },
            chaosServiceAccountSpec: {
                operator: "string",
                serviceAccounts: ["string"],
            },
            infraSpec: {
                infraIds: ["string"],
                operator: "string",
            },
        },
        machineSpec: {
            infraSpec: {
                infraIds: ["string"],
                operator: "string",
            },
        },
        name: "string",
        tags: ["string"],
    });
    
    type: harness:chaos:SecurityGovernanceConditionV3
    properties:
        description: string
        faultSpec:
            faults:
                - faultType: string
                  name: string
            operator: string
        infraType: string
        k8sSpec:
            applicationSpec:
                operator: string
                workloads:
                    - applicationMapId: string
                      kind: string
                      label: string
                      namespace: string
                      namespaceLabels:
                        string: string
                      services:
                        - string
            chaosServiceAccountSpec:
                operator: string
                serviceAccounts:
                    - string
            infraSpec:
                infraIds:
                    - string
                operator: string
        machineSpec:
            infraSpec:
                infraIds:
                    - string
                operator: string
        name: string
        orgId: string
        projectId: string
        tags:
            - string
    

    SecurityGovernanceConditionV3 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 SecurityGovernanceConditionV3 resource accepts the following input properties:

    FaultSpec SecurityGovernanceConditionV3FaultSpec
    Specification for faults to be included in the condition
    InfraType string
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    OrgId string
    The organization ID of the security governance condition
    ProjectId string
    The project ID of the security governance condition
    Description string
    Description of the security governance condition
    K8sSpec SecurityGovernanceConditionV3K8sSpec
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    MachineSpec SecurityGovernanceConditionV3MachineSpec
    Machine specific configuration (required when infra*type is Linux or Windows)
    Name string
    Name of the security governance condition
    Tags List<string>
    Tags for the security governance condition
    FaultSpec SecurityGovernanceConditionV3FaultSpecArgs
    Specification for faults to be included in the condition
    InfraType string
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    OrgId string
    The organization ID of the security governance condition
    ProjectId string
    The project ID of the security governance condition
    Description string
    Description of the security governance condition
    K8sSpec SecurityGovernanceConditionV3K8sSpecArgs
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    MachineSpec SecurityGovernanceConditionV3MachineSpecArgs
    Machine specific configuration (required when infra*type is Linux or Windows)
    Name string
    Name of the security governance condition
    Tags []string
    Tags for the security governance condition
    fault_spec object
    Specification for faults to be included in the condition
    infra_type string
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    org_id string
    The organization ID of the security governance condition
    project_id string
    The project ID of the security governance condition
    description string
    Description of the security governance condition
    k8s_spec object
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machine_spec object
    Machine specific configuration (required when infra*type is Linux or Windows)
    name string
    Name of the security governance condition
    tags list(string)
    Tags for the security governance condition
    faultSpec SecurityGovernanceConditionV3FaultSpec
    Specification for faults to be included in the condition
    infraType String
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    orgId String
    The organization ID of the security governance condition
    projectId String
    The project ID of the security governance condition
    description String
    Description of the security governance condition
    k8sSpec SecurityGovernanceConditionV3K8sSpec
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machineSpec SecurityGovernanceConditionV3MachineSpec
    Machine specific configuration (required when infra*type is Linux or Windows)
    name String
    Name of the security governance condition
    tags List<String>
    Tags for the security governance condition
    faultSpec SecurityGovernanceConditionV3FaultSpec
    Specification for faults to be included in the condition
    infraType string
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    orgId string
    The organization ID of the security governance condition
    projectId string
    The project ID of the security governance condition
    description string
    Description of the security governance condition
    k8sSpec SecurityGovernanceConditionV3K8sSpec
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machineSpec SecurityGovernanceConditionV3MachineSpec
    Machine specific configuration (required when infra*type is Linux or Windows)
    name string
    Name of the security governance condition
    tags string[]
    Tags for the security governance condition
    fault_spec SecurityGovernanceConditionV3FaultSpecArgs
    Specification for faults to be included in the condition
    infra_type str
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    org_id str
    The organization ID of the security governance condition
    project_id str
    The project ID of the security governance condition
    description str
    Description of the security governance condition
    k8s_spec SecurityGovernanceConditionV3K8sSpecArgs
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machine_spec SecurityGovernanceConditionV3MachineSpecArgs
    Machine specific configuration (required when infra*type is Linux or Windows)
    name str
    Name of the security governance condition
    tags Sequence[str]
    Tags for the security governance condition
    faultSpec Property Map
    Specification for faults to be included in the condition
    infraType String
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    orgId String
    The organization ID of the security governance condition
    projectId String
    The project ID of the security governance condition
    description String
    Description of the security governance condition
    k8sSpec Property Map
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machineSpec Property Map
    Machine specific configuration (required when infra*type is Linux or Windows)
    name String
    Name of the security governance condition
    tags List<String>
    Tags for the security governance condition

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecurityGovernanceConditionV3 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 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 SecurityGovernanceConditionV3 Resource

    Get an existing SecurityGovernanceConditionV3 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?: SecurityGovernanceConditionV3State, opts?: CustomResourceOptions): SecurityGovernanceConditionV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            fault_spec: Optional[SecurityGovernanceConditionV3FaultSpecArgs] = None,
            infra_type: Optional[str] = None,
            k8s_spec: Optional[SecurityGovernanceConditionV3K8sSpecArgs] = None,
            machine_spec: Optional[SecurityGovernanceConditionV3MachineSpecArgs] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            tags: Optional[Sequence[str]] = None) -> SecurityGovernanceConditionV3
    func GetSecurityGovernanceConditionV3(ctx *Context, name string, id IDInput, state *SecurityGovernanceConditionV3State, opts ...ResourceOption) (*SecurityGovernanceConditionV3, error)
    public static SecurityGovernanceConditionV3 Get(string name, Input<string> id, SecurityGovernanceConditionV3State? state, CustomResourceOptions? opts = null)
    public static SecurityGovernanceConditionV3 get(String name, Output<String> id, SecurityGovernanceConditionV3State state, CustomResourceOptions options)
    resources:  _:    type: harness:chaos:SecurityGovernanceConditionV3    get:      id: ${id}
    import {
      to = harness_chaos_securitygovernanceconditionv3.example
      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
    Description of the security governance condition
    FaultSpec SecurityGovernanceConditionV3FaultSpec
    Specification for faults to be included in the condition
    InfraType string
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    K8sSpec SecurityGovernanceConditionV3K8sSpec
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    MachineSpec SecurityGovernanceConditionV3MachineSpec
    Machine specific configuration (required when infra*type is Linux or Windows)
    Name string
    Name of the security governance condition
    OrgId string
    The organization ID of the security governance condition
    ProjectId string
    The project ID of the security governance condition
    Tags List<string>
    Tags for the security governance condition
    Description string
    Description of the security governance condition
    FaultSpec SecurityGovernanceConditionV3FaultSpecArgs
    Specification for faults to be included in the condition
    InfraType string
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    K8sSpec SecurityGovernanceConditionV3K8sSpecArgs
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    MachineSpec SecurityGovernanceConditionV3MachineSpecArgs
    Machine specific configuration (required when infra*type is Linux or Windows)
    Name string
    Name of the security governance condition
    OrgId string
    The organization ID of the security governance condition
    ProjectId string
    The project ID of the security governance condition
    Tags []string
    Tags for the security governance condition
    description string
    Description of the security governance condition
    fault_spec object
    Specification for faults to be included in the condition
    infra_type string
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    k8s_spec object
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machine_spec object
    Machine specific configuration (required when infra*type is Linux or Windows)
    name string
    Name of the security governance condition
    org_id string
    The organization ID of the security governance condition
    project_id string
    The project ID of the security governance condition
    tags list(string)
    Tags for the security governance condition
    description String
    Description of the security governance condition
    faultSpec SecurityGovernanceConditionV3FaultSpec
    Specification for faults to be included in the condition
    infraType String
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    k8sSpec SecurityGovernanceConditionV3K8sSpec
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machineSpec SecurityGovernanceConditionV3MachineSpec
    Machine specific configuration (required when infra*type is Linux or Windows)
    name String
    Name of the security governance condition
    orgId String
    The organization ID of the security governance condition
    projectId String
    The project ID of the security governance condition
    tags List<String>
    Tags for the security governance condition
    description string
    Description of the security governance condition
    faultSpec SecurityGovernanceConditionV3FaultSpec
    Specification for faults to be included in the condition
    infraType string
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    k8sSpec SecurityGovernanceConditionV3K8sSpec
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machineSpec SecurityGovernanceConditionV3MachineSpec
    Machine specific configuration (required when infra*type is Linux or Windows)
    name string
    Name of the security governance condition
    orgId string
    The organization ID of the security governance condition
    projectId string
    The project ID of the security governance condition
    tags string[]
    Tags for the security governance condition
    description str
    Description of the security governance condition
    fault_spec SecurityGovernanceConditionV3FaultSpecArgs
    Specification for faults to be included in the condition
    infra_type str
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    k8s_spec SecurityGovernanceConditionV3K8sSpecArgs
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machine_spec SecurityGovernanceConditionV3MachineSpecArgs
    Machine specific configuration (required when infra*type is Linux or Windows)
    name str
    Name of the security governance condition
    org_id str
    The organization ID of the security governance condition
    project_id str
    The project ID of the security governance condition
    tags Sequence[str]
    Tags for the security governance condition
    description String
    Description of the security governance condition
    faultSpec Property Map
    Specification for faults to be included in the condition
    infraType String
    Type of infrastructure (Kubernetes, KubernetesV2, Linux, Windows, CloudFoundry, Container)
    k8sSpec Property Map
    Kubernetes specific configuration (required when infra*type is Kubernetes or KubernetesV2)
    machineSpec Property Map
    Machine specific configuration (required when infra*type is Linux or Windows)
    name String
    Name of the security governance condition
    orgId String
    The organization ID of the security governance condition
    projectId String
    The project ID of the security governance condition
    tags List<String>
    Tags for the security governance condition

    Supporting Types

    SecurityGovernanceConditionV3FaultSpec, SecurityGovernanceConditionV3FaultSpecArgs

    Faults List<SecurityGovernanceConditionV3FaultSpecFault>
    List of fault specifications
    Operator string
    Operator for comparing faults (EQUALTO or NOTEQUAL_TO)
    Faults []SecurityGovernanceConditionV3FaultSpecFault
    List of fault specifications
    Operator string
    Operator for comparing faults (EQUALTO or NOTEQUAL_TO)
    faults list(object)
    List of fault specifications
    operator string
    Operator for comparing faults (EQUALTO or NOTEQUAL_TO)
    faults List<SecurityGovernanceConditionV3FaultSpecFault>
    List of fault specifications
    operator String
    Operator for comparing faults (EQUALTO or NOTEQUAL_TO)
    faults SecurityGovernanceConditionV3FaultSpecFault[]
    List of fault specifications
    operator string
    Operator for comparing faults (EQUALTO or NOTEQUAL_TO)
    faults Sequence[SecurityGovernanceConditionV3FaultSpecFault]
    List of fault specifications
    operator str
    Operator for comparing faults (EQUALTO or NOTEQUAL_TO)
    faults List<Property Map>
    List of fault specifications
    operator String
    Operator for comparing faults (EQUALTO or NOTEQUAL_TO)

    SecurityGovernanceConditionV3FaultSpecFault, SecurityGovernanceConditionV3FaultSpecFaultArgs

    FaultType string
    Type of the fault (FAULT or FAULT_GROUP)
    Name string
    Name of the fault
    FaultType string
    Type of the fault (FAULT or FAULT_GROUP)
    Name string
    Name of the fault
    fault_type string
    Type of the fault (FAULT or FAULT_GROUP)
    name string
    Name of the fault
    faultType String
    Type of the fault (FAULT or FAULT_GROUP)
    name String
    Name of the fault
    faultType string
    Type of the fault (FAULT or FAULT_GROUP)
    name string
    Name of the fault
    fault_type str
    Type of the fault (FAULT or FAULT_GROUP)
    name str
    Name of the fault
    faultType String
    Type of the fault (FAULT or FAULT_GROUP)
    name String
    Name of the fault

    SecurityGovernanceConditionV3K8sSpec, SecurityGovernanceConditionV3K8sSpecArgs

    application_spec object
    Application specification
    chaos_service_account_spec object
    Chaos service account specification
    infra_spec object
    Infrastructure specification
    applicationSpec Property Map
    Application specification
    chaosServiceAccountSpec Property Map
    Chaos service account specification
    infraSpec Property Map
    Infrastructure specification

    SecurityGovernanceConditionV3K8sSpecApplicationSpec, SecurityGovernanceConditionV3K8sSpecApplicationSpecArgs

    Operator string
    Operator for application matching (EQUALTO or NOTEQUAL_TO)
    Workloads List<SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkload>
    List of workloads to include/exclude
    Operator string
    Operator for application matching (EQUALTO or NOTEQUAL_TO)
    Workloads []SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkload
    List of workloads to include/exclude
    operator string
    Operator for application matching (EQUALTO or NOTEQUAL_TO)
    workloads list(object)
    List of workloads to include/exclude
    operator String
    Operator for application matching (EQUALTO or NOTEQUAL_TO)
    workloads List<SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkload>
    List of workloads to include/exclude
    operator string
    Operator for application matching (EQUALTO or NOTEQUAL_TO)
    workloads SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkload[]
    List of workloads to include/exclude
    operator str
    Operator for application matching (EQUALTO or NOTEQUAL_TO)
    workloads Sequence[SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkload]
    List of workloads to include/exclude
    operator String
    Operator for application matching (EQUALTO or NOTEQUAL_TO)
    workloads List<Property Map>
    List of workloads to include/exclude

    SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkload, SecurityGovernanceConditionV3K8sSpecApplicationSpecWorkloadArgs

    Namespace string
    Namespace of the workload
    ApplicationMapId string
    ID for the application map
    Kind string
    Kind of the workload (e.g., deployment, statefulset)
    Label string
    Label selector for the workload
    NamespaceLabels Dictionary<string, string>
    Namespace labels to match against, as key-value pairs
    Services List<string>
    List of services associated with the workload
    Namespace string
    Namespace of the workload
    ApplicationMapId string
    ID for the application map
    Kind string
    Kind of the workload (e.g., deployment, statefulset)
    Label string
    Label selector for the workload
    NamespaceLabels map[string]string
    Namespace labels to match against, as key-value pairs
    Services []string
    List of services associated with the workload
    namespace string
    Namespace of the workload
    application_map_id string
    ID for the application map
    kind string
    Kind of the workload (e.g., deployment, statefulset)
    label string
    Label selector for the workload
    namespace_labels map(string)
    Namespace labels to match against, as key-value pairs
    services list(string)
    List of services associated with the workload
    namespace String
    Namespace of the workload
    applicationMapId String
    ID for the application map
    kind String
    Kind of the workload (e.g., deployment, statefulset)
    label String
    Label selector for the workload
    namespaceLabels Map<String,String>
    Namespace labels to match against, as key-value pairs
    services List<String>
    List of services associated with the workload
    namespace string
    Namespace of the workload
    applicationMapId string
    ID for the application map
    kind string
    Kind of the workload (e.g., deployment, statefulset)
    label string
    Label selector for the workload
    namespaceLabels {[key: string]: string}
    Namespace labels to match against, as key-value pairs
    services string[]
    List of services associated with the workload
    namespace str
    Namespace of the workload
    application_map_id str
    ID for the application map
    kind str
    Kind of the workload (e.g., deployment, statefulset)
    label str
    Label selector for the workload
    namespace_labels Mapping[str, str]
    Namespace labels to match against, as key-value pairs
    services Sequence[str]
    List of services associated with the workload
    namespace String
    Namespace of the workload
    applicationMapId String
    ID for the application map
    kind String
    Kind of the workload (e.g., deployment, statefulset)
    label String
    Label selector for the workload
    namespaceLabels Map<String>
    Namespace labels to match against, as key-value pairs
    services List<String>
    List of services associated with the workload

    SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpec, SecurityGovernanceConditionV3K8sSpecChaosServiceAccountSpecArgs

    Operator string
    Operator for service account matching (EQUALTO or NOTEQUAL_TO)
    ServiceAccounts List<string>
    List of service accounts to include/exclude
    Operator string
    Operator for service account matching (EQUALTO or NOTEQUAL_TO)
    ServiceAccounts []string
    List of service accounts to include/exclude
    operator string
    Operator for service account matching (EQUALTO or NOTEQUAL_TO)
    service_accounts list(string)
    List of service accounts to include/exclude
    operator String
    Operator for service account matching (EQUALTO or NOTEQUAL_TO)
    serviceAccounts List<String>
    List of service accounts to include/exclude
    operator string
    Operator for service account matching (EQUALTO or NOTEQUAL_TO)
    serviceAccounts string[]
    List of service accounts to include/exclude
    operator str
    Operator for service account matching (EQUALTO or NOTEQUAL_TO)
    service_accounts Sequence[str]
    List of service accounts to include/exclude
    operator String
    Operator for service account matching (EQUALTO or NOTEQUAL_TO)
    serviceAccounts List<String>
    List of service accounts to include/exclude

    SecurityGovernanceConditionV3K8sSpecInfraSpec, SecurityGovernanceConditionV3K8sSpecInfraSpecArgs

    InfraIds List<string>
    List of infrastructure IDs to apply the condition to
    Operator string
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    InfraIds []string
    List of infrastructure IDs to apply the condition to
    Operator string
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infra_ids list(string)
    List of infrastructure IDs to apply the condition to
    operator string
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infraIds List<String>
    List of infrastructure IDs to apply the condition to
    operator String
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infraIds string[]
    List of infrastructure IDs to apply the condition to
    operator string
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infra_ids Sequence[str]
    List of infrastructure IDs to apply the condition to
    operator str
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infraIds List<String>
    List of infrastructure IDs to apply the condition to
    operator String
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)

    SecurityGovernanceConditionV3MachineSpec, SecurityGovernanceConditionV3MachineSpecArgs

    infra_spec object
    Infrastructure specification
    infraSpec Property Map
    Infrastructure specification

    SecurityGovernanceConditionV3MachineSpecInfraSpec, SecurityGovernanceConditionV3MachineSpecInfraSpecArgs

    InfraIds List<string>
    List of infrastructure IDs to apply the condition to
    Operator string
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    InfraIds []string
    List of infrastructure IDs to apply the condition to
    Operator string
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infra_ids list(string)
    List of infrastructure IDs to apply the condition to
    operator string
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infraIds List<String>
    List of infrastructure IDs to apply the condition to
    operator String
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infraIds string[]
    List of infrastructure IDs to apply the condition to
    operator string
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infra_ids Sequence[str]
    List of infrastructure IDs to apply the condition to
    operator str
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)
    infraIds List<String>
    List of infrastructure IDs to apply the condition to
    operator String
    Operator for comparing infrastructure IDs (EQUALTO or NOTEQUAL_TO)

    Import

    The pulumi import command can be used, for example:

    Import Project level Chaos Security Governance Condition (V3)

    $ pulumi import harness:chaos/securityGovernanceConditionV3:SecurityGovernanceConditionV3 example org_id/project_id/condition_id
    

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

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.14.3
    published on Thursday, Jun 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial