Skip to content

Commit 04fd35a

Browse files
authored
Merge pull request #321 from aquasecurity/sarvodaya
doc: Updating the document for the integration_registries
2 parents 3b0d48f + a113dc5 commit 04fd35a

File tree

66 files changed

+845
-857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+845
-857
lines changed

aquasec/data_registry.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ func dataRegistryRead(d *schema.ResourceData, m interface{}) error {
231231
if scannerType == "specific" {
232232
d.Set("scanner_name", convertStringArr(scanner_name))
233233
}
234+
234235
d.SetId(name)
235236
} else {
236237
return err

docs/data-sources/acknowledges.md renamed to docs/data-sources/aquasec_acknowledges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_acknowledges Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_acknowledges Data Source - doc"
44
subcategory: ""
55
description: |-
66
The data source aquasec_acknowledges provides a method to query all acknowledges within the Aqua

docs/data-sources/application_scope.md renamed to docs/data-sources/aquasec_application_scope.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_application_scope Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_application_scope Data Source - doc"
44
subcategory: ""
55
description: |-
66
@@ -20,6 +20,14 @@ data "aquasec_application_scope" "default" {
2020
output "scopes" {
2121
value = data.aquasec_application_scope.default
2222
}
23+
24+
output "codebuild_config" {
25+
value = [
26+
for category in data.aquasec_application_scope.default.categories : [
27+
for artifact in category.artifacts : artifact.codebuild if artifact.codebuild != null
28+
] if category.artifacts != null
29+
][0][0]
30+
}
2331
```
2432

2533
<!-- schema generated by tfplugindocs -->
@@ -56,9 +64,9 @@ Optional:
5664
Optional:
5765

5866
- `cf` (Block Set) (see [below for nested schema](#nestedblock--categories--artifacts--cf))
67+
- `codebuild` (Block Set) (see [below for nested schema](#nestedblock--categories--artifacts--codebuild))
5968
- `function` (Block Set) (see [below for nested schema](#nestedblock--categories--artifacts--function))
6069
- `image` (Block Set) (see [below for nested schema](#nestedblock--categories--artifacts--image))
61-
- `codebuild` (Block Set) AWS CodeBuild configuration (see [below for nested schema](#nestedblock--categories--artifacts--codebuild))
6270

6371
<a id="nestedblock--categories--artifacts--cf"></a>
6472
### Nested Schema for `categories.artifacts.cf`
@@ -77,22 +85,25 @@ Optional:
7785
- `name` (String)
7886
- `value` (String)
7987

88+
89+
8090
<a id="nestedblock--categories--artifacts--codebuild"></a>
8191
### Nested Schema for `categories.artifacts.codebuild`
8292

8393
Optional:
8494

85-
- `expression` (String) The expression used to match CodeBuild resources
86-
- `variables` (Block List) Variables used in the expression (see [below for nested schema](#nestedblock--categories--artifacts--codebuild--variables))
95+
- `expression` (String)
96+
- `variables` (Block List) (see [below for nested schema](#nestedblock--categories--artifacts--codebuild--variables))
8797

8898
<a id="nestedblock--categories--artifacts--codebuild--variables"></a>
8999
### Nested Schema for `categories.artifacts.codebuild.variables`
90100

91101
Optional:
92102

93-
- `attribute` (String) The attribute to match against
94-
- `name` (String) Name of the variable
95-
- `value` (String) Value to match
103+
- `attribute` (String)
104+
- `name` (String)
105+
- `value` (String)
106+
96107

97108

98109
<a id="nestedblock--categories--artifacts--function"></a>

docs/data-sources/application_scope_saas.md renamed to docs/data-sources/aquasec_application_scope_saas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_application_scope_saas Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_application_scope_saas Data Source - doc"
44
subcategory: ""
55
description: |-
66

docs/data-sources/aqua_labels.md renamed to docs/data-sources/aquasec_aqua_labels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_aqua_labels Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_aqua_labels Data Source - doc"
44
subcategory: ""
55
description: |-
66
The data source aquasec_aqua_labels provides a method to query all aqua labels within the Aqua account management.The fields returned from this query are detailed in the Schema section below.

docs/data-sources/assurance_custom_script.md renamed to docs/data-sources/aquasec_assurance_custom_script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_assurance_custom_script Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_assurance_custom_script Data Source - doc"
44
subcategory: ""
55
description: |-
66
The aquasec_assurance_custom_script data source provides information about an existing custom compliance script within Aqua.

docs/data-sources/container_runtime_policy.md renamed to docs/data-sources/aquasec_container_runtime_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_container_runtime_policy Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_container_runtime_policy Data Source - doc"
44
subcategory: ""
55
description: |-
66

docs/data-sources/enforcer_groups.md renamed to docs/data-sources/aquasec_enforcer_groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_enforcer_groups Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_enforcer_groups Data Source - doc"
44
subcategory: ""
55
description: |-
66
The data source aquasec_enforcer_groups provides an Enforcer group template that generates a configuration file, which is subsequently used to generate one or more Enforcers using a Docker command.

docs/data-sources/firewall_policy.md renamed to docs/data-sources/aquasec_firewall_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_firewall_policy Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_firewall_policy Data Source - doc"
44
subcategory: ""
55
description: |-
66

docs/data-sources/function_assurance_policy.md renamed to docs/data-sources/aquasec_function_assurance_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "aquasec_function_assurance_policy Data Source - terraform-provider-aquasec"
3+
page_title: "aquasec_function_assurance_policy Data Source - doc"
44
subcategory: ""
55
description: |-
66

0 commit comments

Comments
 (0)