sysdig.SecureOrganization
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const sampleSecureCloudAuthAccount = new sysdig.SecureCloudAuthAccount("sampleSecureCloudAuthAccount", {
    providerId: "google_cloud_project_id",
    providerType: "PROVIDER_GCP",
    enabled: true,
});
const sampleSecureOrganization = new sysdig.SecureOrganization("sampleSecureOrganization", {managementAccountId: sampleSecureCloudAuthAccount.secureCloudAuthAccountId});
import pulumi
import pulumi_sysdig as sysdig
sample_secure_cloud_auth_account = sysdig.SecureCloudAuthAccount("sampleSecureCloudAuthAccount",
    provider_id="google_cloud_project_id",
    provider_type="PROVIDER_GCP",
    enabled=True)
sample_secure_organization = sysdig.SecureOrganization("sampleSecureOrganization", management_account_id=sample_secure_cloud_auth_account.secure_cloud_auth_account_id)
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/sysdig/sysdig"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sampleSecureCloudAuthAccount, err := sysdig.NewSecureCloudAuthAccount(ctx, "sampleSecureCloudAuthAccount", &sysdig.SecureCloudAuthAccountArgs{
			ProviderId:   pulumi.String("google_cloud_project_id"),
			ProviderType: pulumi.String("PROVIDER_GCP"),
			Enabled:      pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = sysdig.NewSecureOrganization(ctx, "sampleSecureOrganization", &sysdig.SecureOrganizationArgs{
			ManagementAccountId: sampleSecureCloudAuthAccount.SecureCloudAuthAccountId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sysdig = Pulumi.Sysdig;
return await Deployment.RunAsync(() => 
{
    var sampleSecureCloudAuthAccount = new Sysdig.SecureCloudAuthAccount("sampleSecureCloudAuthAccount", new()
    {
        ProviderId = "google_cloud_project_id",
        ProviderType = "PROVIDER_GCP",
        Enabled = true,
    });
    var sampleSecureOrganization = new Sysdig.SecureOrganization("sampleSecureOrganization", new()
    {
        ManagementAccountId = sampleSecureCloudAuthAccount.SecureCloudAuthAccountId,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.SecureCloudAuthAccount;
import com.pulumi.sysdig.SecureCloudAuthAccountArgs;
import com.pulumi.sysdig.SecureOrganization;
import com.pulumi.sysdig.SecureOrganizationArgs;
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 sampleSecureCloudAuthAccount = new SecureCloudAuthAccount("sampleSecureCloudAuthAccount", SecureCloudAuthAccountArgs.builder()
            .providerId("google_cloud_project_id")
            .providerType("PROVIDER_GCP")
            .enabled("true")
            .build());
        var sampleSecureOrganization = new SecureOrganization("sampleSecureOrganization", SecureOrganizationArgs.builder()
            .managementAccountId(sampleSecureCloudAuthAccount.secureCloudAuthAccountId())
            .build());
    }
}
resources:
  sampleSecureCloudAuthAccount:
    type: sysdig:SecureCloudAuthAccount
    properties:
      providerId: google_cloud_project_id
      providerType: PROVIDER_GCP
      enabled: 'true'
  sampleSecureOrganization:
    type: sysdig:SecureOrganization
    properties:
      managementAccountId: ${sampleSecureCloudAuthAccount.secureCloudAuthAccountId}
Create SecureOrganization Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecureOrganization(name: string, args: SecureOrganizationArgs, opts?: CustomResourceOptions);@overload
def SecureOrganization(resource_name: str,
                       args: SecureOrganizationArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def SecureOrganization(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       management_account_id: Optional[str] = None,
                       automatic_onboarding: Optional[bool] = None,
                       excluded_cloud_accounts: Optional[Sequence[str]] = None,
                       excluded_organizational_groups: Optional[Sequence[str]] = None,
                       included_cloud_accounts: Optional[Sequence[str]] = None,
                       included_organizational_groups: Optional[Sequence[str]] = None,
                       organization_root_id: Optional[str] = None,
                       organizational_unit_ids: Optional[Sequence[str]] = None,
                       secure_organization_id: Optional[str] = None,
                       timeouts: Optional[SecureOrganizationTimeoutsArgs] = None)func NewSecureOrganization(ctx *Context, name string, args SecureOrganizationArgs, opts ...ResourceOption) (*SecureOrganization, error)public SecureOrganization(string name, SecureOrganizationArgs args, CustomResourceOptions? opts = null)
public SecureOrganization(String name, SecureOrganizationArgs args)
public SecureOrganization(String name, SecureOrganizationArgs args, CustomResourceOptions options)
type: sysdig:SecureOrganization
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 SecureOrganizationArgs
- 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 SecureOrganizationArgs
- 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 SecureOrganizationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecureOrganizationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecureOrganizationArgs
- 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 secureOrganizationResource = new Sysdig.SecureOrganization("secureOrganizationResource", new()
{
    ManagementAccountId = "string",
    AutomaticOnboarding = false,
    ExcludedCloudAccounts = new[]
    {
        "string",
    },
    ExcludedOrganizationalGroups = new[]
    {
        "string",
    },
    IncludedCloudAccounts = new[]
    {
        "string",
    },
    IncludedOrganizationalGroups = new[]
    {
        "string",
    },
    OrganizationRootId = "string",
    OrganizationalUnitIds = new[]
    {
        "string",
    },
    SecureOrganizationId = "string",
    Timeouts = new Sysdig.Inputs.SecureOrganizationTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
});
example, err := sysdig.NewSecureOrganization(ctx, "secureOrganizationResource", &sysdig.SecureOrganizationArgs{
	ManagementAccountId: pulumi.String("string"),
	AutomaticOnboarding: pulumi.Bool(false),
	ExcludedCloudAccounts: pulumi.StringArray{
		pulumi.String("string"),
	},
	ExcludedOrganizationalGroups: pulumi.StringArray{
		pulumi.String("string"),
	},
	IncludedCloudAccounts: pulumi.StringArray{
		pulumi.String("string"),
	},
	IncludedOrganizationalGroups: pulumi.StringArray{
		pulumi.String("string"),
	},
	OrganizationRootId: pulumi.String("string"),
	OrganizationalUnitIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	SecureOrganizationId: pulumi.String("string"),
	Timeouts: &sysdig.SecureOrganizationTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Read:   pulumi.String("string"),
		Update: pulumi.String("string"),
	},
})
var secureOrganizationResource = new SecureOrganization("secureOrganizationResource", SecureOrganizationArgs.builder()
    .managementAccountId("string")
    .automaticOnboarding(false)
    .excludedCloudAccounts("string")
    .excludedOrganizationalGroups("string")
    .includedCloudAccounts("string")
    .includedOrganizationalGroups("string")
    .organizationRootId("string")
    .organizationalUnitIds("string")
    .secureOrganizationId("string")
    .timeouts(SecureOrganizationTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .build());
secure_organization_resource = sysdig.SecureOrganization("secureOrganizationResource",
    management_account_id="string",
    automatic_onboarding=False,
    excluded_cloud_accounts=["string"],
    excluded_organizational_groups=["string"],
    included_cloud_accounts=["string"],
    included_organizational_groups=["string"],
    organization_root_id="string",
    organizational_unit_ids=["string"],
    secure_organization_id="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    })
const secureOrganizationResource = new sysdig.SecureOrganization("secureOrganizationResource", {
    managementAccountId: "string",
    automaticOnboarding: false,
    excludedCloudAccounts: ["string"],
    excludedOrganizationalGroups: ["string"],
    includedCloudAccounts: ["string"],
    includedOrganizationalGroups: ["string"],
    organizationRootId: "string",
    organizationalUnitIds: ["string"],
    secureOrganizationId: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
});
type: sysdig:SecureOrganization
properties:
    automaticOnboarding: false
    excludedCloudAccounts:
        - string
    excludedOrganizationalGroups:
        - string
    includedCloudAccounts:
        - string
    includedOrganizationalGroups:
        - string
    managementAccountId: string
    organizationRootId: string
    organizationalUnitIds:
        - string
    secureOrganizationId: string
    timeouts:
        create: string
        delete: string
        read: string
        update: string
SecureOrganization 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 SecureOrganization resource accepts the following input properties:
- ManagementAccount stringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- AutomaticOnboarding bool
- Whether or not accounts in organization are to be detected automatically.
- ExcludedCloud List<string>Accounts 
- List of cloud accounts to exclude during onboarding.
- ExcludedOrganizational List<string>Groups 
- List of organizational groups to exclude during onboarding.
- IncludedCloud List<string>Accounts 
- List of cloud accounts to include during onboarding.
- IncludedOrganizational List<string>Groups 
- List of organizational groups to include during onboarding.
- OrganizationRoot stringId 
- Organization's root id if available, else organization/tenant id.
- OrganizationalUnit List<string>Ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- SecureOrganization stringId 
- Timeouts
SecureOrganization Timeouts 
- ManagementAccount stringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- AutomaticOnboarding bool
- Whether or not accounts in organization are to be detected automatically.
- ExcludedCloud []stringAccounts 
- List of cloud accounts to exclude during onboarding.
- ExcludedOrganizational []stringGroups 
- List of organizational groups to exclude during onboarding.
- IncludedCloud []stringAccounts 
- List of cloud accounts to include during onboarding.
- IncludedOrganizational []stringGroups 
- List of organizational groups to include during onboarding.
- OrganizationRoot stringId 
- Organization's root id if available, else organization/tenant id.
- OrganizationalUnit []stringIds 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- SecureOrganization stringId 
- Timeouts
SecureOrganization Timeouts Args 
- managementAccount StringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- automaticOnboarding Boolean
- Whether or not accounts in organization are to be detected automatically.
- excludedCloud List<String>Accounts 
- List of cloud accounts to exclude during onboarding.
- excludedOrganizational List<String>Groups 
- List of organizational groups to exclude during onboarding.
- includedCloud List<String>Accounts 
- List of cloud accounts to include during onboarding.
- includedOrganizational List<String>Groups 
- List of organizational groups to include during onboarding.
- organizationRoot StringId 
- Organization's root id if available, else organization/tenant id.
- organizationalUnit List<String>Ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secureOrganization StringId 
- timeouts
SecureOrganization Timeouts 
- managementAccount stringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- automaticOnboarding boolean
- Whether or not accounts in organization are to be detected automatically.
- excludedCloud string[]Accounts 
- List of cloud accounts to exclude during onboarding.
- excludedOrganizational string[]Groups 
- List of organizational groups to exclude during onboarding.
- includedCloud string[]Accounts 
- List of cloud accounts to include during onboarding.
- includedOrganizational string[]Groups 
- List of organizational groups to include during onboarding.
- organizationRoot stringId 
- Organization's root id if available, else organization/tenant id.
- organizationalUnit string[]Ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secureOrganization stringId 
- timeouts
SecureOrganization Timeouts 
- management_account_ strid 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- automatic_onboarding bool
- Whether or not accounts in organization are to be detected automatically.
- excluded_cloud_ Sequence[str]accounts 
- List of cloud accounts to exclude during onboarding.
- excluded_organizational_ Sequence[str]groups 
- List of organizational groups to exclude during onboarding.
- included_cloud_ Sequence[str]accounts 
- List of cloud accounts to include during onboarding.
- included_organizational_ Sequence[str]groups 
- List of organizational groups to include during onboarding.
- organization_root_ strid 
- Organization's root id if available, else organization/tenant id.
- organizational_unit_ Sequence[str]ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secure_organization_ strid 
- timeouts
SecureOrganization Timeouts Args 
- managementAccount StringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- automaticOnboarding Boolean
- Whether or not accounts in organization are to be detected automatically.
- excludedCloud List<String>Accounts 
- List of cloud accounts to exclude during onboarding.
- excludedOrganizational List<String>Groups 
- List of organizational groups to exclude during onboarding.
- includedCloud List<String>Accounts 
- List of cloud accounts to include during onboarding.
- includedOrganizational List<String>Groups 
- List of organizational groups to include during onboarding.
- organizationRoot StringId 
- Organization's root id if available, else organization/tenant id.
- organizationalUnit List<String>Ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secureOrganization StringId 
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SecureOrganization 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 SecureOrganization Resource
Get an existing SecureOrganization 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?: SecureOrganizationState, opts?: CustomResourceOptions): SecureOrganization@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        automatic_onboarding: Optional[bool] = None,
        excluded_cloud_accounts: Optional[Sequence[str]] = None,
        excluded_organizational_groups: Optional[Sequence[str]] = None,
        included_cloud_accounts: Optional[Sequence[str]] = None,
        included_organizational_groups: Optional[Sequence[str]] = None,
        management_account_id: Optional[str] = None,
        organization_root_id: Optional[str] = None,
        organizational_unit_ids: Optional[Sequence[str]] = None,
        secure_organization_id: Optional[str] = None,
        timeouts: Optional[SecureOrganizationTimeoutsArgs] = None) -> SecureOrganizationfunc GetSecureOrganization(ctx *Context, name string, id IDInput, state *SecureOrganizationState, opts ...ResourceOption) (*SecureOrganization, error)public static SecureOrganization Get(string name, Input<string> id, SecureOrganizationState? state, CustomResourceOptions? opts = null)public static SecureOrganization get(String name, Output<String> id, SecureOrganizationState state, CustomResourceOptions options)resources:  _:    type: sysdig:SecureOrganization    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.
- AutomaticOnboarding bool
- Whether or not accounts in organization are to be detected automatically.
- ExcludedCloud List<string>Accounts 
- List of cloud accounts to exclude during onboarding.
- ExcludedOrganizational List<string>Groups 
- List of organizational groups to exclude during onboarding.
- IncludedCloud List<string>Accounts 
- List of cloud accounts to include during onboarding.
- IncludedOrganizational List<string>Groups 
- List of organizational groups to include during onboarding.
- ManagementAccount stringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- OrganizationRoot stringId 
- Organization's root id if available, else organization/tenant id.
- OrganizationalUnit List<string>Ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- SecureOrganization stringId 
- Timeouts
SecureOrganization Timeouts 
- AutomaticOnboarding bool
- Whether or not accounts in organization are to be detected automatically.
- ExcludedCloud []stringAccounts 
- List of cloud accounts to exclude during onboarding.
- ExcludedOrganizational []stringGroups 
- List of organizational groups to exclude during onboarding.
- IncludedCloud []stringAccounts 
- List of cloud accounts to include during onboarding.
- IncludedOrganizational []stringGroups 
- List of organizational groups to include during onboarding.
- ManagementAccount stringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- OrganizationRoot stringId 
- Organization's root id if available, else organization/tenant id.
- OrganizationalUnit []stringIds 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- SecureOrganization stringId 
- Timeouts
SecureOrganization Timeouts Args 
- automaticOnboarding Boolean
- Whether or not accounts in organization are to be detected automatically.
- excludedCloud List<String>Accounts 
- List of cloud accounts to exclude during onboarding.
- excludedOrganizational List<String>Groups 
- List of organizational groups to exclude during onboarding.
- includedCloud List<String>Accounts 
- List of cloud accounts to include during onboarding.
- includedOrganizational List<String>Groups 
- List of organizational groups to include during onboarding.
- managementAccount StringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- organizationRoot StringId 
- Organization's root id if available, else organization/tenant id.
- organizationalUnit List<String>Ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secureOrganization StringId 
- timeouts
SecureOrganization Timeouts 
- automaticOnboarding boolean
- Whether or not accounts in organization are to be detected automatically.
- excludedCloud string[]Accounts 
- List of cloud accounts to exclude during onboarding.
- excludedOrganizational string[]Groups 
- List of organizational groups to exclude during onboarding.
- includedCloud string[]Accounts 
- List of cloud accounts to include during onboarding.
- includedOrganizational string[]Groups 
- List of organizational groups to include during onboarding.
- managementAccount stringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- organizationRoot stringId 
- Organization's root id if available, else organization/tenant id.
- organizationalUnit string[]Ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secureOrganization stringId 
- timeouts
SecureOrganization Timeouts 
- automatic_onboarding bool
- Whether or not accounts in organization are to be detected automatically.
- excluded_cloud_ Sequence[str]accounts 
- List of cloud accounts to exclude during onboarding.
- excluded_organizational_ Sequence[str]groups 
- List of organizational groups to exclude during onboarding.
- included_cloud_ Sequence[str]accounts 
- List of cloud accounts to include during onboarding.
- included_organizational_ Sequence[str]groups 
- List of organizational groups to include during onboarding.
- management_account_ strid 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- organization_root_ strid 
- Organization's root id if available, else organization/tenant id.
- organizational_unit_ Sequence[str]ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secure_organization_ strid 
- timeouts
SecureOrganization Timeouts Args 
- automaticOnboarding Boolean
- Whether or not accounts in organization are to be detected automatically.
- excludedCloud List<String>Accounts 
- List of cloud accounts to exclude during onboarding.
- excludedOrganizational List<String>Groups 
- List of organizational groups to exclude during onboarding.
- includedCloud List<String>Accounts 
- List of cloud accounts to include during onboarding.
- includedOrganizational List<String>Groups 
- List of organizational groups to include during onboarding.
- managementAccount StringId 
- Cloud Account created using resource sysdig_secure_cloud_auth_account.
- organizationRoot StringId 
- Organization's root id if available, else organization/tenant id.
- organizationalUnit List<String>Ids 
- List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secureOrganization StringId 
- timeouts Property Map
Supporting Types
SecureOrganizationTimeouts, SecureOrganizationTimeoutsArgs      
Package Details
- Repository
- sysdig sysdiglabs/terraform-provider-sysdig
- License
- Notes
- This Pulumi package is based on the sysdigTerraform Provider.