Skip to content

Commit cb400a0

Browse files
authored
Merge pull request #280 from KoppulaRajender/release-aquasec
Create Release Version 0.8.32
2 parents 22a0e29 + 8a0538d commit cb400a0

33 files changed

+500
-394
lines changed

DEVELOPMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ git clone https://github.com/aquasecurity/terraform-provider-aquasec.git
3232
3333
cd terraform-provider-aquasec
3434
35-
git checkout v0.8.20
35+
git checkout v0.8.32
3636
```
3737

3838
**Build and install the provider**
@@ -55,7 +55,7 @@ In order to test the provider installed locally, the provider block will have to
5555
terraform {
5656
required_providers {
5757
aquasec = {
58-
version = "0.8.31"
58+
version = "0.8.32"
5959
source = "terraform-provider-aquasec/aquasec/aquasec"
6060
}
6161
}

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ HOSTNAME := github.com
66
NAMESPACE := aquasec
77
NAME := aquasec
88
BINARY := terraform-provider-${NAME}
9-
VERSION := 0.8.31
9+
VERSION := 0.8.32
1010
OS_ARCH := $(shell go env GOOS)_$(shell go env GOARCH)
1111

1212
default: build

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ To quickly get started using the Aquasec provider for Terraform, configure the p
4343
terraform {
4444
required_providers {
4545
aquasec = {
46-
version = "0.8.31"
46+
version = "0.8.32"
4747
source = "aquasecurity/aquasec"
4848
}
4949
}

docs/data-sources/application_scope.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Optional:
7373
Optional:
7474

7575
- `attribute` (String)
76+
- `name` (String)
7677
- `value` (String)
7778

7879

@@ -91,6 +92,7 @@ Optional:
9192
Optional:
9293

9394
- `attribute` (String)
95+
- `name` (String)
9496
- `value` (String)
9597

9698

@@ -109,6 +111,7 @@ Optional:
109111
Optional:
110112

111113
- `attribute` (String)
114+
- `name` (String)
112115
- `value` (String)
113116

114117

@@ -128,6 +131,7 @@ Optional:
128131
Optional:
129132

130133
- `attribute` (String)
134+
- `name` (String)
131135
- `value` (String)
132136

133137

@@ -154,6 +158,7 @@ Optional:
154158
Optional:
155159

156160
- `attribute` (String)
161+
- `name` (String)
157162
- `value` (String)
158163

159164

@@ -172,6 +177,7 @@ Optional:
172177
Optional:
173178

174179
- `attribute` (String)
180+
- `name` (String)
175181
- `value` (String)
176182

177183

@@ -200,6 +206,7 @@ Optional:
200206
Optional:
201207

202208
- `attribute` (String)
209+
- `name` (String)
203210
- `value` (String)
204211

205212

@@ -218,6 +225,7 @@ Optional:
218225
Optional:
219226

220227
- `attribute` (String)
228+
- `name` (String)
221229
- `value` (String)
222230

223231

@@ -236,6 +244,7 @@ Optional:
236244
Optional:
237245

238246
- `attribute` (String)
247+
- `name` (String)
239248
- `value` (String)
240249

241250

docs/data-sources/service.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,5 @@ Read-Only:
9595
- `attribute` (String)
9696
- `name` (String)
9797
- `value` (String)
98+
99+

docs/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ Use the navigation to the left to read about the available resources and data so
2121
terraform {
2222
required_providers {
2323
aquasec = {
24-
version = "0.8.31"
24+
version = "0.8.32"
2525
source = "aquasecurity/aquasec"
2626
}
2727
}
2828
}
2929
3030
provider "aquasec" {
31-
username = "IaC" // Alternatively sourced from $AQUA_USER
32-
aqua_url = "https://aquaurl.com" // Alternatively sourced from $AQUA_URL
33-
password = "@password" // Alternatively sourced from $AQUA_PASSWORD
31+
username = "IaC" // Alternatively sourced from $AQUA_USER
32+
aqua_url = "https://aquaurl.com" // Alternatively sourced from $AQUA_URL
33+
password = "@password" // Alternatively sourced from $AQUA_PASSWORD
3434
3535
// If you are using unverifiable certificates (e.g. self-signed) you may need to disable certificate verification
36-
verify_tls = false // Alternatively sourced from $AQUA_TLS_VERIFY
36+
verify_tls = false // Alternatively sourced from $AQUA_TLS_VERIFY
3737
3838
// Alternatively, you can provide these configurations from a config file, and configure the provider as below
3939
// config_path = '/path/to/tf.config' // defaults to '~/.aqua/tf.config' -- Alternatively sourced from $AQUA_CONFIG

docs/resources/acknowledge.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,32 @@ description: |-
1414

1515
```terraform
1616
resource "aquasec_acknowledge" "acknowledge" {
17-
comment = "comment"
18-
issues {
19-
docker_id = ""
20-
image_name = "image:latest"
21-
issue_name = "CVE-2022-1271"
22-
issue_type = "vulnerability"
23-
registry_name = "registry"
24-
resource_cpe = "cpe:/a:gnu:gzip:1.10"
25-
resource_name = "gzip"
26-
resource_path = "/usr/bin/gzip"
27-
resource_type = "executable"
28-
resource_version = "1.10"
29-
}
30-
31-
issues {
32-
docker_id = "docker-id"
33-
image_name = "image-name"
34-
issue_name = "ALAS2-2021-1722"
35-
issue_type = "vulnerability"
36-
registry_name = "registry-name"
37-
resource_cpe = "pkg:/amzn:2:nss-softokn:3.44.0-8.amzn2"
38-
resource_name = "nss-softokn"
39-
resource_path = ""
40-
resource_type = "package"
41-
resource_version = "3.44.0-8.amzn2"
42-
}
17+
comment = "comment"
18+
issues {
19+
docker_id = ""
20+
image_name = "image:latest"
21+
issue_name = "CVE-2022-1271"
22+
issue_type = "vulnerability"
23+
registry_name = "registry"
24+
resource_cpe = "cpe:/a:gnu:gzip:1.10"
25+
resource_name = "gzip"
26+
resource_path = "/usr/bin/gzip"
27+
resource_type = "executable"
28+
resource_version = "1.10"
29+
}
30+
31+
issues {
32+
docker_id = "docker-id"
33+
image_name = "image-name"
34+
issue_name = "ALAS2-2021-1722"
35+
issue_type = "vulnerability"
36+
registry_name = "registry-name"
37+
resource_cpe = "pkg:/amzn:2:nss-softokn:3.44.0-8.amzn2"
38+
resource_name = "nss-softokn"
39+
resource_path = ""
40+
resource_type = "package"
41+
resource_version = "3.44.0-8.amzn2"
42+
}
4343
}
4444
```
4545

docs/resources/application_scope.md

Lines changed: 51 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,52 +14,52 @@ description: |-
1414

1515
```terraform
1616
resource "aquasec_application_scope" "terraformiap" {
17-
description = "test123"
18-
name = "test18"
19-
// Categories is a nested block of artifacts, workloads and infrastructure
20-
categories {
21-
// Artifacts is a nested block of Image, Function, CF
22-
artifacts {
23-
// Every object requires expression(logical combinations of variables v1, v2, v3...) and list of variables consists of attribute(pre-defined) and value
24-
image {
25-
expression = "v1 && v2"
26-
variables {
27-
attribute = "aqua.registry"
28-
value = "test-registry"
29-
}
30-
variables {
31-
attribute = "image.repo"
32-
value = "nginx"
33-
}
34-
}
17+
description = "test123"
18+
name = "test18"
19+
// Categories is a nested block of artifacts, workloads and infrastructure
20+
categories {
21+
// Artifacts is a nested block of Image, Function, CF
22+
artifacts {
23+
// Every object requires expression(logical combinations of variables v1, v2, v3...) and list of variables consists of attribute(pre-defined) and value
24+
image {
25+
expression = "v1 && v2"
26+
variables {
27+
attribute = "aqua.registry"
28+
value = "test-registry"
3529
}
36-
// Workloads is a nested block of Kubernetes, OS, CF
37-
workloads {
38-
// Every object requires expression(logical combinations of variables v1, v2, v3...) and list of variables consists of attribute(pre-defined) and value
39-
kubernetes {
40-
expression = "v1 && v2"
41-
variables {
42-
attribute = "kubernetes.cluster"
43-
value = "aqua"
44-
}
45-
variables {
46-
attribute = "kubernetes.namespace"
47-
value = "aqua"
48-
}
49-
}
30+
variables {
31+
attribute = "image.repo"
32+
value = "nginx"
5033
}
51-
// Infrastructure is a nested block of Kubernetes, OS
52-
infrastructure {
53-
// Every object requires expression and list of variables consists of attribute(pre-defined) and value
54-
kubernetes {
55-
expression = "v1"
56-
variables {
57-
attribute = "kubernetes.cluster"
58-
value = "aqua"
59-
}
60-
}
34+
}
35+
}
36+
// Workloads is a nested block of Kubernetes, OS, CF
37+
workloads {
38+
// Every object requires expression(logical combinations of variables v1, v2, v3...) and list of variables consists of attribute(pre-defined) and value
39+
kubernetes {
40+
expression = "v1 && v2"
41+
variables {
42+
attribute = "kubernetes.cluster"
43+
value = "aqua"
44+
}
45+
variables {
46+
attribute = "kubernetes.namespace"
47+
value = "aqua"
48+
}
49+
}
50+
}
51+
// Infrastructure is a nested block of Kubernetes, OS
52+
infrastructure {
53+
// Every object requires expression and list of variables consists of attribute(pre-defined) and value
54+
kubernetes {
55+
expression = "v1"
56+
variables {
57+
attribute = "kubernetes.cluster"
58+
value = "aqua"
6159
}
60+
}
6261
}
62+
}
6363
}
6464
```
6565

@@ -117,6 +117,7 @@ Optional:
117117
Optional:
118118

119119
- `attribute` (String)
120+
- `name` (String)
120121
- `value` (String)
121122

122123

@@ -135,6 +136,7 @@ Optional:
135136
Optional:
136137

137138
- `attribute` (String)
139+
- `name` (String)
138140
- `value` (String)
139141

140142

@@ -153,6 +155,7 @@ Optional:
153155
Optional:
154156

155157
- `attribute` (String)
158+
- `name` (String)
156159
- `value` (String)
157160

158161

@@ -180,6 +183,7 @@ Optional:
180183
Optional:
181184

182185
- `attribute` (String)
186+
- `name` (String)
183187
- `value` (String)
184188

185189

@@ -198,6 +202,7 @@ Optional:
198202
Optional:
199203

200204
- `attribute` (String)
205+
- `name` (String)
201206
- `value` (String)
202207

203208

@@ -226,6 +231,7 @@ Optional:
226231
Optional:
227232

228233
- `attribute` (String)
234+
- `name` (String)
229235
- `value` (String)
230236

231237

@@ -244,6 +250,7 @@ Optional:
244250
Optional:
245251

246252
- `attribute` (String)
253+
- `name` (String)
247254
- `value` (String)
248255

249256

@@ -262,6 +269,7 @@ Optional:
262269
Optional:
263270

264271
- `attribute` (String)
272+
- `name` (String)
265273
- `value` (String)
266274

267275

@@ -281,6 +289,7 @@ Read-Only:
281289
Read-Only:
282290

283291
- `attribute` (String)
292+
- `name` (String)
284293
- `value` (String)
285294

286295

docs/resources/aqua_label.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ description: |-
1010

1111

1212

13-
13+
## Example Usage
14+
15+
```terraform
16+
resource "aquasec_aqua_label" "aqua_label" {
17+
name = "example_label"
18+
description = "example_description"
19+
}
20+
```
1421

1522
<!-- schema generated by tfplugindocs -->
1623
## Schema

0 commit comments

Comments
 (0)