> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-fbfa8bee.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 시스템 내 모든 마스킹 정책 정보를 담고 있는 시스템 테이블입니다.

# system.masking_policies

export const CloudOnlyBadge = () => {
  return <div className="cloudBadge">
            <div className="cloudIcon">
            <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path fillRule="evenodd" clipRule="evenodd" d="M5.33395 12.6667H12.3739C13.6593 12.6667 14.7073 11.6187 14.7073 10.3334C14.7073 9.04804 13.6593 8.00004 12.3739 8.00004H12.0839V7.33337C12.0839 5.12671 10.2906 3.33337 8.08395 3.33337C6.09928 3.33337 4.45395 4.78537 4.14195 6.68204C2.55728 6.76271 1.29395 8.06204 1.29395 9.66671C1.29395 11.3234 2.63728 12.6667 4.29395 12.6667H5.33395Z" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
            </svg>
        </div>
            {'ClickHouse Cloud 전용'}
        </div>;
};

<div id="description">
  ## 설명
</div>

시스템에 정의된 모든 마스킹 정책 정보를 포함합니다.

<div id="columns">
  ## 컬럼
</div>

* `name` ([String](/ko/reference/data-types/string)) — 마스킹 정책의 이름입니다. 전체 이름 형식은 `short_name ON database.table`입니다.
* `short_name` ([String](/ko/reference/data-types/string)) — 마스킹 정책의 약식 이름입니다. 예를 들어 전체 이름이 `mask_email ON mydb.mytable`이면 약식 이름은 `mask_email`입니다.
* `database` ([String](/ko/reference/data-types/string)) — 데이터베이스 이름입니다.
* `table` ([String](/ko/reference/data-types/string)) — 테이블 이름입니다.
* `id` ([UUID](/ko/reference/data-types/uuid)) — 마스킹 정책 ID입니다.
* `storage` ([String](/ko/reference/data-types/string)) — 마스킹 정책이 저장된 디렉터리 이름입니다.
* `update_assignments` ([Nullable(String)](/ko/reference/data-types/nullable)) — 데이터를 어떻게 마스킹할지 정의하는 UPDATE 할당입니다. 예시: `email = '***masked***', phone = '***-***-****'`.
* `where_condition` ([Nullable(String)](/ko/reference/data-types/nullable)) — 마스킹을 적용할 시점을 지정하는 선택적 WHERE 조건입니다.
* `priority` ([Int64](/ko/reference/data-types/int-uint)) — 여러 마스킹 정책을 적용할 때의 우선순위입니다. 우선순위가 높은 정책이 먼저 적용됩니다. 기본값은 0입니다.
* `apply_to_all` ([UInt8](/ko/reference/data-types/int-uint)) — 마스킹 정책이 모든 역할 및/또는 사용자에게 적용되는지 여부를 나타냅니다. 참이면 1, 그렇지 않으면 0입니다.
* `apply_to_list` ([Array(String)](/ko/reference/data-types/array)) — 마스킹 정책이 적용되는 역할 및/또는 사용자 목록입니다.
* `apply_to_except` ([Array(String)](/ko/reference/data-types/array)) — 나열된 역할 및/또는 사용자를 제외한 모든 역할 및/또는 사용자에게 마스킹 정책이 적용됩니다. `apply_to_all`이 1일 때만 값이 설정됩니다.
