Skip to content

Commit cc8211f

Browse files
committed
add docs
1 parent fa982e9 commit cc8211f

File tree

5 files changed

+511
-16
lines changed

5 files changed

+511
-16
lines changed

aquasec/resource_application_scope.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package aquasec
22

33
import (
44
"fmt"
5+
"strings"
6+
57
"github.com/aquasecurity/terraform-provider-aquasec/client"
68
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
7-
"strings"
89
)
910

1011
func resourceApplicationScope() *schema.Resource {
Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "aquasec_application_scope_saas Data Source - terraform-provider-aquasec"
4+
subcategory: ""
5+
description: |-
6+
7+
---
8+
9+
# aquasec_application_scope_saas (Data Source)
10+
11+
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `name` (String) Name of an application scope.
21+
22+
### Optional
23+
24+
- `categories` (Block Set) Artifacts (of applications) / Workloads (containers) / Infrastructure (elements). (see [below for nested schema](#nestedblock--categories))
25+
26+
### Read-Only
27+
28+
- `author` (String) Username of the account that created the service.
29+
- `description` (String) Description of the application scope.
30+
- `id` (String) The ID of this resource.
31+
- `owner_email` (String) Name of an application scope.
32+
33+
<a id="nestedblock--categories"></a>
34+
### Nested Schema for `categories`
35+
36+
Optional:
37+
38+
- `artifacts` (Block Set) (see [below for nested schema](#nestedblock--categories--artifacts))
39+
- `entity_scope` (Block Set) (see [below for nested schema](#nestedblock--categories--entity_scope))
40+
- `infrastructure` (Block Set) (see [below for nested schema](#nestedblock--categories--infrastructure))
41+
- `workloads` (Block Set) (see [below for nested schema](#nestedblock--categories--workloads))
42+
43+
<a id="nestedblock--categories--artifacts"></a>
44+
### Nested Schema for `categories.artifacts`
45+
46+
Optional:
47+
48+
- `cf` (Block Set) (see [below for nested schema](#nestedblock--categories--artifacts--cf))
49+
- `function` (Block Set) (see [below for nested schema](#nestedblock--categories--artifacts--function))
50+
- `image` (Block Set) (see [below for nested schema](#nestedblock--categories--artifacts--image))
51+
52+
<a id="nestedblock--categories--artifacts--cf"></a>
53+
### Nested Schema for `categories.artifacts.cf`
54+
55+
Optional:
56+
57+
- `expression` (String)
58+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--artifacts--cf--variables))
59+
60+
<a id="nestedblock--categories--artifacts--cf--variables"></a>
61+
### Nested Schema for `categories.artifacts.cf.variables`
62+
63+
Optional:
64+
65+
- `attribute` (String)
66+
- `name` (String)
67+
- `value` (String)
68+
69+
70+
71+
<a id="nestedblock--categories--artifacts--function"></a>
72+
### Nested Schema for `categories.artifacts.function`
73+
74+
Optional:
75+
76+
- `expression` (String)
77+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--artifacts--function--variables))
78+
79+
<a id="nestedblock--categories--artifacts--function--variables"></a>
80+
### Nested Schema for `categories.artifacts.function.variables`
81+
82+
Optional:
83+
84+
- `attribute` (String)
85+
- `name` (String)
86+
- `value` (String)
87+
88+
89+
90+
<a id="nestedblock--categories--artifacts--image"></a>
91+
### Nested Schema for `categories.artifacts.image`
92+
93+
Optional:
94+
95+
- `expression` (String)
96+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--artifacts--image--variables))
97+
98+
<a id="nestedblock--categories--artifacts--image--variables"></a>
99+
### Nested Schema for `categories.artifacts.image.variables`
100+
101+
Optional:
102+
103+
- `attribute` (String)
104+
- `name` (String)
105+
- `value` (String)
106+
107+
108+
109+
110+
<a id="nestedblock--categories--entity_scope"></a>
111+
### Nested Schema for `categories.entity_scope`
112+
113+
Optional:
114+
115+
- `expression` (String)
116+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--entity_scope--variables))
117+
118+
<a id="nestedblock--categories--entity_scope--variables"></a>
119+
### Nested Schema for `categories.entity_scope.variables`
120+
121+
Optional:
122+
123+
- `attribute` (String)
124+
- `name` (String)
125+
- `value` (String)
126+
127+
128+
129+
<a id="nestedblock--categories--infrastructure"></a>
130+
### Nested Schema for `categories.infrastructure`
131+
132+
Optional:
133+
134+
- `kubernetes` (Block Set) (see [below for nested schema](#nestedblock--categories--infrastructure--kubernetes))
135+
- `os` (Block Set) (see [below for nested schema](#nestedblock--categories--infrastructure--os))
136+
137+
<a id="nestedblock--categories--infrastructure--kubernetes"></a>
138+
### Nested Schema for `categories.infrastructure.kubernetes`
139+
140+
Optional:
141+
142+
- `expression` (String)
143+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--infrastructure--kubernetes--variables))
144+
145+
<a id="nestedblock--categories--infrastructure--kubernetes--variables"></a>
146+
### Nested Schema for `categories.infrastructure.kubernetes.variables`
147+
148+
Optional:
149+
150+
- `attribute` (String)
151+
- `name` (String)
152+
- `value` (String)
153+
154+
155+
156+
<a id="nestedblock--categories--infrastructure--os"></a>
157+
### Nested Schema for `categories.infrastructure.os`
158+
159+
Optional:
160+
161+
- `expression` (String)
162+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--infrastructure--os--variables))
163+
164+
<a id="nestedblock--categories--infrastructure--os--variables"></a>
165+
### Nested Schema for `categories.infrastructure.os.variables`
166+
167+
Optional:
168+
169+
- `attribute` (String)
170+
- `name` (String)
171+
- `value` (String)
172+
173+
174+
175+
176+
<a id="nestedblock--categories--workloads"></a>
177+
### Nested Schema for `categories.workloads`
178+
179+
Optional:
180+
181+
- `cf` (Block Set) (see [below for nested schema](#nestedblock--categories--workloads--cf))
182+
- `kubernetes` (Block Set) (see [below for nested schema](#nestedblock--categories--workloads--kubernetes))
183+
- `os` (Block Set) (see [below for nested schema](#nestedblock--categories--workloads--os))
184+
185+
<a id="nestedblock--categories--workloads--cf"></a>
186+
### Nested Schema for `categories.workloads.cf`
187+
188+
Optional:
189+
190+
- `expression` (String)
191+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--workloads--cf--variables))
192+
193+
<a id="nestedblock--categories--workloads--cf--variables"></a>
194+
### Nested Schema for `categories.workloads.cf.variables`
195+
196+
Optional:
197+
198+
- `attribute` (String)
199+
- `name` (String)
200+
- `value` (String)
201+
202+
203+
204+
<a id="nestedblock--categories--workloads--kubernetes"></a>
205+
### Nested Schema for `categories.workloads.kubernetes`
206+
207+
Optional:
208+
209+
- `expression` (String)
210+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--workloads--kubernetes--variables))
211+
212+
<a id="nestedblock--categories--workloads--kubernetes--variables"></a>
213+
### Nested Schema for `categories.workloads.kubernetes.variables`
214+
215+
Optional:
216+
217+
- `attribute` (String)
218+
- `name` (String)
219+
- `value` (String)
220+
221+
222+
223+
<a id="nestedblock--categories--workloads--os"></a>
224+
### Nested Schema for `categories.workloads.os`
225+
226+
Optional:
227+
228+
- `expression` (String)
229+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--workloads--os--variables))
230+
231+
<a id="nestedblock--categories--workloads--os--variables"></a>
232+
### Nested Schema for `categories.workloads.os.variables`
233+
234+
Optional:
235+
236+
- `attribute` (String)
237+
- `name` (String)
238+
- `value` (String)
239+
240+

docs/data-sources/service.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,12 @@ Required:
7373

7474
- `allow` (Boolean) Whether the inbound network rule is allowed.
7575
- `port_range` (String) The port range for the inbound network rule.
76-
- `resource` (String) Custom ip for the inbound network rule (e.g., 190.1.2.3/12).
7776
- `resource_type` (String) The resource type for the inbound network rule (e.g., anywhere).
7877

78+
Optional:
79+
80+
- `resource` (String) Custom ip for the inbound network rule (e.g., 190.1.2.3/12).
81+
7982

8083
<a id="nestedblock--local_policies--outbound_networks"></a>
8184
### Nested Schema for `local_policies.outbound_networks`
@@ -84,9 +87,12 @@ Required:
8487

8588
- `allow` (Boolean) Whether the outbound network rule is allowed.
8689
- `port_range` (String) The port range for the outbound network rule.
87-
- `resource` (String) Custom ip for the outbound network rule (e.g., 190.1.2.3/12).
8890
- `resource_type` (String) The resource type for the outbound network rule (e.g., anywhere).
8991

92+
Optional:
93+
94+
- `resource` (String) Custom ip for the outbound network rule (e.g., 190.1.2.3/12).
95+
9096

9197

9298
<a id="nestedatt--scope_variables"></a>

0 commit comments

Comments
 (0)