You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ You need the following permissions to run this module.
110
110
| <aname="input_enforcement_mode"></a> [enforcement\_mode](#input\_enforcement\_mode)| (String) The rule enforcement mode |`string`|`"report"`| no |
111
111
| <aname="input_excluded_addresses"></a> [excluded\_addresses](#input\_excluded\_addresses)| (Optional, List) The list of excluded addresses in the zone | <pre>list(object({<br> type = optional(string)<br> value = optional(string)<br> }))</pre> |`[]`| no |
112
112
| <aname="input_name"></a> [name](#input\_name)| (Optional, String) The name of the zone |`string`|`null`| no |
113
-
| <aname="input_operations"></a> [operations](#input\_operations)| (Optional, List) The operations this rule applies to | <pre>list(object({<br> api_types = list(object({<br> api_type_id = string<br> }))<br> }))</pre> |`[]`| no |
113
+
| <aname="input_operations"></a> [operations](#input\_operations)| (Optional, List) The operations this rule applies to | <pre>list(object({<br> api_types = list(object({<br> api_type_id = string<br> }))<br> }))</pre> |<pre>[<br> {<br> "api_types": [<br> {<br> "api_type_id": "crn:v1:bluemix:public:context-based-restrictions::::api-type:"<br> }<br> ]<br> }<br>]</pre>| no |
114
114
| <aname="input_resources"></a> [resources](#input\_resources)| (Optional, List) The resources this rule apply to | <pre>list(object({<br> attributes = list(object({<br> name = string<br> value = string<br> operator = optional(string)<br> }))<br> tags = optional(list(object({ #These access tags should match to the target service access tags for the CBR rules to work<br> name = string<br> value = string<br> operator = optional(string)<br> })))<br> }))</pre> |`[]`| no |
115
115
| <aname="input_rule_contexts"></a> [rule\_contexts](#input\_rule\_contexts)| (List) The contexts the rule applies to | <pre>list(object({<br> attributes = list(object({<br> name = string<br> value = string<br> }))<br> }))</pre> | <pre>[<br> {<br> "attributes": [<br> {<br> "name": "va",<br> "value": "va"<br> }<br> ]<br> }<br>]</pre> | no |
116
116
| <aname="input_rule_description"></a> [rule\_description](#input\_rule\_description)| (Optional, String) The description of the rule |`string`|`null`| no |
| <aname="input_enforcement_mode"></a> [enforcement\_mode](#input\_enforcement\_mode)| (String) The rule enforcement mode |`string`|`"report"`| no |
28
-
| <aname="input_operations"></a> [operations](#input\_operations)| (Optional, List) The operations this rule applies to| <pre>list(object({<br> api_types = list(object({<br> api_type_id = string<br> }))<br> }))</pre> |`[]`| no |
28
+
| <aname="input_operations"></a> [operations](#input\_operations)| (Optional, List) The operations this rule applies to, by default it will protect all of the service and platform APIs the target service supports. | <pre>list(object({<br> api_types = list(object({<br> api_type_id = string<br> }))<br> }))</pre> |<pre>[<br> {<br> "api_types": [<br> {<br> "api_type_id": "crn:v1:bluemix:public:context-based-restrictions::::api-type:"<br> }<br> ]<br> }<br>]</pre>| no |
29
29
| <aname="input_resources"></a> [resources](#input\_resources)| (List) The resources this rule apply to | <pre>list(object({<br> attributes = optional(list(object({<br> name = string<br> value = string<br> operator = optional(string)<br> })))<br> tags = optional(list(object({<br> name = string<br> value = string<br> operator = optional(string)<br> })))<br> }))</pre> | n/a | yes |
30
30
| <aname="input_rule_contexts"></a> [rule\_contexts](#input\_rule\_contexts)| (List) The contexts the rule applies to | <pre>list(object({<br> attributes = optional(list(object({<br> name = string<br> value = string<br> })))<br> }))</pre> | n/a | yes |
31
31
| <aname="input_rule_description"></a> [rule\_description](#input\_rule\_description)| (Optional, String) The description of the rule |`string`|`null`| no |
Copy file name to clipboardExpand all lines: modules/cbr-rule-module/variables.tf
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -81,10 +81,14 @@ variable "operations" {
81
81
api_type_id =string
82
82
}))
83
83
}))
84
-
description="(Optional, List) The operations this rule applies to"
85
-
default=[]
84
+
description="(Optional, List) The operations this rule applies to, by default it will protect all of the service and platform APIs the target service supports."
0 commit comments