규칙 보고 표
데이터 보호 규칙과 관련된 테이블에 대해 ` Postgres `, ` Db2 ` 및 ` Oracle ` 문장을 확인하십시오.
| 주제 영역 | 테이블 이름 | 설명 |
|---|---|---|
| 규칙 | enforcement_rules | 정의된 데이터 보호 규정. |
enforcement_rules 테이블
이 표에는 정의된 집행 규칙(데이터 보호 규칙)에 대한 정보가 포함되어 있습니다.
이 표에는 다음과 같은 열이 있습니다:
rule_id- 규칙의 식별자.rule_type- 규칙의 유형.name- 규칙의 이름.created_by- 규칙을 생성한 사용자의 식별자.created_on- 규칙이 생성된 시점의 타임스탬프.modified_by- 해당 규칙을 마지막으로 수정한 사용자의 식별자.modified_on- 규칙이 마지막으로 수정된 시점의 타임스탬프.description- 규칙에 대한 설명.action_name- 이 규칙이 적용하는 작업의 유형.rule_json- 정의된 규칙의 JSON 표현.
Postgres
CREATE TABLE문:
create table enforcement_rules(rule_id varchar(36) not null,
rule_type varchar(128) not null,
name varchar(256) not null,
description text,
action_name varchar(256) not null,
created_on timestamp(6) not null,
created_by varchar(128) not null,
modified_on timestamp(6),
modified_by varchar(128),
rule_json text not null,
tech_start TIMESTAMP(6) not null default CURRENT_TIMESTAMP,
tech_end TIMESTAMP(6) not null default to_timestamp('9999-12-30', 'YYYY-MM-DD'),
ts_id TIMESTAMP(6) not null default CURRENT_TIMESTAMP,
primary key(rule_id));
Db2
CREATE TABLE문:
create table enforcement_rules(rule_id varchar(36) not null,
rule_type varchar(128) not null,
name varchar(256) not null,
description clob,
action_name varchar(256) not null,
created_on timestamp(12) not null,
created_by varchar(128) not null,
modified_on timestamp(12),
modified_by varchar(128),
rule_json clob not null,
tech_start TIMESTAMP(12) not null IMPLICITLY HIDDEN generated always as row begin,
tech_end TIMESTAMP(12) not null IMPLICITLY HIDDEN generated always as row
end,
ts_id TIMESTAMP(12) not null generated always as transaction start ID,
primary key(rule_id),
period SYSTEM_TIME (tech_start,
tech_end) )
Oracle
CREATE TABLE문:
CREATE TABLE enforcement_rules(rule_id varchar(36) NOT NULL,
rule_type varchar(128) NOT NULL,
name varchar(256) NOT NULL,
description clob,
action_name varchar(256) NOT NULL,
created_on timestamp(6) NOT NULL,
created_by varchar(128) NOT NULL,
modified_on timestamp(6),
modified_by varchar(128),
rule_json clob NOT NULL,
tech_start TIMESTAMP(6) DEFAULT SYSTIMESTAMP NOT NULL,
tech_end TIMESTAMP(6) DEFAULT to_timestamp('9999-12-30', 'YYYY-MM-DD') NOT NULL,
ts_id TIMESTAMP(6) DEFAULT SYSTIMESTAMP NOT NULL,
PRIMARY KEY(rule_id))