Skip to content

Commit 9184875

Browse files
authored
Merge pull request #210 from KoppulaRajender/release_0.8.17
release: add registry example and increasing version to 0.8.17
2 parents f401e30 + 8fffa9f commit 9184875

File tree

9 files changed

+149
-9
lines changed

9 files changed

+149
-9
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.16
35+
git checkout v0.8.17
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.16"
58+
version = "0.8.17"
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.16
9+
VERSION := 0.8.17
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
@@ -40,7 +40,7 @@ To quickly get started using the Aquasec provider for Terraform, configure the p
4040
terraform {
4141
required_providers {
4242
aquasec = {
43-
version = "0.8.16"
43+
version = "0.8.17"
4444
source = "aquasecurity/aquasec"
4545
}
4646
}

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ 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.16"
24+
version = "0.8.17"
2525
source = "aquasecurity/aquasec"
2626
}
2727
}

docs/resources/integration_registry.md

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

1111

1212

13-
13+
## Example Usage
14+
15+
```terraform
16+
resource "aquasec_integration_registry" "integration_registry" {
17+
name = "integration_registry"
18+
type = "AWS"
19+
advanced_settings_cleanup = false
20+
always_pull_patterns = []
21+
author = "aqua@aquasec.com"
22+
auto_cleanup = false
23+
auto_pull = true
24+
auto_pull_interval = 1
25+
auto_pull_latest_xff_enabled = false
26+
auto_pull_max = 100
27+
auto_pull_rescan = false
28+
auto_pull_time = "08:45"
29+
description = "Automatically discovered registry"
30+
detected_type = 4
31+
image_creation_date_condition = "image_count"
32+
33+
options = [
34+
{
35+
option = "ARNRole"
36+
value = "arn:aws:iam::000000000000:role/aqua-AAAAABBBBCCCDDD-EEEEFFFFGGGG"
37+
},
38+
{
39+
option = "TestImagePull"
40+
},
41+
{
42+
option = "sts:ExternalId"
43+
value = "00000e2a-5353-4ddd-bbbb-ccc"
44+
}
45+
]
46+
47+
permission = ""
48+
49+
prefixes = [
50+
"111111111111.dkr.ecr.us-east-1.amazonaws.com"
51+
]
52+
53+
pull_image_age = "0D"
54+
pull_image_count = 3
55+
pull_image_tag_pattern = []
56+
pull_max_tags = 0
57+
pull_repo_patterns = null
58+
pull_repo_patterns_excluded = []
59+
pull_tag_patterns = null
60+
61+
registries_type = "cloud"
62+
registry_scan_timeout = 0
63+
64+
scanner_name = [
65+
"aqua-scanner-222222-cl9qx",
66+
"aqua-scanner-111111-fstrc",
67+
"513882222222"
68+
]
69+
70+
scanner_type = "specific"
71+
72+
url = "ap-northeast-1"
73+
74+
username = ""
75+
76+
webhook {
77+
auth_token = ""
78+
enabled = false
79+
un_quarantine = false
80+
url = ""
81+
}
82+
83+
}
84+
```
1485

1586
<!-- schema generated by tfplugindocs -->
1687
## Schema

examples/data-sources/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
aquasec = {
4-
// version = "0.8.16"
4+
// version = "0.8.17"
55
source = "aquasecurity/aquasec"
66
}
77
}

examples/provider/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
aquasec = {
4-
version = "0.8.16"
4+
version = "0.8.17"
55
source = "aquasecurity/aquasec"
66
}
77
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
resource "aquasec_integration_registry" "integration_registry" {
2+
name = "integration_registry"
3+
type = "AWS"
4+
advanced_settings_cleanup = false
5+
always_pull_patterns = []
6+
author = "aqua@aquasec.com"
7+
auto_cleanup = false
8+
auto_pull = true
9+
auto_pull_interval = 1
10+
auto_pull_latest_xff_enabled = false
11+
auto_pull_max = 100
12+
auto_pull_rescan = false
13+
auto_pull_time = "08:45"
14+
description = "Automatically discovered registry"
15+
detected_type = 4
16+
image_creation_date_condition = "image_count"
17+
18+
options = [
19+
{
20+
option = "ARNRole"
21+
value = "arn:aws:iam::000000000000:role/aqua-AAAAABBBBCCCDDD-EEEEFFFFGGGG"
22+
},
23+
{
24+
option = "TestImagePull"
25+
},
26+
{
27+
option = "sts:ExternalId"
28+
value = "00000e2a-5353-4ddd-bbbb-ccc"
29+
}
30+
]
31+
32+
permission = ""
33+
34+
prefixes = [
35+
"111111111111.dkr.ecr.us-east-1.amazonaws.com"
36+
]
37+
38+
pull_image_age = "0D"
39+
pull_image_count = 3
40+
pull_image_tag_pattern = []
41+
pull_max_tags = 0
42+
pull_repo_patterns = null
43+
pull_repo_patterns_excluded = []
44+
pull_tag_patterns = null
45+
46+
registries_type = "cloud"
47+
registry_scan_timeout = 0
48+
49+
scanner_name = [
50+
"aqua-scanner-222222-cl9qx",
51+
"aqua-scanner-111111-fstrc",
52+
"513882222222"
53+
]
54+
55+
scanner_type = "specific"
56+
57+
url = "ap-northeast-1"
58+
59+
username = ""
60+
61+
webhook {
62+
auth_token = ""
63+
enabled = false
64+
un_quarantine = false
65+
url = ""
66+
}
67+
68+
}
69+

examples/resources/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
22
required_providers {
33
aquasec = {
4-
// version = "0.8.16"
4+
// version = "0.8.17"
55
source = "aquasecurity/aquasec"
66
}
77
}

0 commit comments

Comments
 (0)