add_datasource_to_entitlement_optimization
Adds the data from this datasource to the entitlement optimization data collection, and generates details to the individual entitlement optimization tabs as specified.
This API is available in Guardium V10.1.4 and later.
What’s New (generateNews) | Users and Roles | Recommendations (generateRecommendations) | Browse Entitlements | What If (generateRoleClusters) | |
---|---|---|---|---|---|
extractActivity | X | X | |||
extractEntitlement | X | X | X | X |
REST API syntax
PUT
method. Call this API as
follows:
PUT https://[Guardium hostname or IP address]:8443/restAPI/addDatasourceToEntitlementOptimization
GuardAPI syntax
add_datasource_to_entitlement_optimization parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
datasourceName | String | Required. Guardium datasource name. |
extractActivity | Boolean | Required. Datasource is enabled or disabled for entitlement optimization. Set to true to
generate data in the Browse Entitlements and What If? tabs. Valid values:
|
extractEntitlement | Boolean | Enables or disables extraction of entitlement data. Set to true to generate data in the
What's New?, Users and Roles, Recommendations, and Browse Entitlements tabs. Valid values:
|
filterIgnoreVerbs | Boolean | For future use. Ignore verbs are filtered from the data source's collected data. Valid values:
|
filterTempObjects | Boolean | For future use. Temporary objects are filtered from the data source's collected data. Valid values:
|
generateNews | Boolean | Activity from this datasource is included in the What's New tab. Valid values:
|
generateRecommendations | Boolean | Activity from this datasource is included in the Recommendations tab. Valid values:
|
generateRoleClusters | Boolean | Enables or disables extraction of behavioral role clustering from the data source, used in
the What If tab. Valid values:
Set to true to generate data in the What If? tab. Default = 0 |
isEnabled | Boolean | Required. Datasource is enabled / disabled, for entitlement optimization. Valid values:
|
objectScope | String | Entitlement recommendations show results only for this specified object groups. Valid values: One or more comma separated Guardium object group IDs (groups must contain only objects). default = NULL |
userScope | String | Entitlement recommendations show results only for the specified user groups (groups must
contain only users). default = NULL |
api_target_host | String |
Specifies the target hosts where the API executes. Valid values:
IP addresses must conform to the IP mode of your network. For dual IP mode, use the same IP protocol with which the managed unit is registered with the central manager. For example, if the registration uses IPv6, specify an IPv6 address. The hostname is independent of IP mode and can be used with any mode. |
Examples
grdapi add_datasource_to_entitlement_optimization datasourceName=SSQLSERVER isEnabled=1 generateNews=1
grdapi add_datasource_to_entitlement_optimization datasourceName=SSQLSERVER isEnabled=1 generateNews=1 extractEntitlement=1 extractActivity=1
grdapi add_datasource_to_entitlement_optimization datasourceName=SSQLSERVER extractEntitlement=1 generateRecommendations=1 userScope=usergroup123