Sign inGet started
–

cloud-armor-crs-rule-upgrader

by google/skills · Security & Compliance

Upgrades Google Cloud Armor WAF security policies from legacy OWASP CRS 3.0/3.3 rulesets to CRS 4.22, remapping signatures, preserving exclusions, flagging breaking changes, and supporting safe in-pla

Lift · GLM-5.3-flash—untestable in our sandbox · why ↓
79
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
License—metadata + link-out

What it does

Upgrades Google Cloud Armor security policies from OWASP CRS 3.0 and 3.3 to OWASP CRS 4.22. Preserves signature opt-in and opt-out lists, translates evaluatePreconfiguredExpr to native evaluatePreconfiguredWaf dictionary parameters, remaps signature IDs to v042200, drops retired signature IDs, and updates structured preconfiguredWafConfig fine-tuning exclusions. Evaluates operational risk (High Breaking Change, Medium Attention Required, Low Clean Upgrade) including Method Enforcement breaking changes (PUT/PATCH/DELETE blocking) and sensitivity coverage expansions. Supports both in-place rule upgrades and smooth preview mode deployments with priority spacing and a 200-rule quota guardrail. Use when a user or agent needs to audit, upgrade, or transition Cloud Armor WAF rules to CRS 4.22. Don't use for non-WAF Cloud Armor rules (IP rate-limiting, geo-blocking, reCAPTCHA) or AWS/Azure WAF migrations.

#cloud-armor#google-cloud#owasp-crs#rule-upgrade#security-policy#waf

Quality judgment

completeness
9.0/10
clarity
8.0/10
trigger quality
8.5/10
examples
7.0/10
structure
9.0/10
overall
9.0/10

Exceptionally thorough skill covering prerequisites, risk classification, transformation logic, guardrails, and gotchas with concrete commands, ID lists, and edge cases (CVE signatures, empty targetRuleIds). Minor deductions: some examples are abstract placeholders rather than fully worked end-to-end cases, and the mandatory agent-behavior block is slightly verbose.

Files (7)

references/attribution.md · 1.9 KBreferences/contributing.md · 4.3 KBreferences/fine_tuning_and_cel.md · 6.7 KBreferences/gcloud_recipes.md · 8.2 KBreferences/ruleset_mappings.md · 11.7 KBscripts/upgrade_policy.py · 35.0 KBSKILL.md · 19.2 KB