Retrieve a Database Vault rule set
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/{databaseId}/dbVaultRuleSets/{ruleSetId}
Retrieves the rule set identified by ruleSetId, including its associated rules.
Request
Path Parameters
-
databaseId(required): string
ID of the target database.
-
ruleSetId(required): integer(int32)
ID of the rule set to retrieve.
Header Parameters
-
ORCL-EM-DBTARGET-AUTHORIZATION(required): string
Authorization credentials for the Enterprise Manager database target.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Rule set retrieved.
Root Schema : DbVaultRuleSet
Type:
objectDetailed representation of a Database Vault rule set.
Show Source
-
auditOption(required): string
Database audit option, represented as a string: 0 disables auditing, 1 audits failures, 2 audits successes, and 3 audits both.
-
createdBy(required): string
Username of the rule-set creator.Example:
dbv_acctmgr_backup -
dependency(required): string
Rule components associated with the rule set.
-
description: string
Description of the purpose of the rule set.Example:
DBA access through predefined processes -
evaluationOption(required): string
How multiple rules are combined: All true requires every rule to evaluate to true (default); Any true requires at least one rule to evaluate to true.
-
failCode: string
Error code associated with failMessage, in the range -20999 to -20000 or 20000 to 20999.
-
failMessage: string
Error message associated with failCode when rule-set evaluation fails.
-
failOption(required): string
Whether errors are reported. Possible values are Shows an error message (default) and Does not show an error message.
-
handler: string
Name of the PL/SQL function or procedure implementing the custom event handler.
-
handlerOption: string
Database handler option, represented as a string: 0 disables the handler, 1 invokes it on failure, and 2 invokes it on success.
-
isOracleSupplied(required): boolean
Whether the rule set is Oracle-supplied.
-
isStatic(required): boolean
Whether rules are evaluated statically or dynamically. When static, the first evaluation result in a session is cached and reused for later evaluations in that session.
-
name(required): string
Name of the rule set.Example:
Limit_DBA_Access -
rules: array
rules
Rules associated with the rule set.
-
ruleSetId(required): string
Unique rule-set identifier.Example:
8 -
status(required): string
Minimum Length:
7Maximum Length:10Allowed Values:[ "Enabled", "Disabled", "Simulation" ]Status of the rule set. -
timeCreated: string
Pattern:
^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?$Local date and time when the rule set was created; timezone is unavailable.Example:2021-07-16T19:20:00 -
timeUpdated: string
Pattern:
^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}([.][0-9]{1,9})?$Local date and time when the rule set was last updated; timezone is unavailable.Example:2022-03-21T15:22:00 -
updatedBy(required): string
Username of the last user to update the rule set.Example:
example_realm_updater_name -
version(required): string
Oracle Database Vault version in which the rule set was created.Example:
1
Nested Schema : rules
Type:
arrayRules associated with the rule set.
Show Source
-
Array of:
object DbVaultRule
Rule associated with a Database Vault rule set.
Nested Schema : DbVaultRule
Type:
objectRule associated with a Database Vault rule set.
Show Source
-
expression(required): string
Expression evaluated by the rule.Example:
SYS_CONTEXT(''USERENV'',''SESSION_USER'') = ''SYSADM'' -
name(required): string
Name of the rule.Example:
Check UPDATE operations -
ruleId(required): string
Unique rule identifier.Example:
54
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
404 Response
Not Found
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
Default Response
Unexpected error.
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported