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:
- Management
Account stringId - 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 List<string>Accounts - List of cloud accounts to exclude during onboarding.
- Excluded
Organizational List<string>Groups - List of organizational groups to exclude during onboarding.
- Included
Cloud List<string>Accounts - List of cloud accounts to include during onboarding.
- Included
Organizational List<string>Groups - List of organizational groups to include during onboarding.
- Organization
Root stringId - Organization's root id if available, else organization/tenant id.
- Organizational
Unit List<string>Ids - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- Secure
Organization stringId - Timeouts
Secure
Organization Timeouts
- Management
Account stringId - 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 []stringAccounts - List of cloud accounts to exclude during onboarding.
- Excluded
Organizational []stringGroups - List of organizational groups to exclude during onboarding.
- Included
Cloud []stringAccounts - List of cloud accounts to include during onboarding.
- Included
Organizational []stringGroups - List of organizational groups to include during onboarding.
- Organization
Root stringId - Organization's root id if available, else organization/tenant id.
- Organizational
Unit []stringIds - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- Secure
Organization stringId - Timeouts
Secure
Organization Timeouts Args
- management
Account StringId - Cloud Account created using resource sysdig_secure_cloud_auth_account.
- automatic
Onboarding Boolean - Whether or not accounts in organization are to be detected automatically.
- excluded
Cloud List<String>Accounts - List of cloud accounts to exclude during onboarding.
- excluded
Organizational List<String>Groups - List of organizational groups to exclude during onboarding.
- included
Cloud List<String>Accounts - List of cloud accounts to include during onboarding.
- included
Organizational List<String>Groups - List of organizational groups to include during onboarding.
- organization
Root StringId - Organization's root id if available, else organization/tenant id.
- organizational
Unit List<String>Ids - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secure
Organization StringId - timeouts
Secure
Organization Timeouts
- management
Account stringId - Cloud Account created using resource sysdig_secure_cloud_auth_account.
- automatic
Onboarding boolean - Whether or not accounts in organization are to be detected automatically.
- excluded
Cloud string[]Accounts - List of cloud accounts to exclude during onboarding.
- excluded
Organizational string[]Groups - List of organizational groups to exclude during onboarding.
- included
Cloud string[]Accounts - List of cloud accounts to include during onboarding.
- included
Organizational string[]Groups - List of organizational groups to include during onboarding.
- organization
Root stringId - Organization's root id if available, else organization/tenant id.
- organizational
Unit string[]Ids - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secure
Organization stringId - timeouts
Secure
Organization 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
Secure
Organization Timeouts Args
- management
Account StringId - Cloud Account created using resource sysdig_secure_cloud_auth_account.
- automatic
Onboarding Boolean - Whether or not accounts in organization are to be detected automatically.
- excluded
Cloud List<String>Accounts - List of cloud accounts to exclude during onboarding.
- excluded
Organizational List<String>Groups - List of organizational groups to exclude during onboarding.
- included
Cloud List<String>Accounts - List of cloud accounts to include during onboarding.
- included
Organizational List<String>Groups - List of organizational groups to include during onboarding.
- organization
Root StringId - Organization's root id if available, else organization/tenant id.
- organizational
Unit List<String>Ids - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secure
Organization 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) -> SecureOrganization
func 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.
- Automatic
Onboarding bool - Whether or not accounts in organization are to be detected automatically.
- Excluded
Cloud List<string>Accounts - List of cloud accounts to exclude during onboarding.
- Excluded
Organizational List<string>Groups - List of organizational groups to exclude during onboarding.
- Included
Cloud List<string>Accounts - List of cloud accounts to include during onboarding.
- Included
Organizational List<string>Groups - List of organizational groups to include during onboarding.
- Management
Account stringId - Cloud Account created using resource sysdig_secure_cloud_auth_account.
- Organization
Root stringId - Organization's root id if available, else organization/tenant id.
- Organizational
Unit List<string>Ids - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- Secure
Organization stringId - Timeouts
Secure
Organization Timeouts
- Automatic
Onboarding bool - Whether or not accounts in organization are to be detected automatically.
- Excluded
Cloud []stringAccounts - List of cloud accounts to exclude during onboarding.
- Excluded
Organizational []stringGroups - List of organizational groups to exclude during onboarding.
- Included
Cloud []stringAccounts - List of cloud accounts to include during onboarding.
- Included
Organizational []stringGroups - List of organizational groups to include during onboarding.
- Management
Account stringId - Cloud Account created using resource sysdig_secure_cloud_auth_account.
- Organization
Root stringId - Organization's root id if available, else organization/tenant id.
- Organizational
Unit []stringIds - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- Secure
Organization stringId - Timeouts
Secure
Organization Timeouts Args
- automatic
Onboarding Boolean - Whether or not accounts in organization are to be detected automatically.
- excluded
Cloud List<String>Accounts - List of cloud accounts to exclude during onboarding.
- excluded
Organizational List<String>Groups - List of organizational groups to exclude during onboarding.
- included
Cloud List<String>Accounts - List of cloud accounts to include during onboarding.
- included
Organizational List<String>Groups - List of organizational groups to include during onboarding.
- management
Account StringId - Cloud Account created using resource sysdig_secure_cloud_auth_account.
- organization
Root StringId - Organization's root id if available, else organization/tenant id.
- organizational
Unit List<String>Ids - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secure
Organization StringId - timeouts
Secure
Organization Timeouts
- automatic
Onboarding boolean - Whether or not accounts in organization are to be detected automatically.
- excluded
Cloud string[]Accounts - List of cloud accounts to exclude during onboarding.
- excluded
Organizational string[]Groups - List of organizational groups to exclude during onboarding.
- included
Cloud string[]Accounts - List of cloud accounts to include during onboarding.
- included
Organizational string[]Groups - List of organizational groups to include during onboarding.
- management
Account stringId - Cloud Account created using resource sysdig_secure_cloud_auth_account.
- organization
Root stringId - Organization's root id if available, else organization/tenant id.
- organizational
Unit string[]Ids - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secure
Organization stringId - timeouts
Secure
Organization 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
Secure
Organization Timeouts Args
- automatic
Onboarding Boolean - Whether or not accounts in organization are to be detected automatically.
- excluded
Cloud List<String>Accounts - List of cloud accounts to exclude during onboarding.
- excluded
Organizational List<String>Groups - List of organizational groups to exclude during onboarding.
- included
Cloud List<String>Accounts - List of cloud accounts to include during onboarding.
- included
Organizational List<String>Groups - List of organizational groups to include during onboarding.
- management
Account StringId - Cloud Account created using resource sysdig_secure_cloud_auth_account.
- organization
Root StringId - Organization's root id if available, else organization/tenant id.
- organizational
Unit List<String>Ids - List of organizational unit identifiers from which to onboard. If empty, the entire organization is onboarded.
- secure
Organization 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
sysdig
Terraform Provider.