Skip to content

Commit 09261f7

Browse files
committed
leave only id and name fields in the secure_teams and monitor_teams schemas
1 parent 2cfd644 commit 09261f7

File tree

4 files changed

+0
-143
lines changed

4 files changed

+0
-143
lines changed

sysdig/data_source_sysdig_monitor_teams.go

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -24,74 +24,6 @@ func dataSourceSysdigMonitorTeams() *schema.Resource {
2424
Type: schema.TypeString,
2525
Computed: true,
2626
},
27-
"theme": {
28-
Type: schema.TypeString,
29-
Computed: true,
30-
},
31-
"description": {
32-
Type: schema.TypeString,
33-
Computed: true,
34-
},
35-
"scope_by": {
36-
Type: schema.TypeString,
37-
Computed: true,
38-
},
39-
"filter": {
40-
Type: schema.TypeString,
41-
Computed: true,
42-
},
43-
"can_use_sysdig_capture": {
44-
Type: schema.TypeBool,
45-
Computed: true,
46-
},
47-
"can_see_infrastructure_events": {
48-
Type: schema.TypeBool,
49-
Computed: true,
50-
},
51-
"can_use_aws_data": {
52-
Type: schema.TypeBool,
53-
Computed: true,
54-
},
55-
"default_team": {
56-
Type: schema.TypeBool,
57-
Computed: true,
58-
},
59-
"user_roles": {
60-
Type: schema.TypeSet,
61-
Computed: true,
62-
Elem: &schema.Resource{
63-
Schema: map[string]*schema.Schema{
64-
"email": {
65-
Type: schema.TypeString,
66-
Computed: true,
67-
},
68-
"role": {
69-
Type: schema.TypeString,
70-
Computed: true,
71-
},
72-
},
73-
},
74-
},
75-
"entrypoint": {
76-
Type: schema.TypeList,
77-
Computed: true,
78-
Elem: &schema.Resource{
79-
Schema: map[string]*schema.Schema{
80-
"type": {
81-
Type: schema.TypeString,
82-
Computed: true,
83-
},
84-
"selection": {
85-
Type: schema.TypeString,
86-
Computed: true,
87-
},
88-
},
89-
},
90-
},
91-
"version": {
92-
Type: schema.TypeInt,
93-
Computed: true,
94-
},
9527
},
9628
},
9729
},

sysdig/data_source_sysdig_secure_teams.go

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -24,61 +24,6 @@ func dataSourceSysdigSecureTeams() *schema.Resource {
2424
Type: schema.TypeString,
2525
Computed: true,
2626
},
27-
"theme": {
28-
Type: schema.TypeString,
29-
Computed: true,
30-
},
31-
"description": {
32-
Type: schema.TypeString,
33-
Computed: true,
34-
},
35-
"scope_by": {
36-
Type: schema.TypeString,
37-
Computed: true,
38-
},
39-
"filter": {
40-
Type: schema.TypeString,
41-
Computed: true,
42-
},
43-
"use_sysdig_capture": {
44-
Type: schema.TypeBool,
45-
Computed: true,
46-
},
47-
"default_team": {
48-
Type: schema.TypeBool,
49-
Computed: true,
50-
},
51-
"user_roles": {
52-
Type: schema.TypeSet,
53-
Computed: true,
54-
Elem: &schema.Resource{
55-
Schema: map[string]*schema.Schema{
56-
"email": {
57-
Type: schema.TypeString,
58-
Computed: true,
59-
},
60-
"role": {
61-
Type: schema.TypeString,
62-
Computed: true,
63-
},
64-
},
65-
},
66-
},
67-
"zone_ids": {
68-
Type: schema.TypeList,
69-
Computed: true,
70-
Elem: &schema.Schema{
71-
Type: schema.TypeInt,
72-
},
73-
},
74-
"all_zones": {
75-
Type: schema.TypeBool,
76-
Computed: true,
77-
},
78-
"version": {
79-
Type: schema.TypeInt,
80-
Computed: true,
81-
},
8227
},
8328
},
8429
},

website/docs/d/monitor_teams.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,3 @@ data "sysdig_monitor_teams" "example" {}
2121
- `teams` - A list of monitor teams. Each team has the following attributes:
2222
- `id` - The ID of the monitor team.
2323
- `name` - The name of the monitor team.
24-
- `description` - The description of the monitor team.
25-
- `filter` - The filter applied to the team.
26-
- `scope_by` - The scope of the team.
27-
- `can_use_sysdig_capture` - Whether the team can use Sysdig capture.
28-
- `can_see_infrastructure_events` - Whether the team can see infrastructure events.
29-
- `can_use_aws_data` - Whether the team can use AWS data.
30-
- `default_team` - Whether the team is the default team.
31-
- `user_roles` - The roles assigned to users in the team.
32-
- `version` - The version of the monitor team.
33-
- `theme` - The theme of the monitor team.

website/docs/d/secure_teams.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,3 @@ data "sysdig_secure_teams" "example" {}
2121
- `teams` - A list of secure teams. Each team has the following attributes:
2222
- `id` - The ID of the secure team.
2323
- `name` - The name of the secure team.
24-
- `description` - The description of the secure team.
25-
- `filter` - The filter applied to the team.
26-
- `scope_by` - The scope of the team.
27-
- `use_sysdig_capture` - Whether the team can use Sysdig capture.
28-
- `default_team` - Whether the team is the default team.
29-
- `user_roles` - The roles assigned to users in the team.
30-
- `zone_ids` - The IDs of the zones associated with the team.
31-
- `all_zones` - Whether the team has access to all zones.
32-
- `version` - The version of the secure team.
33-
- `theme` - The theme of the secure team.

0 commit comments

Comments
 (0)