Conversation
gyx-cf
force-pushed
the
waf-content-scanning-encrypted-file-detection
branch
from
September 21, 2026 14:48
c65642b to
bc6e830
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents password-protected (encrypted) content detection on the malicious
uploads page, and adds the new
cf.waf.content_scan.has_encrypted_objfield.Content scanning can now detect when a content object is password-protected,
for ZIP archives, RAR archives, PDF files, and Microsoft Office files
(
.docx,.doc,.xlsx,.xls,.pptx,.ppt). When it does,cf.waf.content_scan.has_encrypted_objis set totrue. The contentobject's result in
cf.waf.content_scan.obj_resultsis still reported asnot scanned, since the scanner cannot determine whether encrypted contentis malicious, and
cf.waf.content_scan.has_failedis not set for encryptedcontent.
Changes
src/content/docs/waf/detections/malicious-uploads/index.mdxcovered and how the signal is surfaced.
cf.waf.content_scan.has_encrypted_objto the content scanningfields table.
src/content/fields/index.yamlcf.waf.content_scan.has_encrypted_objentry, which generates/ruleset-engine/rules-language/fields/reference/cf.waf.content_scan.has_encrypted_obj/.Testing
Built locally with
pnpm run build(9006 pages, no errors) and confirmed:#encrypted-contentanchor resolves, so the fields-table link andthe YAML description link both work
pnpm run format:checkpasses.