Direct answer
Spray foam itself is combustible if directly exposed to flame. Building code requires a 'thermal barrier' (typically 1/2-inch drywall or DC315 paint) over foam in living spaces. Partner-network installers handle both code-compliant assemblies.