sysdig.SecureTeam
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sysdig from "@pulumi/sysdig";
const me = sysdig.getCurrentUser({});
const customRole = sysdig.getCustomRole({
name: "CustomRoleName",
});
const devops = new sysdig.SecureTeam("devops", {userRoles: [
{
email: me.then(me => me.email),
role: "ROLE_TEAM_MANAGER",
},
{
email: "john.doe@example.com",
role: "ROLE_TEAM_STANDARD",
},
{
email: "john.smith@example.com",
role: customRole.then(customRole => customRole.id),
},
]});
import pulumi
import pulumi_sysdig as sysdig
me = sysdig.get_current_user()
custom_role = sysdig.get_custom_role(name="CustomRoleName")
devops = sysdig.SecureTeam("devops", user_roles=[
{
"email": me.email,
"role": "ROLE_TEAM_MANAGER",
},
{
"email": "john.doe@example.com",
"role": "ROLE_TEAM_STANDARD",
},
{
"email": "john.smith@example.com",
"role": custom_role.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 {
me, err := sysdig.GetCurrentUser(ctx, &sysdig.GetCurrentUserArgs{}, nil)
if err != nil {
return err
}
customRole, err := sysdig.LookupCustomRole(ctx, &sysdig.LookupCustomRoleArgs{
Name: "CustomRoleName",
}, nil)
if err != nil {
return err
}
_, err = sysdig.NewSecureTeam(ctx, "devops", &sysdig.SecureTeamArgs{
UserRoles: sysdig.SecureTeamUserRoleArray{
&sysdig.SecureTeamUserRoleArgs{
Email: pulumi.String(me.Email),
Role: pulumi.String("ROLE_TEAM_MANAGER"),
},
&sysdig.SecureTeamUserRoleArgs{
Email: pulumi.String("john.doe@example.com"),
Role: pulumi.String("ROLE_TEAM_STANDARD"),
},
&sysdig.SecureTeamUserRoleArgs{
Email: pulumi.String("john.smith@example.com"),
Role: pulumi.String(customRole.Id),
},
},
})
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 me = Sysdig.GetCurrentUser.Invoke();
var customRole = Sysdig.GetCustomRole.Invoke(new()
{
Name = "CustomRoleName",
});
var devops = new Sysdig.SecureTeam("devops", new()
{
UserRoles = new[]
{
new Sysdig.Inputs.SecureTeamUserRoleArgs
{
Email = me.Apply(getCurrentUserResult => getCurrentUserResult.Email),
Role = "ROLE_TEAM_MANAGER",
},
new Sysdig.Inputs.SecureTeamUserRoleArgs
{
Email = "john.doe@example.com",
Role = "ROLE_TEAM_STANDARD",
},
new Sysdig.Inputs.SecureTeamUserRoleArgs
{
Email = "john.smith@example.com",
Role = customRole.Apply(getCustomRoleResult => getCustomRoleResult.Id),
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sysdig.SysdigFunctions;
import com.pulumi.sysdig.inputs.GetCurrentUserArgs;
import com.pulumi.sysdig.inputs.GetCustomRoleArgs;
import com.pulumi.sysdig.SecureTeam;
import com.pulumi.sysdig.SecureTeamArgs;
import com.pulumi.sysdig.inputs.SecureTeamUserRoleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var me = SysdigFunctions.getCurrentUser();
final var customRole = SysdigFunctions.getCustomRole(GetCustomRoleArgs.builder()
.name("CustomRoleName")
.build());
var devops = new SecureTeam("devops", SecureTeamArgs.builder()
.userRoles(
SecureTeamUserRoleArgs.builder()
.email(me.applyValue(getCurrentUserResult -> getCurrentUserResult.email()))
.role("ROLE_TEAM_MANAGER")
.build(),
SecureTeamUserRoleArgs.builder()
.email("john.doe@example.com")
.role("ROLE_TEAM_STANDARD")
.build(),
SecureTeamUserRoleArgs.builder()
.email("john.smith@example.com")
.role(customRole.applyValue(getCustomRoleResult -> getCustomRoleResult.id()))
.build())
.build());
}
}
resources:
devops:
type: sysdig:SecureTeam
properties:
userRoles:
- email: ${me.email}
role: ROLE_TEAM_MANAGER
- email: john.doe@example.com
role: ROLE_TEAM_STANDARD
- email: john.smith@example.com
role: ${customRole.id}
variables:
me:
fn::invoke:
function: sysdig:getCurrentUser
arguments: {}
customRole:
fn::invoke:
function: sysdig:getCustomRole
arguments:
name: CustomRoleName
Create SecureTeam Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecureTeam(name: string, args?: SecureTeamArgs, opts?: CustomResourceOptions);
@overload
def SecureTeam(resource_name: str,
args: Optional[SecureTeamArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SecureTeam(resource_name: str,
opts: Optional[ResourceOptions] = None,
all_zones: Optional[bool] = None,
can_use_agent_cli: Optional[bool] = None,
can_use_rapid_response: Optional[bool] = None,
default_team: Optional[bool] = None,
description: Optional[str] = None,
enable_ibm_platform_metrics: Optional[bool] = None,
filter: Optional[str] = None,
ibm_platform_metrics: Optional[str] = None,
name: Optional[str] = None,
scope_by: Optional[str] = None,
secure_team_id: Optional[str] = None,
theme: Optional[str] = None,
timeouts: Optional[SecureTeamTimeoutsArgs] = None,
use_sysdig_capture: Optional[bool] = None,
user_roles: Optional[Sequence[SecureTeamUserRoleArgs]] = None,
zone_ids: Optional[Sequence[float]] = None)
func NewSecureTeam(ctx *Context, name string, args *SecureTeamArgs, opts ...ResourceOption) (*SecureTeam, error)
public SecureTeam(string name, SecureTeamArgs? args = null, CustomResourceOptions? opts = null)
public SecureTeam(String name, SecureTeamArgs args)
public SecureTeam(String name, SecureTeamArgs args, CustomResourceOptions options)
type: sysdig:SecureTeam
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 SecureTeamArgs
- 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 SecureTeamArgs
- 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 SecureTeamArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecureTeamArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecureTeamArgs
- 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 secureTeamResource = new Sysdig.SecureTeam("secureTeamResource", new()
{
AllZones = false,
CanUseAgentCli = false,
CanUseRapidResponse = false,
DefaultTeam = false,
Description = "string",
Filter = "string",
Name = "string",
ScopeBy = "string",
SecureTeamId = "string",
Theme = "string",
Timeouts = new Sysdig.Inputs.SecureTeamTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
UseSysdigCapture = false,
UserRoles = new[]
{
new Sysdig.Inputs.SecureTeamUserRoleArgs
{
Email = "string",
Role = "string",
},
},
ZoneIds = new[]
{
0,
},
});
example, err := sysdig.NewSecureTeam(ctx, "secureTeamResource", &sysdig.SecureTeamArgs{
AllZones: pulumi.Bool(false),
CanUseAgentCli: pulumi.Bool(false),
CanUseRapidResponse: pulumi.Bool(false),
DefaultTeam: pulumi.Bool(false),
Description: pulumi.String("string"),
Filter: pulumi.String("string"),
Name: pulumi.String("string"),
ScopeBy: pulumi.String("string"),
SecureTeamId: pulumi.String("string"),
Theme: pulumi.String("string"),
Timeouts: &sysdig.SecureTeamTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
UseSysdigCapture: pulumi.Bool(false),
UserRoles: sysdig.SecureTeamUserRoleArray{
&sysdig.SecureTeamUserRoleArgs{
Email: pulumi.String("string"),
Role: pulumi.String("string"),
},
},
ZoneIds: pulumi.Float64Array{
pulumi.Float64(0),
},
})
var secureTeamResource = new SecureTeam("secureTeamResource", SecureTeamArgs.builder()
.allZones(false)
.canUseAgentCli(false)
.canUseRapidResponse(false)
.defaultTeam(false)
.description("string")
.filter("string")
.name("string")
.scopeBy("string")
.secureTeamId("string")
.theme("string")
.timeouts(SecureTeamTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.useSysdigCapture(false)
.userRoles(SecureTeamUserRoleArgs.builder()
.email("string")
.role("string")
.build())
.zoneIds(0)
.build());
secure_team_resource = sysdig.SecureTeam("secureTeamResource",
all_zones=False,
can_use_agent_cli=False,
can_use_rapid_response=False,
default_team=False,
description="string",
filter="string",
name="string",
scope_by="string",
secure_team_id="string",
theme="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
},
use_sysdig_capture=False,
user_roles=[{
"email": "string",
"role": "string",
}],
zone_ids=[0])
const secureTeamResource = new sysdig.SecureTeam("secureTeamResource", {
allZones: false,
canUseAgentCli: false,
canUseRapidResponse: false,
defaultTeam: false,
description: "string",
filter: "string",
name: "string",
scopeBy: "string",
secureTeamId: "string",
theme: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
useSysdigCapture: false,
userRoles: [{
email: "string",
role: "string",
}],
zoneIds: [0],
});
type: sysdig:SecureTeam
properties:
allZones: false
canUseAgentCli: false
canUseRapidResponse: false
defaultTeam: false
description: string
filter: string
name: string
scopeBy: string
secureTeamId: string
theme: string
timeouts:
create: string
delete: string
read: string
update: string
useSysdigCapture: false
userRoles:
- email: string
role: string
zoneIds:
- 0
SecureTeam 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 SecureTeam resource accepts the following input properties:
- All
Zones bool - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - Can
Use boolAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - Can
Use boolRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - Default
Team bool - Description string
- A description of the team.
- Enable
Ibm boolPlatform Metrics - Filter string
- If the team can only see some resources, write down a filter of such resources.
- Ibm
Platform stringMetrics - Name string
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- Scope
By string - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - Secure
Team stringId - ID of the created team.
- Theme string
- Colour of the team. Default:
#73A1F7
. - Timeouts
Secure
Team Timeouts - Use
Sysdig boolCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - User
Roles List<SecureTeam User Role> - Zone
Ids List<double> - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- All
Zones bool - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - Can
Use boolAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - Can
Use boolRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - Default
Team bool - Description string
- A description of the team.
- Enable
Ibm boolPlatform Metrics - Filter string
- If the team can only see some resources, write down a filter of such resources.
- Ibm
Platform stringMetrics - Name string
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- Scope
By string - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - Secure
Team stringId - ID of the created team.
- Theme string
- Colour of the team. Default:
#73A1F7
. - Timeouts
Secure
Team Timeouts Args - Use
Sysdig boolCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - User
Roles []SecureTeam User Role Args - Zone
Ids []float64 - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- all
Zones Boolean - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - can
Use BooleanAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - can
Use BooleanRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - default
Team Boolean - description String
- A description of the team.
- enable
Ibm BooleanPlatform Metrics - filter String
- If the team can only see some resources, write down a filter of such resources.
- ibm
Platform StringMetrics - name String
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- scope
By String - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - secure
Team StringId - ID of the created team.
- theme String
- Colour of the team. Default:
#73A1F7
. - timeouts
Secure
Team Timeouts - use
Sysdig BooleanCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - user
Roles List<SecureTeam User Role> - zone
Ids List<Double> - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- all
Zones boolean - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - can
Use booleanAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - can
Use booleanRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - default
Team boolean - description string
- A description of the team.
- enable
Ibm booleanPlatform Metrics - filter string
- If the team can only see some resources, write down a filter of such resources.
- ibm
Platform stringMetrics - name string
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- scope
By string - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - secure
Team stringId - ID of the created team.
- theme string
- Colour of the team. Default:
#73A1F7
. - timeouts
Secure
Team Timeouts - use
Sysdig booleanCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - user
Roles SecureTeam User Role[] - zone
Ids number[] - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- all_
zones bool - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - can_
use_ boolagent_ cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - can_
use_ boolrapid_ response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - default_
team bool - description str
- A description of the team.
- enable_
ibm_ boolplatform_ metrics - filter str
- If the team can only see some resources, write down a filter of such resources.
- ibm_
platform_ strmetrics - name str
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- scope_
by str - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - secure_
team_ strid - ID of the created team.
- theme str
- Colour of the team. Default:
#73A1F7
. - timeouts
Secure
Team Timeouts Args - use_
sysdig_ boolcapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - user_
roles Sequence[SecureTeam User Role Args] - zone_
ids Sequence[float] - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- all
Zones Boolean - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - can
Use BooleanAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - can
Use BooleanRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - default
Team Boolean - description String
- A description of the team.
- enable
Ibm BooleanPlatform Metrics - filter String
- If the team can only see some resources, write down a filter of such resources.
- ibm
Platform StringMetrics - name String
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- scope
By String - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - secure
Team StringId - ID of the created team.
- theme String
- Colour of the team. Default:
#73A1F7
. - timeouts Property Map
- use
Sysdig BooleanCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - user
Roles List<Property Map> - zone
Ids List<Number> - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecureTeam resource produces the following output properties:
Look up Existing SecureTeam Resource
Get an existing SecureTeam 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?: SecureTeamState, opts?: CustomResourceOptions): SecureTeam
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
all_zones: Optional[bool] = None,
can_use_agent_cli: Optional[bool] = None,
can_use_rapid_response: Optional[bool] = None,
default_team: Optional[bool] = None,
description: Optional[str] = None,
enable_ibm_platform_metrics: Optional[bool] = None,
filter: Optional[str] = None,
ibm_platform_metrics: Optional[str] = None,
name: Optional[str] = None,
scope_by: Optional[str] = None,
secure_team_id: Optional[str] = None,
theme: Optional[str] = None,
timeouts: Optional[SecureTeamTimeoutsArgs] = None,
use_sysdig_capture: Optional[bool] = None,
user_roles: Optional[Sequence[SecureTeamUserRoleArgs]] = None,
version: Optional[float] = None,
zone_ids: Optional[Sequence[float]] = None) -> SecureTeam
func GetSecureTeam(ctx *Context, name string, id IDInput, state *SecureTeamState, opts ...ResourceOption) (*SecureTeam, error)
public static SecureTeam Get(string name, Input<string> id, SecureTeamState? state, CustomResourceOptions? opts = null)
public static SecureTeam get(String name, Output<String> id, SecureTeamState state, CustomResourceOptions options)
resources: _: type: sysdig:SecureTeam 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.
- All
Zones bool - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - Can
Use boolAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - Can
Use boolRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - Default
Team bool - Description string
- A description of the team.
- Enable
Ibm boolPlatform Metrics - Filter string
- If the team can only see some resources, write down a filter of such resources.
- Ibm
Platform stringMetrics - Name string
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- Scope
By string - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - Secure
Team stringId - ID of the created team.
- Theme string
- Colour of the team. Default:
#73A1F7
. - Timeouts
Secure
Team Timeouts - Use
Sysdig boolCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - User
Roles List<SecureTeam User Role> - Version double
- Current version of the resource.
- Zone
Ids List<double> - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- All
Zones bool - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - Can
Use boolAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - Can
Use boolRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - Default
Team bool - Description string
- A description of the team.
- Enable
Ibm boolPlatform Metrics - Filter string
- If the team can only see some resources, write down a filter of such resources.
- Ibm
Platform stringMetrics - Name string
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- Scope
By string - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - Secure
Team stringId - ID of the created team.
- Theme string
- Colour of the team. Default:
#73A1F7
. - Timeouts
Secure
Team Timeouts Args - Use
Sysdig boolCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - User
Roles []SecureTeam User Role Args - Version float64
- Current version of the resource.
- Zone
Ids []float64 - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- all
Zones Boolean - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - can
Use BooleanAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - can
Use BooleanRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - default
Team Boolean - description String
- A description of the team.
- enable
Ibm BooleanPlatform Metrics - filter String
- If the team can only see some resources, write down a filter of such resources.
- ibm
Platform StringMetrics - name String
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- scope
By String - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - secure
Team StringId - ID of the created team.
- theme String
- Colour of the team. Default:
#73A1F7
. - timeouts
Secure
Team Timeouts - use
Sysdig BooleanCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - user
Roles List<SecureTeam User Role> - version Double
- Current version of the resource.
- zone
Ids List<Double> - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- all
Zones boolean - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - can
Use booleanAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - can
Use booleanRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - default
Team boolean - description string
- A description of the team.
- enable
Ibm booleanPlatform Metrics - filter string
- If the team can only see some resources, write down a filter of such resources.
- ibm
Platform stringMetrics - name string
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- scope
By string - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - secure
Team stringId - ID of the created team.
- theme string
- Colour of the team. Default:
#73A1F7
. - timeouts
Secure
Team Timeouts - use
Sysdig booleanCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - user
Roles SecureTeam User Role[] - version number
- Current version of the resource.
- zone
Ids number[] - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- all_
zones bool - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - can_
use_ boolagent_ cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - can_
use_ boolrapid_ response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - default_
team bool - description str
- A description of the team.
- enable_
ibm_ boolplatform_ metrics - filter str
- If the team can only see some resources, write down a filter of such resources.
- ibm_
platform_ strmetrics - name str
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- scope_
by str - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - secure_
team_ strid - ID of the created team.
- theme str
- Colour of the team. Default:
#73A1F7
. - timeouts
Secure
Team Timeouts Args - use_
sysdig_ boolcapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - user_
roles Sequence[SecureTeam User Role Args] - version float
- Current version of the resource.
- zone_
ids Sequence[float] - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
- all
Zones Boolean - Attach all zones to the team. If this argument is enabled then
zone_ids
needs to be omitted. - can
Use BooleanAgent Cli - Enable this option to give this team access to Using the Agent Console. Default:
true
. - can
Use BooleanRapid Response - Enable this option to give this Secure team access to Rapid Response. Default:
false
. - default
Team Boolean - description String
- A description of the team.
- enable
Ibm BooleanPlatform Metrics - filter String
- If the team can only see some resources, write down a filter of such resources.
- ibm
Platform StringMetrics - name String
- The name of the Secure Team. It must be unique and must not exist in Monitor.
- scope
By String - Scope for the team, either
container
orhost
. Default:container
. If set tohost
, team members can see all host-level and container-level information. If set tocontainer
, team members can see only Container-level information. - secure
Team StringId - ID of the created team.
- theme String
- Colour of the team. Default:
#73A1F7
. - timeouts Property Map
- use
Sysdig BooleanCapture - Defines if the team is able to create Sysdig Capture files. Default:
true
. - user
Roles List<Property Map> - version Number
- Current version of the resource.
- zone
Ids List<Number> - List of zone IDs attached to the team. If
all_zones
is specified this argument needs to be omitted.
Supporting Types
SecureTeamTimeouts, SecureTeamTimeoutsArgs
SecureTeamUserRole, SecureTeamUserRoleArgs
- Email string
- The email of the user in the group.
- Role string
- The role for the user in this group.
Valid roles are:
ROLE_TEAM_STANDARD
,ROLE_TEAM_EDIT
,ROLE_TEAM_READ
,ROLE_TEAM_MANAGER
or CustomRole ID. Default:ROLE_TEAM_STANDARD
. Note: CustomRole ID can be referenced fromsysdig.CustomRole
resource orsysdig.CustomRole
data source
- Email string
- The email of the user in the group.
- Role string
- The role for the user in this group.
Valid roles are:
ROLE_TEAM_STANDARD
,ROLE_TEAM_EDIT
,ROLE_TEAM_READ
,ROLE_TEAM_MANAGER
or CustomRole ID. Default:ROLE_TEAM_STANDARD
. Note: CustomRole ID can be referenced fromsysdig.CustomRole
resource orsysdig.CustomRole
data source
- email String
- The email of the user in the group.
- role String
- The role for the user in this group.
Valid roles are:
ROLE_TEAM_STANDARD
,ROLE_TEAM_EDIT
,ROLE_TEAM_READ
,ROLE_TEAM_MANAGER
or CustomRole ID. Default:ROLE_TEAM_STANDARD
. Note: CustomRole ID can be referenced fromsysdig.CustomRole
resource orsysdig.CustomRole
data source
- email string
- The email of the user in the group.
- role string
- The role for the user in this group.
Valid roles are:
ROLE_TEAM_STANDARD
,ROLE_TEAM_EDIT
,ROLE_TEAM_READ
,ROLE_TEAM_MANAGER
or CustomRole ID. Default:ROLE_TEAM_STANDARD
. Note: CustomRole ID can be referenced fromsysdig.CustomRole
resource orsysdig.CustomRole
data source
- email str
- The email of the user in the group.
- role str
- The role for the user in this group.
Valid roles are:
ROLE_TEAM_STANDARD
,ROLE_TEAM_EDIT
,ROLE_TEAM_READ
,ROLE_TEAM_MANAGER
or CustomRole ID. Default:ROLE_TEAM_STANDARD
. Note: CustomRole ID can be referenced fromsysdig.CustomRole
resource orsysdig.CustomRole
data source
- email String
- The email of the user in the group.
- role String
- The role for the user in this group.
Valid roles are:
ROLE_TEAM_STANDARD
,ROLE_TEAM_EDIT
,ROLE_TEAM_READ
,ROLE_TEAM_MANAGER
or CustomRole ID. Default:ROLE_TEAM_STANDARD
. Note: CustomRole ID can be referenced fromsysdig.CustomRole
resource orsysdig.CustomRole
data source
Import
Secure Teams can be imported using the ID, e.g.
$ pulumi import sysdig:index/secureTeam:SecureTeam example 12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sysdig sysdiglabs/terraform-provider-sysdig
- License
- Notes
- This Pulumi package is based on the
sysdig
Terraform Provider.