1. Packages
  2. Sysdig Provider
  3. API Docs
  4. MonitorTeam
sysdig 1.54.0 published on Monday, Apr 28, 2025 by sysdiglabs

sysdig.MonitorTeam

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.MonitorTeam("devops", {
    entrypoints: [{
        type: "DashboardTemplates",
        selection: "view.net.http",
    }],
    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),
        },
    ],
    filter: "kubernetes.namespace.name in (\"kube-system\") and kubernetes.deployment.name in (\"coredns\")",
    prometheusRemoteWriteMetricsFilter: "kube_cluster_name in (\"test-cluster\", \"test-k8s-data\") and kube_deployment_name  = \"coredns\" and my_metric starts with \"prefix\" and not my_metric contains \"prefix-test\"",
});
Copy
import pulumi
import pulumi_sysdig as sysdig

me = sysdig.get_current_user()
custom_role = sysdig.get_custom_role(name="CustomRoleName")
devops = sysdig.MonitorTeam("devops",
    entrypoints=[{
        "type": "DashboardTemplates",
        "selection": "view.net.http",
    }],
    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,
        },
    ],
    filter="kubernetes.namespace.name in (\"kube-system\") and kubernetes.deployment.name in (\"coredns\")",
    prometheus_remote_write_metrics_filter="kube_cluster_name in (\"test-cluster\", \"test-k8s-data\") and kube_deployment_name  = \"coredns\" and my_metric starts with \"prefix\" and not my_metric contains \"prefix-test\"")
Copy
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.NewMonitorTeam(ctx, "devops", &sysdig.MonitorTeamArgs{
			Entrypoints: sysdig.MonitorTeamEntrypointArray{
				&sysdig.MonitorTeamEntrypointArgs{
					Type:      pulumi.String("DashboardTemplates"),
					Selection: pulumi.String("view.net.http"),
				},
			},
			UserRoles: sysdig.MonitorTeamUserRoleArray{
				&sysdig.MonitorTeamUserRoleArgs{
					Email: pulumi.String(me.Email),
					Role:  pulumi.String("ROLE_TEAM_MANAGER"),
				},
				&sysdig.MonitorTeamUserRoleArgs{
					Email: pulumi.String("john.doe@example.com"),
					Role:  pulumi.String("ROLE_TEAM_STANDARD"),
				},
				&sysdig.MonitorTeamUserRoleArgs{
					Email: pulumi.String("john.smith@example.com"),
					Role:  pulumi.String(customRole.Id),
				},
			},
			Filter:                             pulumi.String("kubernetes.namespace.name in (\"kube-system\") and kubernetes.deployment.name in (\"coredns\")"),
			PrometheusRemoteWriteMetricsFilter: pulumi.String("kube_cluster_name in (\"test-cluster\", \"test-k8s-data\") and kube_deployment_name  = \"coredns\" and my_metric starts with \"prefix\" and not my_metric contains \"prefix-test\""),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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.MonitorTeam("devops", new()
    {
        Entrypoints = new[]
        {
            new Sysdig.Inputs.MonitorTeamEntrypointArgs
            {
                Type = "DashboardTemplates",
                Selection = "view.net.http",
            },
        },
        UserRoles = new[]
        {
            new Sysdig.Inputs.MonitorTeamUserRoleArgs
            {
                Email = me.Apply(getCurrentUserResult => getCurrentUserResult.Email),
                Role = "ROLE_TEAM_MANAGER",
            },
            new Sysdig.Inputs.MonitorTeamUserRoleArgs
            {
                Email = "john.doe@example.com",
                Role = "ROLE_TEAM_STANDARD",
            },
            new Sysdig.Inputs.MonitorTeamUserRoleArgs
            {
                Email = "john.smith@example.com",
                Role = customRole.Apply(getCustomRoleResult => getCustomRoleResult.Id),
            },
        },
        Filter = "kubernetes.namespace.name in (\"kube-system\") and kubernetes.deployment.name in (\"coredns\")",
        PrometheusRemoteWriteMetricsFilter = "kube_cluster_name in (\"test-cluster\", \"test-k8s-data\") and kube_deployment_name  = \"coredns\" and my_metric starts with \"prefix\" and not my_metric contains \"prefix-test\"",
    });

});
Copy
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.MonitorTeam;
import com.pulumi.sysdig.MonitorTeamArgs;
import com.pulumi.sysdig.inputs.MonitorTeamEntrypointArgs;
import com.pulumi.sysdig.inputs.MonitorTeamUserRoleArgs;
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 MonitorTeam("devops", MonitorTeamArgs.builder()
            .entrypoints(MonitorTeamEntrypointArgs.builder()
                .type("DashboardTemplates")
                .selection("view.net.http")
                .build())
            .userRoles(            
                MonitorTeamUserRoleArgs.builder()
                    .email(me.applyValue(getCurrentUserResult -> getCurrentUserResult.email()))
                    .role("ROLE_TEAM_MANAGER")
                    .build(),
                MonitorTeamUserRoleArgs.builder()
                    .email("john.doe@example.com")
                    .role("ROLE_TEAM_STANDARD")
                    .build(),
                MonitorTeamUserRoleArgs.builder()
                    .email("john.smith@example.com")
                    .role(customRole.applyValue(getCustomRoleResult -> getCustomRoleResult.id()))
                    .build())
            .filter("kubernetes.namespace.name in (\"kube-system\") and kubernetes.deployment.name in (\"coredns\")")
            .prometheusRemoteWriteMetricsFilter("kube_cluster_name in (\"test-cluster\", \"test-k8s-data\") and kube_deployment_name  = \"coredns\" and my_metric starts with \"prefix\" and not my_metric contains \"prefix-test\"")
            .build());

    }
}
Copy
resources:
  devops:
    type: sysdig:MonitorTeam
    properties:
      entrypoints:
        - type: DashboardTemplates
          selection: view.net.http
      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}
      filter: kubernetes.namespace.name in ("kube-system") and kubernetes.deployment.name in ("coredns")
      prometheusRemoteWriteMetricsFilter: kube_cluster_name in ("test-cluster", "test-k8s-data") and kube_deployment_name  = "coredns" and my_metric starts with "prefix" and not my_metric contains "prefix-test"
