Description
In a Pulumi gcp:compute:SSLPolicy, use minTlsVersion to set the minimum client protocol. The profile determines the available ciphers for TLS 1.2 and earlier.
Potential impact
A permissive policy can allow older protocols. Raising the minimum prevents clients that lack support for the required version from connecting.
Remediation
Attach a policy requiring TLS 1.2 or later to the target HTTPS or SSL proxy. If you require TLS 1.3 as the minimum, use the RESTRICTED profile. Test that required clients connect and prohibited versions are refused.
Examples
Both excerpts omit the proxy attachment. The connection to the backend uses separate TLS settings.
Before
resources:
example:
type: gcp:compute:SSLPolicy
properties:
minTlsVersion: TLS_1_1
After
resources:
example:
type: gcp:compute:SSLPolicy
properties:
minTlsVersion: TLS_1_2
The second changes only the minimum from TLS_1_1 to TLS_1_2. Both use the default COMPATIBLE profile because they omit it.