mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-18 09:08:16 +02:00
address lint warnings
This commit is contained in:
parent
231231b351
commit
cfafc92634
1 changed files with 8 additions and 4 deletions
|
@ -16,14 +16,18 @@ import (
|
|||
type MTLSEnforcement string
|
||||
|
||||
const (
|
||||
// No default client certificate enforcement: any requirements must be
|
||||
// explicitly specified in a policy.
|
||||
// MTLSEnforcementPolicy specifies no default client certificate
|
||||
// enforcement: any requirements must be explicitly specified in a policy.
|
||||
MTLSEnforcementPolicy MTLSEnforcement = "policy"
|
||||
|
||||
// Enforce client certificate requirements via a default policy deny rule.
|
||||
// MTLSEnforcementPolicyWithDefaultDeny specifies that client certificate
|
||||
// requirements will be enforced by route policy, with a default
|
||||
// invalid_client_certificate deny rule added to each policy.
|
||||
MTLSEnforcementPolicyWithDefaultDeny MTLSEnforcement = "policy_with_default_deny"
|
||||
|
||||
// Enforce client certificate requirements by rejecting connection attempts.
|
||||
// MTLSEnforcementRejectConnection specifies that client certificate
|
||||
// requirements will be enforced by rejecting any connection attempts
|
||||
// without a trusted certificate.
|
||||
MTLSEnforcementRejectConnection MTLSEnforcement = "reject_connection"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue