Skip to content

Commit

Permalink
Add in both service and vmware assurance policy examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rjulian committed Mar 27, 2024
1 parent 17122ce commit 46c8161
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examples/resources/aquasec_service/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
resource "aquasec_service" "example_service" {
// Required values
application_scopes = ["Global"]
name = "example_service"
policies = ["example_firewall_policy"]
target = "container"

enforce = true
monitoring = true
priority = 10
}
14 changes: 14 additions & 0 deletions examples/resources/aquasec_vmware_assurance_policy/resource.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
resource "aquasec_vmware_assurance_policy" "example_vmware_assurance_policy" {
// Required values
application_scopes = ["Global"]
name = "example_vmware_assurance_policy"

// Values default to true
audit_on_failure = true
block_failed = true
fail_cicd = true

scan_sensitive_data = true
cvss_severity_enabled = true
cvss_severity = "critical"
}

0 comments on commit 46c8161

Please sign in to comment.