Description Edit the objects file on the Security Management server (see skI3301). Editing the objects.C
file on the gateway is not required or desirable, since it will be overwritten the next time a Policy is installed.
Syntax
> dbedit [-s <server>] [- u <user>|-c <certificate>] [-p <password>] [-f <filename>] [-r <db-open-reason>] [-help]
Parameter |
Description |
---|---|
|
The Security Management server on which the |
|
The user's name (the name used for the SmartConsole) or the full path to the certificate file. |
|
The user's password (the password used for the SmartConsole). |
|
The name of the file containing the commands. If filename is not given, then the user will be prompted for commands. |
|
An optional flag used to open the database with a string that states the reason. This reason will be attached to audit logs on database operations. |
|
Print usage and short explanation. |
dbedit internal commands:
Parameter |
Description |
---|---|
create [object_type] [object_name] |
Create an object with its default values. |
modify [table_name] [object_name] [field_name] [value] |
Modify fields of an object which is:
Extended Formats for owned objects can be used: For example, |
update [table_name] [object_name] |
Update the database with the object. This command will check the object validity and will issue an error message if appropriate. |
delete [table_name] [object_name] |
Delete an object from the database and from the client implicit database. |
addelement [table_name] [object_name] [field_name] [value] |
Add an element (of type string) to a multiple field. |
rmelement [table_name] [object_name] [field_name] [value] |
Remove an element (of type string) from a multiple field.
|
rename [table_name] [object_name] |
Assign a new name for a given object. The operation also performs an update. Example: Rename network object London to Chicago.
|
quit |
Quit |
Example Replace the owned object with a new null object, where NULL is a reserved word specifying a null object:
|
Example Extended Format
firewall_properties
owns the object floodgate_preferences
.
floodgate_preferences
has a Boolean attribute turn_on_logging
, which will be set to true
.
|
comments
is a field of the owned object contained in the ordered container. The 0 value indicates the first element in the container (zero based index).
|
Replace the owned object with a new one with its default values.
|