Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPolicy ¶
DefaultPolicy brings back the default.yaml audit policy to init the api
func GetAuditPolicy ¶
GetAuditPolicy computes the audit policy for the given audit config. Note: the returned policy has Kind and APIVersion not set. This is responsibility of the caller
when serializing it.
Note: the returned policy must not be modifed by the caller prior to a deepcopy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.