class Pyrite::Api::Auditregistration::V1alpha1::Policy

Overview

Policy defines the configuration of how audit events are logged

Defined in:

versions/v1.14/api/auditregistration/v1alpha1/policy.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

Policy defines the configuration of how audit events are logged


def self.new(pull : JSON::PullParser) #

Policy defines the configuration of how audit events are logged


def self.new(*, level : String, stages : Array? = nil) #

Instance Method Detail

def level : String #

def level=(level : String) #

def stages : Array(String)? #

def stages=(stages : Array(String)?) #