Retrieve a Database Vault command rule
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/databases/{databaseId}/dbVaultCommandRules/{dbVaultCommandRuleId}
Retrieves the command rule identified by dbVaultCommandRuleId from the specified database.
Request
Path Parameters
-
databaseId(required): string
ID of the target database.
-
dbVaultCommandRuleId(required): integer(int32)
ID of the command rule to retrieve, update, or delete.
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
Command rule retrieved.
Root 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
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