Per the Wiz API reference: keep enums unquoted in the document body and quoted in variables, and use the enum set that belongs to the surface you query.

Context: Problem: GRAPHQL_VALIDATION_FAILED with "Severity cannot represent value: HIGH". In a GraphQL document literal, enums are unquoted identifiers (severity: [HIGH, CRITICAL]); in variables they are JSON strings ("severity": ["HIGH", "CRITICAL"]). Inlining quoted enums into the document body is rejected. Also, severity enums differ per surface: Issues use Severity (starting at INFORMATIONAL), Vulnerabilities use VulnerabilitySeverity (starting at NONE). Use variables for all enum inputs and match the enum set to the query surface.