Class AuditCustomRule
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.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 Summary
Constructors Constructor Description AuditCustomRule()No args constructor for use in serializationAuditCustomRule(String group, String profile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditCustomRuleBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGroup()group is a name of group a request user must be member of in order to this profile to apply.StringgetProfile()profile specifies the name of the desired audit policy configuration to be deployed to all OpenShift-provided API servers in the cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroup(String group)group is a name of group a request user must be member of in order to this profile to apply.voidsetProfile(String profile)profile specifies the name of the desired audit policy configuration to be deployed to all OpenShift-provided API servers in the cluster.AuditCustomRuleBuildertoBuilder()
-
-
-
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.
-
edit
public AuditCustomRuleBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AuditCustomRuleBuilder>
-
toBuilder
public AuditCustomRuleBuilder toBuilder()
-
-