Cloudflare WAF - Custom
Delete Cloudflare WAF IP list items the way the API expects
A fork of the Cloudflare WAF connector fixing the delete IP list items payload; installs beside the Content Hub original.
cloudflare-waf_dev_1.0.1.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Fork of a Content Hub connector
An enhanced copy of Cloudflare WAF cloudflare-waf v1.0.1Original's documentation
The operation list matches the Content Hub original exactly, so anything this fork changes lives below the operation level.
What the author changed: Fix only: the delete IP list items operation wraps each indicator ID the way the Cloudflare API expects. Same operation set as the hub original otherwise.
Installs under its own machine name alongside the original: playbook steps that call the Content Hub original keep using it until you switch them to this fork. Differences are re-measured against the current Content Hub index at every site build, so this stays truthful as the original moves.
Configuration · 6 fields
- Server URL
server_urltext requiredSpecify the URL of the cloudflare WAF server to connect and perform automated operations.
Default
https://api.cloudflare.com - Account ID
account_idtext requiredSpecify the Account ID to access the endpoint to which you will connect and perform the automated operations.
Default
938f032ec46f16995357f1a9c1daedac - Zone ID
zone_idtext requiredSpecify the Zone ID to access the endpoint to which you will connect and perform the automated operations.
Default
0bf1f7d3cabec331e6e1057339f314eb - Verify SSL
verify_sslcheckboxSpecifies whether the SSL certificate for the server is to be verified or not.
Default
true - Auth Email
authEmailtext - Auth Key
authKeypassword
Operations · 16
Create Firewall Rule 8 params
create_firewall_rulecreate_firewall_ruleAllows users to add or create a new firewall rule in a firewall configuration
- Description
descriptiontext requiredSpecify a description or name for the new firewall rule being created
- Action
actionselectSpecify the action or behavior to be taken when the rule's conditions are met
Default
BlockOptions AllowBypassBlockChallengejS ChallengeManaged ChallengeLog - Products
productsmultiselectSelect one or more products or services to which the firewall rule applies
- Paused
pausedcheckboxSpecify whether the newly created firewall rule should be initially paused or inactive
- Priority
prioritytextSpecify the precedence or order of the newly created firewall rule relative to other rules
- Reference Tag
reftextSpecify an association of a reference or identifier with the newly created firewall rule
- Filter ID
filter_idtextSpecify the identifier of an existing filter to be associated with the newly created firewall rule. Required if filter_expression is unspecified.
- Filter Expression
filter_expressiontextSpecify the identifier of an existing filter to be associated with the newly created firewall rule. Required if filter_expression is unspecified. more info: https://developers.cloudflare.com/ruleset-engine/rules-language/expressions/
Returnserrorsmessagesresultsuccessresult_infoUpdate Firewall Rule 8 params
update_firewall_ruleupdate_firewall_ruleAllows users to modify or edit an existing firewall rule within the firewall configuration
- Rule ID
idtext requiredSpecify the unique identifier of the firewall rule that needs to be updated.
- Description
descriptiontextSpecify the description or name of the existing firewall rule to modify or update
- Action
actionselectSpecify the action or behavior to be taken when the updated rule's conditions are met
Default
BlockOptions AllowBypassBlockChallengejS ChallengeManaged ChallengeLog - Products
productsmultiselectSelect one or more products or services to which the updated firewall rule applies
- Paused
pausedcheckboxTo update a firewall rule, it can be set to either active or inactive. To choose this option, the firewall rule must be paused or inactive
- Priority
prioritytextSpecify the precedence or order of the firewall rules to be updated
- Reference Tag
reftextSpecify a reference or identifier for the firewall rule to be updated
- Filter ID
filter_idtextSpecifies the identifier of an existing filter to be associated with the updated firewall rule. Can not update or delete rule filter, only add a new filter.
Returnserrorsmessagesresultsuccessresult_infoList Firewall Rules 6 params
list_firewall_ruleslist_firewall_rulesGet a list of firewall rules that are currently configured for your Cloudflare account or for a specific domain or zone within your account
- Action
actiontextSpecifies the action or operation to be performed when retrieving firewall rules. Must be an exact match
- Description
descriptiontextSpecify this parameter allows you to filter firewall rules based on their description or name
- Rule ID
idtextSpecify the unique identifier of the firewall rule
- Paused
pausedcheckboxSpecify this parameter value true, indicates that the firewall rule is currently paused
- Page Number
pagetextSpecify the page number of paginated results
- Record Per Page
per_pagetextSpecify this parameter to indicate the number of firewall rules per page
Returnserrorsmessagesresultsuccessresult_infoDelete Firewall Rule 1 param
delete_firewall_ruledelete_firewall_ruleRemove or delete an existing firewall rule from the firewall configuration
- Rule ID
idtext requiredSpecify the unique identifier of the firewall rule to delete
Returnserrorsmessagesresultsuccessresult_infoCreate Filter 5 params
create_filtercreate_filterAllows users to add a new filter to their WAF configuration
- Zone ID
zone_idtextSpecifies the unique identifier of the Cloudflare zone where the filter will be applied
- Description
descriptiontextAllows users to provide a description or additional information about the newly created filter
- Expression
expressiontextSpecify this parameter allows users to define the filtering criteria or rules for the newly created filter
- Reference ID
reftextSpecifying this parameter allows users to associate a reference or identifier with the newly created filter.
- Paused
pausedcheckboxSpecifying this parameter allows users to specify whether the newly created filter should be initially paused or active
Returnserrorsmessagesresultsuccessresult_infoList Filters 6 params
list_filterslist_filtersRetrieve a list of filters configured within the Cloudflare Web Application Firewall (WAF) settings
- Filter ID
idtextSpecify the identifier of a specific filter for retrieval.
- Description
descriptiontextAllows users to filter the list of filters based on their descriptions
- Expression
expressiontextSpecify a search expression or pattern to filter the list of filters returned by the Cloudflare WAF
- Reference ID
reftextSpecifying this parameter allows users to filter the list of filters based on their reference or identifier.
- Page Number
pagetextSpecify the page number of paginated results
- Per Page
per_pagetextSpecify this parameter to indicate the number of filters per page
Returnserrorsmessagesresultsuccessresult_infoUpdate Filter 6 params
update_filterupdate_filterModify and update the configuration settings of existing filters within their WAF configuration
- Filter ID
idtext requiredSpecifies the unique identifier of the filter that the user intends to update
- Zone ID
zone_idtextSpecifies this parameter facilitates the modification of the Cloudflare zone to which a specific filter is associated
- Description
descriptiontextSpecifying this parameter allows users to update the description or additional information associated with a specific filter
- Expression
expressiontextSpecifying this parameter allows users to modify the filtering criteria or rules associated with a specific filter
- Reference ID
reftextSpecifying this parameter allows users to modify or update the reference or identifier associated with a specific filter
- Paused
pausedcheckboxProvides users with the ability to control the activation status of a specific filter
Returnserrorsmessagesresultsuccessresult_infoDelete Filter 1 param
delete_filterdelete_filterAllows users to remove a specific filter from their WAF configuration.
- Filter ID
idtext requiredSpecifies the unique identifier of the filter that users want to remove from their WAF configuration
Returnserrorsmessagesresultsuccessresult_infoList Zones 8 params
list_zoneslist_zonesRetrieves a list of all zones associated with the user's Cloudflare account
- Match
matchtextSpecifies this parameter is used to filter the list of zones based on specific criteria
- Name
nametextSpecifying this parameter allows users to filter the list of zones based on the zone name
- Account Name
account_nametextSpecifying this parameter allows users to filter the list of zones based on the name of the Cloudflare account associated with each zone
- Order
ordertextSpecifying this parameter allows users to specify the order in which the list of zones should be sorted in the response. Possible values : name status account.id account.name
- Status
statustextSpecifying this parameter allows users to filter the list of zones based on their current operational status
- Direction
directiontextSpecifying this parameter allows users to specify the sorting direction of the list of zones based on certain criteria
- Page Number
pagetextSpecify the page number of paginated results
- Per Page
per_pagetextSpecify this parameter to indicate the number of zones per page
Returnserrorsmessagessuccessresult_inforesultGet IP Lists 2 params
get_ip_listsget_ip_listsAllows users to retrieve information about IP lists configured within their Cloudflare account
- Page Number
pagetextSpecify the page number of paginated results
- Per Page
per_pagetextSpecify this parameter to indicate the number of IP list items per page
ReturnserrorsmessagesresultsuccessCreate IP List 2 params
create_ip_listcreate_ip_listCreate a new IP list with a specified name and associated IP addresses.
- Name
nametext requiredSpecifies the name of the new IP list to be created
- Description
descriptiontextSpecify this parameter to allows users to provide additional information or details about the new IP list being created
ReturnserrorsmessagesresultsuccessDelete IP List 1 param
delete_ip_listdelete_ip_listRemove an existing IP list from their Cloudflare account
- List ID
list_idtext requiredSpecifies the ID of the list that you want to delete
ReturnserrorsmessagesresultsuccessCreate IP Items List 2 params
create_ip_items_listcreate_ip_items_listAdd or append new items, such as IP addresses, to a specific list
- List ID
list_idtext requiredSpecifies the ID of the list from which you want to add or append as new items to the list.
- IP Address
ip_addresstext requiredSpecifies a CSV list of IP addresses that you want to add or append as new items to the list.
ReturnserrorsmessagesresultsuccessGet IP List Items 3 params
get_ip_list_itemget_ip_list_itemRetrieves the list of IP addresses items from a specific list
- List ID
list_idtext requiredSpecifies the ID of the list from which you want to retrieve the list of IP addresses.
- Page Number
pagetextSpecify the page number of paginated results
- Record Per Page
per_pagetextSpecify this parameter to indicate the number of IP list item per page
Returnserrorsmessagesresultsuccessresult_infoUpdate IP List Items 2 params
update_ip_list_itemupdate_ip_list_itemRemoves all existing items from the list and adds the provided items to the list.
- List ID
list_idtext requiredSpecifies the ID of the list from which you want to update the list of IP addresses.
- IP Address
ip_addresstext requiredSpecifies a CSV list of IP addresses that you want to update within the item list
ReturnserrorsmessagesresultsuccessDelete IP List Items 2 params
delete_ip_list_itemdelete_ip_list_itemAllows users to remove specific items, such as IP addresses, from an IP list
- List ID
list_idtext requiredSpecifies the ID of the list from which you want to delete the IP list
- Item ID
items_idtext requiredSpecifies a CSV list of items ID that you want to delete from the list.
Returnserrorsmessagesresultsuccess