variables:
  me:
    fn::invoke:
      function: sysdig:getCurrentUser
      arguments: {}
  customRole:
    fn::invoke:
      function: sysdig:getCustomRole
      arguments:
        name: CustomRoleName
Copy

Create MonitorTeam Resource

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

Constructor syntax

new MonitorTeam(name: string, args: MonitorTeamArgs, opts?: CustomResourceOptions);
@overload
def MonitorTeam(resource_name: str,
                args: MonitorTeamArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def MonitorTeam(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                entrypoints: Optional[Sequence[MonitorTeamEntrypointArgs]] = None,
                filter: Optional[str] = None,
                monitor_team_id: Optional[str] = None,
                can_use_sysdig_capture: Optional[bool] = None,
                default_team: Optional[bool] = None,
                description: Optional[str] = None,
                enable_ibm_platform_metrics: Optional[bool] = None,
                can_use_aws_data: Optional[bool] = None,
                can_use_agent_cli: Optional[bool] = None,
                ibm_platform_metrics: Optional[str] = None,
                can_see_infrastructure_events: Optional[bool] = None,
                name: Optional[str] = None,
                prometheus_remote_write_metrics_filter: Optional[str] = None,
                scope_by: Optional[str] = None,
                theme: Optional[str] = None,
                timeouts: Optional[MonitorTeamTimeoutsArgs] = None,
                user_roles: Optional[Sequence[MonitorTeamUserRoleArgs]] = None)
func NewMonitorTeam(ctx *Context, name string, args MonitorTeamArgs, opts ...ResourceOption) (*MonitorTeam, error)
public MonitorTeam(string name, MonitorTeamArgs args, CustomResourceOptions? opts = null)
public MonitorTeam(String name, MonitorTeamArgs args)
public MonitorTeam(String name, MonitorTeamArgs args, CustomResourceOptions options)
type: sysdig:MonitorTeam
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MonitorTeamArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MonitorTeamArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MonitorTeamArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MonitorTeamArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MonitorTeamArgs
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 monitorTeamResource = new Sysdig.MonitorTeam("monitorTeamResource", new()
{
    Entrypoints = new[]
    {
        new Sysdig.Inputs.MonitorTeamEntrypointArgs
        {
            Type = "string",
            Selection = "string",
        },
    },
    Filter = "string",
    MonitorTeamId = "string",
    CanUseSysdigCapture = false,
    DefaultTeam = false,
    Description = "string",
    EnableIbmPlatformMetrics = false,
    CanUseAwsData = false,
    CanUseAgentCli = false,
    IbmPlatformMetrics = "string",
    CanSeeInfrastructureEvents = false,
    Name = "string",
    PrometheusRemoteWriteMetricsFilter = "string",
    ScopeBy = "string",
    Theme = "string",
    Timeouts = new Sysdig.Inputs.MonitorTeamTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
    UserRoles = new[]
    {
        new Sysdig.Inputs.MonitorTeamUserRoleArgs
        {
            Email = "string",
            Role = "string",
        },
    },
});
Copy
example, err := sysdig.NewMonitorTeam(ctx, "monitorTeamResource", &sysdig.MonitorTeamArgs{
	Entrypoints: sysdig.MonitorTeamEntrypointArray{
		&sysdig.MonitorTeamEntrypointArgs{
			Type:      pulumi.String("string"),
			Selection: pulumi.String("string"),
		},
	},
	Filter:                             pulumi.String("string"),
	MonitorTeamId:                      pulumi.String("string"),
	CanUseSysdigCapture:                pulumi.Bool(false),
	DefaultTeam:                        pulumi.Bool(false),
	Description:                        pulumi.String("string"),
	EnableIbmPlatformMetrics:           pulumi.Bool(false),
	CanUseAwsData:                      pulumi.Bool(false),
	CanUseAgentCli:                     pulumi.Bool(false),
	IbmPlatformMetrics:                 pulumi.String("string"),
	CanSeeInfrastructureEvents:         pulumi.Bool(false),
	Name:                               pulumi.String("string"),
	PrometheusRemoteWriteMetricsFilter: pulumi.String("string"),
	ScopeBy:                            pulumi.String("string"),
	Theme:                              pulumi.String("string"),
	Timeouts: &sysdig.MonitorTeamTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Read:   pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	UserRoles: sysdig.MonitorTeamUserRoleArray{
		&sysdig.MonitorTeamUserRoleArgs{
			Email: pulumi.String("string"),
			Role:  pulumi.String("string"),
		},
	},
})
Copy
var monitorTeamResource = new MonitorTeam("monitorTeamResource", MonitorTeamArgs.builder()
    .entrypoints(MonitorTeamEntrypointArgs.builder()
        .type("string")
        .selection("string")
        .build())
    .filter("string")
    .monitorTeamId("string")
    .canUseSysdigCapture(false)
    .defaultTeam(false)
    .description("string")
    .enableIbmPlatformMetrics(false)
    .canUseAwsData(false)
    .canUseAgentCli(false)
    .ibmPlatformMetrics("string")
    .canSeeInfrastructureEvents(false)
    .name("string")
    .prometheusRemoteWriteMetricsFilter("string")
    .scopeBy("string")
    .theme("string")
    .timeouts(MonitorTeamTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .userRoles(MonitorTeamUserRoleArgs.builder()
        .email("string")
        .role("string")
        .build())
    .build());
Copy
monitor_team_resource = sysdig.MonitorTeam("monitorTeamResource",
    entrypoints=[{
        "type": "string",
        "selection": "string",
    }],
    filter="string",
    monitor_team_id="string",
    can_use_sysdig_capture=False,
    default_team=False,
    description="string",
    enable_ibm_platform_metrics=False,
    can_use_aws_data=False,
    can_use_agent_cli=False,
    ibm_platform_metrics="string",
    can_see_infrastructure_events=False,
    name="string",
    prometheus_remote_write_metrics_filter="string",
    scope_by="string",
    theme="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    },
    user_roles=[{
        "email": "string",
        "role": "string",
    }])
Copy
const monitorTeamResource = new sysdig.MonitorTeam("monitorTeamResource", {
    entrypoints: [{
        type: "string",
        selection: "string",
    }],
    filter: "string",
    monitorTeamId: "string",
    canUseSysdigCapture: false,
    defaultTeam: false,
    description: "string",
    enableIbmPlatformMetrics: false,
    canUseAwsData: false,
    canUseAgentCli: false,
    ibmPlatformMetrics: "string",
    canSeeInfrastructureEvents: false,
    name: "string",
    prometheusRemoteWriteMetricsFilter: "string",
    scopeBy: "string",
    theme: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
    userRoles: [{
        email: "string",
        role: "string",
    }],
});
Copy
type: sysdig:MonitorTeam
properties:
    canSeeInfrastructureEvents: false
    canUseAgentCli: false
    canUseAwsData: false
    canUseSysdigCapture: false
    defaultTeam: false
    description: string
    enableIbmPlatformMetrics: false
    entrypoints:
        - selection: string
          type: string
    filter: string
    ibmPlatformMetrics: string
    monitorTeamId: string
    name: string
    prometheusRemoteWriteMetricsFilter: string
    scopeBy: string
    theme: string
    timeouts:
        create: string
        delete: string
        read: string
        update: string
    userRoles:
        - email: string
          role: string
Copy

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

Entrypoints This property is required. List<MonitorTeamEntrypoint>
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
CanSeeInfrastructureEvents bool
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
CanUseAgentCli bool
Enable this option to give this team access to Using the Agent Console. Default: true.
CanUseAwsData bool
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
CanUseSysdigCapture bool
Defines if the team is able to create Sysdig Capture files. Default: true.
DefaultTeam bool
Description string
A description of the team.
EnableIbmPlatformMetrics bool
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
Filter string
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
IbmPlatformMetrics string
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
MonitorTeamId string
ID of the created team.
Name string
The name of the Monitor Team. It must be unique and must not exist in Secure.
PrometheusRemoteWriteMetricsFilter string
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
ScopeBy string
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
Theme string
Colour of the team. Default: #05C391.
Timeouts MonitorTeamTimeouts
UserRoles List<MonitorTeamUserRole>
Entrypoints This property is required. []MonitorTeamEntrypointArgs
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
CanSeeInfrastructureEvents bool
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
CanUseAgentCli bool
Enable this option to give this team access to Using the Agent Console. Default: true.
CanUseAwsData bool
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
CanUseSysdigCapture bool
Defines if the team is able to create Sysdig Capture files. Default: true.
DefaultTeam bool
Description string
A description of the team.
EnableIbmPlatformMetrics bool
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
Filter string
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
IbmPlatformMetrics string
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
MonitorTeamId string
ID of the created team.
Name string
The name of the Monitor Team. It must be unique and must not exist in Secure.
PrometheusRemoteWriteMetricsFilter string
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
ScopeBy string
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
Theme string
Colour of the team. Default: #05C391.
Timeouts MonitorTeamTimeoutsArgs
UserRoles []MonitorTeamUserRoleArgs
entrypoints This property is required. List<MonitorTeamEntrypoint>
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
canSeeInfrastructureEvents Boolean
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
canUseAgentCli Boolean
Enable this option to give this team access to Using the Agent Console. Default: true.
canUseAwsData Boolean
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
canUseSysdigCapture Boolean
Defines if the team is able to create Sysdig Capture files. Default: true.
defaultTeam Boolean
description String
A description of the team.
enableIbmPlatformMetrics Boolean
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
filter String
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
ibmPlatformMetrics String
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
monitorTeamId String
ID of the created team.
name String
The name of the Monitor Team. It must be unique and must not exist in Secure.
prometheusRemoteWriteMetricsFilter String
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
scopeBy String
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
theme String
Colour of the team. Default: #05C391.
timeouts MonitorTeamTimeouts
userRoles List<MonitorTeamUserRole>
entrypoints This property is required. MonitorTeamEntrypoint[]
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
canSeeInfrastructureEvents boolean
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
canUseAgentCli boolean
Enable this option to give this team access to Using the Agent Console. Default: true.
canUseAwsData boolean
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
canUseSysdigCapture boolean
Defines if the team is able to create Sysdig Capture files. Default: true.
defaultTeam boolean
description string
A description of the team.
enableIbmPlatformMetrics boolean
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
filter string
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
ibmPlatformMetrics string
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
monitorTeamId string
ID of the created team.
name string
The name of the Monitor Team. It must be unique and must not exist in Secure.
prometheusRemoteWriteMetricsFilter string
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
scopeBy string
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
theme string
Colour of the team. Default: #05C391.
timeouts MonitorTeamTimeouts
userRoles MonitorTeamUserRole[]
entrypoints This property is required. Sequence[MonitorTeamEntrypointArgs]
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
can_see_infrastructure_events bool
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
can_use_agent_cli bool
Enable this option to give this team access to Using the Agent Console. Default: true.
can_use_aws_data bool
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
can_use_sysdig_capture bool
Defines if the team is able to create Sysdig Capture files. Default: true.
default_team bool
description str
A description of the team.
enable_ibm_platform_metrics bool
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
filter str
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
ibm_platform_metrics str
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
monitor_team_id str
ID of the created team.
name str
The name of the Monitor Team. It must be unique and must not exist in Secure.
prometheus_remote_write_metrics_filter str
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
scope_by str
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
theme str
Colour of the team. Default: #05C391.
timeouts MonitorTeamTimeoutsArgs
user_roles Sequence[MonitorTeamUserRoleArgs]
entrypoints This property is required. List<Property Map>
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
canSeeInfrastructureEvents Boolean
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
canUseAgentCli Boolean
Enable this option to give this team access to Using the Agent Console. Default: true.
canUseAwsData Boolean
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
canUseSysdigCapture Boolean
Defines if the team is able to create Sysdig Capture files. Default: true.
defaultTeam Boolean
description String
A description of the team.
enableIbmPlatformMetrics Boolean
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
filter String
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
ibmPlatformMetrics String
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
monitorTeamId String
ID of the created team.
name String
The name of the Monitor Team. It must be unique and must not exist in Secure.
prometheusRemoteWriteMetricsFilter String
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
scopeBy String
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
theme String
Colour of the team. Default: #05C391.
timeouts Property Map
userRoles List<Property Map>

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Version double
Current version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Version float64
Current version of the resource.
id String
The provider-assigned unique ID for this managed resource.
version Double
Current version of the resource.
id string
The provider-assigned unique ID for this managed resource.
version number
Current version of the resource.
id str
The provider-assigned unique ID for this managed resource.
version float
Current version of the resource.
id String
The provider-assigned unique ID for this managed resource.
version Number
Current version of the resource.

Look up Existing MonitorTeam Resource

Get an existing MonitorTeam 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?: MonitorTeamState, opts?: CustomResourceOptions): MonitorTeam
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        can_see_infrastructure_events: Optional[bool] = None,
        can_use_agent_cli: Optional[bool] = None,
        can_use_aws_data: Optional[bool] = None,
        can_use_sysdig_capture: Optional[bool] = None,
        default_team: Optional[bool] = None,
        description: Optional[str] = None,
        enable_ibm_platform_metrics: Optional[bool] = None,
        entrypoints: Optional[Sequence[MonitorTeamEntrypointArgs]] = None,
        filter: Optional[str] = None,
        ibm_platform_metrics: Optional[str] = None,
        monitor_team_id: Optional[str] = None,
        name: Optional[str] = None,
        prometheus_remote_write_metrics_filter: Optional[str] = None,
        scope_by: Optional[str] = None,
        theme: Optional[str] = None,
        timeouts: Optional[MonitorTeamTimeoutsArgs] = None,
        user_roles: Optional[Sequence[MonitorTeamUserRoleArgs]] = None,
        version: Optional[float] = None) -> MonitorTeam
