Skip to content

Transform rules Available fields list is missing Custom Metadata field #25800

@blogtutor

Description

@blogtutor

Existing documentation URL(s)

https://developers.cloudflare.com/rules/transform/response-header-modification/reference/fields-functions/

What changes are you suggesting?

We are using Custom Metadata and noticed that cf.hostname.metadata is not in the list. We were able to get it to work by wrapping it in a lookup_json_string function:

lookup_json_string(cf.hostname.metadata, "response_header")

Image

Seems like this should get added to the list?

Additional information

Please don't disable this functionality! 😂

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions