List Database Vault rule sets
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/{databaseId}/dbVaultRuleSets
Lists Database Vault rule sets matching the query parameters. The default sort is name:ASC, and the default page size is 200.
Request
Path Parameters
-
databaseId(required): string
ID of the target database.
Query Parameters
-
isOracleSupplied: boolean
Filter by whether resources are Oracle-supplied. True returns only Oracle-supplied resources; false returns only non-Oracle-supplied resources. If omitted, no filter is applied and both types may be returned.
-
limit: integer
Minimum Value:
1Maximum Value:2000For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. The api will return no more than the number specified as limit, but might not return that exact number.Default Value:20 -
nameContains: string
Return resources whose name contains this value.
-
page: string
System generated page token of a page.
-
sort: string
Sort expression in property:ASC or property:DESC form. Each list operation documents its default sort.
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
Database Vault rule sets retrieved.
Root Schema : DbVaultRuleSetCollection
Type:
objectPaginated collection of Database Vault rule-set summaries.
Show Source
-
items(required): array
items
Minimum Number of Items:
0Maximum Number of Items:2000Rule-set summaries on the current page.
Match All
Paginated collection of Database Vault rule-set summaries.
Show Source
-
object
CountLinks
This represents pagination properties like count and links.
Nested Schema : items
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
2000Rule-set summaries on the current page.
Show Source
-
Array of:
object DbVaultRuleSetSummary
A rule set returned in a collection, with the same fields as the individual rule-set resource.
Nested Schema : CountLinks
Type:
objectThis represents pagination properties like count and links.
Show Source
-
count: integer
This represents total number of elements in a page.Example:
20 -
links: object
links
Read Only:
trueThe result set navigation links
Nested Schema : DbVaultRuleSetSummary
Type:
objectA rule set returned in a collection, with the same fields as the individual rule-set resource.
Match All
A rule set returned in a collection, with the same fields as the individual rule-set resource.
Show Source
-
object
DbVaultRuleSet
Detailed representation of a Database Vault rule set.
Nested 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
Nested Schema : links
Type:
objectRead Only:
trueThe result set navigation links
Show Source
-
next: object
Link
A link referencing to another api
-
previous: object
Link
A link referencing to another api
-
self: object
Link
A link referencing to another api
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
400 Response
Bad Request
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
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
403 Response
Forbidden
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