This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
generated from EOEPCA/um-service-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Policy Management
Alvaro Villanueva edited this page Nov 14, 2022
·
13 revisions
- ⏬ Getting Started
- ⏬ Deploy and Configure the Policy Decision Point
- ⏬ Chart Configuration
- ⏬ Integration Guide
▶️ Policy Management (this page)- ⏬ Policy Language
- ⏬ Terms and Conditions API
- ⏬ Policy Checks
- ⏬ Policy Decision Endpoint API
Operators and Administrators of PDP Instances can utilize helper tools available in PDP containers since release 0.3. This can be achieved by attaching to the PDP container (or pod if using Kubernetes) and using the following command:
usage: management_tools [-h] [-u USER] [-r RESOURCE] [-p POLICY] [-a] [-d DIRECTORY] action
Operational management of policies.
positional arguments:
action Operation to perform: list/remove import/export
optional arguments:
-h, --help show this help message and exit
-u USER, --user USER Filter action by user ID
-r RESOURCE, --resource RESOURCE
Filter action by resource ID
-p POLICY, --policy POLICY
Filter action by Policy ID
-d DIRECTORY, --directory DIRECTORY
Import/export to specified directory
-a, --all Apply action to all policies.
Examples of use are
kubectl exec <pod_name> -c pdp-engine -- management_tools list --all
docker exec -it <container_name> management_tools list --all
⏭️ Next step: Policy Language