Dynamic management of role-based access control systems
A method includes determining that access permissions associated with a service of a computing system have been revoked, identifying one or more access policy sets including access policy rules associated with the service, removing the access policy rules associated with the service from the one or more access policy sets, and marking one or more decision execution paths of a policy decision point associated with the service with a feature flag.
1. A method comprising:
determining that access permissions associated with a service of a computing system have been revoked;
identifying one or more access policy sets comprising access policy rules associated with the service;
removing, by a processing device, the access policy rules associated with the service from the one or more access policy sets;
marking, by the processing device, one or more decision execution paths of a policy decision point associated with the service with a feature flag, the policy decision point comprising a software service to implement the access policy rules; and
preventing execution of the one or more decision execution paths of the policy decision point that are marked with the feature flag.
2. The method of claim 1 , wherein the computing system is a rule-based access control (RBAC) system.
3. The method of claim 1 , wherein the access policy rules associated with the service are identified in view of a service identifier of the service.
4. The method of claim 1 , wherein the feature flag indicates for the policy decision point to prevent execution of the decision execution path associated with the feature flag.
5. The method of claim 1 , wherein determining that access permissions associated with the service of the computing system have been revoked is in response to determining that the service has been removed from the computing system.
6. The method of claim 1 , further comprising:
removing the one or more decision execution paths from the policy decision point to obtain an updated policy decision point.
7. The method of claim 6 , further comprising:
performing a validation of the updated policy decision point; and
in response to performing the validation, deploying the updated policy decision point in place of the policy decision point.
8. A system comprising:
a memory; and
a processing device, operatively coupled to the memory, to:
determine that access permissions associated with a service of a computing system have been revoked;
identify one or more access policy sets comprising access policy rules associated with the service;
remove the access policy rules associated with the service from the one or more access policy sets;
marking one or more decision execution paths of a policy decision point associated with the service with a feature flag, the policy decision point comprising a software service to implement the access policy rules; and
prevent execution of the one or more decision execution paths of the policy decision point that are marked with the feature flag.
9. The system of claim 8 , wherein the computing system is a rule-based access control (RBAC) system.
10. The system of claim 8 , wherein the access policy rules associated with the service are identified in view of a service identifier of the service.
11. The system of claim 8 , wherein the feature flag indicates for the policy decision point to prevent execution of the decision execution path associated with the feature flag.
12. The system of claim 8 , wherein the processing device determines that access permissions associated with the service of the computing system have been revoked in response to determining that the service has been removed from the computing system.
13. The system of claim 8 , wherein the processing device is further to:
remove the one or more decision execution paths from the policy decision point to obtain an updated policy decision point.
14. The system of claim 13 , wherein the processing device is further to:
perform a validation of the updated policy decision point; and
in response to performing the validation, deploy the updated policy decision point in place of the policy decision point.
15. A non-transitory computer readable storage medium including instructions stored therein, that when executed by a processing device, cause the processing device to:
determine that access permissions associated with a service of a computing system have been revoked;
identify one or more access policy sets comprising access policy rules associated with the service;
remove, by the processing device, the access policy rules associated with the service from the one or more access policy sets;
mark, by the processing device, one or more decision execution paths of a policy decision point associated with the service with a feature flag, the policy decision point comprising a software service to implement the access policy rules; and
prevent execution of the one or more decision execution paths of the policy decision point that are marked with the feature flag.
16. The non-transitory computer readable storage medium of claim 15 , wherein the computing system is a rule-based access control (RBAC) system.
17. The non-transitory computer readable storage medium of claim 15 , wherein the access policy rules associated with the service are identified in view of a service identifier of the service.
18. The non-transitory computer readable storage medium of claim 15 , wherein the feature flag indicates for the policy decision point to prevent execution of the decision execution path associated with the feature flag.
19. The non-transitory computer readable storage medium of claim 15 , wherein the processing device determines that access permissions associated with the service of the computing system have been revoked in response to determining that the service has been removed from the computing system.
20. The non-transitory computer readable storage medium of claim 15 , wherein the processing device is further to:
remove the one or more decision execution paths from the policy decision point to obtain an updated policy decision point.