Tabelle di segnalazione delle regole
Controlla le dichiarazioni relative alle tabelle " Postgres ", " Db2 " e " Oracle " che riguardano le norme sulla protezione dei dati.
| Area oggetti | Nome tabella | Descrizione |
|---|---|---|
| Regole | norme di applicazione | Le norme sulla protezione dei dati che sono state definite. |
tabella delle regole di applicazione
Questa tabella contiene informazioni sulle norme di applicazione (norme sulla protezione dei dati) definite.
Questa tabella presenta le seguenti colonne:
rule_id- L'identificatore della regola.rule_type- Il tipo della regola.name- Il nome della regola.created_by- L'identificativo dell'utente che ha creato la regola.created_on- La data e l'ora di creazione della regola.modified_by- L'identificativo dell'utente che ha modificato la regola per ultimo.modified_on- La data e l'ora dell'ultima modifica della regola.description- La descrizione della regola.action_name- Il tipo di azione che questa regola impone.rule_json- La rappresentazione JSON della regola definita.
Postgres
Istruzione 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
Istruzione 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
Istruzione 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))