func GetMonitorTeam(ctx *Context, name string, id IDInput, state *MonitorTeamState, opts ...ResourceOption) (*MonitorTeam, error)
public static MonitorTeam Get(string name, Input<string> id, MonitorTeamState? state, CustomResourceOptions? opts = null)
public static MonitorTeam get(String name, Output<String> id, MonitorTeamState state, CustomResourceOptions options)
resources:  _:    type: sysdig:MonitorTeam    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
CanSeeInfrastructureEvents bool
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
CanUseAgentCli bool
Enable this option to give this team access to Using the Agent Console. Default: true.
CanUseAwsData bool
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
CanUseSysdigCapture bool
Defines if the team is able to create Sysdig Capture files. Default: true.
DefaultTeam bool
Description string
A description of the team.
EnableIbmPlatformMetrics bool
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
Entrypoints List<MonitorTeamEntrypoint>
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
Filter string
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
IbmPlatformMetrics string
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
MonitorTeamId string
ID of the created team.
Name string
The name of the Monitor Team. It must be unique and must not exist in Secure.
PrometheusRemoteWriteMetricsFilter string
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
ScopeBy string
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
Theme string
Colour of the team. Default: #05C391.
Timeouts MonitorTeamTimeouts
UserRoles List<MonitorTeamUserRole>
Version double
Current version of the resource.
CanSeeInfrastructureEvents bool
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
CanUseAgentCli bool
Enable this option to give this team access to Using the Agent Console. Default: true.
CanUseAwsData bool
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
CanUseSysdigCapture bool
Defines if the team is able to create Sysdig Capture files. Default: true.
DefaultTeam bool
Description string
A description of the team.
EnableIbmPlatformMetrics bool
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
Entrypoints []MonitorTeamEntrypointArgs
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
Filter string
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
IbmPlatformMetrics string
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
MonitorTeamId string
ID of the created team.
Name string
The name of the Monitor Team. It must be unique and must not exist in Secure.
PrometheusRemoteWriteMetricsFilter string
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
ScopeBy string
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
Theme string
Colour of the team. Default: #05C391.
Timeouts MonitorTeamTimeoutsArgs
UserRoles []MonitorTeamUserRoleArgs
Version float64
Current version of the resource.
canSeeInfrastructureEvents Boolean
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
canUseAgentCli Boolean
Enable this option to give this team access to Using the Agent Console. Default: true.
canUseAwsData Boolean
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
canUseSysdigCapture Boolean
Defines if the team is able to create Sysdig Capture files. Default: true.
defaultTeam Boolean
description String
A description of the team.
enableIbmPlatformMetrics Boolean
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
entrypoints List<MonitorTeamEntrypoint>
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
filter String
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
ibmPlatformMetrics String
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
monitorTeamId String
ID of the created team.
name String
The name of the Monitor Team. It must be unique and must not exist in Secure.
prometheusRemoteWriteMetricsFilter String
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
scopeBy String
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
theme String
Colour of the team. Default: #05C391.
timeouts MonitorTeamTimeouts
userRoles List<MonitorTeamUserRole>
version Double
Current version of the resource.
canSeeInfrastructureEvents boolean
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
canUseAgentCli boolean
Enable this option to give this team access to Using the Agent Console. Default: true.
canUseAwsData boolean
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
canUseSysdigCapture boolean
Defines if the team is able to create Sysdig Capture files. Default: true.
defaultTeam boolean
description string
A description of the team.
enableIbmPlatformMetrics boolean
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
entrypoints MonitorTeamEntrypoint[]
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
filter string
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
ibmPlatformMetrics string
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
monitorTeamId string
ID of the created team.
name string
The name of the Monitor Team. It must be unique and must not exist in Secure.
prometheusRemoteWriteMetricsFilter string
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
scopeBy string
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
theme string
Colour of the team. Default: #05C391.
timeouts MonitorTeamTimeouts
userRoles MonitorTeamUserRole[]
version number
Current version of the resource.
can_see_infrastructure_events bool
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
can_use_agent_cli bool
Enable this option to give this team access to Using the Agent Console. Default: true.
can_use_aws_data bool
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
can_use_sysdig_capture bool
Defines if the team is able to create Sysdig Capture files. Default: true.
default_team bool
description str
A description of the team.
enable_ibm_platform_metrics bool
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
entrypoints Sequence[MonitorTeamEntrypointArgs]
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
filter str
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
ibm_platform_metrics str
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
monitor_team_id str
ID of the created team.
name str
The name of the Monitor Team. It must be unique and must not exist in Secure.
prometheus_remote_write_metrics_filter str
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
scope_by str
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
theme str
Colour of the team. Default: #05C391.
timeouts MonitorTeamTimeoutsArgs
user_roles Sequence[MonitorTeamUserRoleArgs]
version float
Current version of the resource.
canSeeInfrastructureEvents Boolean
Enable this option to allow this team to view all Infrastructure and Custom Events from every user and agent. Otherwise, this team will only see infrastructure events sent specifically to this team. Default: false.
canUseAgentCli Boolean
Enable this option to give this team access to Using the Agent Console. Default: true.
canUseAwsData Boolean
Enable this option to give this team access to AWS metrics and tags. All AWS data is made available, regardless of the team’s Scope. Default: false.
canUseSysdigCapture Boolean
Defines if the team is able to create Sysdig Capture files. Default: true.
defaultTeam Boolean
description String
A description of the team.
enableIbmPlatformMetrics Boolean
(Optional) Enable Platform Metrics on IBM Cloud Monitoring.
entrypoints List<Property Map>
Main entry point for the current team in the product. See the Entrypoint argument reference section for more information.
filter String
Use this option to select which Agent Metrics data users of this team can view. Not setting it will allow users to see all Agent Metrics data.
ibmPlatformMetrics String
(Optional) Use this option to select which Platform Metrics data users of this team can view. Not setting it will allow users to see all Platform Metrics data.
monitorTeamId String
ID of the created team.
name String
The name of the Monitor Team. It must be unique and must not exist in Secure.
prometheusRemoteWriteMetricsFilter String
Use this option to select which Prometheus Remote Write data users of this team can view. Not setting it will allow users to see all Prometheus Remote Write data.
scopeBy String
Scope for the team, either container or host. Default: host. If set to host, team members can see all host-level and container-level information. If set to container, team members can see only Container-level information.
theme String
Colour of the team. Default: #05C391.
timeouts Property Map
userRoles List<Property Map>
version Number
Current version of the resource.

