audit

package
v0.0.0-...-e158d5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPolicy

func DefaultPolicy() ([]byte, error)

DefaultPolicy brings back the default.yaml audit policy to init the api

func GetAuditPolicy

func GetAuditPolicy(audit configv1.Audit) (*auditv1.Policy, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL