List Database Vault command rules
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/{databaseId}/dbVaultCommandRules
Lists Database Vault command rules matching the query parameters. The default sort is command:ASC, and the default page size is 200.
Request
Path Parameters
-
databaseId(required): string
ID of the target database.
Query Parameters
-
actionNameContains: string
Return command rules whose action name contains this value.
-
associatedPolicyNameContains: string
Return command rules whose associated policy name contains this value.
-
clauseNameContains: string
Return command rules whose clause name contains this value.
-
commandContains: string
Return command rules whose command contains this value.
-
createdByContains: string
Return command rules whose creator's username contains this value.
-
eventNameContains: string
Return command rules whose event name contains this value.
-
hasPolicyAssociatedMatches: boolean
Filter command rules by whether they have an associated policy. A value of true returns only command rules with a policy; false returns only command rules without one. If omitted, no filter is applied and both types may be returned.
-
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 -
page: string
System generated page token of a page.
-
parameterNameContains: string
Return command rules whose parameter name contains this value.
-
ruleSetNameContains: string
Return command rules whose rule-set name contains this value.
-
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 command rules retrieved.
Root Schema : DbVaultCommandRuleCollection
Type:
objectPaginated collection of Database Vault command-rule summaries.
Show Source
-
items(required): array
items
Minimum Number of Items:
0Maximum Number of Items:2000Command-rule summaries on the current page.
Match All
Paginated collection of Database Vault command-rule 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:
2000Command-rule summaries on the current page.
Show Source
-
Array of:
object DbVaultCommandRuleSummary
A command rule returned in a collection, with the same fields as the individual command-rule 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 : DbVaultCommandRuleSummary
Type:
objectA command rule returned in a collection, with the same fields as the individual command-rule resource.
Match All
A command rule returned in a collection, with the same fields as the individual command-rule resource.
Show Source
-
object
allOf
DbVaultCommandRule
Detailed representation of a Database Vault command rule.
Nested Schema : DbVaultCommandRule
Type:
objectDetailed representation of a Database Vault command rule.
Show Source
-
actionName: string
Action qualifier for an ALTER SYSTEM or ALTER SESSION command rule.Example:
example_action_name -
associatedPolicy: string
Name of the associated policy, or null if the command rule has no policy.Example:
PolicyName -
associatedPolicyId: string
ID of the associated policy, or null if the command rule has no policy.Example:
154 -
clauseName: string
Clause qualifier for the command rule.Example:
SET -
command(required): string
SQL command governed by the command rule.Example:
ALTER SYSTEM -
commandRuleId(required): string
Unique command-rule identifier.Example:
14529 -
componentName: string
Component qualifier for an ALTER SYSTEM or ALTER SESSION command rule.Example:
ALTER SYSTEM -
condition(required): string
Minimum Length:
3Maximum Length:8Allowed Values:[ "Full", "Disabled", "SQL" ]Command-rule condition: Full enables enforcement, Disabled disables enforcement and simulation logging, and SQL permits SQL statements while logging violations in the simulation log. -
createdBy: string
Username of the command-rule creator.Example:
dbv_acctmgr_backup -
eventName: string
Event qualifier for an ALTER SYSTEM or ALTER SESSION command rule.Example:
ALTER SYSTEM -
isOracleSupplied(required): boolean
Whether the command rule is Oracle-supplied.
-
objectName(required): string
Name of the database object governed by the command rule.Example:
dvvault -
objectOwner(required): string
Database user that owns the governed object.Example:
dbv_owner_backup -
parameterName: string
Parameter qualifier for an ALTER SYSTEM or ALTER SESSION command rule.Example:
LOG_ARCHIVE_TRACE -
privilegeScope(required): string
Privilege scope of the command rule.Example:
actionName -
ruleSetId: string
Unique rule set identifier, or null when the policy-owner view does not expose it.Example:
152 -
ruleSetName(required): string
Name of the rule set associated with this command rule.Example:
Not allow to set OPTIMIZER_SECURE_VIEW_MERGING to True -
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 command rule 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 command rule was last updated; timezone is unavailable.Example:2022-03-21T15:22:00 -
updatedBy: string
Username of the last user to update the command rule.Example:
example_commandRule_updater_name -
version(required): string
Oracle Database Vault version in which the command rule was created.Example:
1
Match All
Detailed representation of a Database Vault command rule.
Show Source
Nested Schema : Links
Type:
objectRepresents the array of 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
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
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