Supporting Types

MonitorTeamEntrypoint
, MonitorTeamEntrypointArgs

Type This property is required. string
Main entrypoint for the team. Valid options are: Explore, Dashboards, Events, Alerts, Settings, DashboardTemplates, Advisor.
Selection string
Sets up the defined Dashboard name as entrypoint. Warning: This field must only be added if the type is Dashboards, and the value is the numeric id of the selected dashboard, or DashboardTemplates, and the value is the id (dotted name) of the selected dashboard template.
Type This property is required. string
Main entrypoint for the team. Valid options are: Explore, Dashboards, Events, Alerts, Settings, DashboardTemplates, Advisor.
Selection string
Sets up the defined Dashboard name as entrypoint. Warning: This field must only be added if the type is Dashboards, and the value is the numeric id of the selected dashboard, or DashboardTemplates, and the value is the id (dotted name) of the selected dashboard template.
type This property is required. String
Main entrypoint for the team. Valid options are: Explore, Dashboards, Events, Alerts, Settings, DashboardTemplates, Advisor.
selection String
Sets up the defined Dashboard name as entrypoint. Warning: This field must only be added if the type is Dashboards, and the value is the numeric id of the selected dashboard, or DashboardTemplates, and the value is the id (dotted name) of the selected dashboard template.
type This property is required. string
Main entrypoint for the team. Valid options are: Explore, Dashboards, Events, Alerts, Settings, DashboardTemplates, Advisor.
selection string
Sets up the defined Dashboard name as entrypoint. Warning: This field must only be added if the type is Dashboards, and the value is the numeric id of the selected dashboard, or DashboardTemplates, and the value is the id (dotted name) of the selected dashboard template.
type This property is required. str
Main entrypoint for the team. Valid options are: Explore, Dashboards, Events, Alerts, Settings, DashboardTemplates, Advisor.
selection str
Sets up the defined Dashboard name as entrypoint. Warning: This field must only be added if the type is Dashboards, and the value is the numeric id of the selected dashboard, or DashboardTemplates, and the value is the id (dotted name) of the selected dashboard template.
type This property is required. String
Main entrypoint for the team. Valid options are: Explore, Dashboards, Events, Alerts, Settings, DashboardTemplates, Advisor.
selection String
Sets up the defined Dashboard name as entrypoint. Warning: This field must only be added if the type is Dashboards, and the value is the numeric id of the selected dashboard, or DashboardTemplates, and the value is the id (dotted name) of the selected dashboard template.

MonitorTeamTimeouts
, MonitorTeamTimeoutsArgs

Create string
Delete string
Read string
Update string
Create string
Delete string
Read string
Update string
create String
delete String
read String
update String
create string
delete string
read string
update string
create str
delete str
read str
update str
create String
delete String
read String
update String

MonitorTeamUserRole
, MonitorTeamUserRoleArgs

Email This property is required. 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 from sysdig.CustomRole resource or sysdig.CustomRole data source
Email This property is required. 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 from sysdig.CustomRole resource or sysdig.CustomRole data source
email This property is required. 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 from sysdig.CustomRole resource or sysdig.CustomRole data source
email This property is required. 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 from sysdig.CustomRole resource or sysdig.CustomRole data source
email This property is required. 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 from sysdig.CustomRole resource or sysdig.CustomRole data source
email This property is required. 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 from sysdig.CustomRole resource or sysdig.CustomRole data source

Import

Monitor Teams can be imported using the ID, e.g.

$ pulumi import sysdig:index/monitorTeam:MonitorTeam example 12345
Copy

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.