Oracle SA_COMPONENTS Version 20c |
---|
General Information | |||||||||||||
Library Note | |||||||||||||
Purpose | Use this package to create, configure, and manage policy component compartments, groups, and levels. Note: This page has been posted prior to the GA release of 20c. It will be completed once we have access to the release version. |
||||||||||||
AUTHID | DEFINER | ||||||||||||
Dependencies |
|
||||||||||||
Documented | No | ||||||||||||
First Available | 10.1 | ||||||||||||
Security Model | Owned by LBACSYS with no privileges granted. In addition to the execute privilege on this package the user must also be granted the POLICY_DBA role using SA_DBA. |
||||||||||||
Source | {ORACLE_HOME}/rdbms/admin/prvtolsdd.plb | ||||||||||||
Subprograms | |||||||||||||
ALTER_COMPARTMENT | |||||||||||||
Alter a compartment's short and long name Overload 1 |
sa_components.alter_compartment( |
||||||||||||
exec sa_components.alter_compartment('DATA_ACCESS', 100, 'DV', 'DIVESTITURES'); |
|||||||||||||
Alter a compartment's short and long name Overload 2 |
sa_components.alter_compartment( |
||||||||||||
exec sa_components.alter_compartment('DATA_ACCESS', 200, 'IT', 'INFORMATION TECH'); |
|||||||||||||
ALTER_GROUP | |||||||||||||
Alter a label category identified by group number Overload 1 |
sa_components.alter_group( |
||||||||||||
exec sa_components.alter_group('DATA_ACCESS', 10, 'IN', 'INVESTORS'); |
|||||||||||||
Alter a label category identified by short name Overload 2 |
sa_components.alter_group( |
||||||||||||
exec sa_components.alter_group('DATA_ACCESS', 20, 'BD', 'DIRECTORS'); |
|||||||||||||
ALTER_GROUP_PARENT | |||||||||||||
Alter a group's parent number identified by group number Overload 1 |
sa_components.alter_group_parent( |
||||||||||||
exec sa_components.alter_group_parent('DATA_ACCESS', 20, 10); |
|||||||||||||
Alter a group's parent identified by parent group name Overload 2 |
sa_components.alter_group_parent( |
||||||||||||
exec sa_components.alter_group_parent('DATA_ACCESS', 20, 'BD'); |
|||||||||||||
Alter a group's parent identified by new parent short name Overload 3 |
sa_components.alter_group_parent( |
||||||||||||
exec sa_components.alter_group_parent('DATA_ACCESS', 20, 'EM', 'BD'); |
|||||||||||||
ALTER_LEVEL | |||||||||||||
Alter a level's short and long name Overload 1 |
sa_components.alter_level( |
||||||||||||
exec sa_components.alter_level('DATA_ACCESS', 1, 'E', 'EMPLOYEES'); |
|||||||||||||
Alter a level's short and long name Overload 2 |
sa_components.alter_level( |
||||||||||||
exec sa_components.alter_level('DATA_ACCESS', 'S', 'SECRET'); |
|||||||||||||
CREATE_COMPARTMENT | |||||||||||||
Define label categories | sa_components.create_compartment( |
||||||||||||
exec sa_components.create_compartment('DATA_ACCESS', 100, 'MA', 'MERGERS_ACQUISITIONS'); |
|||||||||||||
CREATE_GROUP | |||||||||||||
Define groups with data ownership or access | sa_components.create_group( |
||||||||||||
exec sa_components.create_group('DATA_ACCESS', 10, 'BD', 'BOARD_OF_DIR'); |
|||||||||||||
CREATE_LEVEL | |||||||||||||
Define a sensitivity level | sa_components.create_level( |
||||||||||||
exec sa_components.create_level('DATA_ACCESS', 1, 'I', 'INTERNAL'); |
|||||||||||||
DROP_COMPARTMENT | |||||||||||||
Drop a compartment identified by its compartment name Overload 1 |
sa_components.drop_compartment( |
||||||||||||
exec sa_components.drop_compartment('DATA_ACCESS', 300); |
|||||||||||||
Drop a compartment identified by its short name Overload 2 |
sa_components.drop_compartment( |
||||||||||||
exec sa_components.drop_compartment('DATA_ACCESS', 'AO'); |
|||||||||||||
DROP_GROUP | |||||||||||||
Drop a group identified by group number Overload 1 |
sa_components.drop_group( |
||||||||||||
exec sa_components.drop_group('DATA_ACCESS', 30); |
|||||||||||||
Drop a group identified by short name Overload 2 |
sa_components.drop_group( |
||||||||||||
exec sa_components.drop_group('DATA_ACCESS', 'BD'); |
|||||||||||||
DROP_LEVEL | |||||||||||||
Drop a level identified by level number Overload 1 |
sa_components.drop_level( |
||||||||||||
exec sa_components.drop_level('DATA_ACCESS', 1); |
|||||||||||||
Drop a level identified by short name Overload 2 |
sa_components.drop_level( |
||||||||||||
exec sa_components.drop_level('DATA_ACCESS', 2); |