--- apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: (devel) creationTimestamp: null name: rules.auditing.kubesphere.io spec: group: auditing.kubesphere.io names: kind: Rule listKind: RuleList plural: rules singular: rule scope: Namespaced validation: openAPIV3Schema: description: Rule is the Schema for the rules API properties: apiVersion: description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' type: string kind: description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: description: AuditRuleSpec defines the desired state of Rule properties: rules: items: properties: alias: description: This effective When the rule type is alias type: string condition: description: Rule condition This effective When the rule type is rule type: string desc: description: Rule describe type: string enable: description: Is the rule enable type: boolean list: description: This effective When the rule type is list items: type: string type: array macro: description: This effective When the rule type is macro type: string name: description: Rule name type: string output: description: The output formater of message which send to user type: string priority: description: Rule priority, DEBUG, INFO, WARNING type: string type: description: Rule type, rule, macro,list,alias type: string required: - enable type: object type: array type: object status: description: AuditRuleStatus defines the observed state of Rule type: object type: object version: v1alpha1 versions: - name: v1alpha1 served: true storage: true status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: []