Reference documentation and code samples for the Network Security V1 API module Google::Cloud::NetworkSecurity::V1::AuthzPolicy::PolicyProfile.
The type of authorization being performed. New values may be added in the future.
Constants
POLICY_PROFILE_UNSPECIFIED
value: 0
Unspecified policy profile.
REQUEST_AUTHZ
value: 1
Applies to request authorization. CUSTOM authorization
policies with Authz extensions will be allowed with EXT_AUTHZ_GRPC or
EXT_PROC_GRPC protocols. Extensions are invoked only for request header
events.
CONTENT_AUTHZ
value: 2
Applies to content security, sanitization, etc. Only
CUSTOM action is allowed in this policy profile. AuthzExtensions in the
custom provider must support EXT_PROC_GRPC protocol only and be capable
of receiving all EXT_PROC_GRPC events (REQUEST_HEADERS, REQUEST_BODY,
REQUEST_TRAILERS, RESPONSE_HEADERS, RESPONSE_BODY, RESPONSE_TRAILERS)
with FULL_DUPLEX_STREAMED body send mode.