US 11,874,797 B1
Smart privilege escalation in a cloud platform
Manish Singh, Telangana (IN)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Jun. 23, 2022, as Appl. No. 17/847,826.
Int. Cl. G06F 16/00 (2019.01); G06F 16/16 (2019.01); G06F 21/62 (2013.01); G06F 16/2455 (2019.01)
CPC G06F 16/162 (2019.01) [G06F 16/24557 (2019.01); G06F 21/6218 (2013.01)] 25 Claims
OG exemplary drawing
 
1. A method for privilege escalation in a cloud platform having database entities, the cloud platform exposing one or more application programming interfaces (APIs) as a payload for a client to perform CRUD (Create, Delete, Update Delete) operations on the database entities, the method performed by a server cluster of the cloud platform comprising;
provisioning to a client access privileges to the database entities that are covered by a license;
provisioning a base escalation matrix to the client with additional access privileges not covered by the license, and providing the base escalation matrix with one or more entries comprising an API identifier (ID) through which an access request is made, a database entity ID for which access is required, and allowed CRUD operations;
receiving an API request comprising: a database ID of a first database entity of the database entities, and a requested CRUD operation to be performed on the first database entity;
attempting to perform the requested CRUD operation on the first database entity;
responsive to the requested CRUD operation initially failing because the client does not have required access privileges provisioned under the license: detecting activation of an exception signaling failure of the requested CRUD operation, and using the exception as a trigger to fetch the base escalation matrix;
escalating the access privileges of a user context of the current API query request, by applying the additional access privileges from the base escalation matrix to the requested CRUD operation, and repeating the requested CRUD operation; and
removing the escalated access privileges.