Define SAF profiles to control permissions for history collection configurations
Create SAF resource profiles to control permissions for history collection configurations when using TEMS REST services.
Before you begin
TEMS REST services allows you to retrieve and delete information about history collection configurations. By default, all requests are allowed unless SAF resource profiles that restrict access are defined.
Security for TEMS REST services requires a SAF general resource class named $KOBSEC. For more information, review Securing TEMS REST services.
About this task
A history collection configuration defines what historical data is collected for particular attribute groups and provides other collection-related settings.
History collection configurations are stored as internal UADVISOR situations. A UADVISOR
situation is a special form of situation that is created for internal product use. The name of a
UADVISOR situation is in the format UADVISOR_xxxxx
.
Description of request | Method | Endpoint | Resource pattern | Access required |
---|---|---|---|---|
Retrieve history collection configurations | GET |
/data/historycollections |
O4SRV.HISTORYCOLLECTIONS.uadvisor_name |
READ |
Delete a history collection configuration | DELETE |
/data/historycollections |
O4SRV.HISTORYCOLLECTIONS.uadvisor_name |
ALTER |
- O4SRV
- Is a literal qualifier value. O4SRV is a qualifier for monitoring server tables.
- HISTORYCOLLECTIONS
- Is a literal qualifier value. Use this qualifier for controlling permissions to history collection configurations.
- uadvisor_name
- Is the unique name of the history collection configuration in the format UADVISOR_xxxxx. Commonly, Kpp and tablename appear in the name.
You must create a SAF profile to match the resource. If a matching SAF profile does not exist to protect a given resource, the request is allowed.
RDEFINE $KOBSEC O4SRV.HISTORYCOLLECTIONS.UADVISOR_KDP_ANOMALY UACC(NONE)
RDEFINE $KOBSEC O4SRV.HISTORYCOLLECTIONS.* UACC(NONE)
You can then give access to the profiles for individual users or user groups.
O4SRV.**
with UACC(NONE)
to secure near-term history. If this
profile exists in your $KOBSEC resource class, it would overrule the profiles
for your history collection configurations using TEMS REST services. If this is the case, define the
following profile to allow the use of TEMS REST services to retrieve all history collection
configurations before restricting access to specific
resources:RDEFINE $KOBSEC O4SRV.HISTORYCOLLECTIONS.* UACC(READ)