Configures access rules for Self Defense.
Syntax
HRESULT kaveSelfDefenseSetConfig (
const char *resourceList
);
Parameters
The kaveSelfDefenseSetConfig function has the following parameters.
kaveSelfDefenseSetConfig function parameters
Name |
Type |
Description |
|---|---|---|
|
In |
Access rules—a custom set of securable objects to be protected by Self Defense. Here you pass a text with a set of access rules configured using the predefined access rule configuration format. Please specify expanded paths; environment variables are not supported. |
Return value
The table below contains possible values that the kaveSelfDefenseSetConfig function can return.
kaveSelfDefenseSetConfig function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
|
|
An attempt has been made to call the |
|
An error occurred when setting custom access rules. |