Class AuditCustomRule

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<AuditCustomRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class AuditCustomRule
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<AuditCustomRuleBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    AuditCustomRule describes a custom rule for an audit profile that takes precedence over the top-level profile.
    See Also:
    Serialized Form
    • Constructor Detail

      • AuditCustomRule

        public AuditCustomRule()
        No args constructor for use in serialization
      • AuditCustomRule

        public AuditCustomRule​(String group,
                               String profile)
    • Method Detail

      • getGroup

        public String getGroup()
        group is a name of group a request user must be member of in order to this profile to apply.
      • setGroup

        public void setGroup​(String group)
        group is a name of group a request user must be member of in order to this profile to apply.
      • getProfile

        public String getProfile()
        profile specifies the name of the desired audit policy configuration to be deployed to all OpenShift-provided API servers in the cluster.


        The following profiles are provided: - Default: the existing default policy. - WriteRequestBodies: like 'Default', but logs request and response HTTP payloads for write requests (create, update, patch). - AllRequestBodies: like 'WriteRequestBodies', but also logs request and response HTTP payloads for read requests (get, list). - None: no requests are logged at all, not even oauthaccesstokens and oauthauthorizetokens.


        If unset, the 'Default' profile is used as the default.

      • setProfile

        public void setProfile​(String profile)
        profile specifies the name of the desired audit policy configuration to be deployed to all OpenShift-provided API servers in the cluster.


        The following profiles are provided: - Default: the existing default policy. - WriteRequestBodies: like 'Default', but logs request and response HTTP payloads for write requests (create, update, patch). - AllRequestBodies: like 'WriteRequestBodies', but also logs request and response HTTP payloads for read requests (get, list). - None: no requests are logged at all, not even oauthaccesstokens and oauthauthorizetokens.


        If unset, the 'Default' profile is used as the default.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)