Class AuditConditions.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • auditPolicyName

        public AuditConditions.Builder auditPolicyName​(String auditPolicyName)
        Indicates the audit policy name.

        Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database.

        Parameters:
        auditPolicyName - the value to set
        Returns:
        this builder
      • isPrivUsersManagedByDataSafe

        public AuditConditions.Builder isPrivUsersManagedByDataSafe​(Boolean isPrivUsersManagedByDataSafe)
        Indicates whether the privileged user list is managed by Data Safe.
        Parameters:
        isPrivUsersManagedByDataSafe - the value to set
        Returns:
        this builder
      • isDataSafeServiceAccountAudited

        public AuditConditions.Builder isDataSafeServiceAccountAudited​(Boolean isDataSafeServiceAccountAudited)
        Indicates whether the Data Safe user activity on the target database will be audited by the policy.
        Parameters:
        isDataSafeServiceAccountAudited - the value to set
        Returns:
        this builder
      • enableConditions

        public AuditConditions.Builder enableConditions​(List<EnableConditions> enableConditions)
        Indicates the users/roles in the target database for which the audit policy is enforced, and the success/failure event condition to generate the audit event..
        Parameters:
        enableConditions - the value to set
        Returns:
        this builder