Skip to content

App Firewall

App Firewall provides tools for creating, listing, retrieving, updating, and deleting resources in F5 Distributed Cloud.

ToolDescription
f5xc-api-virtual-app-firewall-createCreate Application Firewall.
f5xc-api-virtual-app-firewall-getGet Application Firewall.
f5xc-api-virtual-app-firewall-listList Application Firewall.
f5xc-api-virtual-app-firewall-updateUpdate Application Firewall.
f5xc-api-virtual-app-firewall-deleteDelete Application Firewall.
ParameterDescriptionExample
namespaceNamespace This defines the workspace within which each the configuration object is to be created.system
nameName The name of the configuration object to be fetched.example-resource
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example - in GetSpec form for the contents of object…GET_RSP_FORMAT_DEFAULT
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter…-
report_status_fieldsThe report_status_fields parameter…-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
spec.allow_all_response_codesAllow all response codes✅ Yes
spec.allowed_response_codesAllowed response codes
OptionDescriptionRecommended
spec.custom_anonymizationCustom anonymization
spec.default_anonymizationDefault anonymization✅ Yes
spec.disable_anonymizationDisable anonymization
OptionDescriptionRecommended
spec.blocking_pageBlocking page
spec.use_default_blocking_pageUse default blocking page✅ Yes
OptionDescriptionRecommended
spec.bot_protection_settingBot protection setting
spec.default_bot_settingDefault bot setting✅ Yes
OptionDescriptionRecommended
spec.ai_risk_based_blockingAi risk based blocking
spec.default_detection_settingsDefault detection settings✅ Yes
spec.detection_settingsDetection settings
OptionDescriptionRecommended
spec.blockingBlocking
spec.monitoringMonitoring✅ Yes

Ask Claude to help you work with App Firewall resources:

“Create a app-firewall named ‘example’ in the ‘production’ namespace”

“List all app-firewalls in the ‘production’ namespace”

“Get details of the app-firewall named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/app_firewalls" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/app_firewalls/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/app_firewalls" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @app_firewall.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/app_firewalls/$${PARAM}" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"