ibm 1.85.0-beta0 published on Wednesday, Oct 29, 2025 by ibm-cloud
ibm.getCisFirewall
Start a Neo task
Explain and create an ibm.getCisFirewall resource
Using getCisFirewall
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCisFirewall(args: GetCisFirewallArgs, opts?: InvokeOptions): Promise<GetCisFirewallResult>
function getCisFirewallOutput(args: GetCisFirewallOutputArgs, opts?: InvokeOptions): Output<GetCisFirewallResult>def get_cis_firewall(cis_id: Optional[str] = None,
domain_id: Optional[str] = None,
firewall_type: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCisFirewallResult
def get_cis_firewall_output(cis_id: Optional[pulumi.Input[str]] = None,
domain_id: Optional[pulumi.Input[str]] = None,
firewall_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCisFirewallResult]func LookupCisFirewall(ctx *Context, args *LookupCisFirewallArgs, opts ...InvokeOption) (*LookupCisFirewallResult, error)
func LookupCisFirewallOutput(ctx *Context, args *LookupCisFirewallOutputArgs, opts ...InvokeOption) LookupCisFirewallResultOutput> Note: This function is named LookupCisFirewall in the Go SDK.
public static class GetCisFirewall
{
public static Task<GetCisFirewallResult> InvokeAsync(GetCisFirewallArgs args, InvokeOptions? opts = null)
public static Output<GetCisFirewallResult> Invoke(GetCisFirewallInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCisFirewallResult> getCisFirewall(GetCisFirewallArgs args, InvokeOptions options)
public static Output<GetCisFirewallResult> getCisFirewall(GetCisFirewallArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCisFirewall:getCisFirewall
arguments:
# arguments dictionaryThe following arguments are supported:
- Cis
Id string - The ID of the IBM Cloud Internet Services instance where you want to create the firewall.
- Domain
Id string - The ID of the domain where you want to add the lock down.
- Firewall
Type string - The type of firewall that you want to create for your domain. Supported values are
lockdowns,access_rules, andua_rules. Note Consider the following information when choosing your firewall type: access_rules: Access rules allow, challenge, or block requests to your website. You can apply access rules to one domain only or all domains in the same service instance.lockdowns: Allow access to your domain for specific IP addresses or IP address ranges only. If you choose this firewall type, you must define your firewall rules in thelockdowninput parameter.ua_rules: Apply firewall rules only if the user agent that is used by the client matches the user agent that you defined. . - Id string
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance where you want to create the firewall.
- Domain
Id string - The ID of the domain where you want to add the lock down.
- Firewall
Type string - The type of firewall that you want to create for your domain. Supported values are
lockdowns,access_rules, andua_rules. Note Consider the following information when choosing your firewall type: access_rules: Access rules allow, challenge, or block requests to your website. You can apply access rules to one domain only or all domains in the same service instance.lockdowns: Allow access to your domain for specific IP addresses or IP address ranges only. If you choose this firewall type, you must define your firewall rules in thelockdowninput parameter.ua_rules: Apply firewall rules only if the user agent that is used by the client matches the user agent that you defined. . - Id string
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:.
- cis
Id String - The ID of the IBM Cloud Internet Services instance where you want to create the firewall.
- domain
Id String - The ID of the domain where you want to add the lock down.
- firewall
Type String - The type of firewall that you want to create for your domain. Supported values are
lockdowns,access_rules, andua_rules. Note Consider the following information when choosing your firewall type: access_rules: Access rules allow, challenge, or block requests to your website. You can apply access rules to one domain only or all domains in the same service instance.lockdowns: Allow access to your domain for specific IP addresses or IP address ranges only. If you choose this firewall type, you must define your firewall rules in thelockdowninput parameter.ua_rules: Apply firewall rules only if the user agent that is used by the client matches the user agent that you defined. . - id String
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:.
- cis
Id string - The ID of the IBM Cloud Internet Services instance where you want to create the firewall.
- domain
Id string - The ID of the domain where you want to add the lock down.
- firewall
Type string - The type of firewall that you want to create for your domain. Supported values are
lockdowns,access_rules, andua_rules. Note Consider the following information when choosing your firewall type: access_rules: Access rules allow, challenge, or block requests to your website. You can apply access rules to one domain only or all domains in the same service instance.lockdowns: Allow access to your domain for specific IP addresses or IP address ranges only. If you choose this firewall type, you must define your firewall rules in thelockdowninput parameter.ua_rules: Apply firewall rules only if the user agent that is used by the client matches the user agent that you defined. . - id string
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:.
- cis_
id str - The ID of the IBM Cloud Internet Services instance where you want to create the firewall.
- domain_
id str - The ID of the domain where you want to add the lock down.
- firewall_
type str - The type of firewall that you want to create for your domain. Supported values are
lockdowns,access_rules, andua_rules. Note Consider the following information when choosing your firewall type: access_rules: Access rules allow, challenge, or block requests to your website. You can apply access rules to one domain only or all domains in the same service instance.lockdowns: Allow access to your domain for specific IP addresses or IP address ranges only. If you choose this firewall type, you must define your firewall rules in thelockdowninput parameter.ua_rules: Apply firewall rules only if the user agent that is used by the client matches the user agent that you defined. . - id str
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:.
- cis
Id String - The ID of the IBM Cloud Internet Services instance where you want to create the firewall.
- domain
Id String - The ID of the domain where you want to add the lock down.
- firewall
Type String - The type of firewall that you want to create for your domain. Supported values are
lockdowns,access_rules, andua_rules. Note Consider the following information when choosing your firewall type: access_rules: Access rules allow, challenge, or block requests to your website. You can apply access rules to one domain only or all domains in the same service instance.lockdowns: Allow access to your domain for specific IP addresses or IP address ranges only. If you choose this firewall type, you must define your firewall rules in thelockdowninput parameter.ua_rules: Apply firewall rules only if the user agent that is used by the client matches the user agent that you defined. . - id String
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:.
getCisFirewall Result
The following output properties are available:
- Access
Rules List<GetCis Firewall Access Rule> - (String) Create the data describing the access rule.
- Cis
Id string - Domain
Id string - Firewall
Type string - Id string
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:. - Lockdowns
List<Get
Cis Firewall Lockdown> - (List) List of lock down to be created. The data describing a lock down rule.
- Ua
Rules List<GetCis Firewall Ua Rule> - (String) Create the data describing the user agent rule.
- Access
Rules []GetCis Firewall Access Rule - (String) Create the data describing the access rule.
- Cis
Id string - Domain
Id string - Firewall
Type string - Id string
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:. - Lockdowns
[]Get
Cis Firewall Lockdown - (List) List of lock down to be created. The data describing a lock down rule.
- Ua
Rules []GetCis Firewall Ua Rule - (String) Create the data describing the user agent rule.
- access
Rules List<GetCis Firewall Access Rule> - (String) Create the data describing the access rule.
- cis
Id String - domain
Id String - firewall
Type String - id String
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:. - lockdowns
List<Get
Cis Firewall Lockdown> - (List) List of lock down to be created. The data describing a lock down rule.
- ua
Rules List<GetCis Firewall Ua Rule> - (String) Create the data describing the user agent rule.
- access
Rules GetCis Firewall Access Rule[] - (String) Create the data describing the access rule.
- cis
Id string - domain
Id string - firewall
Type string - id string
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:. - lockdowns
Get
Cis Firewall Lockdown[] - (List) List of lock down to be created. The data describing a lock down rule.
- ua
Rules GetCis Firewall Ua Rule[] - (String) Create the data describing the user agent rule.
- access_
rules Sequence[GetCis Firewall Access Rule] - (String) Create the data describing the access rule.
- cis_
id str - domain_
id str - firewall_
type str - id str
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:. - lockdowns
Sequence[Get
Cis Firewall Lockdown] - (List) List of lock down to be created. The data describing a lock down rule.
- ua_
rules Sequence[GetCis Firewall Ua Rule] - (String) Create the data describing the user agent rule.
- access
Rules List<Property Map> - (String) Create the data describing the access rule.
- cis
Id String - domain
Id String - firewall
Type String - id String
- (String) The ID of the record. The ID is composed of
<firewall_type>,<lockdown_id/access_rule_id/ua_rule_id>,<domain_ID>,<cis_crn>. Attributes are concatenated with:. - lockdowns List<Property Map>
- (List) List of lock down to be created. The data describing a lock down rule.
- ua
Rules List<Property Map> - (String) Create the data describing the user agent rule.
Supporting Types
GetCisFirewallAccessRule
- Access
Rule stringId - (String) The access rule ID.
- Configurations
List<Get
Cis Firewall Access Rule Configuration> - (List) The Configuration of firewall.
- Mode string
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - Notes string
- (String) The free text for notes.
- Access
Rule stringId - (String) The access rule ID.
- Configurations
[]Get
Cis Firewall Access Rule Configuration - (List) The Configuration of firewall.
- Mode string
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - Notes string
- (String) The free text for notes.
- access
Rule StringId - (String) The access rule ID.
- configurations
List<Get
Cis Firewall Access Rule Configuration> - (List) The Configuration of firewall.
- mode String
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - notes String
- (String) The free text for notes.
- access
Rule stringId - (String) The access rule ID.
- configurations
Get
Cis Firewall Access Rule Configuration[] - (List) The Configuration of firewall.
- mode string
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - notes string
- (String) The free text for notes.
- access_
rule_ strid - (String) The access rule ID.
- configurations
Sequence[Get
Cis Firewall Access Rule Configuration] - (List) The Configuration of firewall.
- mode str
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - notes str
- (String) The free text for notes.
- access
Rule StringId - (String) The access rule ID.
- configurations List<Property Map>
- (List) The Configuration of firewall.
- mode String
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - notes String
- (String) The free text for notes.
GetCisFirewallAccessRuleConfiguration
GetCisFirewallLockdown
- Configurations
List<Get
Cis Firewall Lockdown Configuration> - (List) A list of IP address or CIDR ranges that you want to allow access to the URLs that you defined in
lockdown.urls. - Description string
- (String) A description for your firewall rule.
- Lockdown
Id string - (String) The lock down ID.
- Paused bool
- (String) Whether the rule is currently disabled.
- Priority double
- (Integer) The priority of the firewall rule. A low number is associated with a high priority.
- Urls List<string>
- List of URLs-A list of URLs that you want to include in your firewall rule. You can specify wildcard URLs. The URL pattern is escaped before use.
- Configurations
[]Get
Cis Firewall Lockdown Configuration - (List) A list of IP address or CIDR ranges that you want to allow access to the URLs that you defined in
lockdown.urls. - Description string
- (String) A description for your firewall rule.
- Lockdown
Id string - (String) The lock down ID.
- Paused bool
- (String) Whether the rule is currently disabled.
- Priority float64
- (Integer) The priority of the firewall rule. A low number is associated with a high priority.
- Urls []string
- List of URLs-A list of URLs that you want to include in your firewall rule. You can specify wildcard URLs. The URL pattern is escaped before use.
- configurations
List<Get
Cis Firewall Lockdown Configuration> - (List) A list of IP address or CIDR ranges that you want to allow access to the URLs that you defined in
lockdown.urls. - description String
- (String) A description for your firewall rule.
- lockdown
Id String - (String) The lock down ID.
- paused Boolean
- (String) Whether the rule is currently disabled.
- priority Double
- (Integer) The priority of the firewall rule. A low number is associated with a high priority.
- urls List<String>
- List of URLs-A list of URLs that you want to include in your firewall rule. You can specify wildcard URLs. The URL pattern is escaped before use.
- configurations
Get
Cis Firewall Lockdown Configuration[] - (List) A list of IP address or CIDR ranges that you want to allow access to the URLs that you defined in
lockdown.urls. - description string
- (String) A description for your firewall rule.
- lockdown
Id string - (String) The lock down ID.
- paused boolean
- (String) Whether the rule is currently disabled.
- priority number
- (Integer) The priority of the firewall rule. A low number is associated with a high priority.
- urls string[]
- List of URLs-A list of URLs that you want to include in your firewall rule. You can specify wildcard URLs. The URL pattern is escaped before use.
- configurations
Sequence[Get
Cis Firewall Lockdown Configuration] - (List) A list of IP address or CIDR ranges that you want to allow access to the URLs that you defined in
lockdown.urls. - description str
- (String) A description for your firewall rule.
- lockdown_
id str - (String) The lock down ID.
- paused bool
- (String) Whether the rule is currently disabled.
- priority float
- (Integer) The priority of the firewall rule. A low number is associated with a high priority.
- urls Sequence[str]
- List of URLs-A list of URLs that you want to include in your firewall rule. You can specify wildcard URLs. The URL pattern is escaped before use.
- configurations List<Property Map>
- (List) A list of IP address or CIDR ranges that you want to allow access to the URLs that you defined in
lockdown.urls. - description String
- (String) A description for your firewall rule.
- lockdown
Id String - (String) The lock down ID.
- paused Boolean
- (String) Whether the rule is currently disabled.
- priority Number
- (Integer) The priority of the firewall rule. A low number is associated with a high priority.
- urls List<String>
- List of URLs-A list of URLs that you want to include in your firewall rule. You can specify wildcard URLs. The URL pattern is escaped before use.
GetCisFirewallLockdownConfiguration
GetCisFirewallUaRule
- Configurations
List<Get
Cis Firewall Ua Rule Configuration> - (List) The Configuration of firewall.
- Description string
- (String) A description for your firewall rule.
- Mode string
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - Paused bool
- (String) Whether the rule is currently disabled.
- Ua
Rule stringId - (String) The user agent rule ID.
- Configurations
[]Get
Cis Firewall Ua Rule Configuration - (List) The Configuration of firewall.
- Description string
- (String) A description for your firewall rule.
- Mode string
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - Paused bool
- (String) Whether the rule is currently disabled.
- Ua
Rule stringId - (String) The user agent rule ID.
- configurations
List<Get
Cis Firewall Ua Rule Configuration> - (List) The Configuration of firewall.
- description String
- (String) A description for your firewall rule.
- mode String
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - paused Boolean
- (String) Whether the rule is currently disabled.
- ua
Rule StringId - (String) The user agent rule ID.
- configurations
Get
Cis Firewall Ua Rule Configuration[] - (List) The Configuration of firewall.
- description string
- (String) A description for your firewall rule.
- mode string
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - paused boolean
- (String) Whether the rule is currently disabled.
- ua
Rule stringId - (String) The user agent rule ID.
- configurations
Sequence[Get
Cis Firewall Ua Rule Configuration] - (List) The Configuration of firewall.
- description str
- (String) A description for your firewall rule.
- mode str
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - paused bool
- (String) Whether the rule is currently disabled.
- ua_
rule_ strid - (String) The user agent rule ID.
- configurations List<Property Map>
- (List) The Configuration of firewall.
- description String
- (String) A description for your firewall rule.
- mode String
- (String) The mode of access rule. The valid modes are
block,challenge,js_challenge. - paused Boolean
- (String) Whether the rule is currently disabled.
- ua
Rule StringId - (String) The user agent rule ID.
GetCisFirewallUaRuleConfiguration
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
